Elgg  Version 1.9
forms.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=url]:focus,
50 textarea:focus {
51  border: solid 1px #4690d6;
52  background: #e4ecf5;
53  color:#333;
54  /* We remove outlines from specific input types so we can leave the browser
55  defaults (like glows) for everything else */
56  outline: 0 none;
57 }
58 
59 .elgg-longtext-control {
60  float: right;
61  margin-left: 14px;
62  font-size: 80%;
63  cursor: pointer;
64 }
65 
66 
67 .elgg-input-access {
68  margin:5px 0 0 0;
69 }
70 
71 input[type="checkbox"],
72 input[type="radio"] {
73  margin:0 3px 0 0;
74  padding:0;
75  border:none;
76  border-radius:0;
77  width:auto;
78 }
79 .elgg-input-checkboxes.elgg-horizontal li,
80 .elgg-input-radios.elgg-horizontal li {
81  display: inline;
82  padding-right: 10px;
83 }
84 
85 .elgg-form-login, .elgg-form-account {
86  max-width: 450px;
87 }
88 
89 /* ***************************************
90  FRIENDS PICKER
91 *************************************** */
92 .friends-picker-main-wrapper {
93  margin-bottom: 15px;
94 }
95 .friends-picker-container h3 {
96  font-size:4em !important;
97  text-align: left;
98  margin:10px 0 20px !important;
99  color:#999 !important;
100  background: none !important;
101  padding:0 !important;
102 }
103 .friends-picker .friends-picker-container .panel ul {
104  text-align: left;
105  margin: 0;
106  padding:0;
107 }
108 .friends-picker-wrapper {
109  margin: 0;
110  padding:0;
111  position: relative;
112  width: 730px;
113 }
114 .friends-picker {
115  position: relative;
116  overflow: hidden;
117  margin: 0;
118  padding:0;
119  width: 730px;
120  height: auto;
121  background-color: #dedede;
122  border-radius: 8px;
123 }
124 .friendspicker-savebuttons {
125  background: white;
126  border-radius: 8px;
127  margin:0 10px 10px;
128 }
129 .friends-picker .friends-picker-container { /* long container used to house end-to-end panels. Width is calculated in JS */
130  position: relative;
131  left: 0;
132  top: 0;
133  width: 100%;
134  list-style-type: none;
135 }
136 .friends-picker .friends-picker-container .panel {
137  float:left;
138  height: 100%;
139  position: relative;
140  width: 730px;
141  margin: 0;
142  padding:0;
143 }
144 .friends-picker .friends-picker-container .panel .wrapper {
145  margin: 0;
146  padding:4px 10px 10px 10px;
147  min-height: 230px;
148 }
149 .friends-picker-navigation {
150  margin: 0 0 10px;
151  padding:0 0 10px;
152  border-bottom:1px solid #ccc;
153 }
154 .friends-picker-navigation ul {
155  list-style: none;
156  padding-left: 0;
157 }
158 .friends-picker-navigation ul li {
159  float: left;
160  margin:0;
161  background:white;
162 }
163 .friends-picker-navigation a {
164  font-weight: bold;
165  text-align: center;
166  background: white;
167  color: #999;
168  text-decoration: none;
169  display: block;
170  padding: 0;
171  width:20px;
172  border-radius: 4px;
173 }
174 .tabHasContent {
175  background: white;
176  color:#333 !important;
177 }
178 .friends-picker-navigation li a:hover {
179  background: #333;
180  color:white !important;
181 }
182 .friends-picker-navigation li a.current {
183  background: #4690D6;
184  color:white !important;
185 }
186 .friends-picker-navigation-l, .friends-picker-navigation-r {
187  position: absolute;
188  top: 46px;
189  text-indent: -9000em;
190 }
191 .friends-picker-navigation-l a, .friends-picker-navigation-r a {
192  display: block;
193  height: 40px;
194  width: 40px;
195 }
196 .friends-picker-navigation-l {
197  right: 48px;
198  z-index:1;
199 }
200 .friends-picker-navigation-r {
201  right: 0;
202  z-index:1;
203 }
204 .friends-picker-navigation-l {
205  background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat left top;
206 }
207 .friends-picker-navigation-r {
208  background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat -60px top;
209 }
210 .friends-picker-navigation-l:hover {
211  background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat left -44px;
212 }
213 .friends-picker-navigation-r:hover {
214  background: url("<?php echo elgg_get_site_url(); ?>_graphics/friendspicker.png") no-repeat -60px -44px;
215 }
216 .friendspicker-savebuttons .elgg-button-submit,
217 .friendspicker-savebuttons .elgg-button-cancel {
218  margin:5px 20px 5px 5px;
219 }
220 .friendspicker-members-table {
221  background: #dedede;
222  border-radius: 8px;
223  margin:10px 0 0;
224  padding:10px 10px 0;
225 }
226 
227 /* ***************************************
228  AUTOCOMPLETE
229 *************************************** */
230 <?php //autocomplete will expand to fullscreen without max-width ?>
232  position: absolute;
233  cursor: default;
234  z-index: 10000;
235 }
236 .elgg-autocomplete-item .elgg-body {
237  max-width: 600px;
238 }
239 .ui-autocomplete {
240  background-color: white;
241  border: 1px solid #ccc;
242  overflow: hidden;
243  border-radius: 5px;
244 }
246  padding: 0px 4px;
247  border-radius: 5px;
248 }
249 .ui-autocomplete .ui-menu-item:hover {
250  background-color: #eee;
251 }
252 .ui-autocomplete a:hover {
254  color: #4690D6;
255 }
256 .ui-autocomplete a.ui-state-hover {
257  background-color: #eee;
258  display: block;
259 }
260 
261 /* ***************************************
262  USER PICKER
263 *************************************** */
264 .elgg-user-picker-list li:first-child {
265  border-top: 1px dotted #ccc;
266  margin-top: 5px;
267 }
268 .elgg-user-picker-list > li {
269  border-bottom: 1px dotted #ccc;
270 }
271 .elgg-user-picker.elgg-state-disabled > input,
272 .elgg-user-picker.elgg-state-disabled > label {
273  display: none;
274 }
275 .elgg-user-picker-remove {
276  cursor: pointer;
277 }
278 
279 /* ***************************************
280  DATE PICKER
281 **************************************** */
283  display: none;
284 
285  margin-top: 3px;
286  background-color: white;
287  border: 1px solid #0054A7;
288  border-radius: 6px;
289  overflow: hidden;
290  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
291 }
292 .ui-datepicker-inline {
293  box-shadow: none;
294 }
295 
297  position: relative;
298  background: #4690D6;
299  color: white;
300  padding: 2px 0;
301  border-bottom: 1px solid #0054A7;
302 }
303 .ui-datepicker-header a {
304  color: white;
305 }
307  position: absolute;
308  top: 5px;
309  cursor: pointer;
310 }
311 .ui-datepicker-prev {
312  left: 6px;
313 }
314 .ui-datepicker-next {
315  right: 6px;
316 }
318  line-height: 1.8em;
319  margin: 0 30px;
320  text-align: center;
321  font-weight: bold;
322 }
324  margin: 4px;
325 }
327  color: #0054A7;
328  border: none;
329  font-weight: bold;
330  padding: 5px 6px;
331  text-align: center;
332 }
334  padding: 1px;
335 }
337  display: block;
338  padding: 2px;
339  line-height: 1.2em;
340  text-align: right;
342 }
343 .ui-datepicker-calendar .ui-state-default {
344  border: 1px solid #ccc;
345  color: #4690D6;;
346  background: #fafafa;
347 }
348 .ui-datepicker-calendar .ui-state-hover {
349  border: 1px solid #aaa;
350  color: #0054A7;
351  background: #eee;
352 }
353 .ui-datepicker-calendar .ui-state-active,
354 .ui-datepicker-calendar .ui-state-active.ui-state-hover {
355  font-weight: bold;
356  border: 1px solid #0054A7;
357  color: #0054A7;
358  background: #E4ECF5;
359 }
elgg
Definition: install.js:23
friends picker
Definition: admin.php:704
elgg icon hover menu
Definition: admin.php:1303
font sans serif
Definition: admin.php:83
elgg widget add control
Definition: admin.php:1131
line height
Definition: forms.php:339
ui datepicker prev
Definition: forms.php:306
ul
Definition: admin.php:44
elgg input text
Definition: admin.php:478
list style position
Definition: typography.php:154
friends picker navigation l
Definition: admin.php:776
clearfix elgg elgg elgg elgg page elgg page elgg elgg foot
Definition: admin.php:127
elgg river item form
Definition: components.php:219
border radius
Definition: forms.php:243
margin right
Definition: admin.php:211
ui autocomplete a ui state hover
Definition: forms.php:256
ui autocomplete a
Definition: forms.php:253
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col alt
Definition: admin.php:127
elgg input elgg input elgg input elgg input elgg input longtext
Definition: admin.php:482
em
Definition: admin.php:47
elgg menu user
Definition: admin.php:190
text indent
Definition: admin.php:779
text align
Definition: forms.php:320
fieldset div
Definition: admin.php:462
elgg user picker elgg state disabled input
Definition: forms.php:271
friends picker navigation
Definition: admin.php:739
ui autocomplete ui menu item
Definition: forms.php:245
ui datepicker ui datepicker next
Definition: forms.php:306
friends picker navigation friends picker navigation r
Definition: admin.php:776
min width
Definition: admin.php:166
ui datepicker td
Definition: forms.php:333
friends picker main wrapper
Definition: admin.php:682
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col elgg image block
Definition: admin.php:127
ui autocomplete
Definition: forms.php:231
friendspicker savebuttons
Definition: admin.php:714
box shadow
Definition: forms.php:290
ui datepicker th
Definition: forms.php:326
ui datepicker header
Definition: forms.php:296
elgg button submit
Definition: admin.php:527
font weight
Definition: forms.php:321
ui datepicker title
Definition: forms.php:317
background color
Definition: forms.php:286
text decoration
Definition: forms.php:341
margin top
Definition: forms.php:266
ui datepicker td span
Definition: forms.php:336
ui datepicker
Definition: forms.php:282
login(ElggUser $user, $persistent=false)
Logs in a specified ElggUser.
Definition: sessions.php:305
font Arial
Definition: admin.php:83
ui datepicker calendar
Definition: forms.php:323
elgg user picker list li
Definition: forms.php:265
label elgg state disabled
Definition: admin.php:457
$CONFIG url
The full URL where Elgg is installed.
Definition: config.php:94
elgg button
Definition: admin.php:510
list style
Definition: admin.php:1148
elgg main
Definition: admin.php:276
elgg user picker elgg state disabled elgg user picker elgg state disabled label
Definition: forms.php:272
ui datepicker calendar ui state active
Definition: forms.php:353
z index
Definition: forms.php:234
font size
Definition: admin.php:81
border bottom
Definition: forms.php:301
elgg button cancel
Definition: admin.php:546
elgg autocomplete item elgg body
Definition: forms.php:236
list style type
Definition: admin.php:724
margin left
Definition: admin.php:210
elgg fieldset
Definition: admin.php:496
h3
Definition: admin.php:85
table
Definition: admin.php:59
friends picker friends picker container
Definition: admin.php:719