You are here

maintenance-page.pcss.css in Drupal 9

Same filename and directory in other branches
  1. 8 core/themes/claro/css/theme/maintenance-page.pcss.css

Maintenance theming.

File

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