maintenance-page.css

Same filename in this branch
  1. 8.9.x core/themes/claro/css/theme/maintenance-page.css
  2. 8.9.x core/themes/bartik/css/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. 10 core/themes/olivero/css/components/maintenance-page.css
  7. 10 core/themes/claro/css/theme/maintenance-page.css
  8. 11.x core/themes/olivero/css/components/maintenance-page.css
  9. 11.x core/themes/claro/css/theme/maintenance-page.css

Maintenance theming.

File

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

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

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