Skip to content
system.admin.css 9.2 KiB
Newer Older
/**
 * @file
 * Styles for administration pages.
 */

/**
 * Administration blocks.
 */
div.admin-panel {
  margin: 0;
  padding: 5px 5px 15px 5px;
}
div.admin-panel .description {
  margin: 0 0 3px;
  padding: 2px 0 3px 0;
}
div.admin {
  padding-top: 15px;
}
@media screen and (min-width: 40em) {
  div.admin .left {
    float: left; /* LTR */
    width: 47%;
  }
  [dir="rtl"] div.admin .left {
  div.admin .right {
    float: right; /* LTR */
    width: 47%;
  }
  [dir="rtl"] div.admin .right {
}
div.admin .expert-link {
  text-align: right; /* LTR */
  margin-right: 1em; /* LTR */
  padding-right: 4px; /* LTR */
}
[dir="rtl"] div.admin .expert-link {
  margin-right: 0;
  margin-left: 1em;
  padding-right: 0;
  padding-left: 4px;
  text-align: left;
}

/**
 * Markup generated by theme_system_compact_link().
 */
.compact-link {
  margin: 0 0 0.5em 0;
}

/**
 * Quick inline admin links.
 */
small .admin-link:before {
  content: '[';
}
small .admin-link:after {
  content: ']';
}

/**
 * Modules page.
 */
#system-modules table {
  table-layout: fixed;
}
#system-modules div.incompatible {
  font-weight: bold;
}
#system-modules th.checkbox {
  width: 4%;
}
#system-modules th.name {
  width: 25%;
}
#system-modules td {
  vertical-align: top;
}
#system-modules label {
  color: #1d1d1d;
  font-size: 1.15em;
}
#system-modules details {
  color: #5c5c5b;
  line-height: 20px;
  overflow: hidden; /* truncates descriptions if too long */
  text-overflow: ellipsis;
  white-space: nowrap;
}
#system-modules details[open] {
  height: auto;
  overflow: visible;
  white-space: normal;
}
#system-modules details[open] summary .text {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  text-transform: none;
}
#system-modules td details a {
  color: #5C5C5B;
  border: 0px;
}
#system-modules td details {
  border: 0px;
  margin: 0px;
  height: 20px;
}
#system-modules td details summary {
  padding: 0px;
  text-transform: none;
  font-weight: normal;
  cursor: default;
}
#system-modules td {
  padding-left: 0px;
}

@media screen and (max-width: 40em) {
  #system-modules th.name {
    width: 20%;
  }
  #system-modules th.description {
    width: 40%;
  }
}
#system-modules .requirements {
  padding: 5px 0;
  max-width: 490px;
}
#system-modules .links {
  overflow: hidden; /* prevents collapse */
}
#system-modules .checkbox {
  margin: 0 5px;
}
#system-modules .checkbox .form-item {
  margin-bottom: 0;
}
div.admin-requirements,
div.admin-required {
  font-size: 0.9em;
}
span.admin-disabled {
  color: #800;
}
span.admin-enabled {
  color: #080;
}
span.admin-missing {
  color: #f00;
}
a.module-link {
  display: block;
  white-space: nowrap;
}
a.module-link-help {
  background: url(../../../misc/help.png) 0 50% no-repeat; /* LTR */
}
a.module-link-permissions {
  background: url(../../../misc/permissions.png) 0 50% no-repeat; /* LTR */
}
a.module-link-configure {
  background: url(../../../misc/configure.png) 0 50% no-repeat; /* LTR */
}
.module-help {
  margin-left: 1em; /* LTR */
  float: right; /* LTR */
}

/**
 * Status report.
 */
