system.admin.css

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