maintenance.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <?php
  2. /**
  3. * Maintenance mode CSS
  4. */
  5. $url = elgg_get_site_url();
  6. echo elgg_view('css/elements/reset', $vars);
  7. echo elgg_view('css/elements/core', $vars);
  8. echo elgg_view('css/elements/helpers', $vars);
  9. ?>
  10. /* <style> /**/
  11. body {
  12. font-size: 90%;
  13. line-height: 1.4em;
  14. font-family: "Helvetica Neue", Helvetica, "Lucida Grande", Arial, sans-serif;
  15. }
  16. h1, h2, h3, h4, h5, h6 {
  17. color: #444;
  18. font-weight: bold;
  19. }
  20. h1 {
  21. font-size: 1.8em;
  22. margin-bottom: 1em;
  23. }
  24. h3 {
  25. font-size: 1.5em;
  26. line-height: 1.1em;
  27. margin-bottom: 5px;
  28. }
  29. a {
  30. color: #999;
  31. }
  32. /* ***************************************
  33. LAYOUT
  34. *************************************** */
  35. .elgg-body-maintenance {
  36. margin: 100px auto 0 auto;
  37. position: relative;
  38. width: 530px;
  39. }
  40. .elgg-module-maintenance {
  41. position: absolute;
  42. top: 0;
  43. left: 0;
  44. background-color: #FFF;
  45. border: 1px solid #DEDEDE;
  46. padding: 10px;
  47. border-radius: 3px;
  48. box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.25);
  49. }
  50. .elgg-module-maintenance > .elgg-head {
  51. padding: 20px 20px 0 20px;
  52. }
  53. .elgg-module-maintenance > .elgg-body {
  54. padding: 0 20px;
  55. }
  56. .elgg-module-maintenance > .elgg-foot {
  57. padding: 0 20px 20px 20px;
  58. }
  59. .elgg-system-messages {
  60. position: fixed;
  61. top: 32px;
  62. right: 20px;
  63. max-width: 500px;
  64. z-index: 2000;
  65. }
  66. .elgg-system-messages li {
  67. margin-top: 10px;
  68. }
  69. .elgg-system-messages li p {
  70. margin: 0;
  71. }
  72. .elgg-output {
  73. font-size: 14px;
  74. margin-top: 20px;
  75. padding: 20px;
  76. color: #B94A48;
  77. background-color: #F8E8E8;
  78. border: 1px solid #E5B7B5;
  79. border-radius: 5px;
  80. margin-bottom: 42px;
  81. }
  82. .elgg-form-login {
  83. max-width: 470px;
  84. }
  85. /* ***************************************
  86. USER INPUT DISPLAY RESET
  87. *************************************** */
  88. .elgg-output {
  89. margin-top: 10px;
  90. }
  91. .elgg-output dt { font-weight: bold }
  92. .elgg-output dd { margin: 0 0 1em 1em }
  93. .elgg-output ul, .elgg-output ol {
  94. margin: 0 1.5em 1.5em 0;
  95. padding-left: 1.5em;
  96. }
  97. .elgg-output ul {
  98. list-style-type: disc;
  99. }
  100. .elgg-output ol {
  101. list-style-type: decimal;
  102. list-style-position: inside;
  103. padding-left: .4em;
  104. }
  105. .elgg-output table {
  106. border: 1px solid #DCDCDC;
  107. }
  108. .elgg-output table td {
  109. border: 1px solid #DCDCDC;
  110. padding: 3px 5px;
  111. }
  112. .elgg-output img {
  113. max-width: 100%;
  114. height: auto;
  115. }
  116. /* ***************************************
  117. Form Elements
  118. *************************************** */
  119. fieldset > div {
  120. margin-bottom: 15px;
  121. }
  122. fieldset > div:last-child {
  123. margin-bottom: 0;
  124. }
  125. label {
  126. font-weight: bold;
  127. color: #333;
  128. font-size: 110%;
  129. }
  130. input, textarea {
  131. border: 1px solid #DCDCDC;
  132. color: #666;
  133. font: 100% Arial, Helvetica, sans-serif;
  134. padding: 7px 6px;
  135. width: 100%;
  136. border-radius: 3px;
  137. -webkit-box-sizing: border-box;
  138. -moz-box-sizing: border-box;
  139. box-sizing: border-box;
  140. }
  141. input[type=email]:focus,
  142. input[type=password]:focus,
  143. input[type=text]:focus,
  144. input[type=url]:focus,
  145. textarea:focus {
  146. border: solid 1px #C2C2C2;
  147. background: #F0F0F0;
  148. /* We remove outlines from specific input types so we can leave the browser
  149. defaults (like glows) for everything else */
  150. outline: 0 none;
  151. }
  152. input[type="checkbox"],
  153. input[type="radio"] {
  154. margin: 0 3px 0 0;
  155. padding: 0;
  156. border: none;
  157. width: auto;
  158. }
  159. .elgg-input-checkboxes.elgg-horizontal li,
  160. .elgg-input-radios.elgg-horizontal li {
  161. display: inline;
  162. padding-right: 10px;
  163. }
  164. /* **************************
  165. BUTTONS
  166. ************************** */
  167. .elgg-button {
  168. font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  169. color: #FFF;
  170. width: auto;
  171. padding: 5px 12px;
  172. cursor: pointer;
  173. border-radius: 3px;
  174. box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.6);
  175. }
  176. .elgg-button-submit {
  177. background-color: #666;
  178. border-color: #555;
  179. color: white;
  180. text-shadow: none;
  181. text-decoration: none;
  182. }
  183. .elgg-button-submit:hover {
  184. background-color: #333;
  185. border-color: #222;
  186. }
  187. /* ***************************************
  188. Messages
  189. *************************************** */
  190. .elgg-message {
  191. color: #FFF;
  192. display: block;
  193. padding: 10px 20px;
  194. cursor: pointer;
  195. opacity: 0.9;
  196. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  197. border-radius: 3px;
  198. }
  199. .elgg-state-success {
  200. background-color: #090;
  201. }
  202. .elgg-state-error {
  203. background-color: #F00;
  204. }
  205. .elgg-state-notice {
  206. background-color: #5097CF;
  207. }
  208. /* ***************************************
  209. RESPONSIVE
  210. *************************************** */
  211. @media (max-width: 600px) {
  212. .elgg-page-maintenance {
  213. padding: 20px;
  214. }
  215. .elgg-body-maintenance {
  216. margin: 40px auto 0;
  217. width: auto;
  218. }
  219. }