You are here

maintenance-page.css in Drupal 9

Maintenance theming.

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. .maintenance-page {
  12. min-height: 100%;
  13. background-color: #dedfe4;
  14. }
  15. .site-name {
  16. margin-top: 1rem;
  17. word-wrap: break-word;
  18. color: #545560;
  19. font-size: 1.424rem;
  20. }
  21. .site-name,
  22. .title {
  23. margin-bottom: 1.5rem;
  24. }
  25. .content {
  26. margin-bottom: 1rem;
  27. color: #545560;
  28. }
  29. .site-name,
  30. .title,
  31. .content {
  32. max-width: 32rem;
  33. }
  34. /**
  35. * Task list & step indicator
  36. */
  37. @media all and (max-width: 48em) { /* 768px */
  38. header[role="banner"] {
  39. position: relative;
  40. }
  41. .step-indicator {
  42. position: absolute;
  43. top: 0.2em;
  44. right: 0.5em; /* LTR */
  45. display: block;
  46. font-size: 1.385em;
  47. }
  48. [dir="rtl"] .step-indicator {
  49. right: auto;
  50. left: 0.5em;
  51. }
  52. .task-list {
  53. display: none;
  54. }
  55. }
  56. @media all and (min-width: 48em) { /* 768px */
  57. .step-indicator {
  58. display: none;
  59. }
  60. .task-list {
  61. margin-left: 0; /* LTR */
  62. padding-bottom: 1em;
  63. padding-left: 0; /* LTR */
  64. list-style-type: none;
  65. }
  66. [dir="rtl"] .task-list {
  67. margin-right: 0;
  68. padding-right: 0;
  69. }
  70. .task-list li {
  71. padding: 0.5em 1em 0.5em 3.85em; /* LTR */
  72. color: #1a1a1a;
  73. }
  74. [dir="rtl"] .task-list li {
  75. padding: 0.5em 3.85em 0.5em 1em;
  76. }
  77. .task-list .is-active {
  78. position: relative;
  79. background: #ebeae4;
  80. font-weight: normal;
  81. }
  82. .task-list .is-active:after {
  83. position: absolute;
  84. top: 50%;
  85. left: 100%; /* LTR */
  86. width: 0;
  87. height: 0;
  88. margin-top: -1.269em;
  89. content: " ";
  90. pointer-events: none;
  91. border: solid transparent;
  92. border-width: 1.269em;
  93. border-color: rgba(235, 234, 228, 0);
  94. border-left-color: #ebeae4; /* LTR */
  95. }
  96. [dir="rtl"] .task-list .is-active:after {
  97. right: 100%;
  98. left: auto;
  99. border-right-color: #ebeae4;
  100. border-left-color: transparent;
  101. }
  102. .task-list .done {
  103. color: #adadad;
  104. }
  105. }
  106. /**
  107. * Layout
  108. */
  109. .layout-container {
  110. width: auto;
  111. margin-right: 1.25em;
  112. margin-left: 1.25em;
  113. padding: 3rem;
  114. border-radius: 0.5rem;
  115. background: #fff;
  116. box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  117. }
  118. .layout-container:after { /* no reason for a clearfix in the markup */
  119. display: table;
  120. clear: both;
  121. content: "";
  122. }
  123. @media all and (max-width: 48em) { /* 768px */
  124. .layout-container {
  125. margin: 1.25em;
  126. padding: 1rem 1.5rem;
  127. }
  128. }
  129. @media all and (min-width: 48em) { /* 768px */
  130. html {
  131. display: table;
  132. }
  133. .install-page,
  134. .maintenance-page {
  135. display: table-cell;
  136. padding: 1em 0;
  137. vertical-align: middle;
  138. }
  139. html,
  140. .install-page,
  141. .maintenance-page {
  142. width: 100%;
  143. height: 100%;
  144. margin: 0;
  145. }
  146. /**
  147. * Needed to override rules from system-admin--layout.pcss.
  148. */
  149. .layout-container.layout-container.layout-container {
  150. width: 75%;
  151. max-width: 58.75rem;
  152. margin: 0 auto;
  153. }
  154. ul {
  155. margin: 0.25em 0;
  156. padding: 0.9375rem;
  157. }
  158. [dir="rtl"] ul {
  159. margin-right: 0; /* Overrides default [dir="rtl"] ul margin */
  160. }
  161. .layout-sidebar-first {
  162. float: left; /* LTR */
  163. width: 35%;
  164. }
  165. [dir="rtl"] .layout-sidebar-first {
  166. float: right;
  167. }
  168. }
  169. /**
  170. * Status report customization for install and update page.
  171. */
  172. .system-status-report__status-title {
  173. float: none;
  174. width: 100%;
  175. }
  176. .system-status-report__entry__value {
  177. float: none;
  178. width: 100%;
  179. padding-top: 0;
  180. padding-left: 3em; /* LTR */
  181. }
  182. [dir="rtl"] .system-status-report__entry__value {
  183. padding-right: 3em;
  184. padding-left: 1em;
  185. }