system.admin.css

Styles for administration pages.

File

drupal/core/modules/system/css/system.admin.css
View source
  1. /**
  2. * @file
  3. * Styles for administration pages.
  4. */
  5. /**
  6. * Administration blocks.
  7. */
  8. div.admin-panel {
  9. margin: 0;
  10. padding: 5px 5px 15px 5px;
  11. }
  12. div.admin-panel .description {
  13. margin: 0 0 3px;
  14. padding: 2px 0 3px 0;
  15. }
  16. div.admin-panel .body {
  17. padding: 0 4px 2px 8px; /* LTR */
  18. }
  19. div.admin {
  20. padding-top: 15px;
  21. }
  22. @media screen and (min-width: 40em) {
  23. div.admin .left {
  24. float: left; /* LTR */
  25. width: 47%;
  26. margin-left: 1em; /* LTR */
  27. }
  28. div.admin .right {
  29. float: right; /* LTR */
  30. width: 47%;
  31. margin-right: 1em; /* LTR */
  32. }
  33. }
  34. div.admin .expert-link {
  35. text-align: right; /* LTR */
  36. margin-right: 1em; /* LTR */
  37. padding-right: 4px; /* LTR */
  38. }
  39. /**
  40. * Markup generated by theme_system_compact_link().
  41. */
  42. .compact-link {
  43. margin: 0 0 0.5em 0;
  44. }
  45. /**
  46. * Quick inline admin links.
  47. */
  48. small .admin-link:before {
  49. content: '[';
  50. }
  51. small .admin-link:after {
  52. content: ']';
  53. }
  54. /**
  55. * Modules page.
  56. */
  57. #system-modules table {
  58. table-layout: fixed;
  59. }
  60. #system-modules div.incompatible {
  61. font-weight: bold;
  62. }
  63. #system-modules th.checkbox {
  64. width: 4%;
  65. }
  66. #system-modules th.name {
  67. width: 25%;
  68. }
  69. #system-modules td {
  70. vertical-align: top;
  71. }
  72. #system-modules .expand .inner {
  73. background: transparent url(../../../misc/menu-collapsed.png) left .6em no-repeat;
  74. margin-left: -12px;
  75. padding-left: 12px;
  76. }
  77. #system-modules .expanded .expand .inner {
  78. background: transparent url(../../../misc/menu-expanded.png) left .6em no-repeat;
  79. }
  80. #system-modules label {
  81. color: #1d1d1d;
  82. font-size: 1.15em;
  83. }
  84. #system-modules .description {
  85. cursor: pointer;
  86. }
  87. #system-modules .description .inner {
  88. color: #5c5c5b;
  89. height: 20px;
  90. line-height: 20px;
  91. overflow: hidden; /* truncates descriptions if too long */
  92. text-overflow: ellipsis;
  93. white-space: nowrap;
  94. }
  95. #system-modules .expanded .description .inner {
  96. height: auto;
  97. overflow: visible;
  98. white-space: normal;
  99. }
  100. #system-modules .expanded .description .text {
  101. -webkit-hyphens: auto;
  102. -moz-hyphens: auto;
  103. hyphens: auto;
  104. }
  105. @media screen and (max-width: 40em) {
  106. #system-modules th.name {
  107. width: 20%;
  108. }
  109. #system-modules th.description {
  110. width: 40%;
  111. }
  112. }
  113. #system-modules .requirements {
  114. padding: 5px 0;
  115. max-width: 490px;
  116. }
  117. #system-modules .links {
  118. overflow: hidden; /* prevents collapse */
  119. }
  120. #system-modules .checkbox {
  121. margin: 0 5px;
  122. }
  123. #system-modules .checkbox .form-item {
  124. margin-bottom: 0;
  125. }
  126. div.admin-requirements,
  127. div.admin-required {
  128. font-size: 0.9em;
  129. color: #666;
  130. }
  131. span.admin-disabled {
  132. color: #800;
  133. }
  134. span.admin-enabled {
  135. color: #080;
  136. }
  137. span.admin-missing {
  138. color: #f00;
  139. }
  140. a.module-link {
  141. display: block;
  142. padding: 2px 20px;
  143. white-space: nowrap;
  144. margin-top: 2px;
  145. float: left; /* LTR */
  146. }
  147. a.module-link-help {
  148. background: url(../../../misc/help.png) 0 50% no-repeat; /* LTR */
  149. }
  150. a.module-link-permissions {
  151. background: url(../../../misc/permissions.png) 0 50% no-repeat; /* LTR */
  152. }
  153. a.module-link-configure {
  154. background: url(../../../misc/configure.png) 0 50% no-repeat; /* LTR */
  155. }
  156. .module-help {
  157. margin-left: 1em; /* LTR */
  158. float: right; /* LTR */
  159. }
  160. /**
  161. * Status report.
  162. */
  163. table.system-status-report td {
  164. padding: 6px;
  165. vertical-align: top;
  166. }
  167. table.system-status-report td:nth-child(-n+2) {
  168. background-color: rgba(0, 0, 0, 0.04);
  169. }
  170. table.system-status-report td.status-icon {
  171. width: 16px;
  172. padding-right: 0; /* LTR */
  173. }
  174. table.system-status-report td.status-icon div {
  175. background-repeat: no-repeat;
  176. height: 16px;
  177. width: 16px;
  178. }
  179. table.system-status-report tr.error td.status-icon div {
  180. background-image: url(../../../misc/message-16-error.png);
  181. }
  182. table.system-status-report tr.warning td.status-icon div {
  183. background-image: url(../../../misc/message-16-warning.png);
  184. }
  185. table.system-status-report .status-title {
  186. width: 25%;
  187. }
  188. /**
  189. * Theme settings.
  190. */
  191. .theme-settings-left {
  192. float: left;
  193. width: 49%;
  194. }
  195. .theme-settings-right {
  196. float: right;
  197. width: 49%;
  198. }
  199. .theme-settings-bottom {
  200. clear: both;
  201. }
  202. /**
  203. * Appearance page.
  204. */
  205. .theme-info h2 {
  206. margin-bottom: 0;
  207. }
  208. .theme-info p {
  209. margin-top: 0;
  210. }
  211. .system-themes-list {
  212. margin-bottom: 20px;
  213. }
  214. .system-themes-list-disabled {
  215. border-top: 1px solid #cdcdcd;
  216. padding-top: 20px;
  217. }
  218. .system-themes-list h2 {
  219. margin: 0;
  220. }
  221. .theme-selector {
  222. padding-top: 20px;
  223. }
  224. .theme-selector .screenshot,
  225. .theme-selector .no-screenshot {
  226. border: 1px solid #e0e0d8;
  227. padding: 2px;
  228. vertical-align: bottom;
  229. max-width: 100%;
  230. height: auto;
  231. text-align: center;
  232. }
  233. .theme-selector .no-screenshot {
  234. display: none;
  235. }
  236. .theme-default .screenshot {
  237. border: 1px solid #aaa;
  238. }
  239. .system-themes-list-disabled .screenshot,
  240. .system-themes-list-disabled .no-screenshot {
  241. max-width: 194px;
  242. height: auto;
  243. }
  244. .theme-selector h3 {
  245. font-weight: normal;
  246. }
  247. .theme-default h3 {
  248. font-weight: bold;
  249. }
  250. /**
  251. * Theme display without vertical toolbar.
  252. */
  253. @media screen and (min-width: 45em) {
  254. body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
  255. body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
  256. float: left; /* LTR */
  257. margin: 0 20px 0 0; /* LTR */
  258. width: 294px;
  259. }
  260. body:not(.toolbar-vertical) .system-themes-list-enabled h3 {
  261. margin-top: 0;
  262. }
  263. body:not(.toolbar-vertical) .system-themes-list-disabled .theme-selector {
  264. -webkit-box-sizing: border-box;
  265. -moz-box-sizing: border-box;
  266. box-sizing: border-box;
  267. width: 31.25%;
  268. float: left; /* LTR */
  269. padding: 20px 20px 20px 0; /* LTR */
  270. }
  271. body:not(.toolbar-vertical) .system-themes-list-disabled .theme-info {
  272. min-height: 170px;
  273. }
  274. body:not(.toolbar-vertical) .no-screenshot {
  275. display: block;
  276. padding-bottom: 57%;
  277. position: relative;
  278. }
  279. body:not(.toolbar-vertical) .no-screenshot__text {
  280. margin-top: -0.76em;
  281. position: absolute;
  282. top: 50%;
  283. width: 100%;
  284. }
  285. }
  286. /**
  287. * Theme display with vertical toolbar.
  288. */
  289. @media screen and (min-width: 60em) {
  290. .toolbar-vertical .system-themes-list-enabled .screenshot,
  291. .toolbar-vertical .system-themes-list-enabled .no-screenshot {
  292. float: left; /* LTR */
  293. margin: 0 20px 0 0; /* LTR */
  294. width: 294px;
  295. }
  296. .toolbar-vertical .system-themes-list-enabled h3 {
  297. margin-top: 0;
  298. }
  299. .toolbar-vertical .system-themes-list-disabled .theme-selector {
  300. -webkit-box-sizing: border-box;
  301. -moz-box-sizing: border-box;
  302. box-sizing: border-box;
  303. width: 31.25%;
  304. float: left; /* LTR */
  305. padding: 20px 20px 20px 0; /* LTR */
  306. }
  307. .toolbar-vertical .system-themes-list-disabled .theme-info {
  308. min-height: 170px;
  309. }
  310. .toolbar-vertical .no-screenshot {
  311. display: block;
  312. padding-bottom: 57%;
  313. position: relative;
  314. }
  315. .toolbar-vertical .no-screenshot__text {
  316. margin-top: -0.76em;
  317. position: absolute;
  318. top: 50%;
  319. width: 100%;
  320. }
  321. }
  322. .system-themes-list-enabled .theme-info {
  323. max-width: 940px;
  324. }
  325. .theme-selector .incompatible {
  326. margin-top: 10px;
  327. font-weight: bold;
  328. }
  329. .theme-selector .operations {
  330. margin: 10px 0 0 0;
  331. padding: 0;
  332. }
  333. .theme-selector .operations li {
  334. float: left; /* LTR */
  335. margin: 0;
  336. padding: 0 0.7em;
  337. list-style-type: none;
  338. border-right: 1px solid #cdcdcd; /* LTR */
  339. }
  340. .theme-selector .operations li.last {
  341. padding: 0 0 0 0.7em; /* LTR */
  342. border-right: none; /* LTR */
  343. }
  344. .theme-selector .operations li.first {
  345. padding: 0 0.7em 0 0; /* LTR */
  346. }
  347. #system-themes-admin-form {
  348. clear: left;
  349. }
  350. /**
  351. * Exposed filters.
  352. */
  353. .exposed-filters .filters {
  354. float: left; /* LTR */
  355. margin-right: 1em; /* LTR */
  356. }
  357. .exposed-filters .form-item {
  358. margin: 0 0 0.1em 0;
  359. padding: 0;
  360. }
  361. .exposed-filters .form-item label {
  362. float: left; /* LTR */
  363. font-weight: normal;
  364. width: 10em;
  365. }
  366. .exposed-filters .form-select {
  367. width: 14em;
  368. }
  369. /* Current filters */
  370. .exposed-filters .current-filters {
  371. margin-bottom: 1em;
  372. }
  373. .exposed-filters .current-filters .placeholder {
  374. font-style: normal;
  375. font-weight: bold;
  376. }
  377. .exposed-filters .additional-filters {
  378. float: left; /* LTR */
  379. margin-right: 1em; /* LTR */
  380. }