locomotive_cms 0.0.1 → 0.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/config/environments/production.rb +1 -1
- data/config/initializers/mongoid.rb +1 -11
- data/lib/locomotive/engine.rb +1 -1
- data/public/javascripts/all.js +1145 -0
- data/public/stylesheets/all.css +1390 -0
- metadata +21 -6
@@ -0,0 +1,1390 @@
|
|
1
|
+
body {
|
2
|
+
background: #000 url(/images/admin/background/body.png) repeat 0 0;
|
3
|
+
/* font-family: Arial,Helvetica,sans-serif;*/
|
4
|
+
font-size: 1em;
|
5
|
+
}
|
6
|
+
|
7
|
+
.container {
|
8
|
+
width: 966px;
|
9
|
+
}
|
10
|
+
|
11
|
+
#wrapper {
|
12
|
+
background: transparent url(/images/admin/background/light.png) repeat-x 0 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
#header {
|
16
|
+
position: relative;
|
17
|
+
padding-top: 20px;
|
18
|
+
}
|
19
|
+
|
20
|
+
#header h1 {
|
21
|
+
margin-bottom: 0px;
|
22
|
+
}
|
23
|
+
|
24
|
+
#header h1 a {
|
25
|
+
font-size: 0.5em;
|
26
|
+
color: #f0f0f0;
|
27
|
+
text-shadow: 1px 1px 1px #000;
|
28
|
+
text-decoration: none;
|
29
|
+
margin-left: 8px;
|
30
|
+
}
|
31
|
+
|
32
|
+
#search-bar {
|
33
|
+
position: absolute;
|
34
|
+
top: 15px;
|
35
|
+
right: 0px;
|
36
|
+
}
|
37
|
+
|
38
|
+
#global-actions-bar {
|
39
|
+
position: absolute;
|
40
|
+
top: 70px;
|
41
|
+
right: 8px;
|
42
|
+
color: #8b8d9a;
|
43
|
+
font-size: 0.7em;
|
44
|
+
text-shadow: 1px 1px 1px #000;
|
45
|
+
}
|
46
|
+
|
47
|
+
#global-actions-bar a {
|
48
|
+
color: #1F82BC;
|
49
|
+
text-decoration: none;
|
50
|
+
}
|
51
|
+
|
52
|
+
#global-actions-bar a:hover { text-decoration: underline; }
|
53
|
+
|
54
|
+
#global-actions-bar span {
|
55
|
+
font-size: 0.9em;
|
56
|
+
color: #999;
|
57
|
+
margin: 0 1px;
|
58
|
+
/* text-shadow: 1px 1px 1px #000;*/
|
59
|
+
}
|
60
|
+
|
61
|
+
#content {
|
62
|
+
background: transparent url(/images/admin/menu/shadow.png) repeat-y 0 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
#content div.inner {
|
66
|
+
margin: 0px 8px;
|
67
|
+
padding: 10px 15px 20px 15px;
|
68
|
+
background: white;
|
69
|
+
min-height: 150px;
|
70
|
+
position: relative;
|
71
|
+
}
|
72
|
+
|
73
|
+
#content div.inner h2 {
|
74
|
+
padding-bottom: 10px;
|
75
|
+
font-size: 1.3em;
|
76
|
+
font-weight: bold;
|
77
|
+
color: #1e1f26;
|
78
|
+
border-bottom: 1px dotted #bbbbbd;
|
79
|
+
}
|
80
|
+
|
81
|
+
#content div.inner h2 a.editable {
|
82
|
+
padding: 2px 25px 2px 6px;
|
83
|
+
text-decoration: none;
|
84
|
+
color: #1e1f26;
|
85
|
+
outline: none;
|
86
|
+
}
|
87
|
+
|
88
|
+
#content div.inner h2 a.editable:hover {
|
89
|
+
background: #fffbe5 url(/images/admin/form/pen.png) no-repeat right 5px;
|
90
|
+
border-bottom: 1px dotted #efe4a5;
|
91
|
+
}
|
92
|
+
|
93
|
+
#content div.inner h3 {
|
94
|
+
background: transparent url(/images/admin/list/item.png) no-repeat 0 0;
|
95
|
+
font-size: 0.9em;
|
96
|
+
font-weight: bold;
|
97
|
+
color: #1e1f26;
|
98
|
+
padding: 7px 0 10px 20px;
|
99
|
+
}
|
100
|
+
|
101
|
+
#content div.inner p {
|
102
|
+
color: #8b8d9a;
|
103
|
+
font-size: 0.8em;
|
104
|
+
}
|
105
|
+
|
106
|
+
#content #local-actions-bar {
|
107
|
+
position: absolute;
|
108
|
+
top: 15px;
|
109
|
+
right: 15px;
|
110
|
+
}
|
111
|
+
|
112
|
+
#content #local-actions-bar a {
|
113
|
+
display: block;
|
114
|
+
float: left;
|
115
|
+
height: 20px;
|
116
|
+
color: #8b8d9a;
|
117
|
+
text-decoration: none;
|
118
|
+
font-size: 0.7em;
|
119
|
+
padding-left: 24px;
|
120
|
+
margin-left: 10px;
|
121
|
+
background: transparent url(/images/admin/buttons/action-left.png) no-repeat 0 0;
|
122
|
+
outline: none;
|
123
|
+
}
|
124
|
+
|
125
|
+
#content #local-actions-bar a:hover span { text-decoration: underline; }
|
126
|
+
|
127
|
+
#content #local-actions-bar a span {
|
128
|
+
display: inline-block;
|
129
|
+
height: 13px;
|
130
|
+
background: transparent url(/images/admin/buttons/action-right.png) no-repeat right 0;
|
131
|
+
padding: 1px 10px 8px 2px;
|
132
|
+
}
|
133
|
+
|
134
|
+
/* ___ footer ___ */
|
135
|
+
|
136
|
+
#footer {
|
137
|
+
background: transparent url(/images/admin/background/footer.png) no-repeat 0 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
#footer p {
|
141
|
+
padding: 15px 8px 0 0;
|
142
|
+
font-size: 0.6em;
|
143
|
+
color: #444;
|
144
|
+
}
|
145
|
+
|
146
|
+
/* ___ Alignements ___ */
|
147
|
+
|
148
|
+
.tcenter { text-align: center; }
|
149
|
+
.tright { text-align: right; }
|
150
|
+
.tleft { text-align: left; }
|
151
|
+
.tjustify { text-align: justify; }
|
152
|
+
.fright { float: right; }
|
153
|
+
|
154
|
+
/* ___ Margins ___ */
|
155
|
+
|
156
|
+
.nomargin { margin: 0 !important; }
|
157
|
+
.mt30 { margin-top: 30px !important; }
|
158
|
+
.mt20 { margin-top: 20px !important; }
|
159
|
+
.mb20 { margin-bottom: 20px !important; }
|
160
|
+
.m20 { margin: 20px !important; }
|
161
|
+
.mt10 { margin-top: 10px !important; }
|
162
|
+
.ml10 { margin-left: 10px !important; }
|
163
|
+
.mr10 { margin-right: 10px !important; }
|
164
|
+
.mb10 { margin-bottom: 10px !important; }
|
165
|
+
.m10 { margin: 10px !important; }
|
166
|
+
|
167
|
+
/* ___ NoCoffee / Rails Tags ___ */
|
168
|
+
|
169
|
+
a#nocoffee { text-decoration: none; font-size: 1.1em; line-height: 20px; color: #505b64; padding-right: 20px; margin: 0 4px; background: transparent url(../../images/admin/nocoffee.gif) no-repeat right 0px; }
|
170
|
+
a#nocoffee em { color: #ef3f44; font-weight: normal; font-style: normal; }
|
171
|
+
|
172
|
+
a#powered-by { text-decoration: none; font-size: 1.1em; color: #666; }
|
173
|
+
a#powered-by:hover{ text-decoration: underline; color: #aaa; }
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
.toggleSwitch {
|
179
|
+
position: relative;
|
180
|
+
top: 3px;
|
181
|
+
}
|
182
|
+
|
183
|
+
div.toggleSwitch span.leftLabel{
|
184
|
+
float: left;
|
185
|
+
}
|
186
|
+
|
187
|
+
div.toggleSwitch span.leftLabel, div.toggleSwitch span.rightLabel{
|
188
|
+
line-height: 20px;
|
189
|
+
padding: 0 5px;
|
190
|
+
font-size: 0.8em;
|
191
|
+
font-weight: bold;
|
192
|
+
}
|
193
|
+
|
194
|
+
div.toggleSwitch div.switchArea {
|
195
|
+
float: left;
|
196
|
+
background: transparent url("/images/admin/plugins/toggle_shadow-bg.png") top left no-repeat;
|
197
|
+
width: 64px;
|
198
|
+
height: 24px;
|
199
|
+
cursor: pointer;
|
200
|
+
}
|
201
|
+
|
202
|
+
div.toggleSwitch span.switchHandle{
|
203
|
+
display: block;
|
204
|
+
background: #aaa;
|
205
|
+
background: transparent url("/images/admin/plugins/toggle_handle-bg.png") top left no-repeat;
|
206
|
+
width: 30px;
|
207
|
+
height: 100%;
|
208
|
+
cursor: pointer;
|
209
|
+
cursor: hand;
|
210
|
+
margin-left: 0;
|
211
|
+
}
|
212
|
+
|
213
|
+
div.toggleSwitch span.switchHandle.left{
|
214
|
+
background-image: url("/images/admin/plugins/toggle_handle_left-bg.png");
|
215
|
+
}
|
216
|
+
|
217
|
+
div.toggleSwitch span.switchHandle.right{
|
218
|
+
background-image: url("/images/admin/plugins/toggle_handle_right-bg.png");
|
219
|
+
}
|
220
|
+
|
221
|
+
|
222
|
+
/* ___ menu ___ */
|
223
|
+
|
224
|
+
ul#menu {
|
225
|
+
list-style: none;
|
226
|
+
margin: 20px 0 0 0px;
|
227
|
+
padding: 0px;
|
228
|
+
background: transparent url(/images/admin/menu/gray-border.png) no-repeat 0 bottom;
|
229
|
+
height: 41px;
|
230
|
+
}
|
231
|
+
|
232
|
+
body.assets ul#menu { background-image: url(/images/admin/menu/green-border.png); }
|
233
|
+
body.settings ul#menu { background-image: url(/images/admin/menu/blue-border.png); }
|
234
|
+
|
235
|
+
ul#menu li {
|
236
|
+
float: left;
|
237
|
+
height: 40px;
|
238
|
+
}
|
239
|
+
|
240
|
+
ul#menu li a {
|
241
|
+
display: inline-block;
|
242
|
+
padding: 13px 55px 7px 5px;
|
243
|
+
margin-left: 15px;
|
244
|
+
text-decoration: none;
|
245
|
+
color: #787a89;
|
246
|
+
text-shadow: 1px 1px 1px #c5cfd1;
|
247
|
+
font-size: 0.8em;
|
248
|
+
outline: none;
|
249
|
+
height: 19px;
|
250
|
+
}
|
251
|
+
|
252
|
+
ul#menu li a em {
|
253
|
+
display: inline-block;
|
254
|
+
width: 15px;
|
255
|
+
height: 12px;
|
256
|
+
position: relative;
|
257
|
+
top: 2px;
|
258
|
+
margin-right: 4px;
|
259
|
+
}
|
260
|
+
|
261
|
+
|
262
|
+
ul#menu li.contents { background: url(/images/admin/menu/top-left.png) no-repeat 0 -40px; padding-left: 13px; }
|
263
|
+
ul#menu li.contents a { background: url(/images/admin/menu/top.png) repeat-x 0 -40px; margin-left: 0px; padding-right: 5px; padding-left: 5px; }
|
264
|
+
ul#menu li.contents a em { background: transparent url(/images/admin/menu/icons/folder.png) no-repeat 0 0; }
|
265
|
+
|
266
|
+
body.contents ul#menu li.contents { background-position: 0 0px; }
|
267
|
+
body.contents ul#menu li.contents a { background-position: 0 0px; color: white; text-shadow: none; }
|
268
|
+
body.contents ul#menu li.contents a em { background-position: 0 -12px; }
|
269
|
+
body.settings ul#menu li.contents { background-position: 0 -80px; }
|
270
|
+
body.settings ul#menu li.contents a { background-position: 0 -80px; }
|
271
|
+
|
272
|
+
ul#menu li.assets { background: url(/images/admin/menu/left.png) no-repeat 0 -40px; padding-left: 35px; }
|
273
|
+
ul#menu li.assets a em { background: transparent url(/images/admin/menu/icons/settings.png) no-repeat 0 0; height: 14px; }
|
274
|
+
body.contents ul#menu li.assets { background-position: 0 0px; }
|
275
|
+
body.assets ul#menu li.assets { background-position: 0 -80px; }
|
276
|
+
body.assets ul#menu li.assets a { background-position: right -80px; color: white; text-shadow: none; }
|
277
|
+
body.assets ul#menu li.assets a em { background-position: 0 -15px; }
|
278
|
+
|
279
|
+
ul#menu li.assets { background: url(/images/admin/menu/left.png) no-repeat 0 -40px; padding-left: 35px; }
|
280
|
+
ul#menu li.assets a { background: url(/images/admin/menu/right.png) no-repeat right 0px; }
|
281
|
+
body.contents ul#menu li.assets { background-position: 0 0px; }
|
282
|
+
body.settings ul#menu li.assets { background-position: 0 -200px; }
|
283
|
+
body.settings ul#menu li.assets a { background-position: right -400px; }
|
284
|
+
|
285
|
+
ul#menu li.settings { background: none; }
|
286
|
+
ul#menu li.settings a { background: url(/images/admin/menu/right.png) no-repeat right -40px; margin-left: 0px; }
|
287
|
+
ul#menu li.settings a em { background: transparent url(/images/admin/menu/icons/settings.png) no-repeat 0 0; height: 14px; }
|
288
|
+
body.settings ul#menu li.settings a { background-position: right -440px; color: white; text-shadow: none; }
|
289
|
+
body.settings ul#menu li.settings a em { background-position: 0 -30px; }
|
290
|
+
body.contents ul#menu li.settings { background-position: 0 0px; }
|
291
|
+
body.assets ul#menu li.settings a { background-position: right -120px; }
|
292
|
+
|
293
|
+
|
294
|
+
ul#menu li.clear { float: none; height: 1px; }
|
295
|
+
|
296
|
+
/* ___ submenu ___ */
|
297
|
+
|
298
|
+
#submenu {
|
299
|
+
background: transparent url(/images/admin/menu/shadow.png) repeat-y 0 0;
|
300
|
+
height: 60px;
|
301
|
+
position: relative;
|
302
|
+
}
|
303
|
+
|
304
|
+
#submenu div.action {
|
305
|
+
position: absolute;
|
306
|
+
top: 18px;
|
307
|
+
right: 22px;
|
308
|
+
}
|
309
|
+
|
310
|
+
#submenu div.action a {
|
311
|
+
display: block;
|
312
|
+
float: left;
|
313
|
+
height: 20px;
|
314
|
+
color: white;
|
315
|
+
text-decoration: none;
|
316
|
+
font-size: 0.7em;
|
317
|
+
padding-left: 26px;
|
318
|
+
background: transparent url(../../images/admin/buttons/add-left.png) no-repeat 0 0;
|
319
|
+
outline: none;
|
320
|
+
}
|
321
|
+
|
322
|
+
#submenu div.action a:hover span { text-decoration: underline; }
|
323
|
+
|
324
|
+
#submenu div.action a span {
|
325
|
+
display: inline-block;
|
326
|
+
height: 13px;
|
327
|
+
background: transparent url(../../images/admin/buttons/add-right.png) no-repeat right 0;
|
328
|
+
padding: 1px 12px 10px 0px;
|
329
|
+
text-shadow: 1px 1px 1px #000;
|
330
|
+
}
|
331
|
+
|
332
|
+
#submenu > ul {
|
333
|
+
width: 950px;
|
334
|
+
height: 46px;
|
335
|
+
list-style: none;
|
336
|
+
margin: 0px 8px 0 8px;
|
337
|
+
padding: 14px 0 0 0px;
|
338
|
+
clear: both;
|
339
|
+
}
|
340
|
+
|
341
|
+
#submenu > ul > li {
|
342
|
+
display: block;
|
343
|
+
float: left;
|
344
|
+
margin-left: 8px;
|
345
|
+
position: relative;
|
346
|
+
z-index: 999;
|
347
|
+
}
|
348
|
+
|
349
|
+
#submenu > ul > li > a {
|
350
|
+
display: block;
|
351
|
+
float: left;
|
352
|
+
height: 31px;
|
353
|
+
color: white;
|
354
|
+
text-decoration: none;
|
355
|
+
font-size: 0.8em;
|
356
|
+
padding-left: 15px;
|
357
|
+
background: transparent url(../../images/admin/buttons/emboss-left.png) no-repeat 0 0;
|
358
|
+
outline: none;
|
359
|
+
}
|
360
|
+
|
361
|
+
#submenu > ul > li > a span {
|
362
|
+
display: inline-block;
|
363
|
+
height: 17px;
|
364
|
+
background: transparent url(../../images/admin/buttons/emboss-right.png) no-repeat right 0;
|
365
|
+
padding: 4px 28px 10px 0px;
|
366
|
+
text-shadow: 1px 1px 1px #000;
|
367
|
+
}
|
368
|
+
|
369
|
+
#submenu > ul > li.links a span em {
|
370
|
+
display: inline-block;
|
371
|
+
background: transparent url(/images/admin/menu/arrow.png) no-repeat 0 0;
|
372
|
+
width: 16px;
|
373
|
+
height: 9px;
|
374
|
+
position: relative;
|
375
|
+
top: 2px;
|
376
|
+
left: 4px;
|
377
|
+
}
|
378
|
+
|
379
|
+
#submenu > ul > li.on a { background-position: 0 -31px; }
|
380
|
+
#submenu > ul > li.on a span { background-position: right -31px; }
|
381
|
+
#submenu > ul > li.on a span em { background-position: 0 -9px; }
|
382
|
+
|
383
|
+
#submenu > ul > li.hover > a { background-position: 0 -186px; color: #8b8d9a; }
|
384
|
+
#submenu > ul > li.hover > a span { background-position: right -186px; text-shadow: none; }
|
385
|
+
#submenu > ul > li.hover > a span em { background-position: 0 -18px; }
|
386
|
+
|
387
|
+
|
388
|
+
body.assets #submenu > ul > li > a { background-position: 0 -62px; }
|
389
|
+
body.assets #submenu > ul > li > a span { background-position: right -62px; }
|
390
|
+
body.assets #submenu > ul > li.on > a { background-position: 0 -93px; }
|
391
|
+
body.assets #submenu > ul > li.on > a span { background-position: right -93px; }
|
392
|
+
|
393
|
+
body.settings #submenu > ul > li > a { background-position: 0 -124px; }
|
394
|
+
body.settings #submenu > ul > li > a span { background-position: right -124px; }
|
395
|
+
body.settings #submenu > ul > li.on > a { background-position: 0 -155px; }
|
396
|
+
body.settings #submenu > ul > li.on > a span { background-position: right -155px; }
|
397
|
+
|
398
|
+
body.contents #submenu > ul { background: transparent url(/images/admin/menu/gray-bg.png) repeat-x 0 0; }
|
399
|
+
body.assets #submenu > ul { background: transparent url(/images/admin/menu/green-bg.png) repeat-x 0 0; }
|
400
|
+
body.settings #submenu > ul { background: transparent url(/images/admin/menu/blue-bg.png) repeat-x 0 0; }
|
401
|
+
|
402
|
+
/* ___ popup ___ */
|
403
|
+
|
404
|
+
#submenu .popup {
|
405
|
+
z-index: 998;
|
406
|
+
position: absolute;
|
407
|
+
top: 27px;
|
408
|
+
margin-left: -4px;
|
409
|
+
width: 305px;
|
410
|
+
background: transparent url(/images/admin/menu/popup-footer.png) no-repeat 0 bottom;
|
411
|
+
padding-bottom: 25px;
|
412
|
+
}
|
413
|
+
|
414
|
+
#submenu .popup a { color: #1f82bc; text-decoration: none; }
|
415
|
+
#submenu .popup a:hover { text-decoration: underline; }
|
416
|
+
|
417
|
+
#submenu .popup .header {
|
418
|
+
background: transparent url(/images/admin/menu/popup-header.png) no-repeat 0 0;
|
419
|
+
width: 100%;
|
420
|
+
}
|
421
|
+
|
422
|
+
#submenu .popup .header p { margin: 0px 15px; padding: 10px 0 0 0px; }
|
423
|
+
#submenu .popup .header p a {
|
424
|
+
font-size: 0.8em;
|
425
|
+
background: transparent url(/images/admin/menu/icons/add.png) no-repeat left 4px;
|
426
|
+
padding-left: 12px;
|
427
|
+
}
|
428
|
+
|
429
|
+
#submenu .popup .inner {
|
430
|
+
background: transparent url(/images/admin/menu/popup-body.png) repeat-y 0 0;
|
431
|
+
padding: 6px 15px 0px 15px;
|
432
|
+
}
|
433
|
+
|
434
|
+
#submenu .popup .inner h2 {
|
435
|
+
font-size: 0.7em;
|
436
|
+
font-weight: bold;
|
437
|
+
color: #1e1f26;
|
438
|
+
border-top: 1px dotted #bbbbbd;
|
439
|
+
padding-top: 6px;
|
440
|
+
margin-bottom: 0px;
|
441
|
+
}
|
442
|
+
|
443
|
+
#submenu .popup .inner ul {
|
444
|
+
list-style-image: url(/images/admin/menu/icons/bullet.png);
|
445
|
+
margin: 0px 0px 0 15px;
|
446
|
+
}
|
447
|
+
|
448
|
+
#submenu .popup .inner ul li {
|
449
|
+
position: relative;
|
450
|
+
}
|
451
|
+
|
452
|
+
#submenu .popup .inner ul li a {
|
453
|
+
font-size: 0.7em;
|
454
|
+
}
|
455
|
+
|
456
|
+
#submenu .popup .inner ul li span {
|
457
|
+
position: absolute;
|
458
|
+
top: 6px;
|
459
|
+
right: 15px;
|
460
|
+
color: #8b8d9a;
|
461
|
+
font-size: 0.7em;
|
462
|
+
}
|
463
|
+
|
464
|
+
.button {
|
465
|
+
display: inline-block;
|
466
|
+
background: transparent url(/images/admin/buttons/dark-gray-left.png) no-repeat 0 0;
|
467
|
+
padding: 0px 0px 0px 2px;
|
468
|
+
font-size: 0.9em;
|
469
|
+
color: white;
|
470
|
+
cursor: pointer;
|
471
|
+
border: none;
|
472
|
+
height: 31px;
|
473
|
+
outline: none;
|
474
|
+
}
|
475
|
+
|
476
|
+
.button span {
|
477
|
+
display: inline-block;
|
478
|
+
background: transparent url(/images/admin/buttons/dark-gray-right.png) no-repeat right top;
|
479
|
+
position: relative;
|
480
|
+
top: -1px;
|
481
|
+
padding: 3px 9px 9px 4px;
|
482
|
+
line-height: 21px;
|
483
|
+
text-shadow: 1px 1px 1px #000;
|
484
|
+
outline: none;
|
485
|
+
}
|
486
|
+
|
487
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
488
|
+
.button { padding-left: 5px; }
|
489
|
+
.button span { top: 0px; }
|
490
|
+
}
|
491
|
+
|
492
|
+
.button.light {
|
493
|
+
background-image: url(/images/admin/buttons/light-gray-left.png);
|
494
|
+
color: #787a89;
|
495
|
+
}
|
496
|
+
|
497
|
+
.button.light span {
|
498
|
+
background-image: url(/images/admin/buttons/light-gray-right.png);
|
499
|
+
text-shadow: 1px 1px 1px #fff;
|
500
|
+
}
|
501
|
+
|
502
|
+
.button.small {
|
503
|
+
background: transparent url(/images/admin/buttons/action-left.png) no-repeat left -40px;
|
504
|
+
color: #787a89;
|
505
|
+
height: 20px;
|
506
|
+
font-size: 0.7em;
|
507
|
+
padding: 0px 0px 0px 12px;
|
508
|
+
color: #8B8D9A !important;
|
509
|
+
text-decoration: none;
|
510
|
+
}
|
511
|
+
|
512
|
+
.button.small span {
|
513
|
+
background-image: url(/images/admin/buttons/action-right.png);
|
514
|
+
text-shadow: 1px 1px 1px #fff;
|
515
|
+
padding: 0px 12px 10px 0px;
|
516
|
+
top: 0px;
|
517
|
+
color: #8B8D9A;
|
518
|
+
}
|
519
|
+
|
520
|
+
.button.small.add {
|
521
|
+
padding-left: 24px;
|
522
|
+
background-position: 0 0;
|
523
|
+
}
|
524
|
+
|
525
|
+
.button.remove, .button.remove span {
|
526
|
+
color: #ff092c !important;
|
527
|
+
font-size: 1.1em;
|
528
|
+
}
|
529
|
+
|
530
|
+
.button.remove:hover span { text-decoration: underline; }
|
531
|
+
|
532
|
+
/* -------------------------------------------------------------------------------------------------
|
533
|
+
|
534
|
+
It's *strongly* suggested that you don't modify this file. Instead, load a new stylesheet after
|
535
|
+
this one in your layouts (eg formtastic_changes.css) and override the styles to suit your needs.
|
536
|
+
This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
537
|
+
|
538
|
+
This stylesheet forms part of the Formtastic Rails Plugin
|
539
|
+
(c) 2008 Justin French
|
540
|
+
|
541
|
+
--------------------------------------------------------------------------------------------------*/
|
542
|
+
|
543
|
+
|
544
|
+
/* NORMALIZE AND RESET - obviously inspired by Yahoo's reset.css, but scoped to just form.formtastic
|
545
|
+
--------------------------------------------------------------------------------------------------*/
|
546
|
+
form.formtastic, form.formtastic ul, form.formtastic ol, form.formtastic li, form.formtastic fieldset, form.formtastic legend, form.formtastic input, form.formtastic textarea, form.formtastic select, form.formtastic p { margin:0; padding:0; }
|
547
|
+
form.formtastic fieldset { border:0; }
|
548
|
+
form.formtastic em, form.formtastic strong { font-style:normal; font-weight:normal; }
|
549
|
+
form.formtastic ol, form.formtastic ul { list-style:none; }
|
550
|
+
form.formtastic abbr, form.formtastic acronym { border:0; font-variant:normal; }
|
551
|
+
form.formtastic input, form.formtastic textarea, form.formtastic select { font-family:inherit; font-size:inherit; font-weight:inherit; }
|
552
|
+
form.formtastic input, form.formtastic textarea, form.formtastic select { font-size:100%; }
|
553
|
+
form.formtastic legend { color:#000; }
|
554
|
+
|
555
|
+
|
556
|
+
/* FIELDSETS & LISTS
|
557
|
+
--------------------------------------------------------------------------------------------------*/
|
558
|
+
form.formtastic fieldset { }
|
559
|
+
form.formtastic fieldset.inputs { }
|
560
|
+
form.formtastic fieldset.buttons { padding-left:25%; }
|
561
|
+
form.formtastic fieldset ol { }
|
562
|
+
form.formtastic fieldset.buttons li { float:left; padding-right:0.5em; }
|
563
|
+
|
564
|
+
/* clearfixing the fieldsets */
|
565
|
+
form.formtastic fieldset { display: inline-block; }
|
566
|
+
form.formtastic fieldset:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
567
|
+
html[xmlns] form.formtastic fieldset { display: block; }
|
568
|
+
* html form.formtastic fieldset { height: 1%; }
|
569
|
+
|
570
|
+
|
571
|
+
/* INPUT LIs
|
572
|
+
--------------------------------------------------------------------------------------------------*/
|
573
|
+
form.formtastic fieldset ol li { margin-bottom:1.5em; }
|
574
|
+
|
575
|
+
/* clearfixing the li's */
|
576
|
+
form.formtastic fieldset ol li { display: inline-block; }
|
577
|
+
form.formtastic fieldset ol li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
578
|
+
html[xmlns] form.formtastic fieldset ol li { display: block; }
|
579
|
+
* html form.formtastic fieldset ol li { height: 1%; }
|
580
|
+
|
581
|
+
form.formtastic fieldset ol li.required { }
|
582
|
+
form.formtastic fieldset ol li.optional { }
|
583
|
+
form.formtastic fieldset ol li.error { }
|
584
|
+
|
585
|
+
|
586
|
+
/* LABELS
|
587
|
+
--------------------------------------------------------------------------------------------------*/
|
588
|
+
form.formtastic fieldset ol li label { display:block; width:25%; float:left; padding-top:.2em; }
|
589
|
+
form.formtastic fieldset ol li li label { line-height:100%; padding-top:0; }
|
590
|
+
form.formtastic fieldset ol li li label input { line-height:100%; vertical-align:middle; margin-top:-0.1em;}
|
591
|
+
|
592
|
+
|
593
|
+
/* NESTED FIELDSETS AND LEGENDS (radio, check boxes and date/time inputs use nested fieldsets)
|
594
|
+
--------------------------------------------------------------------------------------------------*/
|
595
|
+
form.formtastic fieldset ol li fieldset { position:relative; }
|
596
|
+
form.formtastic fieldset ol li fieldset legend { position:absolute; width:25%; padding-top:0.1em; }
|
597
|
+
form.formtastic fieldset ol li fieldset legend span { position:absolute; }
|
598
|
+
form.formtastic fieldset ol li fieldset ol { float:left; width:74%; margin:0; padding:0 0 0 25%; }
|
599
|
+
form.formtastic fieldset ol li fieldset ol li { padding:0; border:0; }
|
600
|
+
|
601
|
+
|
602
|
+
/* INLINE HINTS
|
603
|
+
--------------------------------------------------------------------------------------------------*/
|
604
|
+
form.formtastic fieldset ol li p.inline-hints { color:#666; margin:0.5em 0 0 25%; }
|
605
|
+
|
606
|
+
|
607
|
+
/* INLINE ERRORS
|
608
|
+
--------------------------------------------------------------------------------------------------*/
|
609
|
+
form.formtastic fieldset ol li p.inline-errors { color:#cc0000; margin:0.5em 0 0 25%; }
|
610
|
+
form.formtastic fieldset ol li ul.errors { color:#cc0000; margin:0.5em 0 0 25%; list-style:square; }
|
611
|
+
form.formtastic fieldset ol li ul.errors li { padding:0; border:none; display:list-item; }
|
612
|
+
|
613
|
+
|
614
|
+
/* STRING & NUMERIC OVERRIDES
|
615
|
+
--------------------------------------------------------------------------------------------------*/
|
616
|
+
form.formtastic fieldset ol li.string input { width:74%; }
|
617
|
+
form.formtastic fieldset ol li.password input { width:74%; }
|
618
|
+
form.formtastic fieldset ol li.numeric input { width:74%; }
|
619
|
+
|
620
|
+
|
621
|
+
/* TEXTAREA OVERRIDES
|
622
|
+
--------------------------------------------------------------------------------------------------*/
|
623
|
+
form.formtastic fieldset ol li.text textarea { width:74%; }
|
624
|
+
|
625
|
+
|
626
|
+
/* HIDDEN OVERRIDES
|
627
|
+
--------------------------------------------------------------------------------------------------*/
|
628
|
+
form.formtastic fieldset ol li.hidden { display:none; }
|
629
|
+
|
630
|
+
|
631
|
+
/* BOOLEAN OVERRIDES
|
632
|
+
--------------------------------------------------------------------------------------------------*/
|
633
|
+
form.formtastic fieldset ol li.boolean label { padding-left:25%; width:auto; }
|
634
|
+
form.formtastic fieldset ol li.boolean label input { margin:0 0.5em 0 0.2em; }
|
635
|
+
|
636
|
+
|
637
|
+
/* RADIO OVERRIDES
|
638
|
+
--------------------------------------------------------------------------------------------------*/
|
639
|
+
form.formtastic fieldset ol li.radio { }
|
640
|
+
form.formtastic fieldset ol li.radio fieldset ol { margin-bottom:-0.6em; }
|
641
|
+
form.formtastic fieldset ol li.radio fieldset ol li { margin:0.1em 0 0.5em 0; }
|
642
|
+
form.formtastic fieldset ol li.radio fieldset ol li label { float:none; width:100%; }
|
643
|
+
form.formtastic fieldset ol li.radio fieldset ol li label input { margin-right:0.2em; }
|
644
|
+
|
645
|
+
|
646
|
+
/* CHECK BOXES (COLLECTION) OVERRIDES
|
647
|
+
--------------------------------------------------------------------------------------------------*/
|
648
|
+
form.formtastic fieldset ol li.check_boxes { }
|
649
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol { margin-bottom:-0.6em; }
|
650
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol li { margin:0.1em 0 0.5em 0; }
|
651
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol li label { float:none; width:100%; }
|
652
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol li label input { margin-right:0.2em; }
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
/* DATE & TIME OVERRIDES
|
657
|
+
--------------------------------------------------------------------------------------------------*/
|
658
|
+
form.formtastic fieldset ol li.date fieldset ol li,
|
659
|
+
form.formtastic fieldset ol li.time fieldset ol li,
|
660
|
+
form.formtastic fieldset ol li.datetime fieldset ol li { float:left; width:auto; margin:0 .3em 0 0; }
|
661
|
+
|
662
|
+
form.formtastic fieldset ol li.date fieldset ol li label,
|
663
|
+
form.formtastic fieldset ol li.time fieldset ol li label,
|
664
|
+
form.formtastic fieldset ol li.datetime fieldset ol li label { display:none; }
|
665
|
+
|
666
|
+
form.formtastic fieldset ol li.date fieldset ol li label input,
|
667
|
+
form.formtastic fieldset ol li.time fieldset ol li label input,
|
668
|
+
form.formtastic fieldset ol li.datetime fieldset ol li label input { display:inline; margin:0; padding:0; }
|
669
|
+
|
670
|
+
|
671
|
+
/* -------------------------------------------------------------------------------------------------
|
672
|
+
|
673
|
+
Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs.
|
674
|
+
This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
675
|
+
|
676
|
+
For example, to make the inline hint paragraphs a little darker in color than the standard #666:
|
677
|
+
|
678
|
+
form.formtastic fieldset ol li p.inline-hints { color:#333; }
|
679
|
+
|
680
|
+
--------------------------------------------------------------------------------------------------*/
|
681
|
+
|
682
|
+
form.formtastic legend {
|
683
|
+
margin: 0;
|
684
|
+
float: left;
|
685
|
+
white-space: normal;
|
686
|
+
*margin-left: -7px;
|
687
|
+
position: relative;
|
688
|
+
}
|
689
|
+
|
690
|
+
form.formtastic legend span {
|
691
|
+
display: block;
|
692
|
+
width: 900px;
|
693
|
+
height: 26px;
|
694
|
+
background: transparent url(/images/admin/form/header.png) no-repeat 0 0px;
|
695
|
+
color: #1e1f26;
|
696
|
+
font-size: 0.7em;
|
697
|
+
padding: 4px 0 0 20px;
|
698
|
+
}
|
699
|
+
|
700
|
+
form.formtastic legend span small {
|
701
|
+
position: absolute;
|
702
|
+
top: 7px;
|
703
|
+
right: 20px;
|
704
|
+
color: #787a89;
|
705
|
+
font-size: 0.8em;
|
706
|
+
font-weight: normal;
|
707
|
+
}
|
708
|
+
|
709
|
+
/* ___ enabling fold/unfold ___ */
|
710
|
+
|
711
|
+
form.formtastic fieldset.foldable legend span { cursor: pointer; }
|
712
|
+
|
713
|
+
form.formtastic fieldset.foldable legend span em {
|
714
|
+
display: inline-block;
|
715
|
+
width: 9px;
|
716
|
+
height: 6px;
|
717
|
+
position: relative;
|
718
|
+
top: 8px;
|
719
|
+
left: 10px;
|
720
|
+
background: transparent url(/images/admin/form/folded-arrow-on.png) no-repeat 0 0px;
|
721
|
+
}
|
722
|
+
|
723
|
+
form.formtastic fieldset.foldable.folded legend span { background-image: url(/images/admin/form/folded.png); }
|
724
|
+
form.formtastic fieldset.foldable.folded legend span em {
|
725
|
+
width: 6px;
|
726
|
+
height: 9px;
|
727
|
+
top: 6px;
|
728
|
+
background-image: url(/images/admin/form/folded-arrow-off.png);
|
729
|
+
}
|
730
|
+
|
731
|
+
form.formtastic fieldset.foldable ol {
|
732
|
+
clear: both;
|
733
|
+
width: 100%;
|
734
|
+
overflow: hidden;
|
735
|
+
}
|
736
|
+
|
737
|
+
form.formtastic fieldset.foldable.folded ol { display: none; }
|
738
|
+
|
739
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
740
|
+
form.formtastic fieldset.foldable legend span em { top: 0px; }
|
741
|
+
form.formtastic fieldset.foldable.folded legend span em { top: 0px; }
|
742
|
+
}
|
743
|
+
|
744
|
+
/* ___ inputs ___ */
|
745
|
+
|
746
|
+
form.formtastic fieldset.inputs { min-height: 30px; width: 100%; margin-bottom: 20px; }
|
747
|
+
|
748
|
+
form.formtastic fieldset.inputs ol {
|
749
|
+
clear: both;
|
750
|
+
margin: 30px 0 0 0;
|
751
|
+
padding-top: 15px;
|
752
|
+
padding-bottom: 5px;
|
753
|
+
background: #ebedf4 url(/images/admin/form/footer.png) no-repeat 0 bottom;
|
754
|
+
}
|
755
|
+
|
756
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
757
|
+
form.formtastic fieldset.inputs ol {
|
758
|
+
margin-top: 30px;
|
759
|
+
}
|
760
|
+
}
|
761
|
+
|
762
|
+
form.formtastic fieldset ol li { width: 100%; position: relative; margin-bottom: 1.3em; }
|
763
|
+
|
764
|
+
form.formtastic fieldset ol li label { text-align: left; padding: 0.3em 2em 0 20px; font-size: 0.8em; color: #17171b; width: 15%; }
|
765
|
+
|
766
|
+
form.formtastic fieldset ol li.string input,
|
767
|
+
form.formtastic fieldset ol li.password input,
|
768
|
+
form.formtastic fieldset ol li.numeric input,
|
769
|
+
form.formtastic fieldset ol li.text textarea,
|
770
|
+
form.formtastic fieldset ol li code textarea,
|
771
|
+
form.formtastic fieldset ol li input[type=password] {
|
772
|
+
padding: 4px;
|
773
|
+
font-size: 0.9em;
|
774
|
+
width: 45%;
|
775
|
+
color: #787a89;
|
776
|
+
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
777
|
+
border: 1px solid #a6a8b8;
|
778
|
+
}
|
779
|
+
|
780
|
+
form.formtastic fieldset ol li p.inline-hints { margin-left: 20%; }
|
781
|
+
form.formtastic fieldset ol li p.inline-hints a { color: #1f82bc; }
|
782
|
+
|
783
|
+
form.formtastic fieldset ol li code { display: block; border: 1px solid #a6a8b8; margin: 10px 20px 0 20px; }
|
784
|
+
form.formtastic fieldset ol li code.nude textarea {
|
785
|
+
width: 870px;
|
786
|
+
border: 0px;
|
787
|
+
}
|
788
|
+
|
789
|
+
/*form.formtastic fieldset ol li code.html iframe { width: 46% !important; }*/
|
790
|
+
|
791
|
+
form.formtastic fieldset ol li select { font-size: 0.9em; position: relative; top: 2px; color: #787a89; }
|
792
|
+
|
793
|
+
form.formtastic fieldset ol li.error input,
|
794
|
+
form.formtastic fieldset ol li.error textarea,
|
795
|
+
form.formtastic fieldset ol li.error code iframe { border: 2px solid #ec3f48 !important; }
|
796
|
+
form.formtastic fieldset ol li.error code { border: none; }
|
797
|
+
form.formtastic fieldset ol li p.inline-errors {
|
798
|
+
display: none;
|
799
|
+
position: absolute;
|
800
|
+
top: 0px;
|
801
|
+
left: 630px;
|
802
|
+
width: 250px;
|
803
|
+
margin: 0px;
|
804
|
+
padding: 6px 5px 8px 25px;
|
805
|
+
background: #ec3f48 url(/images/admin/form/error-arrow.png) no-repeat 0 0;
|
806
|
+
color: #fff !important;
|
807
|
+
font-size: 0.7em !important;
|
808
|
+
}
|
809
|
+
|
810
|
+
form.formtastic fieldset ol li.more { text-align: right; width: auto; margin-right: 20px; line-height: 0.6em; }
|
811
|
+
form.formtastic fieldset ol li.more a { text-decoration: none; color: #787A89; font-size: 0.7em; }
|
812
|
+
form.formtastic fieldset ol li.more a:hover { text-decoration: underline; }
|
813
|
+
|
814
|
+
|
815
|
+
/*form.formtastic hr { border-top: 2px solid #ccc; }*/
|
816
|
+
|
817
|
+
/*form.formtastic fieldset.buttons { padding-left: 28%; padding-bottom: 20px; }*/
|
818
|
+
|
819
|
+
form.formtastic div.actions {
|
820
|
+
position: relative;
|
821
|
+
top: 27px;
|
822
|
+
left: -15px;
|
823
|
+
width: 950px;
|
824
|
+
background: #8b8d9a;
|
825
|
+
}
|
826
|
+
|
827
|
+
form.formtastic div.actions p {
|
828
|
+
padding: 15px;
|
829
|
+
margin: 0px;
|
830
|
+
}
|
831
|
+
|
832
|
+
form.formtastic div.actions a {
|
833
|
+
color: #fff;
|
834
|
+
text-decoration: none;
|
835
|
+
font-size: 0.8em;
|
836
|
+
position: relative;
|
837
|
+
top: 4px;
|
838
|
+
}
|
839
|
+
|
840
|
+
form.formtastic div.actions p a:hover { text-decoration: underline; }
|
841
|
+
|
842
|
+
form.formtastic div.actions .last p { text-align: right; }
|
843
|
+
|
844
|
+
|
845
|
+
/* ___ pages ___ */
|
846
|
+
|
847
|
+
form.formtastic fieldset ol li.path em {
|
848
|
+
font-size: 0.8em;
|
849
|
+
}
|
850
|
+
|
851
|
+
form.formtastic fieldset ol li.path input {
|
852
|
+
background: transparent;
|
853
|
+
padding: 4px 4px 2px 4px;
|
854
|
+
border: none;
|
855
|
+
color: #787a89;
|
856
|
+
border-bottom: 1px solid #b5b7c4;
|
857
|
+
width: 30%;
|
858
|
+
}
|
859
|
+
|
860
|
+
form.formtastic fieldset ol li.path.error input {
|
861
|
+
border: none !important;
|
862
|
+
border-bottom: 2px solid #ff092c !important;
|
863
|
+
}
|
864
|
+
|
865
|
+
/* ___ sites ___ */
|
866
|
+
|
867
|
+
form.formtastic fieldset ol li.item {
|
868
|
+
position: relative;
|
869
|
+
background: transparent url(/images/admin/form/item.png) no-repeat 0 0;
|
870
|
+
height: 25px;
|
871
|
+
width: 861px;
|
872
|
+
margin: 0px 0px 10px 20px;
|
873
|
+
padding: 3px 10px;
|
874
|
+
}
|
875
|
+
|
876
|
+
form.formtastic fieldset ol li.item strong {
|
877
|
+
font-size: 0.9em;
|
878
|
+
font-weight: bold;
|
879
|
+
color: #17171d;
|
880
|
+
}
|
881
|
+
|
882
|
+
form.formtastic fieldset ol li.item strong a {
|
883
|
+
color: #17171d;
|
884
|
+
text-decoration: none;
|
885
|
+
}
|
886
|
+
|
887
|
+
form.formtastic fieldset ol li.item strong a:hover { text-decoration: underline; }
|
888
|
+
|
889
|
+
form.formtastic fieldset ol li.item em {
|
890
|
+
margin-left: 10px;
|
891
|
+
font-size: 0.7em;
|
892
|
+
color: #757575;
|
893
|
+
}
|
894
|
+
|
895
|
+
form.formtastic fieldset ol li.item span.actions {
|
896
|
+
position: absolute;
|
897
|
+
top: 7px;
|
898
|
+
right: 10px;
|
899
|
+
width: 16px;
|
900
|
+
height: 16px;
|
901
|
+
}
|
902
|
+
|
903
|
+
/* ___ editable-list (content type fields and validations) ___ */
|
904
|
+
|
905
|
+
form.formtastic fieldset.editable-list ol { padding-left: 20px; padding-right: 20px; width: 880px; }
|
906
|
+
|
907
|
+
form.formtastic fieldset.editable-list ol li { margin-left: 0px !important; }
|
908
|
+
|
909
|
+
form.formtastic fieldset.editable-list ol li span.handle {
|
910
|
+
cursor: move;
|
911
|
+
position: relative;
|
912
|
+
top: 1px;
|
913
|
+
}
|
914
|
+
|
915
|
+
form.formtastic fieldset.editable-list ol li.added span.actions a.remove {
|
916
|
+
display: inline;
|
917
|
+
}
|
918
|
+
|
919
|
+
form.formtastic fieldset.editable-list ol li.added span.actions button {
|
920
|
+
display: none;
|
921
|
+
}
|
922
|
+
|
923
|
+
form.formtastic fieldset.editable-list ol li.added select {
|
924
|
+
display: none;
|
925
|
+
position: relative;
|
926
|
+
top: -1px;
|
927
|
+
}
|
928
|
+
|
929
|
+
form.formtastic fieldset.editable-list ol li.added em {
|
930
|
+
color: #8b8d9a;
|
931
|
+
font-size: 0.9em;
|
932
|
+
font-style: italic;
|
933
|
+
margin-left: 3px;
|
934
|
+
}
|
935
|
+
form.formtastic fieldset.editable-list ol li.added em { border: 1px solid transparent; padding: 2px 5px; }
|
936
|
+
form.formtastic fieldset.editable-list ol li.added em:hover {
|
937
|
+
background: #fffbe5;
|
938
|
+
border: 1px dotted #efe4a5;
|
939
|
+
cursor: pointer;
|
940
|
+
color: #17171D;
|
941
|
+
font-weight: bold;
|
942
|
+
}
|
943
|
+
|
944
|
+
form.formtastic fieldset.editable-list ol li.added input {
|
945
|
+
position: relative;
|
946
|
+
top: -1px;
|
947
|
+
background: transparent;
|
948
|
+
border: 1px solid transparent;
|
949
|
+
padding: 1px 5px 2px 5px;
|
950
|
+
color: #17171D;
|
951
|
+
font-size: 0.9em;
|
952
|
+
font-weight: bold;
|
953
|
+
cursor: normal;
|
954
|
+
}
|
955
|
+
|
956
|
+
form.formtastic fieldset.editable-list ol li.added input:hover {
|
957
|
+
background: #fffbe5;
|
958
|
+
border: 1px dotted #efe4a5;
|
959
|
+
cursor: pointer;
|
960
|
+
}
|
961
|
+
|
962
|
+
form.formtastic fieldset.editable-list ol li.added input:focus {
|
963
|
+
font-size: 0.9em;
|
964
|
+
font-weight: normal;
|
965
|
+
color: #787a89;
|
966
|
+
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
967
|
+
border: 1px solid #a6a8b8;
|
968
|
+
}
|
969
|
+
|
970
|
+
form.formtastic fieldset.editable-list ol li.added .inline-errors {
|
971
|
+
position: relative;
|
972
|
+
top: -1px;
|
973
|
+
padding: 2px 3px;
|
974
|
+
background: #FFE5E5;
|
975
|
+
color: #CE2525;
|
976
|
+
font-size: 0.8em;
|
977
|
+
}
|
978
|
+
|
979
|
+
form.formtastic fieldset.editable-list ol li.template {
|
980
|
+
height: 42px;
|
981
|
+
background-image: url(/images/admin/form/big_item.png);
|
982
|
+
padding-top: 10px;
|
983
|
+
}
|
984
|
+
|
985
|
+
form.formtastic fieldset.editable-list ol li.template input {
|
986
|
+
display: inline;
|
987
|
+
margin-left: 10px;
|
988
|
+
padding: 4px;
|
989
|
+
font-size: 0.9em;
|
990
|
+
width: 180px;
|
991
|
+
color: #787a89;
|
992
|
+
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
993
|
+
border: 1px solid #a6a8b8;
|
994
|
+
position: relative;
|
995
|
+
top: 1px;
|
996
|
+
}
|
997
|
+
|
998
|
+
form.formtastic fieldset.editable-list ol li.template select {
|
999
|
+
display: inline;
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
form.formtastic fieldset.editable-list ol li.template span.handle {
|
1003
|
+
display: none;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
form.formtastic fieldset.editable-list ol li.template span.actions {
|
1007
|
+
width: auto;
|
1008
|
+
top: 10px;
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
form.formtastic fieldset.editable-list ol li.template span.actions a.remove {
|
1012
|
+
display: none;
|
1013
|
+
}
|
1014
|
+
|
1015
|
+
form.formtastic fieldset.editable-list ol li.template span.actions button {
|
1016
|
+
display: inline;
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
form.formtastic fieldset.editable-list ol li.template span.actions button span {
|
1020
|
+
font-size: 0.8em;
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
/* ___ editable-list (content type validations) ___ */
|
1024
|
+
|
1025
|
+
form.formtastic fieldset.validations ol li.added em.key {
|
1026
|
+
display: inline-block;
|
1027
|
+
position: relative;
|
1028
|
+
top: -1px;
|
1029
|
+
padding: 1px 5px 2px 5px;
|
1030
|
+
color: #17171D;
|
1031
|
+
font-size: 0.9em;
|
1032
|
+
font-weight: bold;
|
1033
|
+
font-style: normal;
|
1034
|
+
margin-left: 5px;
|
1035
|
+
width: 180px;
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
/* ___ my account ___ */
|
1039
|
+
|
1040
|
+
form.formtastic fieldset.language li.full span {
|
1041
|
+
margin: 0 20px;
|
1042
|
+
font-size: 0.8em;
|
1043
|
+
font-weight: bold;
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
form.formtastic fieldset.language li.full span img {
|
1047
|
+
position: relative;
|
1048
|
+
top: 6px;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
form.formtastic fieldset.language li.full span input {
|
1052
|
+
margin-left: 5px;
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
/* ___ membership ___ */
|
1056
|
+
|
1057
|
+
form.formtastic fieldset.email li.full input {
|
1058
|
+
margin-left: 20px;
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
/* ___ assets ___ */
|
1062
|
+
|
1063
|
+
.selector {
|
1064
|
+
position: relative;
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
.selector span.alt {
|
1068
|
+
position: absolute;
|
1069
|
+
top: 7px;
|
1070
|
+
right: 20px;
|
1071
|
+
color: #787a89;
|
1072
|
+
font-size: 0.7em;
|
1073
|
+
text-decoration: none;
|
1074
|
+
cursor: pointer;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
|
1078
|
+
form.formtastic fieldset.file li.full input {
|
1079
|
+
margin-left: 20px;
|
1080
|
+
}
|
1081
|
+
|
1082
|
+
form.formtastic fieldset.file li.full p.inline-errors { display: block !important; }
|
1083
|
+
|
1084
|
+
|
1085
|
+
form.formtastic fieldset.preview { position: relative; }
|
1086
|
+
|
1087
|
+
form.formtastic fieldset.preview li { text-align: center; position: static; }
|
1088
|
+
|
1089
|
+
form.formtastic fieldset.preview li .image {
|
1090
|
+
width: 870px;
|
1091
|
+
margin: 10px 20px 0px 20px;
|
1092
|
+
border: 4px solid white;
|
1093
|
+
background: transparent url(/images/admin/list/empty.png) repeat 0 0;
|
1094
|
+
overflow: hidden;
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
form.formtastic fieldset.preview li .inside {
|
1098
|
+
display: table-cell;
|
1099
|
+
vertical-align: middle;
|
1100
|
+
text-align: center;
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
form.formtastic fieldset.preview li img { }
|
1104
|
+
|
1105
|
+
|
1106
|
+
/* ___ main error message ___ */
|
1107
|
+
|
1108
|
+
div.form-errors p {
|
1109
|
+
background: #FFE5E5;
|
1110
|
+
color: #CE2525;
|
1111
|
+
font-size: 18px;
|
1112
|
+
font-weight: bold;
|
1113
|
+
padding: 10px;
|
1114
|
+
margin: 0px;
|
1115
|
+
text-align: center;
|
1116
|
+
}
|
1117
|
+
|
1118
|
+
div.formError {
|
1119
|
+
position: relative;
|
1120
|
+
top: -2px;
|
1121
|
+
display: inline;
|
1122
|
+
background: #CE2525 url(/images/admin/left_arrow_red.png) no-repeat 0px center;
|
1123
|
+
color: white;
|
1124
|
+
font-size: 12px;
|
1125
|
+
font-weight: normal;
|
1126
|
+
padding: 3px 10px 3px 20px;
|
1127
|
+
margin-left: 10px;
|
1128
|
+
}
|
1129
|
+
|
1130
|
+
div.fieldWithErrors { display: inline; }
|
1131
|
+
|
1132
|
+
|
1133
|
+
|
1134
|
+
/* ___ application messages ___ */
|
1135
|
+
|
1136
|
+
div.notice {
|
1137
|
+
background: transparent url(/images/admin/form/growl-notice.png) repeat-x 0 0;
|
1138
|
+
position: relative;
|
1139
|
+
width: 100%;
|
1140
|
+
height: 90px;
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
div.notice.error {
|
1144
|
+
background-image: url(/images/admin/form/growl-error.png);
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
div.notice p {
|
1148
|
+
position: relative;
|
1149
|
+
top: 35px;
|
1150
|
+
margin: 0px;
|
1151
|
+
text-align: center;
|
1152
|
+
font-size: 1.5em;
|
1153
|
+
text-shadow: 1px 1px 1px #333;
|
1154
|
+
color: #fff;
|
1155
|
+
}
|
1156
|
+
|
1157
|
+
/* ___ list ___ */
|
1158
|
+
|
1159
|
+
p.no-items {
|
1160
|
+
padding: 15px 0px;
|
1161
|
+
background: transparent url(/images/admin/list/none.png) no-repeat 0 0;
|
1162
|
+
text-align: center;
|
1163
|
+
color: #9d8963 !important;
|
1164
|
+
font-size: 1.1em !important;
|
1165
|
+
}
|
1166
|
+
|
1167
|
+
p.no-items a {
|
1168
|
+
color: #ff2900;
|
1169
|
+
text-decoration: none;
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
p.no-items a:hover {
|
1173
|
+
text-decoration: underline;
|
1174
|
+
}
|
1175
|
+
|
1176
|
+
ul.list {
|
1177
|
+
list-style: none;
|
1178
|
+
margin: 0px 0 20px 0;
|
1179
|
+
background: white;
|
1180
|
+
}
|
1181
|
+
|
1182
|
+
ul.list li {
|
1183
|
+
height: 31px;
|
1184
|
+
margin-bottom: 10px;
|
1185
|
+
position: relative;
|
1186
|
+
clear: both;
|
1187
|
+
background: transparent url(/images/admin/list/item.png) no-repeat 0 0;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
ul.list li em {
|
1191
|
+
display: block;
|
1192
|
+
float: left;
|
1193
|
+
background: transparent url(/images/admin/list/item-left.png) no-repeat left 0;
|
1194
|
+
height: 31px;
|
1195
|
+
width: 18px;
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
ul.list li strong a {
|
1199
|
+
position: relative;
|
1200
|
+
top: 2px;
|
1201
|
+
left: 15px;
|
1202
|
+
text-decoration: none;
|
1203
|
+
color: #1f82bc;
|
1204
|
+
font-size: 0.9em;
|
1205
|
+
}
|
1206
|
+
|
1207
|
+
ul.list.sortable li strong a { left: 10px; }
|
1208
|
+
|
1209
|
+
ul.list li strong a:hover { text-decoration: underline; }
|
1210
|
+
|
1211
|
+
ul.list li div.more {
|
1212
|
+
position: absolute;
|
1213
|
+
top: 3px;
|
1214
|
+
right: 15px;
|
1215
|
+
font-size: 0.7em;
|
1216
|
+
color: #8b8d9a;
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
ul.list li div.more a {
|
1220
|
+
margin-left: 10px;
|
1221
|
+
position: relative;
|
1222
|
+
top: 4px;
|
1223
|
+
}
|
1224
|
+
|
1225
|
+
ul.list li span.handle {
|
1226
|
+
position: relative;
|
1227
|
+
top: 5px;
|
1228
|
+
margin: 0 0 0 15px;
|
1229
|
+
cursor: move;
|
1230
|
+
}
|
1231
|
+
|
1232
|
+
/* ___ assets ___ */
|
1233
|
+
|
1234
|
+
ul.assets {
|
1235
|
+
list-style: none;
|
1236
|
+
margin: 0px;
|
1237
|
+
padding: 0px;
|
1238
|
+
}
|
1239
|
+
|
1240
|
+
ul.assets li.asset {
|
1241
|
+
position: relative;
|
1242
|
+
float: left;
|
1243
|
+
width: 139px;
|
1244
|
+
height: 140px;
|
1245
|
+
background: transparent url(/images/admin/list/thumb.png) no-repeat 0 0;
|
1246
|
+
margin: 0 17px 17px 0;
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
ul.assets li.asset.last {
|
1250
|
+
margin-right: 0px;
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
ul.assets li.asset h4 { margin: 0px; height: 30px; }
|
1254
|
+
|
1255
|
+
ul.assets li.asset h4 a {
|
1256
|
+
position: relative;
|
1257
|
+
top: 0px;
|
1258
|
+
left: 12px;
|
1259
|
+
font-weight: bold;
|
1260
|
+
font-size: 0.6em;
|
1261
|
+
color: #1f82bc;
|
1262
|
+
text-decoration: none;
|
1263
|
+
}
|
1264
|
+
|
1265
|
+
ul.assets li.asset h4 a:hover { text-decoration: underline; }
|
1266
|
+
|
1267
|
+
ul.assets li.asset div.image {
|
1268
|
+
width: 80px;
|
1269
|
+
height: 80px;
|
1270
|
+
border: 4px solid #fff;
|
1271
|
+
margin: 10px 0 0 24px;
|
1272
|
+
background: transparent url(/images/admin/list/empty.png) repeat 0 0;
|
1273
|
+
}
|
1274
|
+
|
1275
|
+
ul.assets li.asset div.image div.inside {
|
1276
|
+
display: table-cell;
|
1277
|
+
vertical-align: middle;
|
1278
|
+
text-align: center;
|
1279
|
+
width: 80px;
|
1280
|
+
height: 80px;
|
1281
|
+
}
|
1282
|
+
|
1283
|
+
ul.assets li.asset div.actions {
|
1284
|
+
position: absolute;
|
1285
|
+
top: 8px;
|
1286
|
+
right: 12px;
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
/* ___ asset collections ___ */
|
1290
|
+
|
1291
|
+
div#asset-uploader { display: inline-block; margin-left: 10px; }
|
1292
|
+
div#asset-uploader span.spinner { position: relative; top: -3px; display: none; }
|
1293
|
+
div#uploadAssetsInputQueue { display: none; }
|
1294
|
+
|
1295
|
+
/* ___ contents ___ */
|
1296
|
+
|
1297
|
+
#contents-list li { background: none; }
|
1298
|
+
|
1299
|
+
#contents-list.sortable li em {
|
1300
|
+
background-position: left -31px;
|
1301
|
+
cursor: move;
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
#contents-list li strong {
|
1305
|
+
margin-left: 18px;
|
1306
|
+
display: block;
|
1307
|
+
height: 31px;
|
1308
|
+
background: transparent url(/images/admin/list/item-right.png) no-repeat right 0;
|
1309
|
+
}
|
1310
|
+
|
1311
|
+
|
1312
|
+
/* ___ pages ___ */
|
1313
|
+
|
1314
|
+
#pages-list {
|
1315
|
+
list-style: none;
|
1316
|
+
margin: 0px 0 20px 0;
|
1317
|
+
background: white;
|
1318
|
+
}
|
1319
|
+
|
1320
|
+
#pages-list ul { list-style: none; margin: 10px 0 10px 40px; padding: 0; }
|
1321
|
+
|
1322
|
+
#pages-list li {
|
1323
|
+
margin-bottom: 10px;
|
1324
|
+
position: relative;
|
1325
|
+
clear: both;
|
1326
|
+
}
|
1327
|
+
|
1328
|
+
#pages-list li em {
|
1329
|
+
display: block;
|
1330
|
+
float: left;
|
1331
|
+
background: transparent url(/images/admin/list/item-left.png) no-repeat left 0;
|
1332
|
+
height: 31px;
|
1333
|
+
width: 18px;
|
1334
|
+
}
|
1335
|
+
|
1336
|
+
#pages-list ul.folder li em {
|
1337
|
+
background-position: left -31px;
|
1338
|
+
cursor: move;
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
#pages-list li .toggler {
|
1342
|
+
position: absolute;
|
1343
|
+
top: 9px;
|
1344
|
+
left: -15px;
|
1345
|
+
cursor: pointer;
|
1346
|
+
}
|
1347
|
+
|
1348
|
+
#pages-list li strong {
|
1349
|
+
margin-left: 18px;
|
1350
|
+
display: block;
|
1351
|
+
height: 31px;
|
1352
|
+
background: transparent url(/images/admin/list/item-right.png) no-repeat right 0;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
#pages-list li strong a {
|
1356
|
+
position: relative;
|
1357
|
+
top: 3px;
|
1358
|
+
text-decoration: none;
|
1359
|
+
color: #1f82bc;
|
1360
|
+
font-size: 0.9em;
|
1361
|
+
padding-left: 6px;
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
#pages-list li strong a:hover { text-decoration: underline; }
|
1365
|
+
|
1366
|
+
#pages-list li.hidden strong a { font-style: italic; font-weight: normal; }
|
1367
|
+
|
1368
|
+
#pages-list li .more {
|
1369
|
+
position: absolute;
|
1370
|
+
top: 3px;
|
1371
|
+
right: 20px;
|
1372
|
+
font-size: 0.7em;
|
1373
|
+
color: #8b8d9a;
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
#pages-list li .more a {
|
1377
|
+
position: relative;
|
1378
|
+
top: 3px;
|
1379
|
+
margin-left: 10px;
|
1380
|
+
outline: none;
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
#pages-list li.not-found { border-top: 1px dotted #bbbbbd; padding-top: 10px; margin-left: 0px; }
|
1384
|
+
#pages-list li.not-found .more { top: 16px; }
|
1385
|
+
|
1386
|
+
/* ___ Progress bar ___ */
|
1387
|
+
|
1388
|
+
#progressbar-wrapper { margin: 40px 0; height: 30px; }
|
1389
|
+
#progressbar-wrapper #progressbar { height: 100%; }
|
1390
|
+
|