maintenance.php 6.2 KB

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