maintenance-page.css

Same filename in this branch
  1. main core/themes/olivero/css/components/maintenance-page.css
  2. main core/themes/claro/css/theme/maintenance-page.css
  3. main core/themes/admin/css/theme/maintenance-page.css
Same filename and directory in other branches
  1. 10 core/themes/olivero/css/components/maintenance-page.css
  2. 10 core/themes/claro/css/theme/maintenance-page.css
  3. 11.x core/themes/olivero/css/components/maintenance-page.css
  4. 11.x core/themes/claro/css/theme/maintenance-page.css
  5. 9 core/themes/olivero/css/components/maintenance-page.css
  6. 9 core/themes/seven/css/theme/maintenance-page.css
  7. 9 core/themes/claro/css/theme/maintenance-page.css
  8. 9 core/themes/bartik/css/maintenance-page.css
  9. 8.9.x core/themes/seven/css/theme/maintenance-page.css
  10. 8.9.x core/themes/claro/css/theme/maintenance-page.css
  11. 8.9.x core/themes/bartik/css/maintenance-page.css
  12. 7.x themes/bartik/css/maintenance-page.css
  13. 11.x core/themes/admin/css/theme/maintenance-page.css
  14. 11.x core/themes/default_admin/css/theme/maintenance-page.css

Maintenance theming.

These styles affect the installation UI, maintenance page, and the database update UI.

File

