system.admin.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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. content: "";
  13. display: table;
  14. clear: both;
  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. min-width: 25px;
  81. width: 4%;
  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. overflow: hidden; /* truncates descriptions if too long */
  98. text-overflow: ellipsis;
  99. white-space: nowrap;
  100. }
  101. .system-modules details[open] {
  102. height: auto;
  103. overflow: visible;
  104. white-space: normal;
  105. }
  106. .system-modules details[open] summary .text {
  107. -webkit-hyphens: auto;
  108. -moz-hyphens: auto;
  109. -ms-hyphens: auto;
  110. hyphens: auto;
  111. text-transform: none;
  112. }
  113. .system-modules td details a {
  114. color: #5c5c5b;
  115. border: 0;
  116. }
  117. .system-modules td details {
  118. border: 0;
  119. margin: 0;
  120. height: 20px;
  121. }
  122. .system-modules td details summary {
  123. padding: 0;
  124. text-transform: none;
  125. font-weight: normal;
  126. cursor: default;
  127. }
  128. .system-modules td {
  129. padding-left: 0; /* LTR */
  130. }
  131. [dir="rtl"] .system-modules td {
  132. padding-left: 12px;
  133. padding-right: 0;
  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. padding: 5px 0;
  145. max-width: 490px;
  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. font-size: 0.9em;
  159. color: #666;
  160. }
  161. .admin-enabled {
  162. color: #080;
  163. }
  164. .admin-missing {
  165. color: #f00;
  166. }
  167. .module-link {
  168. display: block;
  169. padding: 2px 20px;
  170. white-space: nowrap;
  171. margin-top: 2px;
  172. float: left; /* LTR */
  173. }
  174. [dir="rtl"] .module-link {
  175. float: right;
  176. }
  177. .module-link-help {
  178. background: url(../../../misc/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(../../../misc/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(../../../misc/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. /* Status report. */
  196. .system-status-report__status-title {
  197. position: relative;
  198. vertical-align: top;
  199. width: 100%;
  200. padding: 10px 6px 10px 40px; /* LTR */
  201. box-sizing: border-box;
  202. font-weight: normal;
  203. background-color: transparent;
  204. }
  205. [dir="rtl"] .system-status-report__status-title {
  206. padding: 10px 40px 10px 6px;
  207. }
  208. .system-status-report__status-icon:before {
  209. content: "";
  210. background-repeat: no-repeat;
  211. height: 16px;
  212. width: 16px;
  213. display: block;
  214. position: absolute;
  215. left: 12px; /* LTR */
  216. top: 12px;
  217. }
  218. [dir="rtl"] .system-status-report__status-icon:before {
  219. left: auto;
  220. right: 12px;
  221. }
  222. .system-status-report__status-icon--error:before {
  223. background-image: url(../../../misc/icons/e32700/error.svg);
  224. }
  225. .system-status-report__status-icon--warning:before {
  226. background-image: url(../../../misc/icons/e29700/warning.svg);
  227. }
  228. .system-status-report__entry__value {
  229. padding: 1em 0.5em;
  230. }
  231. /**
  232. * Appearance page.
  233. */
  234. .theme-info__header {
  235. margin-bottom: 0;
  236. font-weight: normal;
  237. }
  238. .theme-default .theme-info__header {
  239. font-weight: bold;
  240. }
  241. .theme-info__description {
  242. margin-top: 0;
  243. }
  244. .system-themes-list {
  245. margin-bottom: 20px;
  246. }
  247. .system-themes-list-uninstalled {
  248. border-top: 1px solid #cdcdcd;
  249. padding-top: 20px;
  250. }
  251. .system-themes-list__header {
  252. margin: 0;
  253. }
  254. .theme-selector {
  255. padding-top: 20px;
  256. }
  257. .theme-selector .screenshot,
  258. .theme-selector .no-screenshot {
  259. border: 1px solid #e0e0d8;
  260. padding: 2px;
  261. vertical-align: bottom;
  262. max-width: 100%;
  263. height: auto;
  264. text-align: center;
  265. }
  266. .theme-default .screenshot {
  267. border: 1px solid #aaa;
  268. }
  269. .system-themes-list-uninstalled .screenshot,
  270. .system-themes-list-uninstalled .no-screenshot {
  271. max-width: 194px;
  272. height: auto;
  273. }
  274. /**
  275. * Theme display without vertical toolbar.
  276. */
  277. @media screen and (min-width: 45em) {
  278. body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  279. body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  280. float: left; /* LTR */
  281. margin: 0 20px 0 0; /* LTR */
  282. width: 294px;
  283. }
  284. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  285. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  286. float: right;
  287. margin: 0 0 0 20px;
  288. }
  289. body:not(.toolbar-vertical) .system-themes-list-installed .system-themes-list__header {
  290. margin-top: 0;
  291. }
  292. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  293. box-sizing: border-box;
  294. width: 31.25%;
  295. float: left; /* LTR */
  296. padding: 20px 20px 20px 0; /* LTR */
  297. }
  298. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  299. float: right;
  300. padding: 20px 0 20px 20px;
  301. }
  302. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-info {
  303. min-height: 170px;
  304. }
  305. }
  306. /**
  307. * Theme display with vertical toolbar.
  308. */
  309. @media screen and (min-width: 60em) {
  310. .toolbar-vertical .system-themes-list-installed .screenshot,
  311. .toolbar-vertical .system-themes-list-installed .no-screenshot {
  312. float: left; /* LTR */
  313. margin: 0 20px 0 0; /* LTR */
  314. width: 294px;
  315. }
  316. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .screenshot,
  317. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .no-screenshot {
  318. float: right;
  319. margin: 0 0 0 20px;
  320. }
  321. .toolbar-vertical .system-themes-list-installed .theme-info__header {
  322. margin-top: 0;
  323. }
  324. .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  325. box-sizing: border-box;
  326. width: 31.25%;
  327. float: left; /* LTR */
  328. padding: 20px 20px 20px 0; /* LTR */
  329. }
  330. [dir="rtl"] .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  331. float: right;
  332. padding: 20px 0 20px 20px;
  333. }
  334. .toolbar-vertical .system-themes-list-uninstalled .theme-info {
  335. min-height: 170px;
  336. }
  337. }
  338. .system-themes-list-installed .theme-info {
  339. max-width: 940px;
  340. }
  341. .theme-selector .incompatible {
  342. margin-top: 10px;
  343. font-weight: bold;
  344. }
  345. .theme-selector .operations {
  346. margin: 10px 0 0 0;
  347. padding: 0;
  348. }
  349. .theme-selector .operations li {
  350. float: left; /* LTR */
  351. margin: 0;
  352. padding: 0 0.7em;
  353. list-style-type: none;
  354. border-right: 1px solid #cdcdcd; /* LTR */
  355. }
  356. [dir="rtl"] .theme-selector .operations li {
  357. float: right;
  358. border-left: 1px solid #cdcdcd;
  359. border-right: none;
  360. }
  361. .theme-selector .operations li:last-child {
  362. padding: 0 0 0 0.7em; /* LTR */
  363. border-right: none; /* LTR */
  364. }
  365. [dir="rtl"] .theme-selector .operations li:last-child {
  366. padding: 0 0.7em 0 0;
  367. border-left: none;
  368. }
  369. .theme-selector .operations li:first-child {
  370. padding: 0 0.7em 0 0; /* LTR */
  371. }
  372. [dir="rtl"] .theme-selector .operations li:first-child {
  373. padding: 0 0 0 0.7em;
  374. }
  375. .system-themes-admin-form {
  376. clear: left; /* LTR */
  377. }
  378. [dir="rtl"] .system-themes-admin-form {
  379. clear: right;
  380. }
  381. .cron-description__run-cron {
  382. display: block;
  383. }
  384. .system-cron-settings__link {
  385. overflow-wrap: break-word;
  386. word-wrap: break-word;
  387. }