maintenance-page.css

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

Maintenance theming.

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

File

core/themes/claro/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(--color-gray-100);
  16. }
  17. h1,
  18. h2 {
  19. font-size: var(--font-size-h3);
  20. }
  21. h3 {
  22. font-size: var(--font-size-h4);
  23. }
  24. .site-name {
  25. margin-top: var(--space-s);
  26. word-wrap: break-word;
  27. color: var(--color-gray);
  28. font-size: var(--font-size-xl);
  29. }
  30. .site-name--subtle {
  31. margin-top: var(--space-s);
  32. color: var(--color-gray-800);
  33. font-size: var(--font-size-h4);
  34. }
  35. .title {
  36. margin-top: 0;
  37. font-size: var(--font-size-h3);
  38. }
  39. .title--broad {
  40. font-size: var(--font-size-h1);
  41. }
  42. .site-name,
  43. .title {
  44. margin-bottom: var(--space-l);
  45. }
  46. .content {
  47. margin-bottom: var(--space-m);
  48. color: var(--color-gray);
  49. }
  50. .content--subtle {
  51. color: var(--color-gray-800);
  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(--color-gray);
  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(--color-absolutezero);
  116. border: 1px solid transparent; /* Required for forced-colors mode. */
  117. background: var(--color-bgblue-active);
  118. font-weight: 500;
  119. }
  120. .task-list .done {
  121. color: var(--color-gray-700);
  122. }
  123. }
  124. /**
  125. * Layout
  126. */
  127. .layout-container {
  128. width: auto;
  129. margin-right: 1.25em;
  130. margin-left: 1.25em;
  131. padding: var(--space-xl);
  132. border: 1px solid transparent; /* Required for forced-colors mode. */
  133. border-radius: 0.5rem;
  134. background: #fff;
  135. box-shadow: var(--shadow-z3);
  136. }
  137. .layout-container::after {
  138. /* No reason for a clearfix in the markup. */
  139. display: table;
  140. clear: both;
  141. content: "";
  142. }
  143. @media all and (max-width: 48em) {
  144. /* 768px */
  145. .layout-container {
  146. margin: 1.25em;
  147. padding: var(--space-m) var(--space-l);
  148. }
  149. .layout-sidebar-first {
  150. display: none;
  151. }
  152. }
  153. @media all and (min-width: 48em) {
  154. /* 768px */
  155. html {
  156. display: table;
  157. }
  158. .install-page,
  159. .maintenance-page {
  160. display: table-cell;
  161. padding: 1em 0;
  162. vertical-align: middle;
  163. }
  164. html,
  165. .install-page,
  166. .maintenance-page {
  167. width: 100%;
  168. height: 100%;
  169. margin: 0;
  170. }
  171. /**
  172. * Needed to override rules from system-admin--layout.pcss.
  173. */
  174. .layout-container.layout-container.layout-container {
  175. width: 75%;
  176. max-width: 58.75rem;
  177. margin: 0 auto;
  178. }
  179. ul {
  180. margin: 0.25em 0;
  181. padding: 0.9375rem;
  182. }
  183. [dir="rtl"] ul {
  184. margin-right: 0; /* Overrides default [dir="rtl"] ul margin. */
  185. }
  186. /* Positioning sidebar & content. */
  187. .layout-sidebar-first {
  188. float: left; /* LTR */
  189. width: 35%;
  190. }
  191. [dir="rtl"] .layout-sidebar-first {
  192. float: right;
  193. }
  194. .main-content {
  195. float: left; /* LTR */
  196. clear: none;
  197. box-sizing: border-box;
  198. width: 65%;
  199. padding-left: 3.85em; /* LTR */
  200. }
  201. [dir="rtl"] .main-content {
  202. float: right;
  203. padding-right: 3.85em;
  204. padding-left: 0;
  205. }
  206. .main-content--attached {
  207. padding-left: 0;
  208. }
  209. }
  210. /**
  211. * Status report customization for install and update page.
  212. */
  213. .system-status-report__status-title {
  214. float: none;
  215. width: 100%;
  216. }
  217. .system-status-report__entry__value {
  218. float: none;
  219. width: 100%;
  220. padding-top: 0;
  221. padding-left: 3em; /* LTR */
  222. }
  223. [dir="rtl"] .system-status-report__entry__value {
  224. padding-right: 3em;
  225. padding-left: 1em;
  226. }
  227. /**
  228. * Updates list customization for update page.
  229. */
  230. .update-results {
  231. overflow: auto; /* Required to prevent text clipping. */
  232. margin-top: 0;
  233. padding: var(--space-s);
  234. border: 1px solid var(--color-gray-100);
  235. border-radius: var(--base-border-radius);
  236. background: var(--color-gray-050);
  237. }
  238. .update-results > h3:first-child {
  239. margin-top: 0;
  240. }
  241. .update-results .failure strong {
  242. color: var(--color-maximumred);
  243. }
  244. .item-list > h3 {
  245. font-size: var(--font-size-h5);
  246. }
  247. .item-list > ul {
  248. margin-left: 0;
  249. }

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