system.admin.css

Styles for administration pages.

File

drupal/core/modules/system/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. table.screenshot {
  206. margin-right: 1em; /* LTR */
  207. }
  208. .theme-info h2 {
  209. margin-bottom: 0;
  210. }
  211. .theme-info p {
  212. margin-top: 0;
  213. }
  214. .system-themes-list {
  215. margin-bottom: 20px;
  216. }
  217. .system-themes-list-disabled {
  218. border-top: 1px solid #cdcdcd;
  219. padding-top: 20px;
  220. }
  221. .system-themes-list h2 {
  222. margin: 0;
  223. }
  224. .theme-selector {
  225. padding-top: 20px;
  226. }
  227. .theme-selector .screenshot,
  228. .theme-selector .no-screenshot {
  229. border: 1px solid #e0e0d8;
  230. padding: 2px;
  231. vertical-align: bottom;
  232. width: 294px;
  233. height: 219px;
  234. line-height: 219px;
  235. text-align: center;
  236. }
  237. .theme-default .screenshot {
  238. border: 1px solid #aaa;
  239. }
  240. .system-themes-list-enabled .theme-selector .screenshot,
  241. .system-themes-list-enabled .theme-selector .no-screenshot {
  242. float: left; /* LTR */
  243. margin: 0 20px 0 0; /* LTR */
  244. }
  245. .system-themes-list-disabled .theme-selector .screenshot,
  246. .system-themes-list-disabled .theme-selector .no-screenshot {
  247. width: 194px;
  248. height: 144px;
  249. line-height: 144px;
  250. }
  251. .theme-selector h3 {
  252. font-weight: normal;
  253. }
  254. .theme-default h3 {
  255. font-weight: bold;
  256. }
  257. .system-themes-list-enabled .theme-selector h3 {
  258. margin-top: 0;
  259. }
  260. .system-themes-list-disabled .theme-selector {
  261. width: 300px;
  262. float: left; /* LTR */
  263. padding: 20px 20px 20px 0; /* LTR */
  264. }
  265. .system-themes-list-enabled .theme-info {
  266. max-width: 940px;
  267. }
  268. .system-themes-list-disabled .theme-info {
  269. min-height: 170px;
  270. }
  271. .theme-selector .incompatible {
  272. margin-top: 10px;
  273. font-weight: bold;
  274. }
  275. .theme-selector .operations {
  276. margin: 10px 0 0 0;
  277. padding: 0;
  278. }
  279. .theme-selector .operations li {
  280. float: left; /* LTR */
  281. margin: 0;
  282. padding: 0 0.7em;
  283. list-style-type: none;
  284. border-right: 1px solid #cdcdcd; /* LTR */
  285. }
  286. .theme-selector .operations li.last {
  287. padding: 0 0 0 0.7em; /* LTR */
  288. border-right: none; /* LTR */
  289. }
  290. .theme-selector .operations li.first {
  291. padding: 0 0.7em 0 0; /* LTR */
  292. }
  293. #system-themes-admin-form {
  294. clear: left;
  295. }
  296. /**
  297. * Exposed filters.
  298. */
  299. .exposed-filters .filters {
  300. float: left; /* LTR */
  301. margin-right: 1em; /* LTR */
  302. }
  303. .exposed-filters .form-item {
  304. margin: 0 0 0.1em 0;
  305. padding: 0;
  306. }
  307. .exposed-filters .form-item label {
  308. float: left; /* LTR */
  309. font-weight: normal;
  310. width: 10em;
  311. }
  312. .exposed-filters .form-select {
  313. width: 14em;
  314. }
  315. /* Current filters */
  316. .exposed-filters .current-filters {
  317. margin-bottom: 1em;
  318. }
  319. .exposed-filters .current-filters .placeholder {
  320. font-style: normal;
  321. font-weight: bold;
  322. }
  323. .exposed-filters .additional-filters {
  324. float: left; /* LTR */
  325. margin-right: 1em; /* LTR */
  326. }