You are here

system.admin.css in Drupal 9

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. /* Status report. */
  192. .system-status-report__status-title {
  193. position: relative;
  194. box-sizing: border-box;
  195. width: 100%;
  196. padding: 10px 6px 10px 40px; /* LTR */
  197. vertical-align: top;
  198. background-color: transparent;
  199. font-weight: normal;
  200. }
  201. [dir="rtl"] .system-status-report__status-title {
  202. padding: 10px 40px 10px 6px;
  203. }
  204. .system-status-report__status-icon:before {
  205. position: absolute;
  206. top: 12px;
  207. left: 12px; /* LTR */
  208. display: block;
  209. width: 16px;
  210. height: 16px;
  211. content: "";
  212. background-repeat: no-repeat;
  213. }
  214. [dir="rtl"] .system-status-report__status-icon:before {
  215. right: 12px;
  216. left: auto;
  217. }
  218. .system-status-report__status-icon--error:before {
  219. background-image: url(../../../misc/icons/e32700/error.svg);
  220. }
  221. .system-status-report__status-icon--warning:before {
  222. background-image: url(../../../misc/icons/e29700/warning.svg);
  223. }
  224. .system-status-report__entry__value {
  225. padding: 1em 0.5em;
  226. }
  227. /**
  228. * Appearance page.
  229. */
  230. .theme-info__header {
  231. margin-bottom: 0;
  232. font-weight: normal;
  233. }
  234. .theme-default .theme-info__header {
  235. font-weight: bold;
  236. }
  237. .theme-info__description {
  238. margin-top: 0;
  239. }
  240. .system-themes-list {
  241. margin-bottom: 20px;
  242. }
  243. .system-themes-list-uninstalled {
  244. padding-top: 20px;
  245. border-top: 1px solid #cdcdcd;
  246. }
  247. .system-themes-list__header {
  248. margin: 0;
  249. }
  250. .theme-selector {
  251. padding-top: 20px;
  252. }
  253. .theme-selector .screenshot,
  254. .theme-selector .no-screenshot {
  255. max-width: 100%;
  256. height: auto;
  257. padding: 2px;
  258. text-align: center;
  259. vertical-align: bottom;
  260. border: 1px solid #e0e0d8;
  261. }
  262. .theme-default .screenshot {
  263. border: 1px solid #aaa;
  264. }
  265. .system-themes-list-uninstalled .screenshot,
  266. .system-themes-list-uninstalled .no-screenshot {
  267. max-width: 194px;
  268. height: auto;
  269. }
  270. /**
  271. * Theme display without vertical toolbar.
  272. */
  273. @media screen and (min-width: 45em) {
  274. body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  275. body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  276. float: left; /* LTR */
  277. width: 294px;
  278. margin: 0 20px 0 0; /* LTR */
  279. }
  280. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  281. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  282. float: right;
  283. margin: 0 0 0 20px;
  284. }
  285. body:not(.toolbar-vertical) .system-themes-list-installed .system-themes-list__header {
  286. margin-top: 0;
  287. }
  288. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  289. float: left; /* LTR */
  290. box-sizing: border-box;
  291. width: 31.25%;
  292. padding: 20px 20px 20px 0; /* LTR */
  293. }
  294. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  295. float: right;
  296. padding: 20px 0 20px 20px;
  297. }
  298. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-info {
  299. min-height: 170px;
  300. }
  301. }
  302. /**
  303. * Theme display with vertical toolbar.
  304. */
  305. @media screen and (min-width: 60em) {
  306. .toolbar-vertical .system-themes-list-installed .screenshot,
  307. .toolbar-vertical .system-themes-list-installed .no-screenshot {
  308. float: left; /* LTR */
  309. width: 294px;
  310. margin: 0 20px 0 0; /* LTR */
  311. }
  312. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .screenshot,
  313. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .no-screenshot {
  314. float: right;
  315. margin: 0 0 0 20px;
  316. }
  317. .toolbar-vertical .system-themes-list-installed .theme-info__header {
  318. margin-top: 0;
  319. }
  320. .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  321. float: left; /* LTR */
  322. box-sizing: border-box;
  323. width: 31.25%;
  324. padding: 20px 20px 20px 0; /* LTR */
  325. }
  326. [dir="rtl"] .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  327. float: right;
  328. padding: 20px 0 20px 20px;
  329. }
  330. .toolbar-vertical .system-themes-list-uninstalled .theme-info {
  331. min-height: 170px;
  332. }
  333. }
  334. .system-themes-list-installed .theme-info {
  335. max-width: 940px;
  336. }
  337. .theme-selector .incompatible {
  338. margin-top: 10px;
  339. font-weight: bold;
  340. }
  341. .theme-selector .operations {
  342. margin: 10px 0 0 0;
  343. padding: 0;
  344. }
  345. .theme-selector .operations li {
  346. float: left; /* LTR */
  347. margin: 0;
  348. padding: 0 0.7em;
  349. list-style-type: none;
  350. border-right: 1px solid #cdcdcd; /* LTR */
  351. }
  352. [dir="rtl"] .theme-selector .operations li {
  353. float: right;
  354. border-right: none;
  355. border-left: 1px solid #cdcdcd;
  356. }
  357. .theme-selector .operations li:last-child {
  358. padding: 0 0 0 0.7em; /* LTR */
  359. border-right: none; /* LTR */
  360. }
  361. [dir="rtl"] .theme-selector .operations li:last-child {
  362. padding: 0 0.7em 0 0;
  363. border-left: none;
  364. }
  365. .theme-selector .operations li:first-child {
  366. padding: 0 0.7em 0 0; /* LTR */
  367. }
  368. [dir="rtl"] .theme-selector .operations li:first-child {
  369. padding: 0 0 0 0.7em;
  370. }
  371. .system-themes-admin-form {
  372. clear: left; /* LTR */
  373. }
  374. [dir="rtl"] .system-themes-admin-form {
  375. clear: right;
  376. }
  377. .cron-description__run-cron {
  378. display: block;
  379. }
  380. .system-cron-settings__link {
  381. overflow-wrap: break-word;
  382. word-wrap: break-word;
  383. }