maintenance-page.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. /**
  2. * @file
  3. * Maintenance theming.
  4. */
  5. .maintenance-page {
  6. background-color: #e0e0d8;
  7. background-image: -webkit-radial-gradient(hsl(203, 2%, 90%), hsl(203, 2%, 95%));
  8. background-image: radial-gradient(hsl(203, 2%, 90%), hsl(203, 2%, 95%));
  9. background-repeat: repeat;
  10. background-position: left top, 50% 50%; /* LTR */
  11. min-height: 100%;
  12. }
  13. [dir="rtl"] .maintenance-page {
  14. background-position: right top, 50% 50%;
  15. }
  16. .page-title {
  17. font-size: 2em;
  18. line-height: 1.2em;
  19. color: #0074bd;
  20. word-wrap: break-word;
  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. display: block;
  31. font-size: 1.385em;
  32. position: absolute;
  33. top: 0.2em;
  34. right: 0.5em; /* LTR */
  35. }
  36. [dir="rtl"] .step-indicator {
  37. left: 0.5em;
  38. right: auto;
  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. list-style-type: none;
  51. padding-left: 0; /* LTR */
  52. padding-bottom: 1em;
  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. background: #ebeae4;
  67. position: relative;
  68. font-weight: normal;
  69. }
  70. .task-list .is-active:after {
  71. left: 100%; /* LTR */
  72. border: solid transparent;
  73. border-color: rgba(235, 234, 228, 0);
  74. border-left-color: #ebeae4; /* LTR */
  75. border-width: 1.269em;
  76. content: " ";
  77. height: 0;
  78. width: 0;
  79. position: absolute;
  80. pointer-events: none;
  81. top: 50%;
  82. margin-top: -1.269em;
  83. }
  84. [dir="rtl"] .task-list .is-active:after {
  85. left: auto;
  86. right: 100%;
  87. border-left-color: transparent;
  88. border-right-color: #ebeae4;
  89. }
  90. .task-list .done {
  91. color: #adadad;
  92. }
  93. }
  94. /**
  95. * Layout
  96. */
  97. .layout-container {
  98. background: #fff;
  99. width: auto;
  100. margin-left: 1.25em;
  101. margin-right: 1.25em;
  102. }
  103. .layout-container:after { /* no reason for a clearfix in the markup */
  104. content: "";
  105. display: table;
  106. clear: both;
  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. margin: 0;
  136. width: 100%;
  137. height: 100%;
  138. }
  139. .layout-container {
  140. margin: 0 auto;
  141. width: 75%;
  142. max-width: 770px;
  143. border-radius: 5px;
  144. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  145. padding: 20px 0 40px 0;
  146. }
  147. /* Positioning sidebar & content */
  148. main {
  149. box-sizing: border-box;
  150. clear: none;
  151. float: left; /* LTR */
  152. padding-left: 3.85em;
  153. padding-right: 3.85em;
  154. width: 65%;
  155. }
  156. [dir="rtl"] main {
  157. float: right;
  158. }
  159. ul {
  160. padding: 15px;
  161. margin: 0.25em 0;
  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-left: 3em; /* LTR */
  189. padding-top: 0;
  190. }
  191. [dir="rtl"] .system-status-report__entry__value {
  192. padding-left: 1em;
  193. padding-right: 3em;
  194. }