system.admin.css

Same filename in this branch
  1. 11.x core/themes/stable9/css/system/system.admin.css
Same filename in other branches
  1. 7.x modules/system/system.admin.css
  2. 9 core/themes/stable9/css/system/system.admin.css
  3. 9 core/themes/stable/css/system/system.admin.css
  4. 9 core/modules/system/css/system.admin.css
  5. 8.9.x core/themes/stable/css/system/system.admin.css
  6. 8.9.x core/modules/system/css/system.admin.css
  7. 10 core/themes/stable9/css/system/system.admin.css
  8. 10 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. hyphens: auto;
  107. }
  108. .system-modules td details a {
  109. color: #5c5c5b;
  110. border: 0;
  111. }
  112. .system-modules td details {
  113. margin: 0;
  114. border: 0;
  115. }
  116. .system-modules td details summary {
  117. padding: 0;
  118. cursor: default;
  119. text-transform: none;
  120. font-weight: normal;
  121. }
  122. .system-modules td {
  123. padding-left: 0; /* LTR */
  124. }
  125. [dir="rtl"] .system-modules td {
  126. padding-right: 0;
  127. padding-left: 12px;
  128. }
  129. @media screen and (max-width: 40em) {
  130. .system-modules td.name {
  131. width: 20%;
  132. }
  133. .system-modules td.description {
  134. width: 40%;
  135. }
  136. }
  137. .system-modules .requirements {
  138. max-width: 490px;
  139. padding: 5px 0;
  140. }
  141. .system-modules .links {
  142. overflow: hidden; /* prevents collapse */
  143. }
  144. .system-modules .checkbox {
  145. margin: 0 5px;
  146. }
  147. .system-modules .checkbox .form-item {
  148. margin-bottom: 0;
  149. }
  150. .admin-requirements,
  151. .admin-required {
  152. color: #666;
  153. font-size: 0.9em;
  154. }
  155. .admin-enabled {
  156. color: #080;
  157. }
  158. .admin-missing {
  159. color: #f00;
  160. }
  161. .module-link {
  162. display: block;
  163. float: left; /* LTR */
  164. margin-top: 2px;
  165. padding: 2px 20px;
  166. white-space: nowrap;
  167. }
  168. [dir="rtl"] .module-link {
  169. float: right;
  170. }
  171. .module-link-help {
  172. background: url(../../../misc/icons/787878/questionmark-disc.svg) 0 50% no-repeat; /* LTR */
  173. }
  174. [dir="rtl"] .module-link-help {
  175. background-position: top 50% right 0;
  176. }
  177. .module-link-permissions {
  178. background: url(../../../misc/icons/787878/key.svg) 0 50% no-repeat; /* LTR */
  179. }
  180. [dir="rtl"] .module-link-permissions {
  181. background-position: top 50% right 0;
  182. }
  183. .module-link-configure {
  184. background: url(../../../misc/icons/787878/cog.svg) 0 50% no-repeat; /* LTR */
  185. }
  186. [dir="rtl"] .module-link-configure {
  187. background-position: top 50% right 0;
  188. }
  189. .module-link--non-stable {
  190. padding-left: 18px;
  191. background: url(../../../misc/icons/e29700/warning.svg) 0 50% no-repeat; /* LTR */
  192. }
  193. [dir="rtl"] .module-link--non-stable {
  194. padding-right: 18px;
  195. padding-left: 0;
  196. background-position: top 50% right 0;
  197. }
  198. /* Status report. */
  199. .system-status-report__status-title {
  200. position: relative;
  201. box-sizing: border-box;
  202. width: 100%;
  203. padding: 10px 6px 10px 40px; /* LTR */
  204. vertical-align: top;
  205. background-color: transparent;
  206. font-weight: normal;
  207. }
  208. [dir="rtl"] .system-status-report__status-title {
  209. padding: 10px 40px 10px 6px;
  210. }
  211. .system-status-report__status-icon::before {
  212. position: absolute;
  213. top: 12px;
  214. left: 12px; /* LTR */
  215. display: block;
  216. width: 16px;
  217. height: 16px;
  218. content: "";
  219. background-repeat: no-repeat;
  220. }
  221. [dir="rtl"] .system-status-report__status-icon::before {
  222. right: 12px;
  223. left: auto;
  224. }
  225. .system-status-report__status-icon--error::before {
  226. background-image: url(../../../misc/icons/e32700/error.svg);
  227. }
  228. .system-status-report__status-icon--warning::before {
  229. background-image: url(../../../misc/icons/e29700/warning.svg);
  230. }
  231. .system-status-report__entry__value {
  232. padding: 1em 0.5em;
  233. }
  234. /**
  235. * Appearance page.
  236. */
  237. .theme-info__header {
  238. margin-bottom: 0;
  239. font-weight: normal;
  240. }
  241. .theme-default .theme-info__header {
  242. font-weight: bold;
  243. }
  244. .theme-info__description {
  245. margin-top: 0;
  246. }
  247. .theme-link--non-stable {
  248. padding-left: 18px;
  249. background: url(../../../misc/icons/e29700/warning.svg) 0 50% no-repeat; /* LTR */
  250. }
  251. .system-themes-list {
  252. margin-bottom: 20px;
  253. }
  254. .system-themes-list-uninstalled {
  255. padding-top: 20px;
  256. border-top: 1px solid #cdcdcd;
  257. }
  258. .system-themes-list__header {
  259. margin: 0;
  260. }
  261. .theme-selector {
  262. padding-top: 20px;
  263. }
  264. .theme-selector .screenshot,
  265. .theme-selector .no-screenshot {
  266. max-width: 100%;
  267. height: auto;
  268. padding: 2px;
  269. text-align: center;
  270. vertical-align: bottom;
  271. border: 1px solid #e0e0d8;
  272. }
  273. .theme-default .screenshot {
  274. border: 1px solid #aaa;
  275. }
  276. .system-themes-list-uninstalled .screenshot,
  277. .system-themes-list-uninstalled .no-screenshot {
  278. max-width: 194px;
  279. height: auto;
  280. }
  281. /**
  282. * Theme display without vertical toolbar.
  283. */
  284. @media screen and (min-width: 45em) {
  285. body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  286. body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  287. float: left; /* LTR */
  288. width: 294px;
  289. margin: 0 20px 0 0; /* LTR */
  290. }
  291. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  292. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  293. float: right;
  294. margin: 0 0 0 20px;
  295. }
  296. body:not(.toolbar-vertical) .system-themes-list-installed .system-themes-list__header {
  297. margin-top: 0;
  298. }
  299. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  300. float: left; /* LTR */
  301. box-sizing: border-box;
  302. width: 31.25%;
  303. padding: 20px 20px 20px 0; /* LTR */
  304. }
  305. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  306. float: right;
  307. padding: 20px 0 20px 20px;
  308. }
  309. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-info {
  310. min-height: 170px;
  311. }
  312. }
  313. /**
  314. * Theme display with vertical toolbar.
  315. */
  316. @media screen and (min-width: 60em) {
  317. .toolbar-vertical .system-themes-list-installed .screenshot,
  318. .toolbar-vertical .system-themes-list-installed .no-screenshot {
  319. float: left; /* LTR */
  320. width: 294px;
  321. margin: 0 20px 0 0; /* LTR */
  322. }
  323. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .screenshot,
  324. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .no-screenshot {
  325. float: right;
  326. margin: 0 0 0 20px;
  327. }
  328. .toolbar-vertical .system-themes-list-installed .theme-info__header {
  329. margin-top: 0;
  330. }
  331. .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  332. float: left; /* LTR */
  333. box-sizing: border-box;
  334. width: 31.25%;
  335. padding: 20px 20px 20px 0; /* LTR */
  336. }
  337. [dir="rtl"] .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  338. float: right;
  339. padding: 20px 0 20px 20px;
  340. }
  341. .toolbar-vertical .system-themes-list-uninstalled .theme-info {
  342. min-height: 170px;
  343. }
  344. }
  345. .system-themes-list-installed .theme-info {
  346. max-width: 940px;
  347. }
  348. .theme-selector .incompatible {
  349. margin-top: 10px;
  350. font-weight: bold;
  351. }
  352. .theme-selector .operations {
  353. margin: 10px 0 0 0;
  354. padding: 0;
  355. }
  356. .theme-selector .operations li {
  357. float: left; /* LTR */
  358. margin: 0;
  359. padding: 0 0.7em;
  360. list-style-type: none;
  361. border-right: 1px solid #cdcdcd; /* LTR */
  362. }
  363. [dir="rtl"] .theme-selector .operations li {
  364. float: right;
  365. border-right: none;
  366. border-left: 1px solid #cdcdcd;
  367. }
  368. .theme-selector .operations li:last-child {
  369. padding: 0 0 0 0.7em; /* LTR */
  370. border-right: none; /* LTR */
  371. }
  372. [dir="rtl"] .theme-selector .operations li:last-child {
  373. padding: 0 0.7em 0 0;
  374. border-left: none;
  375. }
  376. .theme-selector .operations li:first-child {
  377. padding: 0 0.7em 0 0; /* LTR */
  378. }
  379. [dir="rtl"] .theme-selector .operations li:first-child {
  380. padding: 0 0 0 0.7em;
  381. }
  382. .system-themes-admin-form {
  383. clear: left; /* LTR */
  384. }
  385. [dir="rtl"] .system-themes-admin-form {
  386. clear: right;
  387. }
  388. .cron-description__run-cron {
  389. display: block;
  390. }
  391. .system-cron-settings__link {
  392. overflow-wrap: break-word;
  393. word-wrap: break-word;
  394. }

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