.modules td {
  &.module-icon img {
    &:last-child {
      width: 16px;
      height: 16px;
    }

    &.expand {
      margin-bottom: 3px;
    }
  }

  &.module-distrib img {
    display: block;
    float: right;
  }
}

.modules tr.expand,
.modules td.expand {
  background: var(--modules-background);
  border-color: var(--modules-border);
}

.modules tr.expand td:first-child {
  font-weight: bold;
  background: var(--modules-background);
}

.modules td.expand {
  padding: 0 0 1em;

  div {
    display: inline-block;
    vertical-align: top;
    margin-right: 3em;
  }
}

.modules dt {
  font-weight: bold;
}

.modules a {
  &.module-details {
    background: url(search.svg) no-repeat 0 center;
    background-color: transparent;
    padding: 4px 4px 0 20px;
  }

  &.module-support {
    background: url(help.svg) no-repeat 2px center;
    background-size: 14px;
    background-color: transparent;
    padding: 4px 4px 0 20px;
  }

  &.module-config {
    background: url(settings.png) no-repeat 2px 6px;
    background-color: transparent;
    padding: 4px 4px 0 18px;
  }
}

#m_search {
  color: var(--search-color);
  background: url(search.svg) no-repeat 0 center;
  background-color: transparent;
  padding-left: 20px;
}

.mod-more {
  padding-top: 0.5em;

  &,
  li {
    margin: 0.25em 0 0 1em;
    padding: 0;
    list-style-type: none;
  }
}

#plugin-update td {
  vertical-align: baseline;
}
