maintenance-page.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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. .maintenance-page .button {
  14. margin-left: 0;
  15. margin-top: 20px;
  16. }
  17. .maintenance-page h1 {
  18. padding-top: 0;
  19. }
  20. [dir="rtl"] .maintenance-page {
  21. background-position: right top, 50% 50%;
  22. }
  23. .maintenance-page header {
  24. border-bottom: 1px solid #eee;
  25. }
  26. .page-title {
  27. color: #0074bd;
  28. word-wrap: break-word;
  29. }
  30. .item-list li {
  31. padding-left: 10px;
  32. }
  33. /**
  34. * Task list & step indicator
  35. */
  36. @media all and (max-width: 767px) {
  37. header[role="banner"] {
  38. position: relative;
  39. }
  40. .step-indicator {
  41. display: block;
  42. font-size: 1.385em;
  43. position: absolute;
  44. top: 0;
  45. right: 0.5em; /* LTR */
  46. }
  47. [dir="rtl"] .step-indicator {
  48. left: 0.5em;
  49. right: auto;
  50. }
  51. .task-list {
  52. display: none;
  53. }
  54. }
  55. @media all and (min-width: 767px) {
  56. .step-indicator {
  57. display: none;
  58. }
  59. .task-list {
  60. margin-left: 0; /* LTR */
  61. list-style-type: none;
  62. padding-left: 0; /* LTR */
  63. padding-bottom: 1em;
  64. }
  65. [dir="rtl"] .task-list {
  66. margin-right: 0;
  67. padding-right: 0;
  68. }
  69. .task-list li {
  70. padding: 8px 1em 8px 3.85em; /* LTR */
  71. color: #1a1a1a;
  72. line-height: 24px;
  73. }
  74. [dir="rtl"] .task-list li {
  75. padding: 8px 3.85em 8px 1em;
  76. }
  77. .task-list .is-active {
  78. background: #0074bd;
  79. color: white;
  80. position: relative;
  81. font-weight: normal;
  82. }
  83. .task-list .done {
  84. color: #adadad;
  85. }
  86. }
  87. /**
  88. * Layout
  89. */
  90. .layout-container {
  91. background: #fff;
  92. width: auto;
  93. margin-left: 1.25em;
  94. margin-right: 1.25em;
  95. }
  96. .layout-container:after { /* no reason for a clearfix in the markup */
  97. content: "";
  98. display: table;
  99. clear: both;
  100. }
  101. @media all and (max-width: 767px) {
  102. .layout-container {
  103. margin: 1.25em;
  104. padding: 30px 20px;
  105. }
  106. main {
  107. padding-top: 35px;
  108. }
  109. }
  110. @media all and (min-width: 767px) {
  111. html {
  112. display: table;
  113. }
  114. .install-page,
  115. .maintenance-page {
  116. display: table-cell;
  117. padding: 1em 0;
  118. vertical-align: middle;
  119. }
  120. html,
  121. .install-page,
  122. .maintenance-page {
  123. margin: 0;
  124. width: 100%;
  125. height: 100%;
  126. }
  127. .layout-container {
  128. margin: 0 auto;
  129. width: 90%;
  130. max-width: 770px;
  131. padding: 30px 0;
  132. }
  133. /* Positioning sidebar & content */
  134. main {
  135. box-sizing: border-box;
  136. clear: none;
  137. float: left; /* LTR */
  138. padding: 45px 3.85em 25px 3.85em;
  139. width: 65%;
  140. }
  141. [dir="rtl"] main {
  142. float: right;
  143. }
  144. ul {
  145. padding: 15px;
  146. margin: 0.25em 0;
  147. }
  148. [dir="rtl"] ul {
  149. margin-right: 0; /* Overrides default [dir="rtl"] ul margin */
  150. }
  151. .layout-sidebar-first {
  152. float: left; /* LTR */
  153. width: 35%;
  154. margin-top: 35px;
  155. box-sizing: border-box;
  156. }
  157. [dir="rtl"] .layout-sidebar-first {
  158. float: right;
  159. }
  160. /* Margins for sitename */
  161. .page-title {
  162. margin: 0 1.9em;
  163. }
  164. }
  165. /**
  166. * Status report customization for install and update page.
  167. */
  168. .system-status-report__status-title {
  169. float: none;
  170. width: 100%;
  171. }
  172. .system-status-report__entry__value {
  173. float: none;
  174. width: 100%;
  175. padding-left: 3em; /* LTR */
  176. padding-top: 0;
  177. }
  178. [dir="rtl"] .system-status-report__entry__value {
  179. padding-left: 1em;
  180. padding-right: 3em;
  181. }
  182. .maintenance-page .links {
  183. display: flex;
  184. margin: 10px 0 0 0;
  185. padding: 0;
  186. list-style: none;
  187. float: left;
  188. width: 100%;
  189. flex-direction: column;
  190. }
  191. .maintenance-page .links li {
  192. display: flex;
  193. padding-right: 20px;
  194. padding-bottom: 20px;
  195. width: 100%;
  196. }
  197. .maintenance-page .links li a {
  198. padding: 13px 24px;
  199. background-color: #f5f5f5;
  200. color: #333;
  201. border: 1px solid #b8b8b8;
  202. text-decoration: none;
  203. font-weight: 700;
  204. font-size: 12px;
  205. line-height: 1;
  206. text-transform: uppercase;
  207. width: 100%;
  208. text-align: center;
  209. }
  210. @media all and (min-width: 480px) {
  211. .maintenance-page .links {
  212. flex-direction: row;
  213. flex-wrap: wrap;
  214. align-items: flex-start;
  215. }
  216. .maintenance-page .links li {
  217. width: auto;
  218. }
  219. .maintenance-page .links li a {
  220. width: auto;
  221. }
  222. }
  223. .maintenance-page .links li:last-child {
  224. padding-right: 0;
  225. padding-bottom: 0;
  226. }
  227. .maintenance-page .links li a:hover,
  228. .maintenance-page .links li a:focus {
  229. background-color: white;
  230. border-color: #0678be;
  231. color: #0678be;
  232. text-decoration: none;
  233. outline: transparent;
  234. }
  235. .maintenance-page .links li:first-child a {
  236. background-color: #7cbc48;
  237. border-color: #7cbc48;
  238. color: #fff;
  239. font-weight: 700;
  240. -webkit-font-smoothing: antialiased;
  241. }
  242. .maintenance-page .links li:first-child a:hover,
  243. .maintenance-page .links li:first-child a:focus {
  244. background-color: #6aab35;
  245. border-color: #6aab35;
  246. color: #fff;
  247. }