atlas_assets 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +86 -0
- data/LICENSE +22 -0
- data/Procfile +1 -0
- data/README.md +36 -0
- data/Rakefile +16 -0
- data/_config.yml +13 -0
- data/atlas_assets.gemspec +21 -0
- data/config.ru +9 -0
- data/docs/.gitignore +1 -0
- data/docs/404.html +1 -0
- data/docs/_layouts/default.html +56 -0
- data/docs/_plugins/jekyll_assets.rb +3 -0
- data/docs/_posts/2013-05-17-buttons.md +43 -0
- data/docs/_posts/2013-05-17-flash.md +58 -0
- data/docs/_posts/2013-05-17-fonts.md +26 -0
- data/docs/_posts/2013-05-17-grid.md +60 -0
- data/docs/_posts/2013-05-17-helpers.md +9 -0
- data/docs/_posts/2013-05-17-icons.md +1089 -0
- data/docs/_posts/2013-05-17-lists.md +76 -0
- data/docs/_posts/2013-05-17-navbar.md +73 -0
- data/docs/_posts/2013-05-21-forms.md +423 -0
- data/docs/index.html +31 -0
- data/lib/assets/fonts/atlas.eot +0 -0
- data/lib/assets/fonts/atlas.svg +279 -0
- data/lib/assets/fonts/atlas.ttf +0 -0
- data/lib/assets/fonts/atlas.woff +0 -0
- data/lib/assets/javascripts/atlas_assets.js +9 -0
- data/lib/assets/javascripts/backbone.js +1572 -0
- data/lib/assets/javascripts/jquery.js +9405 -0
- data/lib/assets/javascripts/jquery_ujs.js +378 -0
- data/lib/assets/javascripts/keypress.js +20 -0
- data/lib/assets/javascripts/pusher.js +101 -0
- data/lib/assets/javascripts/setup.js +35 -0
- data/lib/assets/javascripts/string.js +912 -0
- data/lib/assets/javascripts/underscore.js +1228 -0
- data/lib/assets/stylesheets/atlas_assets.css +10 -0
- data/lib/assets/stylesheets/buttons.css.scss +56 -0
- data/lib/assets/stylesheets/flash.css.scss +32 -0
- data/lib/assets/stylesheets/fonts.css.scss +66 -0
- data/lib/assets/stylesheets/forms.css.scss +861 -0
- data/lib/assets/stylesheets/grid.css.scss +762 -0
- data/lib/assets/stylesheets/helpers.css.scss +55 -0
- data/lib/assets/stylesheets/icons.css.scss +823 -0
- data/lib/assets/stylesheets/lists.css.scss +73 -0
- data/lib/assets/stylesheets/navbar.css.scss +121 -0
- data/lib/assets/stylesheets/pre.css.scss +7 -0
- data/lib/atlas_assets/engine.rb +8 -0
- data/lib/atlas_assets/version.rb +5 -0
- data/lib/atlas_assets.rb +1 -0
- data/rails/init.rb +1 -0
- metadata +114 -0
@@ -0,0 +1,861 @@
|
|
1
|
+
form {
|
2
|
+
margin: 0 0 20px;
|
3
|
+
}
|
4
|
+
|
5
|
+
fieldset {
|
6
|
+
padding: 0;
|
7
|
+
margin: 0;
|
8
|
+
border: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
legend {
|
12
|
+
display: block;
|
13
|
+
width: 100%;
|
14
|
+
padding: 0;
|
15
|
+
margin-bottom: 20px;
|
16
|
+
font-size: 21px;
|
17
|
+
line-height: 40px;
|
18
|
+
color: #333333;
|
19
|
+
border: 0;
|
20
|
+
border-bottom: 1px solid #e5e5e5;
|
21
|
+
}
|
22
|
+
|
23
|
+
label,
|
24
|
+
input,
|
25
|
+
button,
|
26
|
+
select,
|
27
|
+
textarea {
|
28
|
+
font-size: 14px;
|
29
|
+
font-weight: normal;
|
30
|
+
line-height: 20px;
|
31
|
+
}
|
32
|
+
|
33
|
+
input,
|
34
|
+
button,
|
35
|
+
select,
|
36
|
+
textarea {
|
37
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
38
|
+
}
|
39
|
+
|
40
|
+
label {
|
41
|
+
display: block;
|
42
|
+
margin-bottom: 5px;
|
43
|
+
}
|
44
|
+
|
45
|
+
select,
|
46
|
+
textarea,
|
47
|
+
input[type="text"],
|
48
|
+
input[type="password"],
|
49
|
+
input[type="datetime"],
|
50
|
+
input[type="datetime-local"],
|
51
|
+
input[type="date"],
|
52
|
+
input[type="month"],
|
53
|
+
input[type="time"],
|
54
|
+
input[type="week"],
|
55
|
+
input[type="number"],
|
56
|
+
input[type="email"],
|
57
|
+
input[type="url"],
|
58
|
+
input[type="search"],
|
59
|
+
input[type="tel"],
|
60
|
+
input[type="color"],
|
61
|
+
.uneditable-input {
|
62
|
+
display: inline-block;
|
63
|
+
height: 20px;
|
64
|
+
padding: 4px 6px;
|
65
|
+
margin-bottom: 10px;
|
66
|
+
font-size: 14px;
|
67
|
+
line-height: 20px;
|
68
|
+
color: #555555;
|
69
|
+
vertical-align: middle;
|
70
|
+
-webkit-border-radius: 4px;
|
71
|
+
-moz-border-radius: 4px;
|
72
|
+
border-radius: 4px;
|
73
|
+
}
|
74
|
+
|
75
|
+
input,
|
76
|
+
textarea,
|
77
|
+
.uneditable-input {
|
78
|
+
width: 206px;
|
79
|
+
}
|
80
|
+
|
81
|
+
textarea {
|
82
|
+
height: auto;
|
83
|
+
}
|
84
|
+
|
85
|
+
textarea,
|
86
|
+
input[type="text"],
|
87
|
+
input[type="password"],
|
88
|
+
input[type="datetime"],
|
89
|
+
input[type="datetime-local"],
|
90
|
+
input[type="date"],
|
91
|
+
input[type="month"],
|
92
|
+
input[type="time"],
|
93
|
+
input[type="week"],
|
94
|
+
input[type="number"],
|
95
|
+
input[type="email"],
|
96
|
+
input[type="url"],
|
97
|
+
input[type="search"],
|
98
|
+
input[type="tel"],
|
99
|
+
input[type="color"],
|
100
|
+
.uneditable-input {
|
101
|
+
background-color: #ffffff;
|
102
|
+
border: 2px solid #e5e5e5;
|
103
|
+
}
|
104
|
+
|
105
|
+
textarea:focus,
|
106
|
+
input[type="text"]:focus,
|
107
|
+
input[type="password"]:focus,
|
108
|
+
input[type="datetime"]:focus,
|
109
|
+
input[type="datetime-local"]:focus,
|
110
|
+
input[type="date"]:focus,
|
111
|
+
input[type="month"]:focus,
|
112
|
+
input[type="time"]:focus,
|
113
|
+
input[type="week"]:focus,
|
114
|
+
input[type="number"]:focus,
|
115
|
+
input[type="email"]:focus,
|
116
|
+
input[type="url"]:focus,
|
117
|
+
input[type="search"]:focus,
|
118
|
+
input[type="tel"]:focus,
|
119
|
+
input[type="color"]:focus,
|
120
|
+
.uneditable-input:focus {
|
121
|
+
border-color: #a9cadf;
|
122
|
+
outline: 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
input[type="radio"],
|
126
|
+
input[type="checkbox"] {
|
127
|
+
margin: 4px 0 0;
|
128
|
+
margin-top: 1px \9;
|
129
|
+
*margin-top: 0;
|
130
|
+
line-height: normal;
|
131
|
+
}
|
132
|
+
|
133
|
+
input[type="file"],
|
134
|
+
input[type="image"],
|
135
|
+
input[type="submit"],
|
136
|
+
input[type="reset"],
|
137
|
+
input[type="button"],
|
138
|
+
input[type="radio"],
|
139
|
+
input[type="checkbox"] {
|
140
|
+
width: auto;
|
141
|
+
}
|
142
|
+
|
143
|
+
select,
|
144
|
+
input[type="file"] {
|
145
|
+
height: 30px;
|
146
|
+
/* In IE7, the height of the select element cannot be changed by height, only font-size */
|
147
|
+
*margin-top: 4px;
|
148
|
+
/* For IE7, add top margin to align select with labels */
|
149
|
+
line-height: 30px;
|
150
|
+
}
|
151
|
+
|
152
|
+
select {
|
153
|
+
width: 220px;
|
154
|
+
background-color: #ffffff;
|
155
|
+
border: 2px solid #e5e5e5;
|
156
|
+
}
|
157
|
+
|
158
|
+
select[multiple],
|
159
|
+
select[size] {
|
160
|
+
height: auto;
|
161
|
+
}
|
162
|
+
|
163
|
+
select:focus,
|
164
|
+
input[type="file"]:focus,
|
165
|
+
input[type="radio"]:focus,
|
166
|
+
input[type="checkbox"]:focus {
|
167
|
+
outline: 0;
|
168
|
+
border-color: #a9cadf;
|
169
|
+
}
|
170
|
+
|
171
|
+
.uneditable-input,
|
172
|
+
.uneditable-textarea {
|
173
|
+
color: #999999;
|
174
|
+
cursor: not-allowed;
|
175
|
+
background-color: #e1e1e1;
|
176
|
+
border-color: #e1e1e1;
|
177
|
+
}
|
178
|
+
|
179
|
+
.uneditable-input {
|
180
|
+
overflow: hidden;
|
181
|
+
white-space: nowrap;
|
182
|
+
}
|
183
|
+
|
184
|
+
.uneditable-textarea {
|
185
|
+
width: auto;
|
186
|
+
height: auto;
|
187
|
+
}
|
188
|
+
|
189
|
+
input:-moz-placeholder,
|
190
|
+
textarea:-moz-placeholder {
|
191
|
+
color: #999999;
|
192
|
+
}
|
193
|
+
|
194
|
+
input:-ms-input-placeholder,
|
195
|
+
textarea:-ms-input-placeholder {
|
196
|
+
color: #999999;
|
197
|
+
}
|
198
|
+
|
199
|
+
input::-webkit-input-placeholder,
|
200
|
+
textarea::-webkit-input-placeholder {
|
201
|
+
color: #999999;
|
202
|
+
}
|
203
|
+
|
204
|
+
.radio,
|
205
|
+
.checkbox {
|
206
|
+
min-height: 20px;
|
207
|
+
padding-left: 20px;
|
208
|
+
}
|
209
|
+
|
210
|
+
.radio input[type="radio"],
|
211
|
+
.checkbox input[type="checkbox"] {
|
212
|
+
float: left;
|
213
|
+
margin-left: -20px;
|
214
|
+
}
|
215
|
+
|
216
|
+
.controls > .radio:first-child,
|
217
|
+
.controls > .checkbox:first-child {
|
218
|
+
padding-top: 5px;
|
219
|
+
}
|
220
|
+
|
221
|
+
.radio.inline,
|
222
|
+
.checkbox.inline {
|
223
|
+
display: inline-block;
|
224
|
+
padding-top: 5px;
|
225
|
+
margin-bottom: 0;
|
226
|
+
vertical-align: middle;
|
227
|
+
}
|
228
|
+
|
229
|
+
.radio.inline + .radio.inline,
|
230
|
+
.checkbox.inline + .checkbox.inline {
|
231
|
+
margin-left: 10px;
|
232
|
+
}
|
233
|
+
|
234
|
+
.input-mini {
|
235
|
+
width: 60px;
|
236
|
+
}
|
237
|
+
|
238
|
+
.input-small {
|
239
|
+
width: 90px;
|
240
|
+
}
|
241
|
+
|
242
|
+
.input-medium {
|
243
|
+
width: 150px;
|
244
|
+
}
|
245
|
+
|
246
|
+
.input-large {
|
247
|
+
width: 210px;
|
248
|
+
}
|
249
|
+
|
250
|
+
.input-xlarge {
|
251
|
+
width: 270px;
|
252
|
+
}
|
253
|
+
|
254
|
+
.input-xxlarge {
|
255
|
+
width: 530px;
|
256
|
+
}
|
257
|
+
|
258
|
+
input[class*="span"],
|
259
|
+
select[class*="span"],
|
260
|
+
textarea[class*="span"],
|
261
|
+
.uneditable-input[class*="span"],
|
262
|
+
.row-fluid input[class*="span"],
|
263
|
+
.row-fluid select[class*="span"],
|
264
|
+
.row-fluid textarea[class*="span"],
|
265
|
+
.row-fluid .uneditable-input[class*="span"] {
|
266
|
+
float: none;
|
267
|
+
margin-left: 0;
|
268
|
+
}
|
269
|
+
|
270
|
+
.input-append input[class*="span"],
|
271
|
+
.input-append .uneditable-input[class*="span"],
|
272
|
+
.input-prepend input[class*="span"],
|
273
|
+
.input-prepend .uneditable-input[class*="span"],
|
274
|
+
.row-fluid input[class*="span"],
|
275
|
+
.row-fluid select[class*="span"],
|
276
|
+
.row-fluid textarea[class*="span"],
|
277
|
+
.row-fluid .uneditable-input[class*="span"],
|
278
|
+
.row-fluid .input-prepend [class*="span"],
|
279
|
+
.row-fluid .input-append [class*="span"] {
|
280
|
+
display: inline-block;
|
281
|
+
}
|
282
|
+
|
283
|
+
input,
|
284
|
+
textarea,
|
285
|
+
.uneditable-input {
|
286
|
+
margin-left: 0;
|
287
|
+
}
|
288
|
+
|
289
|
+
.controls-row [class*="span"] + [class*="span"] {
|
290
|
+
margin-left: 20px;
|
291
|
+
}
|
292
|
+
|
293
|
+
input.span12,
|
294
|
+
textarea.span12,
|
295
|
+
.uneditable-input.span12 {
|
296
|
+
width: 926px;
|
297
|
+
}
|
298
|
+
|
299
|
+
input.span11,
|
300
|
+
textarea.span11,
|
301
|
+
.uneditable-input.span11 {
|
302
|
+
width: 846px;
|
303
|
+
}
|
304
|
+
|
305
|
+
input.span10,
|
306
|
+
textarea.span10,
|
307
|
+
.uneditable-input.span10 {
|
308
|
+
width: 766px;
|
309
|
+
}
|
310
|
+
|
311
|
+
input.span9,
|
312
|
+
textarea.span9,
|
313
|
+
.uneditable-input.span9 {
|
314
|
+
width: 686px;
|
315
|
+
}
|
316
|
+
|
317
|
+
input.span8,
|
318
|
+
textarea.span8,
|
319
|
+
.uneditable-input.span8 {
|
320
|
+
width: 606px;
|
321
|
+
}
|
322
|
+
|
323
|
+
input.span7,
|
324
|
+
textarea.span7,
|
325
|
+
.uneditable-input.span7 {
|
326
|
+
width: 526px;
|
327
|
+
}
|
328
|
+
|
329
|
+
input.span6,
|
330
|
+
textarea.span6,
|
331
|
+
.uneditable-input.span6 {
|
332
|
+
width: 446px;
|
333
|
+
}
|
334
|
+
|
335
|
+
input.span5,
|
336
|
+
textarea.span5,
|
337
|
+
.uneditable-input.span5 {
|
338
|
+
width: 366px;
|
339
|
+
}
|
340
|
+
|
341
|
+
input.span4,
|
342
|
+
textarea.span4,
|
343
|
+
.uneditable-input.span4 {
|
344
|
+
width: 286px;
|
345
|
+
}
|
346
|
+
|
347
|
+
input.span3,
|
348
|
+
textarea.span3,
|
349
|
+
.uneditable-input.span3 {
|
350
|
+
width: 206px;
|
351
|
+
}
|
352
|
+
|
353
|
+
input.span2,
|
354
|
+
textarea.span2,
|
355
|
+
.uneditable-input.span2 {
|
356
|
+
width: 126px;
|
357
|
+
}
|
358
|
+
|
359
|
+
input.span1,
|
360
|
+
textarea.span1,
|
361
|
+
.uneditable-input.span1 {
|
362
|
+
width: 46px;
|
363
|
+
}
|
364
|
+
|
365
|
+
.controls-row {
|
366
|
+
*zoom: 1;
|
367
|
+
}
|
368
|
+
|
369
|
+
.controls-row:before,
|
370
|
+
.controls-row:after {
|
371
|
+
display: table;
|
372
|
+
line-height: 0;
|
373
|
+
content: "";
|
374
|
+
}
|
375
|
+
|
376
|
+
.controls-row:after {
|
377
|
+
clear: both;
|
378
|
+
}
|
379
|
+
|
380
|
+
.controls-row [class*="span"],
|
381
|
+
.row-fluid .controls-row [class*="span"] {
|
382
|
+
float: left;
|
383
|
+
}
|
384
|
+
|
385
|
+
.controls-row .checkbox[class*="span"],
|
386
|
+
.controls-row .radio[class*="span"] {
|
387
|
+
padding-top: 5px;
|
388
|
+
}
|
389
|
+
|
390
|
+
input[disabled],
|
391
|
+
select[disabled],
|
392
|
+
textarea[disabled],
|
393
|
+
input[readonly],
|
394
|
+
select[readonly],
|
395
|
+
textarea[readonly] {
|
396
|
+
cursor: not-allowed;
|
397
|
+
background-color: #e1e1e1;
|
398
|
+
border-color: #e1e1e1;
|
399
|
+
}
|
400
|
+
|
401
|
+
input[type="radio"][disabled],
|
402
|
+
input[type="checkbox"][disabled],
|
403
|
+
input[type="radio"][readonly],
|
404
|
+
input[type="checkbox"][readonly] {
|
405
|
+
background-color: transparent;
|
406
|
+
}
|
407
|
+
|
408
|
+
.control-group.warning .control-label,
|
409
|
+
.control-group.warning .help-block,
|
410
|
+
.control-group.warning .help-inline {
|
411
|
+
color: #c09853;
|
412
|
+
}
|
413
|
+
|
414
|
+
.control-group.warning .checkbox,
|
415
|
+
.control-group.warning .radio,
|
416
|
+
.control-group.warning input,
|
417
|
+
.control-group.warning select,
|
418
|
+
.control-group.warning textarea {
|
419
|
+
color: #c09853;
|
420
|
+
}
|
421
|
+
|
422
|
+
.control-group.warning input,
|
423
|
+
.control-group.warning select,
|
424
|
+
.control-group.warning textarea {
|
425
|
+
border-color: #c09853;
|
426
|
+
}
|
427
|
+
|
428
|
+
.control-group.warning input:focus,
|
429
|
+
.control-group.warning select:focus,
|
430
|
+
.control-group.warning textarea:focus {
|
431
|
+
border-color: #a47e3c;
|
432
|
+
}
|
433
|
+
|
434
|
+
.control-group.warning .input-prepend .add-on,
|
435
|
+
.control-group.warning .input-append .add-on {
|
436
|
+
color: #c09853;
|
437
|
+
background-color: #fcf8e3;
|
438
|
+
border-color: #c09853;
|
439
|
+
}
|
440
|
+
|
441
|
+
.control-group.error .control-label,
|
442
|
+
.control-group.error .help-block,
|
443
|
+
.control-group.error .help-inline {
|
444
|
+
color: #b94a48;
|
445
|
+
}
|
446
|
+
|
447
|
+
.control-group.error .checkbox,
|
448
|
+
.control-group.error .radio,
|
449
|
+
.control-group.error input,
|
450
|
+
.control-group.error select,
|
451
|
+
.control-group.error textarea {
|
452
|
+
color: #b94a48;
|
453
|
+
}
|
454
|
+
|
455
|
+
.control-group.error input,
|
456
|
+
.control-group.error select,
|
457
|
+
.control-group.error textarea {
|
458
|
+
border-color: #b94a48;
|
459
|
+
}
|
460
|
+
|
461
|
+
.control-group.error input:focus,
|
462
|
+
.control-group.error select:focus,
|
463
|
+
.control-group.error textarea:focus {
|
464
|
+
border-color: #953b39;
|
465
|
+
}
|
466
|
+
|
467
|
+
.control-group.error .input-prepend .add-on,
|
468
|
+
.control-group.error .input-append .add-on {
|
469
|
+
color: #b94a48;
|
470
|
+
background-color: #f2dede;
|
471
|
+
border-color: #b94a48;
|
472
|
+
}
|
473
|
+
|
474
|
+
.control-group.success .control-label,
|
475
|
+
.control-group.success .help-block,
|
476
|
+
.control-group.success .help-inline {
|
477
|
+
color: #468847;
|
478
|
+
}
|
479
|
+
|
480
|
+
.control-group.success .checkbox,
|
481
|
+
.control-group.success .radio,
|
482
|
+
.control-group.success input,
|
483
|
+
.control-group.success select,
|
484
|
+
.control-group.success textarea {
|
485
|
+
color: #468847;
|
486
|
+
}
|
487
|
+
|
488
|
+
.control-group.success input,
|
489
|
+
.control-group.success select,
|
490
|
+
.control-group.success textarea {
|
491
|
+
border-color: #468847;
|
492
|
+
}
|
493
|
+
|
494
|
+
.control-group.success input:focus,
|
495
|
+
.control-group.success select:focus,
|
496
|
+
.control-group.success textarea:focus {
|
497
|
+
border-color: #356635;
|
498
|
+
}
|
499
|
+
|
500
|
+
.control-group.success .input-prepend .add-on,
|
501
|
+
.control-group.success .input-append .add-on {
|
502
|
+
color: #468847;
|
503
|
+
background-color: #dff0d8;
|
504
|
+
border-color: #468847;
|
505
|
+
}
|
506
|
+
|
507
|
+
.control-group.info .control-label,
|
508
|
+
.control-group.info .help-block,
|
509
|
+
.control-group.info .help-inline {
|
510
|
+
color: #3a87ad;
|
511
|
+
}
|
512
|
+
|
513
|
+
.control-group.info .checkbox,
|
514
|
+
.control-group.info .radio,
|
515
|
+
.control-group.info input,
|
516
|
+
.control-group.info select,
|
517
|
+
.control-group.info textarea {
|
518
|
+
color: #3a87ad;
|
519
|
+
}
|
520
|
+
|
521
|
+
.control-group.info input,
|
522
|
+
.control-group.info select,
|
523
|
+
.control-group.info textarea {
|
524
|
+
border-color: #3a87ad;
|
525
|
+
}
|
526
|
+
|
527
|
+
.control-group.info input:focus,
|
528
|
+
.control-group.info select:focus,
|
529
|
+
.control-group.info textarea:focus {
|
530
|
+
border-color: #2d6987;
|
531
|
+
}
|
532
|
+
|
533
|
+
.control-group.info .input-prepend .add-on,
|
534
|
+
.control-group.info .input-append .add-on {
|
535
|
+
color: #3a87ad;
|
536
|
+
background-color: #d9edf7;
|
537
|
+
border-color: #3a87ad;
|
538
|
+
}
|
539
|
+
|
540
|
+
input:focus:invalid,
|
541
|
+
textarea:focus:invalid,
|
542
|
+
select:focus:invalid {
|
543
|
+
color: #b94a48;
|
544
|
+
border-color: #ee5f5b;
|
545
|
+
}
|
546
|
+
|
547
|
+
input:focus:invalid:focus,
|
548
|
+
textarea:focus:invalid:focus,
|
549
|
+
select:focus:invalid:focus {
|
550
|
+
border-color: #e9322d;
|
551
|
+
}
|
552
|
+
|
553
|
+
.form-actions {
|
554
|
+
padding: 19px 20px 20px;
|
555
|
+
margin-top: 20px;
|
556
|
+
margin-bottom: 20px;
|
557
|
+
background-color: #f5f5f5;
|
558
|
+
border-top: 1px solid #e5e5e5;
|
559
|
+
*zoom: 1;
|
560
|
+
}
|
561
|
+
|
562
|
+
.form-actions:before,
|
563
|
+
.form-actions:after {
|
564
|
+
display: table;
|
565
|
+
line-height: 0;
|
566
|
+
content: "";
|
567
|
+
}
|
568
|
+
|
569
|
+
.form-actions:after {
|
570
|
+
clear: both;
|
571
|
+
}
|
572
|
+
|
573
|
+
.help-block,
|
574
|
+
.help-inline {
|
575
|
+
color: #595959;
|
576
|
+
}
|
577
|
+
|
578
|
+
.help-block {
|
579
|
+
display: block;
|
580
|
+
margin-bottom: 10px;
|
581
|
+
}
|
582
|
+
|
583
|
+
.help-inline {
|
584
|
+
display: inline-block;
|
585
|
+
*display: inline;
|
586
|
+
padding-left: 5px;
|
587
|
+
vertical-align: middle;
|
588
|
+
*zoom: 1;
|
589
|
+
}
|
590
|
+
|
591
|
+
.input-append,
|
592
|
+
.input-prepend {
|
593
|
+
display: inline-block;
|
594
|
+
margin-bottom: 10px;
|
595
|
+
font-size: 0;
|
596
|
+
white-space: nowrap;
|
597
|
+
vertical-align: middle;
|
598
|
+
}
|
599
|
+
|
600
|
+
.input-append input,
|
601
|
+
.input-prepend input,
|
602
|
+
.input-append select,
|
603
|
+
.input-prepend select,
|
604
|
+
.input-append .uneditable-input,
|
605
|
+
.input-prepend .uneditable-input,
|
606
|
+
.input-append .popover,
|
607
|
+
.input-prepend .popover {
|
608
|
+
font-size: 14px;
|
609
|
+
}
|
610
|
+
|
611
|
+
.input-append input,
|
612
|
+
.input-prepend input,
|
613
|
+
.input-append select,
|
614
|
+
.input-prepend select,
|
615
|
+
.input-append .uneditable-input,
|
616
|
+
.input-prepend .uneditable-input {
|
617
|
+
position: relative;
|
618
|
+
margin-bottom: 0;
|
619
|
+
*margin-left: 0;
|
620
|
+
vertical-align: top;
|
621
|
+
-webkit-border-radius: 0 4px 4px 0;
|
622
|
+
-moz-border-radius: 0 4px 4px 0;
|
623
|
+
border-radius: 0 4px 4px 0;
|
624
|
+
}
|
625
|
+
|
626
|
+
.input-append input:focus,
|
627
|
+
.input-prepend input:focus,
|
628
|
+
.input-append select:focus,
|
629
|
+
.input-prepend select:focus,
|
630
|
+
.input-append .uneditable-input:focus,
|
631
|
+
.input-prepend .uneditable-input:focus {
|
632
|
+
z-index: 2;
|
633
|
+
}
|
634
|
+
|
635
|
+
.input-append .add-on,
|
636
|
+
.input-prepend .add-on {
|
637
|
+
display: inline-block;
|
638
|
+
width: auto;
|
639
|
+
height: 20px;
|
640
|
+
min-width: 16px;
|
641
|
+
padding: 4px 5px;
|
642
|
+
font-size: 14px;
|
643
|
+
font-weight: normal;
|
644
|
+
line-height: 20px;
|
645
|
+
text-align: center;
|
646
|
+
background-color: #e5e5e5;
|
647
|
+
border: 2px solid #e5e5e5;
|
648
|
+
color: #999999;
|
649
|
+
}
|
650
|
+
|
651
|
+
.input-append .add-on,
|
652
|
+
.input-prepend .add-on,
|
653
|
+
.input-append .btn,
|
654
|
+
.input-prepend .btn {
|
655
|
+
vertical-align: top;
|
656
|
+
-webkit-border-radius: 0;
|
657
|
+
-moz-border-radius: 0;
|
658
|
+
border-radius: 0;
|
659
|
+
}
|
660
|
+
|
661
|
+
.input-append .btn,
|
662
|
+
.input-prepend .btn {
|
663
|
+
background-color: #e5e5e5;
|
664
|
+
border: 2px solid #e5e5e5;
|
665
|
+
color: #999999;
|
666
|
+
margin: 0;
|
667
|
+
border-left: 0;
|
668
|
+
}
|
669
|
+
|
670
|
+
.input-append .active,
|
671
|
+
.input-prepend .active {
|
672
|
+
background-color: #a9dba9;
|
673
|
+
border-color: #46a546;
|
674
|
+
}
|
675
|
+
|
676
|
+
.input-prepend .add-on,
|
677
|
+
.input-prepend .btn {
|
678
|
+
margin-right: -1px;
|
679
|
+
}
|
680
|
+
|
681
|
+
.input-prepend .add-on:first-child,
|
682
|
+
.input-prepend .btn:first-child {
|
683
|
+
-webkit-border-radius: 4px 0 0 4px;
|
684
|
+
-moz-border-radius: 4px 0 0 4px;
|
685
|
+
border-radius: 4px 0 0 4px;
|
686
|
+
}
|
687
|
+
|
688
|
+
.input-append input,
|
689
|
+
.input-append select,
|
690
|
+
.input-append .uneditable-input {
|
691
|
+
-webkit-border-radius: 4px 0 0 4px;
|
692
|
+
-moz-border-radius: 4px 0 0 4px;
|
693
|
+
border-radius: 4px 0 0 4px;
|
694
|
+
}
|
695
|
+
|
696
|
+
.input-append input + .btn-group .btn:last-child,
|
697
|
+
.input-append select + .btn-group .btn:last-child,
|
698
|
+
.input-append .uneditable-input + .btn-group .btn:last-child {
|
699
|
+
-webkit-border-radius: 0 4px 4px 0;
|
700
|
+
-moz-border-radius: 0 4px 4px 0;
|
701
|
+
border-radius: 0 4px 4px 0;
|
702
|
+
}
|
703
|
+
|
704
|
+
.input-append .add-on,
|
705
|
+
.input-append .btn,
|
706
|
+
.input-append .btn-group {
|
707
|
+
margin-left: -1px;
|
708
|
+
}
|
709
|
+
|
710
|
+
.input-append .add-on:last-child,
|
711
|
+
.input-append .btn:last-child {
|
712
|
+
-webkit-border-radius: 0 4px 4px 0;
|
713
|
+
-moz-border-radius: 0 4px 4px 0;
|
714
|
+
border-radius: 0 4px 4px 0;
|
715
|
+
}
|
716
|
+
|
717
|
+
.input-prepend.input-append input,
|
718
|
+
.input-prepend.input-append select,
|
719
|
+
.input-prepend.input-append .uneditable-input {
|
720
|
+
-webkit-border-radius: 0;
|
721
|
+
-moz-border-radius: 0;
|
722
|
+
border-radius: 0;
|
723
|
+
}
|
724
|
+
|
725
|
+
.input-prepend.input-append input + .btn-group .btn,
|
726
|
+
.input-prepend.input-append select + .btn-group .btn,
|
727
|
+
.input-prepend.input-append .uneditable-input + .btn-group .btn {
|
728
|
+
-webkit-border-radius: 0 4px 4px 0;
|
729
|
+
-moz-border-radius: 0 4px 4px 0;
|
730
|
+
border-radius: 0 4px 4px 0;
|
731
|
+
}
|
732
|
+
|
733
|
+
.input-prepend.input-append .add-on:first-child,
|
734
|
+
.input-prepend.input-append .btn:first-child {
|
735
|
+
margin-right: -1px;
|
736
|
+
-webkit-border-radius: 4px 0 0 4px;
|
737
|
+
-moz-border-radius: 4px 0 0 4px;
|
738
|
+
border-radius: 4px 0 0 4px;
|
739
|
+
}
|
740
|
+
|
741
|
+
.input-prepend.input-append .add-on:last-child,
|
742
|
+
.input-prepend.input-append .btn:last-child {
|
743
|
+
margin-left: -1px;
|
744
|
+
-webkit-border-radius: 0 4px 4px 0;
|
745
|
+
-moz-border-radius: 0 4px 4px 0;
|
746
|
+
border-radius: 0 4px 4px 0;
|
747
|
+
}
|
748
|
+
|
749
|
+
.input-prepend.input-append .btn-group:first-child {
|
750
|
+
margin-left: 0;
|
751
|
+
}
|
752
|
+
|
753
|
+
.form-inline input,
|
754
|
+
.form-horizontal input,
|
755
|
+
.form-inline textarea,
|
756
|
+
.form-horizontal textarea,
|
757
|
+
.form-inline select,
|
758
|
+
.form-horizontal select,
|
759
|
+
.form-inline .help-inline,
|
760
|
+
.form-horizontal .help-inline,
|
761
|
+
.form-inline .uneditable-input,
|
762
|
+
.form-horizontal .uneditable-input,
|
763
|
+
.form-inline .input-prepend,
|
764
|
+
.form-horizontal .input-prepend,
|
765
|
+
.form-inline .input-append,
|
766
|
+
.form-horizontal .input-append {
|
767
|
+
display: inline-block;
|
768
|
+
*display: inline;
|
769
|
+
margin-bottom: 0;
|
770
|
+
vertical-align: middle;
|
771
|
+
*zoom: 1;
|
772
|
+
}
|
773
|
+
|
774
|
+
.form-inline .hide,
|
775
|
+
.form-horizontal .hide {
|
776
|
+
display: none;
|
777
|
+
}
|
778
|
+
|
779
|
+
.form-inline label,
|
780
|
+
.form-inline .btn-group {
|
781
|
+
display: inline-block;
|
782
|
+
}
|
783
|
+
|
784
|
+
.form-inline .input-append,
|
785
|
+
.form-inline .input-prepend {
|
786
|
+
margin-bottom: 0;
|
787
|
+
}
|
788
|
+
|
789
|
+
.form-inline .radio,
|
790
|
+
.form-inline .checkbox {
|
791
|
+
padding-left: 0;
|
792
|
+
margin-bottom: 0;
|
793
|
+
vertical-align: middle;
|
794
|
+
}
|
795
|
+
|
796
|
+
.form-inline .radio input[type="radio"],
|
797
|
+
.form-inline .checkbox input[type="checkbox"] {
|
798
|
+
float: left;
|
799
|
+
margin-right: 3px;
|
800
|
+
margin-left: 0;
|
801
|
+
}
|
802
|
+
|
803
|
+
.control-group {
|
804
|
+
margin-bottom: 10px;
|
805
|
+
}
|
806
|
+
|
807
|
+
legend + .control-group {
|
808
|
+
margin-top: 20px;
|
809
|
+
-webkit-margin-top-collapse: separate;
|
810
|
+
}
|
811
|
+
|
812
|
+
.form-horizontal .control-group {
|
813
|
+
margin-bottom: 20px;
|
814
|
+
*zoom: 1;
|
815
|
+
}
|
816
|
+
|
817
|
+
.form-horizontal .control-group:before,
|
818
|
+
.form-horizontal .control-group:after {
|
819
|
+
display: table;
|
820
|
+
line-height: 0;
|
821
|
+
content: "";
|
822
|
+
}
|
823
|
+
|
824
|
+
.form-horizontal .control-group:after {
|
825
|
+
clear: both;
|
826
|
+
}
|
827
|
+
|
828
|
+
.form-horizontal .control-label {
|
829
|
+
float: left;
|
830
|
+
width: 160px;
|
831
|
+
padding-top: 5px;
|
832
|
+
text-align: right;
|
833
|
+
}
|
834
|
+
|
835
|
+
.form-horizontal .controls {
|
836
|
+
*display: inline-block;
|
837
|
+
*padding-left: 20px;
|
838
|
+
margin-left: 180px;
|
839
|
+
*margin-left: 0;
|
840
|
+
}
|
841
|
+
|
842
|
+
.form-horizontal .controls:first-child {
|
843
|
+
*padding-left: 180px;
|
844
|
+
}
|
845
|
+
|
846
|
+
.form-horizontal .help-block {
|
847
|
+
margin-bottom: 0;
|
848
|
+
}
|
849
|
+
|
850
|
+
.form-horizontal input + .help-block,
|
851
|
+
.form-horizontal select + .help-block,
|
852
|
+
.form-horizontal textarea + .help-block,
|
853
|
+
.form-horizontal .uneditable-input + .help-block,
|
854
|
+
.form-horizontal .input-prepend + .help-block,
|
855
|
+
.form-horizontal .input-append + .help-block {
|
856
|
+
margin-top: 10px;
|
857
|
+
}
|
858
|
+
|
859
|
+
.form-horizontal .form-actions {
|
860
|
+
padding-left: 180px;
|
861
|
+
}
|