system.admin.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. /**
  2. * @file
  3. * Styles for administration pages.
  4. */
  5. /**
  6. * Reusable layout styles.
  7. */
  8. .layout-container {
  9. margin: 0;
  10. padding: 0 20px;
  11. }
  12. .layout-container:after {
  13. content: "";
  14. display: table;
  15. clear: both;
  16. }
  17. .layout-column--half,
  18. .layout-column--quarter,
  19. .layout-column--three-quarter {
  20. width: 100%;
  21. float: left;
  22. }
  23. @media screen and (min-width: 768px) {
  24. .layout-column--half,
  25. .layout-column--quarter,
  26. .layout-column--three-quarter {
  27. width: 50%;
  28. }
  29. }
  30. @media screen and (min-width: 1200px) {
  31. .layout-container {
  32. margin: 0;
  33. }
  34. .layout-column {
  35. box-sizing: border-box;
  36. padding: 0;
  37. }
  38. .layout-column--half {
  39. width: 50%;
  40. }
  41. .layout-column--quarter {
  42. width: 25%;
  43. }
  44. .layout-column--three-quarter {
  45. width: 75%;
  46. }
  47. }
  48. /**
  49. * Panel.
  50. * Used to visually group items together.
  51. */
  52. .panel {
  53. padding: 5px 5px 15px;
  54. }
  55. .panel__description {
  56. margin: 0 0 3px;
  57. padding: 2px 0 3px 0;
  58. }
  59. /**
  60. * System compact link: to toggle the display of description text.
  61. */
  62. .compact-link {
  63. margin: 0 0 0.5em 0;
  64. }
  65. /**
  66. * Quick inline admin links.
  67. */
  68. small .admin-link:before {
  69. content: ' [';
  70. }
  71. small .admin-link:after {
  72. content: '] ';
  73. }
  74. /**
  75. * Modules page.
  76. */
  77. .system-modules thead > tr {
  78. border: 0;
  79. }
  80. .system-modules div.incompatible {
  81. font-weight: bold;
  82. }
  83. .system-modules td.checkbox {
  84. width: 16px;
  85. padding-right: 0;
  86. min-width: 16px;
  87. }
  88. .system-modules td.module {
  89. width: 25%;
  90. }
  91. .system-modules td {
  92. vertical-align: top;
  93. padding: 20px;
  94. }
  95. .system-modules label,
  96. .system-modules-uninstall label {
  97. color: #1d1d1d;
  98. font-size: 1.15em;
  99. margin: 0;
  100. }
  101. .system-modules details {
  102. color: #5c5c5b;
  103. line-height: 20px;
  104. overflow: hidden; /* truncates descriptions if too long */
  105. text-overflow: ellipsis;
  106. }
  107. .system-modules details[open] {
  108. height: auto;
  109. overflow: visible;
  110. }
  111. .system-modules details[open] summary .text {
  112. -webkit-hyphens: auto;
  113. -moz-hyphens: auto;
  114. -ms-hyphens: auto;
  115. hyphens: auto;
  116. text-transform: none;
  117. }
  118. .system-modules td details a {
  119. color: #5c5c5b;
  120. border: 0;
  121. }
  122. .system-modules td details {
  123. border: 0;
  124. margin: 0;
  125. height: 20px;
  126. }
  127. .system-modules td details summary {
  128. padding: 0;
  129. text-transform: none;
  130. font-weight: normal;
  131. font-size: 14px;
  132. line-height: 1.5;
  133. cursor: pointer;
  134. }
  135. .system-modules td.description {
  136. padding: 20px;
  137. }
  138. @media screen and (max-width: 40em) {
  139. .system-modules td.name {
  140. width: 20%;
  141. }
  142. .system-modules td.description {
  143. width: 40%;
  144. }
  145. }
  146. .system-modules .requirements {
  147. padding: 5px 0;
  148. max-width: 490px;
  149. }
  150. .system-modules .links {
  151. overflow: hidden; /* prevents collapse */
  152. }
  153. .system-modules .checkbox {
  154. margin: 0;
  155. }
  156. .system-modules .checkbox .form-item {
  157. margin-bottom: 0;
  158. }
  159. .admin-requirements,
  160. .admin-required {
  161. font-size: 12px;
  162. color: #333;
  163. }
  164. .admin-enabled {
  165. color: #080;
  166. }
  167. .admin-missing {
  168. color: #f00;
  169. }
  170. .module-link {
  171. display: block;
  172. padding: 2px 20px;
  173. white-space: nowrap;
  174. margin-top: 2px;
  175. float: left; /* LTR */
  176. }
  177. [dir="rtl"] .module-link {
  178. float: right;
  179. }
  180. .module-link-help {
  181. background: url(../../images/icons/787878/questionmark-disc.svg) 0 50% no-repeat; /* LTR */
  182. }
  183. [dir="rtl"] .module-link-help {
  184. background-position: top 50% right 0;
  185. }
  186. .module-link-permissions {
  187. background: url(../../images/icons/787878/key.svg) 0 50% no-repeat; /* LTR */
  188. }
  189. [dir="rtl"] .module-link-permissions {
  190. background-position: top 50% right 0;
  191. }
  192. .module-link-configure {
  193. background: url(../../images/icons/787878/cog.svg) 0 50% no-repeat; /* LTR */
  194. }
  195. [dir="rtl"] .module-link-configure {
  196. background-position: top 50% right 0;
  197. }
  198. /* Status report. */
  199. .system-status-report__status-title {
  200. position: relative;
  201. vertical-align: top;
  202. width: 100%;
  203. padding: 10px 6px 10px 40px; /* LTR */
  204. box-sizing: border-box;
  205. font-weight: normal;
  206. background-color: transparent;
  207. }
  208. [dir="rtl"] .system-status-report__status-title {
  209. padding: 10px 40px 10px 6px;
  210. }
  211. .system-status-report__status-icon:before {
  212. content: "";
  213. background-repeat: no-repeat;
  214. height: 16px;
  215. width: 16px;
  216. display: block;
  217. position: absolute;
  218. left: 12px; /* LTR */
  219. top: 12px;
  220. }
  221. [dir="rtl"] .system-status-report__status-icon:before {
  222. left: auto;
  223. right: 12px;
  224. }
  225. .system-status-report__status-icon--error:before {
  226. background-image: url(../../images/icons/e32700/error.svg);
  227. }
  228. .system-status-report__status-icon--warning:before {
  229. background-image: url(../../images/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: 700;
  240. }
  241. .theme-default .theme-info__header {
  242. color: #0678be;
  243. }
  244. .theme-info__description {
  245. margin-top: 0;
  246. }
  247. .system-themes-list-installed {
  248. margin-bottom: 20px;
  249. }
  250. .system-themes-list-uninstalled {
  251. border-top: 1px solid #f3f3f3;
  252. border-bottom: 1px solid #f3f3f3;
  253. padding: 20px 0;
  254. margin-bottom: 20px;
  255. }
  256. .system-themes-list__header {
  257. margin: 0;
  258. }
  259. .theme-selector {
  260. box-sizing: border-box;
  261. padding-right: 0;
  262. padding-top: 20px;
  263. padding-bottom: 20px;
  264. }
  265. @media screen and (min-width: 960px) {
  266. .theme-selector {
  267. padding-right: 20px;
  268. padding-top: 20px;
  269. padding-bottom: 20px;
  270. }
  271. }
  272. .theme-selector .screenshot,
  273. .theme-selector .no-screenshot {
  274. border: 1px solid #eee;
  275. padding: 2px;
  276. vertical-align: bottom;
  277. width: 100%;
  278. max-width: 360px;
  279. height: auto;
  280. text-align: center;
  281. box-sizing: border-box;
  282. }
  283. .system-themes-list-uninstalled .screenshot,
  284. .system-themes-list-uninstalled .no-screenshot {
  285. max-width: 280px;
  286. height: auto;
  287. }
  288. /**
  289. * Theme display without vertical toolbar.
  290. */
  291. @media screen and (min-width: 45em) {
  292. body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  293. body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  294. float: left; /* LTR */
  295. margin: 0 20px 0 0; /* LTR */
  296. width: 360px;
  297. }
  298. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .screenshot,
  299. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-installed .no-screenshot {
  300. float: right;
  301. margin: 0 0 0 20px;
  302. }
  303. body:not(.toolbar-vertical) .system-themes-list-installed .system-themes-list__header {
  304. margin-top: 0;
  305. }
  306. body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  307. box-sizing: border-box;
  308. width: 25%;
  309. float: left; /* LTR */
  310. padding: 20px 20px 20px 0; /* LTR */
  311. }
  312. [dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-uninstalled .theme-selector {
  313. float: right;
  314. padding: 20px 0 20px 20px;
  315. }
  316. }
  317. /**
  318. * Theme display with vertical toolbar.
  319. */
  320. @media screen and (min-width: 60em) {
  321. .toolbar-vertical .system-themes-list-installed .screenshot,
  322. .toolbar-vertical .system-themes-list-installed .no-screenshot {
  323. float: left; /* LTR */
  324. margin: 0 20px 0 0; /* LTR */
  325. width: 294px;
  326. }
  327. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .screenshot,
  328. [dir="rtl"] .toolbar-vertical .system-themes-list-installed .no-screenshot {
  329. float: right;
  330. margin: 0 0 0 20px;
  331. }
  332. .toolbar-vertical .system-themes-list-installed .theme-info__header {
  333. margin-top: 0;
  334. }
  335. .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  336. box-sizing: border-box;
  337. width: 25%;
  338. float: left; /* LTR */
  339. padding: 20px 20px 20px 0; /* LTR */
  340. }
  341. [dir="rtl"] .toolbar-vertical .system-themes-list-uninstalled .theme-selector {
  342. float: right;
  343. padding: 20px 0 20px 20px;
  344. }
  345. }
  346. .system-themes-list-installed .theme-info {
  347. max-width: 940px;
  348. }
  349. .theme-selector .incompatible {
  350. margin-top: 10px;
  351. font-weight: bold;
  352. }
  353. .theme-selector .operations {
  354. margin: 10px 0 0 -5px;
  355. padding: 0;
  356. }
  357. .theme-selector .operations li {
  358. margin: 5px;
  359. padding: 0;
  360. list-style-type: none;
  361. display: inline-block;
  362. }
  363. .theme-selector .operations li a {
  364. box-sizing: border-box;
  365. display: inline-block;
  366. text-align: center;
  367. text-transform: uppercase;
  368. padding: 6px 10px;
  369. background-color: #f5f5f5;
  370. color: #333;
  371. text-decoration: none;
  372. font-weight: 700;
  373. font-size: 12px;
  374. line-height: 1;
  375. -webkit-transition: all 0.2s;
  376. transition: all 0.2s;
  377. border: 1px solid #b8b8b8;
  378. min-width: 100px;
  379. }
  380. .theme-selector .operations li a:hover {
  381. background-color: white;
  382. border-color: #0678be;
  383. color: #0678be;
  384. text-decoration: none;
  385. }
  386. .theme-selector .operations li a:focus {
  387. outline: transparent;
  388. }
  389. .system-themes-admin-form {
  390. clear: left; /* LTR */
  391. }
  392. [dir="rtl"] .system-themes-admin-form {
  393. clear: right;
  394. }
  395. .cron-description__run-cron {
  396. display: flex;
  397. margin-top: 20px;
  398. }
  399. .cron-description__run-cron a {
  400. top: 0;
  401. left: 0;
  402. font-size: 12px;
  403. padding: 6px 10px;
  404. }
  405. .system-cron-settings__link {
  406. overflow-wrap: break-word;
  407. word-wrap: break-word;
  408. }