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