system.admin.css

Same filename in this branch
  1. 9 core/themes/stable9/css/system/system.admin.css
  2. 9 core/modules/system/css/system.admin.css
Same filename in other branches
  1. 7.x modules/system/system.admin.css
  2. 8.9.x core/themes/stable/css/system/system.admin.css
  3. 8.9.x core/modules/system/css/system.admin.css
  4. 10 core/themes/stable9/css/system/system.admin.css
  5. 10 core/modules/system/css/system.admin.css
  6. 11.x core/themes/stable9/css/system/system.admin.css
  7. 11.x core/modules/system/css/system.admin.css

Styles for administration pages.

File

core/themes/stable/css/system/system.admin.css

View source
  1. /**
  2. * @file
  3. * Styles for administration pages.
  4. */
  5. /**
  6. * Reusable layout styles.
  7. */
  8. .layout-container {
  9. margin: 0 1.5em;
  10. }
  11. .layout-container:after {
  12. display: table;
  13. clear: both;
  14. content: "";
  15. }
  16. @media screen and (min-width: 38em) {
  17. .layout-container {
  18. margin: 0 2.5em;
  19. }
  20. .layout-column {
  21. float: left; /* LTR */
  22. box-sizing: border-box;
  23. }
  24. [dir="rtl"] .layout-column {
  25. float: right;
  26. }
  27. .layout-column + .layout-column {
  28. padding-left: 10px; /* LTR */
  29. }
  30. [dir="rtl"] .layout-column + .layout-column {
  31. padding-right: 10px;
  32. padding-left: 0;
  33. }
  34. .layout-column--half {
  35. width: 50%;
  36. }
  37. .layout-column--quarter {
  38. width: 25%;
  39. }
  40. .layout-column--three-quarter {
  41. width: 75%;
  42. }
  43. }
  44. /**
  45. * Panel.
  46. * Used to visually group items together.
  47. */
  48. .panel {
  49. padding: 5px 5px 15px;
  50. }
  51. .panel__description {
  52. margin: 0 0 3px;
  53. padding: 2px 0 3px 0;
  54. }
  55. /**
  56. * System compact link: to toggle the display of description text.
  57. */
  58. .compact-link {
  59. margin: 0 0 0.5em 0;
  60. }
  61. /**
  62. * Quick inline admin links.
  63. */
  64. small .admin-link:before {
  65. content: " [";
  66. }
  67. small .admin-link:after {
  68. content: "]";
  69. }
  70. /**
  71. * Modules page.
  72. */
  73. .system-modules thead > tr {
  74. border: 0;
  75. }
  76. .system-modules div.incompatible {
  77. font-weight: bold;
  78. }
  79. .system-modules td.checkbox {
  80. width: 4%;
  81. min-width: 25px;
  82. }
  83. .system-modules td.module {
  84. width: 25%;
  85. }
  86. .system-modules td {
  87. vertical-align: top;
  88. }
  89. .system-modules label,
  90. .system-modules-uninstall label {
  91. color: #1d1d1d;
  92. font-size: 1.15em;
  93. }
  94. .system-modules details {
  95. overflow: hidden; /* truncates descriptions if too long */
  96. white-space: nowrap;
  97. text-overflow: ellipsis;
  98. color: #5c5c5b;
  99. line-height: 20px;
  100. }
  101. .system-modules details[open] {
  102. overflow: visible;
  103. height: auto;
  104. white-space: normal;
  105. }
  106. .system-modules details[open] summary .text {
  107. text-transform: none;
  108. -webkit-hyphens: auto;
  109. -moz-hyphens: auto;
  110. -ms-hyphens: auto;
  111. hyphens: auto;
  112. }
  113. .system-modules td details a {
  114. color: #5c5c5b;
  115. border: 0;
  116. }
  117. .system-modules td details {
  118. height: 20px;
  119. margin: 0;
  120. border: 0;
  121. }
  122. .system-modules td details summary {
  123. padding: 0;
  124. cursor: default;
  125. text-transform: none;
  126. font-weight: normal;
  127. }
  128. .system-modules td {
  129. padding-left: 0; /* LTR */
  130. }
  131. [dir="rtl"] .system-modules td {
  132. padding-right: 0;
  133. padding-left: 12px;
  134. }
  135. @media screen and (max-width: 40em) {
  136. .system-modules td.name {
  137. width: 20%;
  138. }
  139. .system-modules td.description {
  140. width: 40%;
  141. }
  142. }
  143. .system-modules .requirements {
  144. max-width: 490px;
  145. padding: 5px 0;
  146. }
  147. .system-modules .links {
  148. overflow: hidden; /* prevents collapse */
  149. }
  150. .system-modules .checkbox {
  151. margin: 0 5px;
  152. }
  153. .system-modules .checkbox .form-item {
  154. margin-bottom: 0;
  155. }
  156. .admin-requirements,
  157. .admin-required {
  158. color: #666;
  159. font-size: 0.9em;
  160. }
  161. .admin-enabled {
  162. color: #080;
  163. }
  164. .admin-missing {
  165. color: #f00;
  166. }
  167. .module-link {
  168. display: block;
  169. float: left; /* LTR */
  170. margin-top: 2px;
  171. padding: 2px 20px;
  172. white-space: nowrap;
  173. }
  174. [dir="rtl"] .module-link {
  175. float: right;
  176. }
  177. .module-link-help {
  178. background: url(../../images/core/icons/787878/questionmark-disc.svg) 0 50% no-repeat; /* LTR */
  179. }
  180. [dir="rtl"] .module-link-help {
  181. background-position: top 50% right 0;
  182. }
  183. .module-link-permissions {
  184. background: url(../../images/core/icons/787878/key.svg) 0 50% no-repeat; /* LTR */
  185. }
  186. [dir="rtl"] .module-link-permissions {
  187. background-position: top 50% right 0;
  188. }
  189. .module-link-configure {
  190. background: url(../../images/core/icons/787878/cog.svg) 0 50% no-repeat; /* LTR */
  191. }
  192. [dir="rtl"] .module-link-configure {
  193. background-position: top 50% right 0;
  194. }
  195. .module-link--non-stable {
  196. padding-left: 18px;
  197. background: url(../../../../misc/icons/e29700/warning.svg) 0 50% no-repeat; /* LTR */
  198. }
  199. [dir="rtl"] .module-link--non-stable {
  200. padding-right: 18px;
  201. padding-left: 0;
  202. background-position: top 50% right 0;
  203. }
  204. /* Status report. */
  205. .system-status-report__status-title {
  206. position: relative;
  207. box-sizing: border-box;
  208. width: 100%;
  209. padding: 10px 6px 10px 40px; /* LTR */
  210. vertical-align: top;
  211. background-color: transparent;
  212. font-weight: normal;
  213. }
  214. [dir="rtl"] .system-status-report__status-title {
  215. padding: 10px 40px 10px 6px;
  216. }
  217. .system-status-report__status-icon:before {
  218. position: absolute;
  219. top: 12px;
  220. left: 12px; /* LTR */
  221. display: block;
  222. width: 16px;
  223. height: 16px;
  224. content: "";
  225. background-repeat: no-repeat;
  226. }
  227. [dir="rtl"] .system-status-report__status-icon:before {
  228. right: 12px;
  229. left: auto;
  230. }
  231. .system-status-report__status-icon--error:before {
  232. background-image: url(../../images/core/icons/e32700/error.svg);
  233. }
  234. .system-status-report__status-icon--warning:before {
  235. background-image: url(../../images/core/icons/e29700/warning.svg);
  236. }
  237. .system-status-report__entry__value {
  238. padding: 1em 0.5em;
  239. }
  240. /**
  241. * Appearance page.
  242. */
  243. .theme-info__header {
  244. margin-bottom: 0;
  245. font-weight: normal;
  246. }
  247. .theme-default .theme-info__header {
  248. font-weight: bold;
  249. }
  250. .theme-info__description {
  251. margin-top: 0;
  252. }
  253. .system-themes-list {
  254. margin-bottom: 20px;
  255. }
  256. .system-themes-list-uninstalled {
  257. padding-top: 20px;
  258. border-top: 1px solid #cdcdcd;
  259. }
  260. .system-themes-list__header {
  261. margin: 0;
  262. }
  263. .theme-selector {
  264. padding-top: 20px;
  265. }
  266. .theme-selector .screenshot,
  267. .theme-selector .no-screenshot {
  268. max-width: 100%;
  269. height: auto;
  270. padding: 2px;
  271. text-align: center;
  272. vertical-align: bottom;
  273. border: 1px solid #e0e0d8;
  274. }
  275. .theme-default .screenshot {
  276. border: 1px solid #aaa;
  277. }
  278. .system-themes-list-uninstalled .screenshot,
  279. .system-themes-list-uninstalled .no-screenshot {
  280. max-width: 194px;
  281. height: auto;
  282. }
  283. /**
  284. * Theme display without vertical toolbar.
  285. */
  286. @media screen and (min-width: 45em) {
  287. body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  288. body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  289. float: left; /* LTR */
  290. width: 294px;
  291. margin: 0 20px 0 0; /* LTR */
  292. }
  293. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  294. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  295. float: right;
  296. margin: 0 0 0 20px;
  297. }
  298. body:not(.toolbar-vertical) .system-themes-list-installed .system-themes-list__header {
  299. margin-top: 0;
  300. }
  301. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  302. float: left; /* LTR */
  303. box-sizing: border-box;
  304. width: 31.25%;
  305. padding: 20px 20px 20px 0; /* LTR */
  306. }
  307. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  308. float: right;
  309. padding: 20px 0 20px 20px;
  310. }
  311. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-info {
  312. min-height: 170px;
  313. }
  314. }
  315. /**
  316. * Theme display with vertical toolbar.
  317. */
  318. @media screen and (min-width: 60em) {
  319. .toolbar-vertical .system-themes-list-installed .screenshot,
  320. .toolbar-vertical .system-themes-list-installed .no-screenshot {
  321. float: left; /* LTR */
  322. width: 294px;
  323. margin: 0 20px 0 0; /* LTR */
  324. }
  325. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .screenshot,
  326. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .no-screenshot {
  327. float: right;
  328. margin: 0 0 0 20px;
  329. }
  330. .toolbar-vertical .system-themes-list-installed .theme-info__header {
  331. margin-top: 0;
  332. }
  333. .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  334. float: left; /* LTR */
  335. box-sizing: border-box;
  336. width: 31.25%;
  337. padding: 20px 20px 20px 0; /* LTR */
  338. }
  339. [dir="rtl"] .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  340. float: right;
  341. padding: 20px 0 20px 20px;
  342. }
  343. .toolbar-vertical .system-themes-list-uninstalled .theme-info {
  344. min-height: 170px;
  345. }
  346. }
  347. .system-themes-list-installed .theme-info {
  348. max-width: 940px;
  349. }
  350. .theme-selector .incompatible {
  351. margin-top: 10px;
  352. font-weight: bold;
  353. }
  354. .theme-selector .operations {
  355. margin: 10px 0 0 0;
  356. padding: 0;
  357. }
  358. .theme-selector .operations li {
  359. float: left; /* LTR */
  360. margin: 0;
  361. padding: 0 0.7em;
  362. list-style-type: none;
  363. border-right: 1px solid #cdcdcd; /* LTR */
  364. }
  365. [dir="rtl"] .theme-selector .operations li {
  366. float: right;
  367. border-right: none;
  368. border-left: 1px solid #cdcdcd;
  369. }
  370. .theme-selector .operations li:last-child {
  371. padding: 0 0 0 0.7em; /* LTR */
  372. border-right: none; /* LTR */
  373. }
  374. [dir="rtl"] .theme-selector .operations li:last-child {
  375. padding: 0 0.7em 0 0;
  376. border-left: none;
  377. }
  378. .theme-selector .operations li:first-child {
  379. padding: 0 0.7em 0 0; /* LTR */
  380. }
  381. [dir="rtl"] .theme-selector .operations li:first-child {
  382. padding: 0 0 0 0.7em;
  383. }
  384. .system-themes-admin-form {
  385. clear: left; /* LTR */
  386. }
  387. [dir="rtl"] .system-themes-admin-form {
  388. clear: right;
  389. }
  390. .cron-description__run-cron {
  391. display: block;
  392. }
  393. .system-cron-settings__link {
  394. overflow-wrap: break-word;
  395. word-wrap: break-word;
  396. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.