core/themes/default_admin/css/theme/maintenance-page.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Maintenance theming.
  10. *
  11. * These styles affect the installation UI, maintenance page, and the database update UI.
  12. */
  13. .maintenance-page {
  14. min-height: 100%;
  15. background-color: var(--admin-color-bg-sunken);
  16. }
  17. h1,
  18. h2 {
  19. font-size: 1.602rem;
  20. }
  21. h3 {
  22. font-size: var(--admin-font-size-h4);
  23. }
  24. .site-name {
  25. margin-top: var(--admin-space-s);
  26. word-wrap: break-word;
  27. color: var(--admin-color-text);
  28. font-size: var(--admin-font-size-2xl);
  29. }
  30. .site-name--subtle {
  31. margin-top: var(--admin-space-s);
  32. color: var(--admin-color-text-soft);
  33. font-size: var(--admin-font-size-h4);
  34. }
  35. .title {
  36. margin-top: 0;
  37. font-size: 1.602rem;
  38. }
  39. .title--broad {
  40. font-size: var(--admin-font-size-h1);
  41. }
  42. .site-name,
  43. .title {
  44. margin-bottom: var(--admin-space-l);
  45. }
  46. .content {
  47. margin-bottom: var(--admin-space-m);
  48. color: var(--admin-color-text);
  49. }
  50. .content--subtle {
  51. color: var(--admin-color-text-soft);
  52. }
  53. .site-name,
  54. .title,
  55. .content {
  56. max-width: 34rem;
  57. }
  58. /**
  59. * Task list & step indicator.
  60. * Shows on both the install screen and the database update page.
  61. */
  62. @media all and (max-width: 48em) {
  63. /* 768px */
  64. header[role="banner"] {
  65. position: relative;
  66. }
  67. .step-indicator {
  68. position: absolute;
  69. top: 0.2em;
  70. right: 0.5em; /* LTR */
  71. display: block;
  72. font-size: 1.385em;
  73. }
  74. [dir="rtl"] .step-indicator {
  75. right: auto;
  76. left: 0.5em;
  77. }
  78. }
  79. @media all and (min-width: 48em) {
  80. /* 768px */
  81. .step-indicator {
  82. display: none;
  83. }
  84. .task-list {
  85. margin-left: -3rem; /* LTR */
  86. padding: 0;
  87. list-style-type: none;
  88. counter-reset: steps;
  89. font-weight: bold;
  90. }
  91. [dir="rtl"] .task-list {
  92. margin-right: -3rem;
  93. margin-left: 0;
  94. }
  95. .task-list li {
  96. padding: 1rem 1rem 1rem 3rem; /* LTR */
  97. counter-increment: steps;
  98. color: var(--admin-color-text);
  99. border-radius: 0 2rem 2rem 0 /* LTR */;
  100. font-weight: 500;
  101. }
  102. [dir="rtl"] .task-list li {
  103. padding: 1rem 3rem 1rem 1rem;
  104. border-radius: 2rem 0 0 2rem;
  105. }
  106. .task-list li::before {
  107. margin-right: 0.375rem;
  108. content: counter(steps);
  109. }
  110. [dir="rtl"] .task-list li::before {
  111. margin-right: 0;
  112. margin-left: 0.375rem;
  113. }
  114. .task-list .is-active {
  115. color: var(--admin-color-link);
  116. border: 1px solid transparent; /* Required for forced-colors mode. */
  117. /* Fixed blue tint, not the accent-derived --admin-color-bg-item: the
  118. maintenance/install page has no [data-gin-accent] context, so accent
  119. tokens are undefined here. */
  120. background: var(--admin-color-blue-050);
  121. font-weight: 500;
  122. }
  123. .task-list .done {
  124. color: var(--admin-color-text-soft);
  125. }
  126. }
  127. /**
  128. * Layout
  129. */
  130. .layout-container {
  131. width: auto;
  132. margin-right: 1.25em;
  133. margin-left: 1.25em;
  134. padding: var(--admin-space-2xl);
  135. border: 1px solid transparent; /* Required for forced-colors mode. */
  136. border-radius: 0.5rem;
  137. background: #fff;
  138. box-shadow: var(--shadow-z3);
  139. }
  140. .layout-container::after {
  141. /* No reason for a clearfix in the markup. */
  142. display: table;
  143. clear: both;
  144. content: "";
  145. }
  146. @media all and (max-width: 48em) {
  147. /* 768px */
  148. .layout-container {
  149. margin: 1.25em;
  150. padding: var(--admin-space-m) var(--admin-space-l);
  151. }
  152. .layout-sidebar-first {
  153. display: none;
  154. }
  155. }
  156. @media all and (min-width: 48em) {
  157. /* 768px */
  158. html {
  159. display: table;
  160. }
  161. .install-page,
  162. .maintenance-page {
  163. display: table-cell;
  164. padding: 1em 0;
  165. vertical-align: middle;
  166. }
  167. html,
  168. .install-page,
  169. .maintenance-page {
  170. width: 100%;
  171. height: 100%;
  172. margin: 0;
  173. }
  174. /**
  175. * Needed to override rules from system-admin--layout.pcss.
  176. */
  177. .layout-container.layout-container.layout-container {
  178. width: 75%;
  179. max-width: 58.75rem;
  180. margin: 0 auto;
  181. }
  182. ul {
  183. margin: 0.25em 0;
  184. padding: 0.9375rem;
  185. }
  186. [dir="rtl"] ul {
  187. margin-right: 0; /* Overrides default [dir="rtl"] ul margin. */
  188. }
  189. /* Positioning sidebar & content. */
  190. .layout-sidebar-first {
  191. float: left; /* LTR */
  192. width: 35%;
  193. }
  194. [dir="rtl"] .layout-sidebar-first {
  195. float: right;
  196. }
  197. .main-content {
  198. float: left; /* LTR */
  199. clear: none;
  200. box-sizing: border-box;
  201. width: 65%;
  202. padding-left: 3.85em; /* LTR */
  203. }
  204. [dir="rtl"] .main-content {
  205. float: right;
  206. padding-right: 3.85em;
  207. padding-left: 0;
  208. }
  209. .main-content--attached {
  210. padding-left: 0;
  211. }
  212. }
  213. /**
  214. * Status report customization for install and update page.
  215. */
  216. .system-status-report__status-title {
  217. float: none;
  218. width: 100%;
  219. color: var(--admin-color-text-loud);
  220. font-weight: var(--admin-font-weight-semibold);
  221. }
  222. .system-status-report__entry__value {
  223. float: none;
  224. width: 100%;
  225. padding-top: 0;
  226. padding-left: 3em; /* LTR */
  227. }
  228. [dir="rtl"] .system-status-report__entry__value {
  229. padding-right: 3em;
  230. padding-left: 1em;
  231. }
  232. /**
  233. * Updates list customization for update page.
  234. */
  235. .update-results {
  236. overflow: auto; /* Required to prevent text clipping. */
  237. margin-top: 0;
  238. padding: var(--admin-space-s);
  239. border: 1px solid var(--admin-color-border);
  240. border-radius: var(--admin-radius-2xs);
  241. background: var(--admin-color-bg-surface-nested);
  242. }
  243. .update-results > h3:first-child {
  244. margin-top: 0;
  245. }
  246. .update-results .failure strong {
  247. color: var(--admin-color-text-error);
  248. }
  249. .item-list > h3 {
  250. font-size: var(--admin-font-size-h5);
  251. }
  252. .item-list > ul {
  253. margin-left: 0;
  254. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.