Elgg  Version 2.3
forms.css.php
Go to the documentation of this file.
1 <?php
8 ?>
9 /* <style> /**/
10 
11 /* ***************************************
12  Form Elements
13 *************************************** */
14 fieldset > div {
15  margin-bottom: 15px;
16 }
17 fieldset > div:last-child {
18  margin-bottom: 0;
19 }
20 .elgg-form-alt > fieldset > .elgg-foot {
21  border-top: 1px solid #CCC;
22  padding: 10px 0;
23 }
24 
25 label {
26  font-weight: bold;
27  color: #333;
28  font-size: 110%;
29 }
30 label.elgg-state-disabled {
31  opacity: 0.6;
32 }
33 
34 input, textarea {
35  border: 1px solid #ccc;
36  color: #666;
37  font: 120% Arial, Helvetica, sans-serif;
38  padding: 5px;
39  width: 100%;
40  border-radius: 5px;
41  -webkit-box-sizing: border-box;
42  -moz-box-sizing: border-box;
43  box-sizing: border-box;
44 }
45 
46 input[type=email]:focus,
47 input[type=password]:focus,
48 input[type=text]:focus,
49 input[type=number]:focus,
50 input[type=url]:focus,
51 textarea:focus {
52  border: solid 1px #4690d6;
53  background: #e4ecf5;
54  color:#333;
55  /* We remove outlines from specific input types so we can leave the browser
56  defaults (like glows) for everything else */
57  outline: 0 none;
58 }
59 
60 .elgg-longtext-control {
61  float: right;
62  margin-left: 14px;
63  font-size: 80%;
64  cursor: pointer;
65 }
66 
67 
68 .elgg-input-access {
69  margin:5px 0 0 0;
70 }
71 
72 input[type="checkbox"],
73 input[type="radio"] {
74  margin:0 3px 0 0;
75  padding:0;
76  border:none;
77  border-radius:0;
78  width:auto;
79 }
80 input[type="number"] {
81  -moz-appearance: textfield;
82 }
83 .elgg-input-checkbox + label,
84 .elgg-input-checkbox + .elgg-field-label {
85  display: inline-block;
86 }
87 .elgg-input-checkboxes.elgg-horizontal li,
88 .elgg-input-radios.elgg-horizontal li {
89  display: inline;
90  padding-right: 10px;
91 }
92 
93 .elgg-input-radios label {
94  font-weight: normal;
95  font-size: 100%;
96 }
97 
98 .elgg-input-checkboxes label {
99  font-weight: normal;
100  font-size: 100%;
101 }
102 
103 .elgg-form-login, .elgg-form-account {
104  max-width: 475px;
105  margin: 0 auto;
106 }
107 
108 .elgg-fieldset-has-legend {
109  border: 1px solid #dedede;
110  padding: 10px;
111 }
112 
113 .elgg-fieldset-horizontal .elgg-field {
114  display: inline-block;
115  margin: 0 10px 0 0;
116 }
117 
118 .elgg-fieldset-horizontal.elgg-justify-right .elgg-field {
119  margin: 0 0 0 10px;
120 }
121 
122 .elgg-fieldset-horizontal.elgg-justify-center .elgg-field {
123  margin: 0 5px;
124 }
125 
126 /* ***************************************
127  FRIENDS PICKER
128 *************************************** */
129 .friends-picker-main-wrapper {
130  margin-bottom: 15px;
131 }
132 .friends-picker-container h3 {
133  font-size:4em !important;
134  text-align: left;
135  margin:10px 0 20px !important;
136  color:#999 !important;
137  background: none !important;
138  padding:0 !important;
139 }
140 .friends-picker .friends-picker-container .panel ul {
141  text-align: left;
142  margin: 0;
143  padding:0;
144 }
145 .friends-picker-wrapper {
146  margin: 0;
147  padding:0;
148  position: relative;
149  width: 730px;
150 }
151 .friends-picker {
152  position: relative;
153  overflow: hidden;
154  margin: 0;
155  padding:0;
156  width: 730px;
157  height: auto;
158  background-color: #dedede;
159  border-radius: 8px;
160 }
161 .friendspicker-savebuttons {
162  background: white;
163  border-radius: 8px;
164  margin:0 10px 10px;
165 }
166 .friends-picker .friends-picker-container { /* long container used to house end-to-end panels. Width is calculated in JS */
167  position: relative;
168  left: 0;
169  top: 0;
170  width: 100%;
171  list-style-type: none;
172 }
173 .friends-picker .friends-picker-container .panel {
174  float:left;
175  height: 100%;
176  position: relative;
177  width: 730px;
178  margin: 0;
179  padding:0;
180 }
181 .friends-picker .friends-picker-container .panel .wrapper {
182  margin: 0;
183  padding:4px 10px 10px 10px;
184  min-height: 230px;
185 }
186 .friends-picker-navigation {
187  margin: 0 0 10px;
188  padding:0 0 10px;
189  border-bottom:1px solid #ccc;
190 }
191 .friends-picker-navigation ul {
192  list-style: none;
193  padding-left: 0;
194 }
195 .friends-picker-navigation ul li {
196  float: left;
197  margin:0;
198  background:white;
199 }
200 .friends-picker-navigation a {
201  font-weight: bold;
202  text-align: center;
203  background: white;
204  color: #999;
205  text-decoration: none;
206  display: block;
207  padding: 0;
208  width:20px;
209  border-radius: 4px;
210 }
211 .tabHasContent {
212  background: white;
213  color:#333 !important;
214 }
215 .friends-picker-navigation li a:hover {
216  background: #333;
217  color:white !important;
218 }
219 .friends-picker-navigation li a.current {
220  background: #4690D6;
221  color:white !important;
222 }
223 .friends-picker-navigation-l, .friends-picker-navigation-r {
224  position: absolute;
225  top: 46px;
226  text-indent: -9000em;
227 }
228 .friends-picker-navigation-l a, .friends-picker-navigation-r a {
229  display: block;
230  height: 40px;
231  width: 40px;
232 }
233 .friends-picker-navigation-l {
234  right: 48px;
235  z-index:1;
236 }
237 .friends-picker-navigation-r {
238  right: 0;
239  z-index:1;
240 }
241 .friends-picker-navigation-l {
242  background: url(<?= elgg_get_simplecache_url("friendspicker.png"); ?>) no-repeat left top;
243 }
244 .friends-picker-navigation-r {
245  background: url(<?= elgg_get_simplecache_url("friendspicker.png"); ?>) no-repeat -60px top;
246 }
247 .friends-picker-navigation-l:hover {
248  background: url(<?= elgg_get_simplecache_url("friendspicker.png"); ?>) no-repeat left -44px;
249 }
250 .friends-picker-navigation-r:hover {
251  background: url(<?= elgg_get_simplecache_url("friendspicker.png"); ?>) no-repeat -60px -44px;
252 }
253 .friendspicker-savebuttons .elgg-button-submit,
254 .friendspicker-savebuttons .elgg-button-cancel {
255  margin:5px 20px 5px 5px;
256 }
257 .friendspicker-members-table {
258  background: #dedede;
259  border-radius: 8px;
260  margin:10px 0 0;
261  padding:10px 10px 0;
262 }
263 
264 /* ***************************************
265  AUTOCOMPLETE
266 *************************************** */
267 <?php //autocomplete will expand to fullscreen without max-width ?>
269  position: absolute;
270  cursor: default;
271  z-index: 10000;
272 }
273 .elgg-autocomplete-item .elgg-body {
274  max-width: 600px;
275 }
276 .ui-autocomplete {
277  background-color: white;
278  border: 1px solid #ccc;
279  overflow: hidden;
280  border-radius: 5px;
281 }
282 .ui-autocomplete .ui-menu-item {
283  padding: 0px 4px;
284  border-radius: 5px;
285 }
286 .ui-autocomplete .ui-menu-item:hover {
287  background-color: #eee;
288 }
289 .ui-autocomplete a:hover {
291  color: #4690D6;
292 }
293 .ui-autocomplete a.ui-state-hover {
294  background-color: #eee;
295  display: block;
296 }
297 .ui-helper-hidden-accessible {
298  border: 0;
299  clip: rect(0 0 0 0);
300  height: 1px;
301  margin: -1px;
302  overflow: hidden;
303  padding: 0;
304  position: absolute;
305  width: 1px;
306 }
307 
308 /* ***************************************
309  USER PICKER
310 *************************************** */
311 .elgg-user-picker-list li:first-child {
312  border-top: 1px dotted #ccc;
313  margin-top: 5px;
314 }
315 .elgg-user-picker-list > li {
316  border-bottom: 1px dotted #ccc;
317 }
318 .elgg-user-picker.elgg-state-disabled > input,
319 .elgg-user-picker.elgg-state-disabled > label {
320  display: none;
321 }
322 .elgg-user-picker-remove {
323  cursor: pointer;
324 }
325 
326 /* ***************************************
327  DATE PICKER
328 **************************************** */
330  display: none;
331 
332  margin-top: 3px;
333  background-color: white;
334  border: 1px solid #0054A7;
335  border-radius: 6px;
336  overflow: hidden;
337  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
338 }
339 .ui-datepicker-inline {
340  box-shadow: none;
341  max-width: 225px;
342 }
343 
345  position: relative;
346  background: #4690D6;
347  color: white;
348  padding: 2px 0;
349  border-bottom: 1px solid #0054A7;
350 }
351 .ui-datepicker-header a {
352  color: white;
353 }
355  position: absolute;
356  top: 5px;
357  cursor: pointer;
358 }
359 .ui-datepicker-prev {
360  left: 6px;
361 }
362 .ui-datepicker-next {
363  right: 6px;
364 }
366  line-height: 1.8em;
367  margin: 0 30px;
368  text-align: center;
369  font-weight: bold;
370 }
372  margin: 4px;
373 }
375  color: #0054A7;
376  border: none;
377  font-weight: bold;
378  padding: 5px 6px;
379  text-align: center;
380 }
382  padding: 1px;
383 }
385  display: block;
386  padding: 2px;
387  line-height: 1.2em;
388  text-align: right;
390 }
391 .ui-datepicker-calendar .ui-state-default {
392  border: 1px solid #ccc;
393  color: #4690D6;;
394  background: #fafafa;
395 }
396 .ui-datepicker-calendar .ui-state-hover {
397  border: 1px solid #aaa;
398  color: #0054A7;
399  background: #eee;
400 }
401 .ui-datepicker-calendar .ui-state-active,
402 .ui-datepicker-calendar .ui-state-active.ui-state-hover {
403  font-weight: bold;
404  border: 1px solid #0054A7;
405  color: #0054A7;
406  background: #E4ECF5;
407 }
label elgg state disabled
Definition: admin.css.php:469
background color
Definition: forms.css.php:333
ui helper hidden accessible
Definition: forms.css.php:297
font Arial
Definition: admin.css.php:83
ui datepicker ui datepicker next
Definition: forms.css.php:354
clearfix elgg elgg elgg elgg page elgg page elgg elgg foot
Definition: admin.css.php:127
webkit box sizing
Definition: admin.css.php:296
ui datepicker calendar ui state active
Definition: forms.css.php:401
elgg user picker list li
Definition: forms.css.php:312
border radius
Definition: forms.css.php:280
friends picker main wrapper
Definition: admin.css.php:766
box shadow
Definition: forms.css.php:337
z index
Definition: forms.css.php:271
elgg_get_simplecache_url($view, $subview= '')
Get the URL for the cached view.
Definition: cache.php:136
em
Definition: admin.css.php:47
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col alt
Definition: admin.css.php:127
text decoration
Definition: forms.css.php:389
fieldset elgg field
Definition: admin.css.php:485
text align
Definition: forms.css.php:368
elgg button cancel
Definition: admin.css.php:590
elgg main
Definition: admin.css.php:284
elgg button submit
Definition: admin.css.php:578
ul
Definition: admin.css.php:44
elgg user picker elgg state disabled input
Definition: forms.css.php:318
ui datepicker calendar
Definition: forms.css.php:371
ui autocomplete ui menu item
Definition: forms.css.php:282
elgg user picker elgg state disabled elgg user picker elgg state disabled label
Definition: forms.css.php:319
list style type
Definition: admin.css.php:808
elgg autocomplete item elgg body
Definition: forms.css.php:273
elgg river item form
border bottom
Definition: forms.css.php:349
ui datepicker title
Definition: forms.css.php:365
font weight
Definition: forms.css.php:369
ui datepicker th
Definition: forms.css.php:374
ui autocomplete a
Definition: forms.css.php:290
friends picker navigation
Definition: admin.css.php:823
h3
Definition: admin.css.php:85
font size
Definition: admin.css.php:81
max width
Definition: forms.css.php:341
line height
Definition: forms.css.php:387
elgg button
Definition: admin.css.php:559
fieldset div
Definition: admin.css.php:485
ui datepicker td
Definition: forms.css.php:381
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col elgg image block
Definition: admin.css.php:127
table
Definition: admin.css.php:59
friends picker navigation friends picker navigation r
Definition: admin.css.php:860
friends picker
Definition: admin.css.php:788
margin right
Definition: admin.css.php:181
list style
Definition: admin.css.php:1234
margin left
Definition: admin.css.php:294
elgg input text
Definition: admin.css.php:505
ui autocomplete a ui state hover
Definition: forms.css.php:293
text indent
Definition: admin.css.php:863
ui datepicker
Definition: forms.css.php:329
list style position
elgg widget add control
Definition: admin.css.php:1217
friends picker friends picker container
Definition: admin.css.php:803
login(\ElggUser $user, $persistent=false)
Logs in a specified .
Definition: sessions.php:320
if(!$site) if(!($site instanceof ElggSite)) $site url
font sans serif
Definition: admin.css.php:83
ui datepicker td span
Definition: forms.css.php:384
elgg input elgg input number
Definition: admin.css.php:505
ui datepicker prev
Definition: forms.css.php:354
friends picker navigation l
Definition: admin.css.php:860
elgg input elgg input elgg input elgg input elgg input elgg input longtext
Definition: admin.css.php:510
friendspicker savebuttons
Definition: admin.css.php:798
elgg fieldset has legend
Definition: admin.css.php:533
$site email
ui autocomplete
Definition: forms.css.php:268
elgg menu user
Definition: admin.css.php:192
ui datepicker header
Definition: forms.css.php:344
margin top
Definition: forms.css.php:313