system.admin.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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: 0px;
  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: 25%;
  200. padding: 10px 6px 10px 40px; /* LTR */
  201. box-sizing: border-box;
  202. font-weight: normal;
  203. }
  204. [dir="rtl"] .system-status-report__status-title {
  205. padding: 10px 40px 10px 6px;
  206. }
  207. .system-status-report__status-icon:before {
  208. content: "";
  209. background-repeat: no-repeat;
  210. height: 16px;
  211. width: 16px;
  212. display: block;
  213. position: absolute;
  214. left: 12px; /* LTR */
  215. top: 12px;
  216. }
  217. [dir="rtl"] .system-status-report__status-icon:before {
  218. left: auto;
  219. right: 12px;
  220. }
  221. .system-status-report__status-icon--error:before {
  222. background-image: url(../../../misc/icons/e32700/error.svg);
  223. }
  224. .system-status-report__status-icon--warning:before {
  225. background-image: url(../../../misc/icons/e29700/warning.svg);
  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. border-top: 1px solid #cdcdcd;
  245. padding-top: 20px;
  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. border: 1px solid #e0e0d8;
  256. padding: 2px;
  257. vertical-align: bottom;
  258. max-width: 100%;
  259. height: auto;
  260. text-align: center;
  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. margin: 0 20px 0 0; /* LTR */
  278. width: 294px;
  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. box-sizing: border-box;
  290. width: 31.25%;
  291. float: left; /* LTR */
  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. margin: 0 20px 0 0; /* LTR */
  310. width: 294px;
  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. box-sizing: border-box;
  322. width: 31.25%;
  323. float: left; /* LTR */
  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-left: 1px solid #cdcdcd;
  355. border-right: none;
  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. }