table.system-status-report td:nth-child(-n+2) {
  background-color: rgba(0, 0, 0, 0.04);
table.system-status-report td.status-icon {
  width: 16px;
  padding-right: 0; /* LTR */
[dir="rtl"] table.system-status-report td.status-icon {
table.system-status-report td.status-icon div {
  background-repeat: no-repeat;
  height: 16px;
  width: 16px;
table.system-status-report tr.error td.status-icon div {
  background-image: url(../../../misc/message-16-error.png);
table.system-status-report tr.warning td.status-icon div {
  background-image: url(../../../misc/message-16-warning.png);
table.system-status-report .status-title {
  width: 25%;
}

/**
 * Theme settings.
 */
.theme-settings-left {
  float: left;
  width: 49%;
}
.theme-settings-right {
  float: right;
  width: 49%;
}
.theme-settings-bottom {
  clear: both;
}

/**
 * Appearance page.
 */
.theme-info h2 {
  margin-bottom: 0;
}
.theme-info p {
  margin-top: 0;
}
.system-themes-list {
  margin-bottom: 20px;
}
.system-themes-list-disabled {
  border-top: 1px solid #cdcdcd;
  padding-top: 20px;
}
.system-themes-list h2 {
  margin: 0;
}
.theme-selector {
  padding-top: 20px;
}
.theme-selector .screenshot,
.theme-selector .no-screenshot {
  border: 1px solid #e0e0d8;
  padding: 2px;
  vertical-align: bottom;
  text-align: center;
}
.theme-selector .no-screenshot {
  display: none;
}
.theme-default .screenshot {
  border: 1px solid #aaa;
}
.system-themes-list-disabled .screenshot,
.system-themes-list-disabled .no-screenshot {
  max-width: 194px;
  height: auto;
}
.theme-selector h3 {
  font-weight: normal;
}
.theme-default h3 {
  font-weight: bold;
}

/**
* Theme display without vertical toolbar.
*/
@media screen and (min-width: 45em) {
  body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
  body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
    float: left; /* LTR */
    margin: 0 20px 0 0; /* LTR */
    width: 294px;
  }
  [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
  [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
  body:not(.toolbar-vertical) .system-themes-list-enabled h3 {
    margin-top: 0;
  }
  body:not(.toolbar-vertical) .system-themes-list-disabled .theme-selector {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 31.25%;
    float: left; /* LTR */
    padding: 20px 20px 20px 0; /* LTR */
  }
  [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-disabled .theme-selector {
  body:not(.toolbar-vertical) .system-themes-list-disabled .theme-info {
    min-height: 170px;
  }
  body:not(.toolbar-vertical) .no-screenshot {
    display: block;
    padding-bottom: 57%;
    position: relative;
  }
  body:not(.toolbar-vertical) .no-screenshot__text {
    margin-top: -0.76em;
    position: absolute;
    top: 50%;
    width: 100%;
  }

/**
* Theme display with vertical toolbar.
*/
@media screen and (min-width: 60em) {
  .toolbar-vertical .system-themes-list-enabled .screenshot,
  .toolbar-vertical .system-themes-list-enabled .no-screenshot {
    float: left; /* LTR */
    margin: 0 20px 0 0; /* LTR */
    width: 294px;
  }
  [dir="rtl"] .toolbar-vertical .system-themes-list-enabled .screenshot,
  [dir="rtl"] .toolbar-vertical .system-themes-list-enabled .no-screenshot {
  .toolbar-vertical .system-themes-list-enabled h3 {
    margin-top: 0;
  }
  .toolbar-vertical .system-themes-list-disabled .theme-selector {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 31.25%;
    float: left; /* LTR */
    padding: 20px 20px 20px 0; /* LTR */
  }
  [dir="rtl"] .toolbar-vertical .system-themes-list-disabled .theme-selector {
  .toolbar-vertical .system-themes-list-disabled .theme-info {
    min-height: 170px;
  }
  .toolbar-vertical .no-screenshot {
    display: block;
    padding-bottom: 57%;
    position: relative;
  }
  .toolbar-vertical .no-screenshot__text {
    margin-top: -0.76em;
    position: absolute;
    top: 50%;
    width: 100%;
  }
}
.system-themes-list-enabled .theme-info {
  max-width: 940px;
}
.theme-selector .incompatible {
  margin-top: 10px;
  font-weight: bold;
}
.theme-selector .operations {
  margin: 10px 0 0 0;
  padding: 0;
}
.theme-selector .operations li {
  float: left; /* LTR */
  margin: 0;
  padding: 0 0.7em;
  list-style-type: none;
  border-right: 1px solid #cdcdcd;  /* LTR */
}
[dir="rtl"] .theme-selector .operations li {
  float: right;
  border-left: 1px solid #cdcdcd;
  border-right: none;
}
.theme-selector .operations li.last {
  padding: 0 0 0 0.7em; /* LTR */
  border-right: none; /* LTR */
}
[dir="rtl"] .theme-selector .operations li.last {
.theme-selector .operations li.first {
  padding: 0 0.7em 0 0; /* LTR */
}
[dir="rtl"] .theme-selector .operations li.first {
#system-themes-admin-form {
  clear: left;
}

/**
 * Exposed filters.
 */
.exposed-filters .filters {
  float: left; /* LTR */
  margin-right: 1em; /* LTR */
}
[dir="rtl"] .exposed-filters .filters {
  float: right;
  margin-left: 1em;
  margin-right: 0;
}
.exposed-filters .form-item {
  margin: 0 0 0.1em 0;
  padding: 0;
}
.exposed-filters .form-item label {
  float: left; /* LTR */
  font-weight: normal;
  width: 10em;
}
[dir="rtl"] .exposed-filters .form-item label {
.exposed-filters .form-select {
  width: 14em;
}
/* Current filters */
.exposed-filters .current-filters {
  margin-bottom: 1em;
}
.exposed-filters .current-filters .placeholder {
  font-style: normal;
  font-weight: bold;
}
.exposed-filters .additional-filters {
  float: left; /* LTR */
  margin-right: 1em; /* LTR */
}
[dir="rtl"] .exposed-filters .additional-filters {
  float: right;
  margin-left: 1em;
  margin-right: 0;
}