system.admin.css

Same filename in this branch
  1. 9 core/themes/stable9/css/system/system.admin.css
  2. 9 core/themes/stable/css/system/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/modules/system/css/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. color: #5c5c5b;
  96. line-height: 20px;
  97. }
  98. .system-modules details[open] {
  99. overflow: visible;
  100. height: auto;
  101. white-space: normal;
  102. }
  103. .system-modules details[open] summary .text {
  104. text-transform: none;
  105. -webkit-hyphens: auto;
  106. -moz-hyphens: auto;
  107. -ms-hyphens: auto;
  108. hyphens: auto;
  109. }
  110. .system-modules td details a {
  111. color: #5c5c5b;
  112. border: 0;
  113. }
  114. .system-modules td details {
  115. margin: 0;
  116. border: 0;
  117. }
  118. .system-modules td details summary {
  119. padding: 0;
  120. cursor: default;
  121. text-transform: none;
  122. font-weight: normal;
  123. }
  124. .system-modules td {
  125. padding-left: 0; /* LTR */
  126. }
  127. [dir="rtl"] .system-modules td {
  128. padding-right: 0;
  129. padding-left: 12px;
  130. }
  131. @media screen and (max-width: 40em) {
  132. .system-modules td.name {
  133. width: 20%;
  134. }
  135. .system-modules td.description {
  136. width: 40%;
  137. }
  138. }
  139. .system-modules .requirements {
  140. max-width: 490px;
  141. padding: 5px 0;
  142. }
  143. .system-modules .links {
  144. overflow: hidden; /* prevents collapse */
  145. }
  146. .system-modules .checkbox {
  147. margin: 0 5px;
  148. }
  149. .system-modules .checkbox .form-item {
  150. margin-bottom: 0;
  151. }
  152. .admin-requirements,
  153. .admin-required {
  154. color: #666;
  155. font-size: 0.9em;
  156. }
  157. .admin-enabled {
  158. color: #080;
  159. }
  160. .admin-missing {
  161. color: #f00;
  162. }
  163. .module-link {
  164. display: block;
  165. float: left; /* LTR */
  166. margin-top: 2px;
  167. padding: 2px 20px;
  168. white-space: nowrap;
  169. }
  170. [dir="rtl"] .module-link {
  171. float: right;
  172. }
  173. .module-link-help {
  174. background: url(../../../misc/icons/787878/questionmark-disc.svg) 0 50% no-repeat; /* LTR */
  175. }
  176. [dir="rtl"] .module-link-help {
  177. background-position: top 50% right 0;
  178. }
  179. .module-link-permissions {
  180. background: url(../../../misc/icons/787878/key.svg) 0 50% no-repeat; /* LTR */
  181. }
  182. [dir="rtl"] .module-link-permissions {
  183. background-position: top 50% right 0;
  184. }
  185. .module-link-configure {
  186. background: url(../../../misc/icons/787878/cog.svg) 0 50% no-repeat; /* LTR */
  187. }
  188. [dir="rtl"] .module-link-configure {
  189. background-position: top 50% right 0;
  190. }
  191. .module-link--non-stable {
  192. padding-left: 18px;
  193. background: url(../../../misc/icons/e29700/warning.svg) 0 50% no-repeat; /* LTR */
  194. }
  195. [dir="rtl"] .module-link--non-stable {
  196. padding-right: 18px;
  197. padding-left: 0;
  198. background-position: top 50% right 0;
  199. }
  200. /* Status report. */
  201. .system-status-report__status-title {
  202. position: relative;
  203. box-sizing: border-box;
  204. width: 100%;
  205. padding: 10px 6px 10px 40px; /* LTR */
  206. vertical-align: top;
  207. background-color: transparent;
  208. font-weight: normal;
  209. }
  210. [dir="rtl"] .system-status-report__status-title {
  211. padding: 10px 40px 10px 6px;
  212. }
  213. .system-status-report__status-icon:before {
  214. position: absolute;
  215. top: 12px;
  216. left: 12px; /* LTR */
  217. display: block;
  218. width: 16px;
  219. height: 16px;
  220. content: "";
  221. background-repeat: no-repeat;
  222. }
  223. [dir="rtl"] .system-status-report__status-icon:before {
  224. right: 12px;
  225. left: auto;
  226. }
  227. .system-status-report__status-icon--error:before {
  228. background-image: url(../../../misc/icons/e32700/error.svg);
  229. }
  230. .system-status-report__status-icon--warning:before {
  231. background-image: url(../../../misc/icons/e29700/warning.svg);
  232. }
  233. .system-status-report__entry__value {
  234. padding: 1em 0.5em;
  235. }
  236. /**
  237. * Appearance page.
  238. */
  239. .theme-info__header {
  240. margin-bottom: 0;
  241. font-weight: normal;
  242. }
  243. .theme-default .theme-info__header {
  244. font-weight: bold;
  245. }
  246. .theme-info__description {
  247. margin-top: 0;
  248. }
  249. .theme-link--non-stable {
  250. padding-left: 18px;
  251. background: url(../../../misc/icons/e29700/warning.svg) 0 50% no-repeat; /* LTR */
  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.