wysihtml5n-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/LICENSE +20 -0
  2. data/README.md +57 -0
  3. data/lib/wysihtml5n-rails.rb +6 -0
  4. data/lib/wysihtml5n/rails.rb +2 -0
  5. data/lib/wysihtml5n/rails/engine.rb +10 -0
  6. data/lib/wysihtml5n/rails/version.rb +5 -0
  7. data/test/cases/usage_css_spec.rb +57 -0
  8. data/test/cases/usage_js_spec.rb +33 -0
  9. data/test/dummy/README.rdoc +261 -0
  10. data/test/dummy/Rakefile +7 -0
  11. data/test/dummy/app/assets/javascripts/application.js +3 -0
  12. data/test/dummy/app/assets/javascripts/individual.js +3 -0
  13. data/test/dummy/app/assets/stylesheets/application.css.scss +3 -0
  14. data/test/dummy/app/assets/stylesheets/individual.css.scss +3 -0
  15. data/test/dummy/app/assets/stylesheets/sprockets.css +3 -0
  16. data/test/dummy/app/controllers/application_controller.rb +3 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/test/dummy/config.ru +4 -0
  20. data/test/dummy/config/application.rb +69 -0
  21. data/test/dummy/config/boot.rb +10 -0
  22. data/test/dummy/config/environment.rb +5 -0
  23. data/test/dummy/config/environments/development.rb +31 -0
  24. data/test/dummy/config/environments/production.rb +64 -0
  25. data/test/dummy/config/environments/test.rb +35 -0
  26. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  27. data/test/dummy/config/initializers/inflections.rb +15 -0
  28. data/test/dummy/config/initializers/mime_types.rb +5 -0
  29. data/test/dummy/config/initializers/secret_token.rb +7 -0
  30. data/test/dummy/config/initializers/session_store.rb +8 -0
  31. data/test/dummy/config/initializers/wrap_parameters.rb +10 -0
  32. data/test/dummy/config/locales/en.yml +5 -0
  33. data/test/dummy/config/routes.rb +58 -0
  34. data/test/dummy/log/test.log +224 -0
  35. data/test/dummy/public/404.html +26 -0
  36. data/test/dummy/public/422.html +26 -0
  37. data/test/dummy/public/500.html +25 -0
  38. data/test/dummy/public/favicon.ico +0 -0
  39. data/test/dummy/script/rails +6 -0
  40. data/test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/application.css.scssc +0 -0
  41. data/test/dummy/tmp/cache/sass/5338c0058b360de616e31cc6c7da71b4f9557c8f/individual.css.scssc +0 -0
  42. data/test/dummy/tmp/cache/sass/960125ced7e54163fe33c2547bbd2af7f2929975/wysihtml5n.css.scssc +0 -0
  43. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_bootstrap.scssc +0 -0
  44. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_editor.scssc +0 -0
  45. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/_font-awesome.scssc +0 -0
  46. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/bootstrap.scssc +0 -0
  47. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/editor.scssc +0 -0
  48. data/test/dummy/tmp/cache/sass/e2cd63e71b626fbbfe6aeea51f81580fd02e0076/font-awesome.scssc +0 -0
  49. data/test/spec_helper.rb +12 -0
  50. data/test/support/helpers.rb +33 -0
  51. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.eot +0 -0
  52. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.svg +255 -0
  53. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.ttf +0 -0
  54. data/vendor/assets/fonts/wysihtml5n/fontawesome-webfont.woff +0 -0
  55. data/vendor/assets/images/wysihtml5n/Jcrop.gif +0 -0
  56. data/vendor/assets/javascripts/wysihtml5n.js +3 -0
  57. data/vendor/assets/javascripts/wysihtml5n/jcrop.js +1695 -0
  58. data/vendor/assets/javascripts/wysihtml5n/wysihtml5-0.3.0.js +9531 -0
  59. data/vendor/assets/javascripts/wysihtml5n/wysihtml5-enhanced.js +783 -0
  60. data/vendor/assets/stylesheets/wysihtml5n.css.scss +3 -0
  61. data/vendor/assets/stylesheets/wysihtml5n/_bootstrap.scss +1692 -0
  62. data/vendor/assets/stylesheets/wysihtml5n/_editor.scss +115 -0
  63. data/vendor/assets/stylesheets/wysihtml5n/_font-awesome.scss +303 -0
  64. metadata +223 -0
@@ -0,0 +1,3 @@
1
+ @import 'wysihtml5n/bootstrap';
2
+ @import 'wysihtml5n/editor';
3
+ @import 'wysihtml5n/font-awesome';
@@ -0,0 +1,1692 @@
1
+ /*!
2
+ * Bootstrap v2.0.4
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+ .clearfix {
11
+ *zoom: 1;
12
+ }
13
+ .clearfix:before,
14
+ .clearfix:after {
15
+ display: table;
16
+ content: "";
17
+ }
18
+ .clearfix:after {
19
+ clear: both;
20
+ }
21
+ .hide-text {
22
+ font: 0/0 a;
23
+ color: transparent;
24
+ text-shadow: none;
25
+ background-color: transparent;
26
+ border: 0;
27
+ }
28
+ .input-block-level {
29
+ display: block;
30
+ width: 100%;
31
+ min-height: 28px;
32
+ -webkit-box-sizing: border-box;
33
+ -moz-box-sizing: border-box;
34
+ -ms-box-sizing: border-box;
35
+ box-sizing: border-box;
36
+ }
37
+ form {
38
+ margin: 0 0 18px;
39
+ }
40
+ fieldset {
41
+ padding: 0;
42
+ margin: 0;
43
+ border: 0;
44
+ }
45
+ legend {
46
+ display: block;
47
+ width: 100%;
48
+ padding: 0;
49
+ margin-bottom: 27px;
50
+ font-size: 19.5px;
51
+ line-height: 36px;
52
+ color: #333333;
53
+ border: 0;
54
+ border-bottom: 1px solid #e5e5e5;
55
+ }
56
+ legend small {
57
+ font-size: 13.5px;
58
+ color: #999999;
59
+ }
60
+ label,
61
+ input,
62
+ button,
63
+ select,
64
+ textarea {
65
+ font-size: 13px;
66
+ font-weight: normal;
67
+ line-height: 18px;
68
+ }
69
+ input,
70
+ button,
71
+ select,
72
+ textarea {
73
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
74
+ }
75
+ label {
76
+ display: block;
77
+ margin-bottom: 5px;
78
+ }
79
+ select,
80
+ textarea,
81
+ input[type="text"],
82
+ input[type="password"],
83
+ input[type="datetime"],
84
+ input[type="datetime-local"],
85
+ input[type="date"],
86
+ input[type="month"],
87
+ input[type="time"],
88
+ input[type="week"],
89
+ input[type="number"],
90
+ input[type="email"],
91
+ input[type="url"],
92
+ input[type="search"],
93
+ input[type="tel"],
94
+ input[type="color"],
95
+ .uneditable-input {
96
+ display: inline-block;
97
+ height: 18px;
98
+ padding: 4px;
99
+ margin-bottom: 9px;
100
+ font-size: 13px;
101
+ line-height: 18px;
102
+ color: #555555;
103
+ }
104
+ input,
105
+ textarea {
106
+ width: 210px;
107
+ }
108
+ textarea {
109
+ height: auto;
110
+ }
111
+ textarea,
112
+ input[type="text"],
113
+ input[type="password"],
114
+ input[type="datetime"],
115
+ input[type="datetime-local"],
116
+ input[type="date"],
117
+ input[type="month"],
118
+ input[type="time"],
119
+ input[type="week"],
120
+ input[type="number"],
121
+ input[type="email"],
122
+ input[type="url"],
123
+ input[type="search"],
124
+ input[type="tel"],
125
+ input[type="color"],
126
+ .uneditable-input {
127
+ background-color: #ffffff;
128
+ border: 1px solid #cccccc;
129
+ -webkit-border-radius: 3px;
130
+ -moz-border-radius: 3px;
131
+ border-radius: 3px;
132
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
133
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
134
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
135
+ -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
136
+ -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
137
+ -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
138
+ -o-transition: border linear 0.2s, box-shadow linear 0.2s;
139
+ transition: border linear 0.2s, box-shadow linear 0.2s;
140
+ }
141
+ textarea:focus,
142
+ input[type="text"]:focus,
143
+ input[type="password"]:focus,
144
+ input[type="datetime"]:focus,
145
+ input[type="datetime-local"]:focus,
146
+ input[type="date"]:focus,
147
+ input[type="month"]:focus,
148
+ input[type="time"]:focus,
149
+ input[type="week"]:focus,
150
+ input[type="number"]:focus,
151
+ input[type="email"]:focus,
152
+ input[type="url"]:focus,
153
+ input[type="search"]:focus,
154
+ input[type="tel"]:focus,
155
+ input[type="color"]:focus,
156
+ .uneditable-input:focus {
157
+ border-color: rgba(82, 168, 236, 0.8);
158
+ outline: 0;
159
+ outline: thin dotted \9;
160
+ /* IE6-9 */
161
+
162
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
163
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
164
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
165
+ }
166
+ input[type="radio"],
167
+ input[type="checkbox"] {
168
+ margin: 3px 0;
169
+ *margin-top: 0;
170
+ /* IE7 */
171
+
172
+ line-height: normal;
173
+ cursor: pointer;
174
+ }
175
+ input[type="submit"],
176
+ input[type="reset"],
177
+ input[type="button"],
178
+ input[type="radio"],
179
+ input[type="checkbox"] {
180
+ width: auto;
181
+ }
182
+ .uneditable-textarea {
183
+ width: auto;
184
+ height: auto;
185
+ }
186
+ select,
187
+ input[type="file"] {
188
+ height: 28px;
189
+ /* In IE7, the height of the select element cannot be changed by height, only font-size */
190
+
191
+ *margin-top: 4px;
192
+ /* For IE7, add top margin to align select with labels */
193
+
194
+ line-height: 28px;
195
+ }
196
+ select {
197
+ width: 220px;
198
+ border: 1px solid #bbb;
199
+ }
200
+ select[multiple],
201
+ select[size] {
202
+ height: auto;
203
+ }
204
+ select:focus,
205
+ input[type="file"]:focus,
206
+ input[type="radio"]:focus,
207
+ input[type="checkbox"]:focus {
208
+ outline: thin dotted #333;
209
+ outline: 5px auto -webkit-focus-ring-color;
210
+ outline-offset: -2px;
211
+ }
212
+ .radio,
213
+ .checkbox {
214
+ min-height: 18px;
215
+ padding-left: 18px;
216
+ }
217
+ .radio input[type="radio"],
218
+ .checkbox input[type="checkbox"] {
219
+ float: left;
220
+ margin-left: -18px;
221
+ }
222
+ .controls > .radio:first-child,
223
+ .controls > .checkbox:first-child {
224
+ padding-top: 5px;
225
+ }
226
+ .radio.inline,
227
+ .checkbox.inline {
228
+ display: inline-block;
229
+ padding-top: 5px;
230
+ margin-bottom: 0;
231
+ vertical-align: middle;
232
+ }
233
+ .radio.inline + .radio.inline,
234
+ .checkbox.inline + .checkbox.inline {
235
+ margin-left: 10px;
236
+ }
237
+ .input-mini {
238
+ width: 60px;
239
+ }
240
+ .input-small {
241
+ width: 90px;
242
+ }
243
+ .input-medium {
244
+ width: 150px;
245
+ }
246
+ .input-large {
247
+ width: 210px;
248
+ }
249
+ .input-xlarge {
250
+ width: 270px;
251
+ }
252
+ .input-xxlarge {
253
+ width: 530px;
254
+ }
255
+ input[class*="span"],
256
+ select[class*="span"],
257
+ textarea[class*="span"],
258
+ .uneditable-input[class*="span"],
259
+ .row-fluid input[class*="span"],
260
+ .row-fluid select[class*="span"],
261
+ .row-fluid textarea[class*="span"],
262
+ .row-fluid .uneditable-input[class*="span"] {
263
+ float: none;
264
+ margin-left: 0;
265
+ }
266
+ .input-append input[class*="span"],
267
+ .input-append .uneditable-input[class*="span"],
268
+ .input-prepend input[class*="span"],
269
+ .input-prepend .uneditable-input[class*="span"],
270
+ .row-fluid .input-prepend [class*="span"],
271
+ .row-fluid .input-append [class*="span"] {
272
+ display: inline-block;
273
+ }
274
+ input,
275
+ textarea,
276
+ .uneditable-input {
277
+ margin-left: 0;
278
+ }
279
+ input.span12, textarea.span12, .uneditable-input.span12 {
280
+ width: 930px;
281
+ }
282
+ input.span11, textarea.span11, .uneditable-input.span11 {
283
+ width: 850px;
284
+ }
285
+ input.span10, textarea.span10, .uneditable-input.span10 {
286
+ width: 770px;
287
+ }
288
+ input.span9, textarea.span9, .uneditable-input.span9 {
289
+ width: 690px;
290
+ }
291
+ input.span8, textarea.span8, .uneditable-input.span8 {
292
+ width: 610px;
293
+ }
294
+ input.span7, textarea.span7, .uneditable-input.span7 {
295
+ width: 530px;
296
+ }
297
+ input.span6, textarea.span6, .uneditable-input.span6 {
298
+ width: 450px;
299
+ }
300
+ input.span5, textarea.span5, .uneditable-input.span5 {
301
+ width: 370px;
302
+ }
303
+ input.span4, textarea.span4, .uneditable-input.span4 {
304
+ width: 290px;
305
+ }
306
+ input.span3, textarea.span3, .uneditable-input.span3 {
307
+ width: 210px;
308
+ }
309
+ input.span2, textarea.span2, .uneditable-input.span2 {
310
+ width: 130px;
311
+ }
312
+ input.span1, textarea.span1, .uneditable-input.span1 {
313
+ width: 50px;
314
+ }
315
+ input[disabled],
316
+ select[disabled],
317
+ textarea[disabled],
318
+ input[readonly],
319
+ select[readonly],
320
+ textarea[readonly] {
321
+ cursor: not-allowed;
322
+ background-color: #eeeeee;
323
+ border-color: #ddd;
324
+ }
325
+ input[type="radio"][disabled],
326
+ input[type="checkbox"][disabled],
327
+ input[type="radio"][readonly],
328
+ input[type="checkbox"][readonly] {
329
+ background-color: transparent;
330
+ }
331
+ .control-group.warning > label,
332
+ .control-group.warning .help-block,
333
+ .control-group.warning .help-inline {
334
+ color: #c09853;
335
+ }
336
+ .control-group.warning .checkbox,
337
+ .control-group.warning .radio,
338
+ .control-group.warning input,
339
+ .control-group.warning select,
340
+ .control-group.warning textarea {
341
+ color: #c09853;
342
+ border-color: #c09853;
343
+ }
344
+ .control-group.warning .checkbox:focus,
345
+ .control-group.warning .radio:focus,
346
+ .control-group.warning input:focus,
347
+ .control-group.warning select:focus,
348
+ .control-group.warning textarea:focus {
349
+ border-color: #a47e3c;
350
+ -webkit-box-shadow: 0 0 6px #dbc59e;
351
+ -moz-box-shadow: 0 0 6px #dbc59e;
352
+ box-shadow: 0 0 6px #dbc59e;
353
+ }
354
+ .control-group.warning .input-prepend .add-on,
355
+ .control-group.warning .input-append .add-on {
356
+ color: #c09853;
357
+ background-color: #fcf8e3;
358
+ border-color: #c09853;
359
+ }
360
+ .control-group.error > label,
361
+ .control-group.error .help-block,
362
+ .control-group.error .help-inline {
363
+ color: #b94a48;
364
+ }
365
+ .control-group.error .checkbox,
366
+ .control-group.error .radio,
367
+ .control-group.error input,
368
+ .control-group.error select,
369
+ .control-group.error textarea {
370
+ color: #b94a48;
371
+ border-color: #b94a48;
372
+ }
373
+ .control-group.error .checkbox:focus,
374
+ .control-group.error .radio:focus,
375
+ .control-group.error input:focus,
376
+ .control-group.error select:focus,
377
+ .control-group.error textarea:focus {
378
+ border-color: #953b39;
379
+ -webkit-box-shadow: 0 0 6px #d59392;
380
+ -moz-box-shadow: 0 0 6px #d59392;
381
+ box-shadow: 0 0 6px #d59392;
382
+ }
383
+ .control-group.error .input-prepend .add-on,
384
+ .control-group.error .input-append .add-on {
385
+ color: #b94a48;
386
+ background-color: #f2dede;
387
+ border-color: #b94a48;
388
+ }
389
+ .control-group.success > label,
390
+ .control-group.success .help-block,
391
+ .control-group.success .help-inline {
392
+ color: #468847;
393
+ }
394
+ .control-group.success .checkbox,
395
+ .control-group.success .radio,
396
+ .control-group.success input,
397
+ .control-group.success select,
398
+ .control-group.success textarea {
399
+ color: #468847;
400
+ border-color: #468847;
401
+ }
402
+ .control-group.success .checkbox:focus,
403
+ .control-group.success .radio:focus,
404
+ .control-group.success input:focus,
405
+ .control-group.success select:focus,
406
+ .control-group.success textarea:focus {
407
+ border-color: #356635;
408
+ -webkit-box-shadow: 0 0 6px #7aba7b;
409
+ -moz-box-shadow: 0 0 6px #7aba7b;
410
+ box-shadow: 0 0 6px #7aba7b;
411
+ }
412
+ .control-group.success .input-prepend .add-on,
413
+ .control-group.success .input-append .add-on {
414
+ color: #468847;
415
+ background-color: #dff0d8;
416
+ border-color: #468847;
417
+ }
418
+ input:focus:required:invalid,
419
+ textarea:focus:required:invalid,
420
+ select:focus:required:invalid {
421
+ color: #b94a48;
422
+ border-color: #ee5f5b;
423
+ }
424
+ input:focus:required:invalid:focus,
425
+ textarea:focus:required:invalid:focus,
426
+ select:focus:required:invalid:focus {
427
+ border-color: #e9322d;
428
+ -webkit-box-shadow: 0 0 6px #f8b9b7;
429
+ -moz-box-shadow: 0 0 6px #f8b9b7;
430
+ box-shadow: 0 0 6px #f8b9b7;
431
+ }
432
+ .form-actions {
433
+ padding: 17px 20px 18px;
434
+ margin-top: 18px;
435
+ margin-bottom: 18px;
436
+ background-color: #f5f5f5;
437
+ border-top: 1px solid #e5e5e5;
438
+ *zoom: 1;
439
+ }
440
+ .form-actions:before,
441
+ .form-actions:after {
442
+ display: table;
443
+ content: "";
444
+ }
445
+ .form-actions:after {
446
+ clear: both;
447
+ }
448
+ .uneditable-input {
449
+ overflow: hidden;
450
+ white-space: nowrap;
451
+ cursor: not-allowed;
452
+ background-color: #ffffff;
453
+ border-color: #eee;
454
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
455
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
456
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
457
+ }
458
+ :-moz-placeholder {
459
+ color: #999999;
460
+ }
461
+ :-ms-input-placeholder {
462
+ color: #999999;
463
+ }
464
+ ::-webkit-input-placeholder {
465
+ color: #999999;
466
+ }
467
+ .help-block,
468
+ .help-inline {
469
+ color: #555555;
470
+ }
471
+ .help-block {
472
+ display: block;
473
+ margin-bottom: 9px;
474
+ }
475
+ .help-inline {
476
+ display: inline-block;
477
+ *display: inline;
478
+ /* IE7 inline-block hack */
479
+
480
+ *zoom: 1;
481
+ vertical-align: middle;
482
+ padding-left: 5px;
483
+ }
484
+ .input-prepend,
485
+ .input-append {
486
+ margin-bottom: 5px;
487
+ }
488
+ .input-prepend input,
489
+ .input-append input,
490
+ .input-prepend select,
491
+ .input-append select,
492
+ .input-prepend .uneditable-input,
493
+ .input-append .uneditable-input {
494
+ position: relative;
495
+ margin-bottom: 0;
496
+ *margin-left: 0;
497
+ vertical-align: middle;
498
+ -webkit-border-radius: 0 3px 3px 0;
499
+ -moz-border-radius: 0 3px 3px 0;
500
+ border-radius: 0 3px 3px 0;
501
+ }
502
+ .input-prepend input:focus,
503
+ .input-append input:focus,
504
+ .input-prepend select:focus,
505
+ .input-append select:focus,
506
+ .input-prepend .uneditable-input:focus,
507
+ .input-append .uneditable-input:focus {
508
+ z-index: 2;
509
+ }
510
+ .input-prepend .uneditable-input,
511
+ .input-append .uneditable-input {
512
+ border-left-color: #ccc;
513
+ }
514
+ .input-prepend .add-on,
515
+ .input-append .add-on {
516
+ display: inline-block;
517
+ width: auto;
518
+ height: 18px;
519
+ min-width: 16px;
520
+ padding: 4px 5px;
521
+ font-weight: normal;
522
+ line-height: 18px;
523
+ text-align: center;
524
+ text-shadow: 0 1px 0 #ffffff;
525
+ vertical-align: middle;
526
+ background-color: #eeeeee;
527
+ border: 1px solid #ccc;
528
+ }
529
+ .input-prepend .add-on,
530
+ .input-append .add-on,
531
+ .input-prepend .btn,
532
+ .input-append .btn {
533
+ margin-left: -1px;
534
+ -webkit-border-radius: 0;
535
+ -moz-border-radius: 0;
536
+ border-radius: 0;
537
+ }
538
+ .input-prepend .active,
539
+ .input-append .active {
540
+ background-color: #a9dba9;
541
+ border-color: #46a546;
542
+ }
543
+ .input-prepend .add-on,
544
+ .input-prepend .btn {
545
+ margin-right: -1px;
546
+ }
547
+ .input-prepend .add-on:first-child,
548
+ .input-prepend .btn:first-child {
549
+ -webkit-border-radius: 3px 0 0 3px;
550
+ -moz-border-radius: 3px 0 0 3px;
551
+ border-radius: 3px 0 0 3px;
552
+ }
553
+ .input-append input,
554
+ .input-append select,
555
+ .input-append .uneditable-input {
556
+ -webkit-border-radius: 3px 0 0 3px;
557
+ -moz-border-radius: 3px 0 0 3px;
558
+ border-radius: 3px 0 0 3px;
559
+ }
560
+ .input-append .uneditable-input {
561
+ border-right-color: #ccc;
562
+ border-left-color: #eee;
563
+ }
564
+ .input-append .add-on:last-child,
565
+ .input-append .btn:last-child {
566
+ -webkit-border-radius: 0 3px 3px 0;
567
+ -moz-border-radius: 0 3px 3px 0;
568
+ border-radius: 0 3px 3px 0;
569
+ }
570
+ .input-prepend.input-append input,
571
+ .input-prepend.input-append select,
572
+ .input-prepend.input-append .uneditable-input {
573
+ -webkit-border-radius: 0;
574
+ -moz-border-radius: 0;
575
+ border-radius: 0;
576
+ }
577
+ .input-prepend.input-append .add-on:first-child,
578
+ .input-prepend.input-append .btn:first-child {
579
+ margin-right: -1px;
580
+ -webkit-border-radius: 3px 0 0 3px;
581
+ -moz-border-radius: 3px 0 0 3px;
582
+ border-radius: 3px 0 0 3px;
583
+ }
584
+ .input-prepend.input-append .add-on:last-child,
585
+ .input-prepend.input-append .btn:last-child {
586
+ margin-left: -1px;
587
+ -webkit-border-radius: 0 3px 3px 0;
588
+ -moz-border-radius: 0 3px 3px 0;
589
+ border-radius: 0 3px 3px 0;
590
+ }
591
+ .search-query {
592
+ padding-right: 14px;
593
+ padding-right: 4px \9;
594
+ padding-left: 14px;
595
+ padding-left: 4px \9;
596
+ /* IE7-8 doesn't have border-radius, so don't indent the padding */
597
+
598
+ margin-bottom: 0;
599
+ -webkit-border-radius: 14px;
600
+ -moz-border-radius: 14px;
601
+ border-radius: 14px;
602
+ }
603
+ .form-search input,
604
+ .form-inline input,
605
+ .form-horizontal input,
606
+ .form-search textarea,
607
+ .form-inline textarea,
608
+ .form-horizontal textarea,
609
+ .form-search select,
610
+ .form-inline select,
611
+ .form-horizontal select,
612
+ .form-search .help-inline,
613
+ .form-inline .help-inline,
614
+ .form-horizontal .help-inline,
615
+ .form-search .uneditable-input,
616
+ .form-inline .uneditable-input,
617
+ .form-horizontal .uneditable-input,
618
+ .form-search .input-prepend,
619
+ .form-inline .input-prepend,
620
+ .form-horizontal .input-prepend,
621
+ .form-search .input-append,
622
+ .form-inline .input-append,
623
+ .form-horizontal .input-append {
624
+ display: inline-block;
625
+ *display: inline;
626
+ /* IE7 inline-block hack */
627
+
628
+ *zoom: 1;
629
+ margin-bottom: 0;
630
+ }
631
+ .form-search .hide,
632
+ .form-inline .hide,
633
+ .form-horizontal .hide {
634
+ display: none;
635
+ }
636
+ .form-search label,
637
+ .form-inline label {
638
+ display: inline-block;
639
+ }
640
+ .form-search .input-append,
641
+ .form-inline .input-append,
642
+ .form-search .input-prepend,
643
+ .form-inline .input-prepend {
644
+ margin-bottom: 0;
645
+ }
646
+ .form-search .radio,
647
+ .form-search .checkbox,
648
+ .form-inline .radio,
649
+ .form-inline .checkbox {
650
+ padding-left: 0;
651
+ margin-bottom: 0;
652
+ vertical-align: middle;
653
+ }
654
+ .form-search .radio input[type="radio"],
655
+ .form-search .checkbox input[type="checkbox"],
656
+ .form-inline .radio input[type="radio"],
657
+ .form-inline .checkbox input[type="checkbox"] {
658
+ float: left;
659
+ margin-right: 3px;
660
+ margin-left: 0;
661
+ }
662
+ .control-group {
663
+ margin-bottom: 9px;
664
+ }
665
+ legend + .control-group {
666
+ margin-top: 18px;
667
+ -webkit-margin-top-collapse: separate;
668
+ }
669
+ .form-horizontal .control-group {
670
+ margin-bottom: 18px;
671
+ *zoom: 1;
672
+ }
673
+ .form-horizontal .control-group:before,
674
+ .form-horizontal .control-group:after {
675
+ display: table;
676
+ content: "";
677
+ }
678
+ .form-horizontal .control-group:after {
679
+ clear: both;
680
+ }
681
+ .form-horizontal .control-label {
682
+ float: left;
683
+ width: 140px;
684
+ padding-top: 5px;
685
+ text-align: right;
686
+ }
687
+ .form-horizontal .controls {
688
+ *display: inline-block;
689
+ *padding-left: 20px;
690
+ margin-left: 160px;
691
+ *margin-left: 0;
692
+ }
693
+ .form-horizontal .controls:first-child {
694
+ *padding-left: 160px;
695
+ }
696
+ .form-horizontal .help-block {
697
+ margin-top: 9px;
698
+ margin-bottom: 0;
699
+ }
700
+ .form-horizontal .form-actions {
701
+ padding-left: 160px;
702
+ }
703
+ .btn {
704
+ display: inline-block;
705
+ *display: inline;
706
+ /* IE7 inline-block hack */
707
+
708
+ *zoom: 1;
709
+ padding: 4px 10px 4px;
710
+ margin-bottom: 0;
711
+ font-size: 13px;
712
+ line-height: 18px;
713
+ *line-height: 20px;
714
+ color: #333333;
715
+ text-align: center;
716
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
717
+ vertical-align: middle;
718
+ cursor: pointer;
719
+ background-color: #f5f5f5;
720
+ background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
721
+ background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
722
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
723
+ background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
724
+ background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
725
+ background-image: linear-gradient(top, #ffffff, #e6e6e6);
726
+ background-repeat: repeat-x;
727
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
728
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
729
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
730
+ *background-color: #e6e6e6;
731
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
732
+
733
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
734
+ border: 1px solid #cccccc;
735
+ *border: 0;
736
+ border-bottom-color: #b3b3b3;
737
+ -webkit-border-radius: 4px;
738
+ -moz-border-radius: 4px;
739
+ border-radius: 4px;
740
+ *margin-left: .3em;
741
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
742
+ -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
743
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
744
+ }
745
+ .btn:hover,
746
+ .btn:active,
747
+ .btn.active,
748
+ .btn.disabled,
749
+ .btn[disabled] {
750
+ background-color: #e6e6e6;
751
+ *background-color: #d9d9d9;
752
+ }
753
+ .btn:active,
754
+ .btn.active {
755
+ background-color: #cccccc \9;
756
+ }
757
+ .btn:first-child {
758
+ *margin-left: 0;
759
+ }
760
+ .btn:hover {
761
+ color: #333333;
762
+ text-decoration: none;
763
+ background-color: #e6e6e6;
764
+ *background-color: #d9d9d9;
765
+ /* Buttons in IE7 don't get borders, so darken on hover */
766
+
767
+ background-position: 0 -15px;
768
+ -webkit-transition: background-position 0.1s linear;
769
+ -moz-transition: background-position 0.1s linear;
770
+ -ms-transition: background-position 0.1s linear;
771
+ -o-transition: background-position 0.1s linear;
772
+ transition: background-position 0.1s linear;
773
+ }
774
+ .btn:focus {
775
+ outline: thin dotted #333;
776
+ outline: 5px auto -webkit-focus-ring-color;
777
+ outline-offset: -2px;
778
+ }
779
+ .btn.active,
780
+ .btn:active {
781
+ background-color: #e6e6e6;
782
+ background-color: #d9d9d9 \9;
783
+ background-image: none;
784
+ outline: 0;
785
+ -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
786
+ -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
787
+ box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
788
+ }
789
+ .btn.disabled,
790
+ .btn[disabled] {
791
+ cursor: default;
792
+ background-color: #e6e6e6;
793
+ background-image: none;
794
+ opacity: 0.65;
795
+ filter: alpha(opacity=65);
796
+ -webkit-box-shadow: none;
797
+ -moz-box-shadow: none;
798
+ box-shadow: none;
799
+ }
800
+ .btn-large {
801
+ padding: 9px 14px;
802
+ font-size: 15px;
803
+ line-height: normal;
804
+ -webkit-border-radius: 5px;
805
+ -moz-border-radius: 5px;
806
+ border-radius: 5px;
807
+ }
808
+ .btn-large [class^="icon-"] {
809
+ margin-top: 1px;
810
+ }
811
+ .btn-small {
812
+ padding: 5px 9px;
813
+ font-size: 11px;
814
+ line-height: 16px;
815
+ }
816
+ .btn-small [class^="icon-"] {
817
+ margin-top: -1px;
818
+ }
819
+ .btn-mini {
820
+ padding: 2px 6px;
821
+ font-size: 11px;
822
+ line-height: 14px;
823
+ }
824
+ .btn-primary,
825
+ .btn-primary:hover,
826
+ .btn-warning,
827
+ .btn-warning:hover,
828
+ .btn-danger,
829
+ .btn-danger:hover,
830
+ .btn-success,
831
+ .btn-success:hover,
832
+ .btn-info,
833
+ .btn-info:hover,
834
+ .btn-inverse,
835
+ .btn-inverse:hover {
836
+ color: #ffffff;
837
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
838
+ }
839
+ .btn-primary.active,
840
+ .btn-warning.active,
841
+ .btn-danger.active,
842
+ .btn-success.active,
843
+ .btn-info.active,
844
+ .btn-inverse.active {
845
+ color: rgba(255, 255, 255, 0.75);
846
+ }
847
+ .btn {
848
+ border-color: #ccc;
849
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
850
+ }
851
+ .btn-primary {
852
+ background-color: #0074cc;
853
+ background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
854
+ background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
855
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
856
+ background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
857
+ background-image: -o-linear-gradient(top, #0088cc, #0055cc);
858
+ background-image: linear-gradient(top, #0088cc, #0055cc);
859
+ background-repeat: repeat-x;
860
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
861
+ border-color: #0055cc #0055cc #003580;
862
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
863
+ *background-color: #0055cc;
864
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
865
+
866
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
867
+ }
868
+ .btn-primary:hover,
869
+ .btn-primary:active,
870
+ .btn-primary.active,
871
+ .btn-primary.disabled,
872
+ .btn-primary[disabled] {
873
+ background-color: #0055cc;
874
+ *background-color: #004ab3;
875
+ }
876
+ .btn-primary:active,
877
+ .btn-primary.active {
878
+ background-color: #004099 \9;
879
+ }
880
+ .btn-warning {
881
+ background-color: #faa732;
882
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
883
+ background-image: -ms-linear-gradient(top, #fbb450, #f89406);
884
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
885
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
886
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
887
+ background-image: linear-gradient(top, #fbb450, #f89406);
888
+ background-repeat: repeat-x;
889
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
890
+ border-color: #f89406 #f89406 #ad6704;
891
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
892
+ *background-color: #f89406;
893
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
894
+
895
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
896
+ }
897
+ .btn-warning:hover,
898
+ .btn-warning:active,
899
+ .btn-warning.active,
900
+ .btn-warning.disabled,
901
+ .btn-warning[disabled] {
902
+ background-color: #f89406;
903
+ *background-color: #df8505;
904
+ }
905
+ .btn-warning:active,
906
+ .btn-warning.active {
907
+ background-color: #c67605 \9;
908
+ }
909
+ .btn-danger {
910
+ background-color: #da4f49;
911
+ background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
912
+ background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
913
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
914
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
915
+ background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
916
+ background-image: linear-gradient(top, #ee5f5b, #bd362f);
917
+ background-repeat: repeat-x;
918
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
919
+ border-color: #bd362f #bd362f #802420;
920
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
921
+ *background-color: #bd362f;
922
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
923
+
924
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
925
+ }
926
+ .btn-danger:hover,
927
+ .btn-danger:active,
928
+ .btn-danger.active,
929
+ .btn-danger.disabled,
930
+ .btn-danger[disabled] {
931
+ background-color: #bd362f;
932
+ *background-color: #a9302a;
933
+ }
934
+ .btn-danger:active,
935
+ .btn-danger.active {
936
+ background-color: #942a25 \9;
937
+ }
938
+ .btn-success {
939
+ background-color: #5bb75b;
940
+ background-image: -moz-linear-gradient(top, #62c462, #51a351);
941
+ background-image: -ms-linear-gradient(top, #62c462, #51a351);
942
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
943
+ background-image: -webkit-linear-gradient(top, #62c462, #51a351);
944
+ background-image: -o-linear-gradient(top, #62c462, #51a351);
945
+ background-image: linear-gradient(top, #62c462, #51a351);
946
+ background-repeat: repeat-x;
947
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
948
+ border-color: #51a351 #51a351 #387038;
949
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
950
+ *background-color: #51a351;
951
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
952
+
953
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
954
+ }
955
+ .btn-success:hover,
956
+ .btn-success:active,
957
+ .btn-success.active,
958
+ .btn-success.disabled,
959
+ .btn-success[disabled] {
960
+ background-color: #51a351;
961
+ *background-color: #499249;
962
+ }
963
+ .btn-success:active,
964
+ .btn-success.active {
965
+ background-color: #408140 \9;
966
+ }
967
+ .btn-info {
968
+ background-color: #49afcd;
969
+ background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
970
+ background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
971
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
972
+ background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
973
+ background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
974
+ background-image: linear-gradient(top, #5bc0de, #2f96b4);
975
+ background-repeat: repeat-x;
976
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
977
+ border-color: #2f96b4 #2f96b4 #1f6377;
978
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
979
+ *background-color: #2f96b4;
980
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
981
+
982
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
983
+ }
984
+ .btn-info:hover,
985
+ .btn-info:active,
986
+ .btn-info.active,
987
+ .btn-info.disabled,
988
+ .btn-info[disabled] {
989
+ background-color: #2f96b4;
990
+ *background-color: #2a85a0;
991
+ }
992
+ .btn-info:active,
993
+ .btn-info.active {
994
+ background-color: #24748c \9;
995
+ }
996
+ .btn-inverse {
997
+ background-color: #414141;
998
+ background-image: -moz-linear-gradient(top, #555555, #222222);
999
+ background-image: -ms-linear-gradient(top, #555555, #222222);
1000
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
1001
+ background-image: -webkit-linear-gradient(top, #555555, #222222);
1002
+ background-image: -o-linear-gradient(top, #555555, #222222);
1003
+ background-image: linear-gradient(top, #555555, #222222);
1004
+ background-repeat: repeat-x;
1005
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
1006
+ border-color: #222222 #222222 #000000;
1007
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1008
+ *background-color: #222222;
1009
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
1010
+
1011
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
1012
+ }
1013
+ .btn-inverse:hover,
1014
+ .btn-inverse:active,
1015
+ .btn-inverse.active,
1016
+ .btn-inverse.disabled,
1017
+ .btn-inverse[disabled] {
1018
+ background-color: #222222;
1019
+ *background-color: #151515;
1020
+ }
1021
+ .btn-inverse:active,
1022
+ .btn-inverse.active {
1023
+ background-color: #080808 \9;
1024
+ }
1025
+ button.btn,
1026
+ input[type="submit"].btn {
1027
+ *padding-top: 2px;
1028
+ *padding-bottom: 2px;
1029
+ }
1030
+ button.btn::-moz-focus-inner,
1031
+ input[type="submit"].btn::-moz-focus-inner {
1032
+ padding: 0;
1033
+ border: 0;
1034
+ }
1035
+ button.btn.btn-large,
1036
+ input[type="submit"].btn.btn-large {
1037
+ *padding-top: 7px;
1038
+ *padding-bottom: 7px;
1039
+ }
1040
+ button.btn.btn-small,
1041
+ input[type="submit"].btn.btn-small {
1042
+ *padding-top: 3px;
1043
+ *padding-bottom: 3px;
1044
+ }
1045
+ button.btn.btn-mini,
1046
+ input[type="submit"].btn.btn-mini {
1047
+ *padding-top: 1px;
1048
+ *padding-bottom: 1px;
1049
+ }
1050
+ .btn-group {
1051
+ position: relative;
1052
+ *zoom: 1;
1053
+ *margin-left: .3em;
1054
+ }
1055
+ .btn-group:before,
1056
+ .btn-group:after {
1057
+ display: table;
1058
+ content: "";
1059
+ }
1060
+ .btn-group:after {
1061
+ clear: both;
1062
+ }
1063
+ .btn-group:first-child {
1064
+ *margin-left: 0;
1065
+ }
1066
+ .btn-group + .btn-group {
1067
+ margin-left: 5px;
1068
+ }
1069
+ .btn-toolbar {
1070
+ margin-top: 9px;
1071
+ margin-bottom: 9px;
1072
+ }
1073
+ .btn-toolbar .btn-group {
1074
+ display: inline-block;
1075
+ *display: inline;
1076
+ /* IE7 inline-block hack */
1077
+
1078
+ *zoom: 1;
1079
+ }
1080
+ .btn-group > .btn {
1081
+ position: relative;
1082
+ float: left;
1083
+ margin-left: -1px;
1084
+ -webkit-border-radius: 0;
1085
+ -moz-border-radius: 0;
1086
+ border-radius: 0;
1087
+ }
1088
+ .btn-group > .btn:first-child {
1089
+ margin-left: 0;
1090
+ -webkit-border-top-left-radius: 4px;
1091
+ -moz-border-radius-topleft: 4px;
1092
+ border-top-left-radius: 4px;
1093
+ -webkit-border-bottom-left-radius: 4px;
1094
+ -moz-border-radius-bottomleft: 4px;
1095
+ border-bottom-left-radius: 4px;
1096
+ }
1097
+ .btn-group > .btn:last-child,
1098
+ .btn-group > .dropdown-toggle {
1099
+ -webkit-border-top-right-radius: 4px;
1100
+ -moz-border-radius-topright: 4px;
1101
+ border-top-right-radius: 4px;
1102
+ -webkit-border-bottom-right-radius: 4px;
1103
+ -moz-border-radius-bottomright: 4px;
1104
+ border-bottom-right-radius: 4px;
1105
+ }
1106
+ .btn-group > .btn.large:first-child {
1107
+ margin-left: 0;
1108
+ -webkit-border-top-left-radius: 6px;
1109
+ -moz-border-radius-topleft: 6px;
1110
+ border-top-left-radius: 6px;
1111
+ -webkit-border-bottom-left-radius: 6px;
1112
+ -moz-border-radius-bottomleft: 6px;
1113
+ border-bottom-left-radius: 6px;
1114
+ }
1115
+ .btn-group > .btn.large:last-child,
1116
+ .btn-group > .large.dropdown-toggle {
1117
+ -webkit-border-top-right-radius: 6px;
1118
+ -moz-border-radius-topright: 6px;
1119
+ border-top-right-radius: 6px;
1120
+ -webkit-border-bottom-right-radius: 6px;
1121
+ -moz-border-radius-bottomright: 6px;
1122
+ border-bottom-right-radius: 6px;
1123
+ }
1124
+ .btn-group > .btn:hover,
1125
+ .btn-group > .btn:focus,
1126
+ .btn-group > .btn:active,
1127
+ .btn-group > .btn.active {
1128
+ z-index: 2;
1129
+ }
1130
+ .btn-group .dropdown-toggle:active,
1131
+ .btn-group.open .dropdown-toggle {
1132
+ outline: 0;
1133
+ }
1134
+ .btn-group > .dropdown-toggle {
1135
+ padding-left: 8px;
1136
+ padding-right: 8px;
1137
+ -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
1138
+ -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
1139
+ box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
1140
+ *padding-top: 4px;
1141
+ *padding-bottom: 4px;
1142
+ }
1143
+ .btn-group > .btn-mini.dropdown-toggle {
1144
+ padding-left: 5px;
1145
+ padding-right: 5px;
1146
+ }
1147
+ .btn-group > .btn-small.dropdown-toggle {
1148
+ *padding-top: 4px;
1149
+ *padding-bottom: 4px;
1150
+ }
1151
+ .btn-group > .btn-large.dropdown-toggle {
1152
+ padding-left: 12px;
1153
+ padding-right: 12px;
1154
+ }
1155
+ .btn-group.open .dropdown-toggle {
1156
+ background-image: none;
1157
+ -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
1158
+ -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
1159
+ box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
1160
+ }
1161
+ .btn-group.open .btn.dropdown-toggle {
1162
+ background-color: #e6e6e6;
1163
+ }
1164
+ .btn-group.open .btn-primary.dropdown-toggle {
1165
+ background-color: #0055cc;
1166
+ }
1167
+ .btn-group.open .btn-warning.dropdown-toggle {
1168
+ background-color: #f89406;
1169
+ }
1170
+ .btn-group.open .btn-danger.dropdown-toggle {
1171
+ background-color: #bd362f;
1172
+ }
1173
+ .btn-group.open .btn-success.dropdown-toggle {
1174
+ background-color: #51a351;
1175
+ }
1176
+ .btn-group.open .btn-info.dropdown-toggle {
1177
+ background-color: #2f96b4;
1178
+ }
1179
+ .btn-group.open .btn-inverse.dropdown-toggle {
1180
+ background-color: #222222;
1181
+ }
1182
+ .btn .caret {
1183
+ margin-top: 7px;
1184
+ margin-left: 0;
1185
+ }
1186
+ .btn:hover .caret,
1187
+ .open.btn-group .caret {
1188
+ opacity: 1;
1189
+ filter: alpha(opacity=100);
1190
+ }
1191
+ .btn-mini .caret {
1192
+ margin-top: 5px;
1193
+ }
1194
+ .btn-small .caret {
1195
+ margin-top: 6px;
1196
+ }
1197
+ .btn-large .caret {
1198
+ margin-top: 6px;
1199
+ border-left-width: 5px;
1200
+ border-right-width: 5px;
1201
+ border-top-width: 5px;
1202
+ }
1203
+ .dropup .btn-large .caret {
1204
+ border-bottom: 5px solid #000000;
1205
+ border-top: 0;
1206
+ }
1207
+ .btn-primary .caret,
1208
+ .btn-warning .caret,
1209
+ .btn-danger .caret,
1210
+ .btn-info .caret,
1211
+ .btn-success .caret,
1212
+ .btn-inverse .caret {
1213
+ border-top-color: #ffffff;
1214
+ border-bottom-color: #ffffff;
1215
+ opacity: 0.75;
1216
+ filter: alpha(opacity=75);
1217
+ }
1218
+ .nav {
1219
+ margin-left: 0;
1220
+ margin-bottom: 18px;
1221
+ list-style: none;
1222
+ }
1223
+ .nav > li > a {
1224
+ display: block;
1225
+ }
1226
+ .nav > li > a:hover {
1227
+ text-decoration: none;
1228
+ background-color: #eeeeee;
1229
+ }
1230
+ .nav > .pull-right {
1231
+ float: right;
1232
+ }
1233
+ .nav .nav-header {
1234
+ display: block;
1235
+ padding: 3px 15px;
1236
+ font-size: 11px;
1237
+ font-weight: bold;
1238
+ line-height: 18px;
1239
+ color: #999999;
1240
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1241
+ text-transform: uppercase;
1242
+ }
1243
+ .nav li + .nav-header {
1244
+ margin-top: 9px;
1245
+ }
1246
+ .nav-list {
1247
+ padding-left: 15px;
1248
+ padding-right: 15px;
1249
+ margin-bottom: 0;
1250
+ }
1251
+ .nav-list > li > a,
1252
+ .nav-list .nav-header {
1253
+ margin-left: -15px;
1254
+ margin-right: -15px;
1255
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1256
+ }
1257
+ .nav-list > li > a {
1258
+ padding: 3px 15px;
1259
+ }
1260
+ .nav-list > .active > a,
1261
+ .nav-list > .active > a:hover {
1262
+ color: #ffffff;
1263
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
1264
+ background-color: #0088cc;
1265
+ }
1266
+ .nav-list [class^="icon-"] {
1267
+ margin-right: 2px;
1268
+ }
1269
+ .nav-list .divider {
1270
+ *width: 100%;
1271
+ height: 1px;
1272
+ margin: 8px 1px;
1273
+ *margin: -5px 0 5px;
1274
+ overflow: hidden;
1275
+ background-color: #e5e5e5;
1276
+ border-bottom: 1px solid #ffffff;
1277
+ }
1278
+ .nav-tabs,
1279
+ .nav-pills {
1280
+ *zoom: 1;
1281
+ }
1282
+ .nav-tabs:before,
1283
+ .nav-pills:before,
1284
+ .nav-tabs:after,
1285
+ .nav-pills:after {
1286
+ display: table;
1287
+ content: "";
1288
+ }
1289
+ .nav-tabs:after,
1290
+ .nav-pills:after {
1291
+ clear: both;
1292
+ }
1293
+ .nav-tabs > li,
1294
+ .nav-pills > li {
1295
+ float: left;
1296
+ }
1297
+ .nav-tabs > li > a,
1298
+ .nav-pills > li > a {
1299
+ padding-right: 12px;
1300
+ padding-left: 12px;
1301
+ margin-right: 2px;
1302
+ line-height: 14px;
1303
+ }
1304
+ .nav-tabs {
1305
+ border-bottom: 1px solid #ddd;
1306
+ }
1307
+ .nav-tabs > li {
1308
+ margin-bottom: -1px;
1309
+ }
1310
+ .nav-tabs > li > a {
1311
+ padding-top: 8px;
1312
+ padding-bottom: 8px;
1313
+ line-height: 18px;
1314
+ border: 1px solid transparent;
1315
+ -webkit-border-radius: 4px 4px 0 0;
1316
+ -moz-border-radius: 4px 4px 0 0;
1317
+ border-radius: 4px 4px 0 0;
1318
+ }
1319
+ .nav-tabs > li > a:hover {
1320
+ border-color: #eeeeee #eeeeee #dddddd;
1321
+ }
1322
+ .nav-tabs > .active > a,
1323
+ .nav-tabs > .active > a:hover {
1324
+ color: #555555;
1325
+ background-color: #ffffff;
1326
+ border: 1px solid #ddd;
1327
+ border-bottom-color: transparent;
1328
+ cursor: default;
1329
+ }
1330
+ .nav-pills > li > a {
1331
+ padding-top: 8px;
1332
+ padding-bottom: 8px;
1333
+ margin-top: 2px;
1334
+ margin-bottom: 2px;
1335
+ -webkit-border-radius: 5px;
1336
+ -moz-border-radius: 5px;
1337
+ border-radius: 5px;
1338
+ }
1339
+ .nav-pills > .active > a,
1340
+ .nav-pills > .active > a:hover {
1341
+ color: #ffffff;
1342
+ background-color: #0088cc;
1343
+ }
1344
+ .nav-stacked > li {
1345
+ float: none;
1346
+ }
1347
+ .nav-stacked > li > a {
1348
+ margin-right: 0;
1349
+ }
1350
+ .nav-tabs.nav-stacked {
1351
+ border-bottom: 0;
1352
+ }
1353
+ .nav-tabs.nav-stacked > li > a {
1354
+ border: 1px solid #ddd;
1355
+ -webkit-border-radius: 0;
1356
+ -moz-border-radius: 0;
1357
+ border-radius: 0;
1358
+ }
1359
+ .nav-tabs.nav-stacked > li:first-child > a {
1360
+ -webkit-border-radius: 4px 4px 0 0;
1361
+ -moz-border-radius: 4px 4px 0 0;
1362
+ border-radius: 4px 4px 0 0;
1363
+ }
1364
+ .nav-tabs.nav-stacked > li:last-child > a {
1365
+ -webkit-border-radius: 0 0 4px 4px;
1366
+ -moz-border-radius: 0 0 4px 4px;
1367
+ border-radius: 0 0 4px 4px;
1368
+ }
1369
+ .nav-tabs.nav-stacked > li > a:hover {
1370
+ border-color: #ddd;
1371
+ z-index: 2;
1372
+ }
1373
+ .nav-pills.nav-stacked > li > a {
1374
+ margin-bottom: 3px;
1375
+ }
1376
+ .nav-pills.nav-stacked > li:last-child > a {
1377
+ margin-bottom: 1px;
1378
+ }
1379
+ .nav-tabs .dropdown-menu {
1380
+ -webkit-border-radius: 0 0 5px 5px;
1381
+ -moz-border-radius: 0 0 5px 5px;
1382
+ border-radius: 0 0 5px 5px;
1383
+ }
1384
+ .nav-pills .dropdown-menu {
1385
+ -webkit-border-radius: 4px;
1386
+ -moz-border-radius: 4px;
1387
+ border-radius: 4px;
1388
+ }
1389
+ .nav-tabs .dropdown-toggle .caret,
1390
+ .nav-pills .dropdown-toggle .caret {
1391
+ border-top-color: #0088cc;
1392
+ border-bottom-color: #0088cc;
1393
+ margin-top: 6px;
1394
+ }
1395
+ .nav-tabs .dropdown-toggle:hover .caret,
1396
+ .nav-pills .dropdown-toggle:hover .caret {
1397
+ border-top-color: #005580;
1398
+ border-bottom-color: #005580;
1399
+ }
1400
+ .nav-tabs .active .dropdown-toggle .caret,
1401
+ .nav-pills .active .dropdown-toggle .caret {
1402
+ border-top-color: #333333;
1403
+ border-bottom-color: #333333;
1404
+ }
1405
+ .nav > .dropdown.active > a:hover {
1406
+ color: #000000;
1407
+ cursor: pointer;
1408
+ }
1409
+ .nav-tabs .open .dropdown-toggle,
1410
+ .nav-pills .open .dropdown-toggle,
1411
+ .nav > li.dropdown.open.active > a:hover {
1412
+ color: #ffffff;
1413
+ background-color: #999999;
1414
+ border-color: #999999;
1415
+ }
1416
+ .nav li.dropdown.open .caret,
1417
+ .nav li.dropdown.open.active .caret,
1418
+ .nav li.dropdown.open a:hover .caret {
1419
+ border-top-color: #ffffff;
1420
+ border-bottom-color: #ffffff;
1421
+ opacity: 1;
1422
+ filter: alpha(opacity=100);
1423
+ }
1424
+ .tabs-stacked .open > a:hover {
1425
+ border-color: #999999;
1426
+ }
1427
+ .tabbable {
1428
+ *zoom: 1;
1429
+ }
1430
+ .tabbable:before,
1431
+ .tabbable:after {
1432
+ display: table;
1433
+ content: "";
1434
+ }
1435
+ .tabbable:after {
1436
+ clear: both;
1437
+ }
1438
+ .tab-content {
1439
+ overflow: auto;
1440
+ }
1441
+ .tabs-below > .nav-tabs,
1442
+ .tabs-right > .nav-tabs,
1443
+ .tabs-left > .nav-tabs {
1444
+ border-bottom: 0;
1445
+ }
1446
+ .tab-content > .tab-pane,
1447
+ .pill-content > .pill-pane {
1448
+ display: none;
1449
+ }
1450
+ .tab-content > .active,
1451
+ .pill-content > .active {
1452
+ display: block;
1453
+ }
1454
+ .tabs-below > .nav-tabs {
1455
+ border-top: 1px solid #ddd;
1456
+ }
1457
+ .tabs-below > .nav-tabs > li {
1458
+ margin-top: -1px;
1459
+ margin-bottom: 0;
1460
+ }
1461
+ .tabs-below > .nav-tabs > li > a {
1462
+ -webkit-border-radius: 0 0 4px 4px;
1463
+ -moz-border-radius: 0 0 4px 4px;
1464
+ border-radius: 0 0 4px 4px;
1465
+ }
1466
+ .tabs-below > .nav-tabs > li > a:hover {
1467
+ border-bottom-color: transparent;
1468
+ border-top-color: #ddd;
1469
+ }
1470
+ .tabs-below > .nav-tabs > .active > a,
1471
+ .tabs-below > .nav-tabs > .active > a:hover {
1472
+ border-color: transparent #ddd #ddd #ddd;
1473
+ }
1474
+ .tabs-left > .nav-tabs > li,
1475
+ .tabs-right > .nav-tabs > li {
1476
+ float: none;
1477
+ }
1478
+ .tabs-left > .nav-tabs > li > a,
1479
+ .tabs-right > .nav-tabs > li > a {
1480
+ min-width: 74px;
1481
+ margin-right: 0;
1482
+ margin-bottom: 3px;
1483
+ }
1484
+ .tabs-left > .nav-tabs {
1485
+ float: left;
1486
+ margin-right: 19px;
1487
+ border-right: 1px solid #ddd;
1488
+ }
1489
+ .tabs-left > .nav-tabs > li > a {
1490
+ margin-right: -1px;
1491
+ -webkit-border-radius: 4px 0 0 4px;
1492
+ -moz-border-radius: 4px 0 0 4px;
1493
+ border-radius: 4px 0 0 4px;
1494
+ }
1495
+ .tabs-left > .nav-tabs > li > a:hover {
1496
+ border-color: #eeeeee #dddddd #eeeeee #eeeeee;
1497
+ }
1498
+ .tabs-left > .nav-tabs .active > a,
1499
+ .tabs-left > .nav-tabs .active > a:hover {
1500
+ border-color: #ddd transparent #ddd #ddd;
1501
+ *border-right-color: #ffffff;
1502
+ }
1503
+ .tabs-right > .nav-tabs {
1504
+ float: right;
1505
+ margin-left: 19px;
1506
+ border-left: 1px solid #ddd;
1507
+ }
1508
+ .tabs-right > .nav-tabs > li > a {
1509
+ margin-left: -1px;
1510
+ -webkit-border-radius: 0 4px 4px 0;
1511
+ -moz-border-radius: 0 4px 4px 0;
1512
+ border-radius: 0 4px 4px 0;
1513
+ }
1514
+ .tabs-right > .nav-tabs > li > a:hover {
1515
+ border-color: #eeeeee #eeeeee #eeeeee #dddddd;
1516
+ }
1517
+ .tabs-right > .nav-tabs .active > a,
1518
+ .tabs-right > .nav-tabs .active > a:hover {
1519
+ border-color: #ddd #ddd #ddd transparent;
1520
+ *border-left-color: #ffffff;
1521
+ }
1522
+ .modal-open .dropdown-menu {
1523
+ z-index: 2050;
1524
+ }
1525
+ .modal-open .dropdown.open {
1526
+ *z-index: 2050;
1527
+ }
1528
+ .modal-open .popover {
1529
+ z-index: 2060;
1530
+ }
1531
+ .modal-open .tooltip {
1532
+ z-index: 2070;
1533
+ }
1534
+ .modal-backdrop {
1535
+ position: fixed;
1536
+ top: 0;
1537
+ right: 0;
1538
+ bottom: 0;
1539
+ left: 0;
1540
+ z-index: 1040;
1541
+ background-color: #000000;
1542
+ }
1543
+ .modal-backdrop.fade {
1544
+ opacity: 0;
1545
+ }
1546
+ .modal-backdrop,
1547
+ .modal-backdrop.fade.in {
1548
+ opacity: 0.8;
1549
+ filter: alpha(opacity=80);
1550
+ }
1551
+ .modal {
1552
+ position: fixed;
1553
+ top: 50%;
1554
+ left: 50%;
1555
+ z-index: 1050;
1556
+ overflow: auto;
1557
+ width: 560px;
1558
+ margin: -250px 0 0 -280px;
1559
+ background-color: #ffffff;
1560
+ border: 1px solid #999;
1561
+ border: 1px solid rgba(0, 0, 0, 0.3);
1562
+ *border: 1px solid #999;
1563
+ /* IE6-7 */
1564
+
1565
+ -webkit-border-radius: 6px;
1566
+ -moz-border-radius: 6px;
1567
+ border-radius: 6px;
1568
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1569
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1570
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1571
+ -webkit-background-clip: padding-box;
1572
+ -moz-background-clip: padding-box;
1573
+ background-clip: padding-box;
1574
+ }
1575
+ .modal.fade {
1576
+ -webkit-transition: opacity .3s linear, top .3s ease-out;
1577
+ -moz-transition: opacity .3s linear, top .3s ease-out;
1578
+ -ms-transition: opacity .3s linear, top .3s ease-out;
1579
+ -o-transition: opacity .3s linear, top .3s ease-out;
1580
+ transition: opacity .3s linear, top .3s ease-out;
1581
+ top: -25%;
1582
+ }
1583
+ .modal.fade.in {
1584
+ top: 50%;
1585
+ }
1586
+ .modal-header {
1587
+ padding: 9px 15px;
1588
+ border-bottom: 1px solid #eee;
1589
+ }
1590
+ .modal-header .close {
1591
+ margin-top: 2px;
1592
+ }
1593
+ .modal-body {
1594
+ overflow-y: auto;
1595
+ max-height: 400px;
1596
+ padding: 15px;
1597
+ }
1598
+ .modal-form {
1599
+ margin-bottom: 0;
1600
+ }
1601
+ .modal-footer {
1602
+ padding: 14px 15px 15px;
1603
+ margin-bottom: 0;
1604
+ text-align: right;
1605
+ background-color: #f5f5f5;
1606
+ border-top: 1px solid #ddd;
1607
+ -webkit-border-radius: 0 0 6px 6px;
1608
+ -moz-border-radius: 0 0 6px 6px;
1609
+ border-radius: 0 0 6px 6px;
1610
+ -webkit-box-shadow: inset 0 1px 0 #ffffff;
1611
+ -moz-box-shadow: inset 0 1px 0 #ffffff;
1612
+ box-shadow: inset 0 1px 0 #ffffff;
1613
+ *zoom: 1;
1614
+ }
1615
+ .modal-footer:before,
1616
+ .modal-footer:after {
1617
+ display: table;
1618
+ content: "";
1619
+ }
1620
+ .modal-footer:after {
1621
+ clear: both;
1622
+ }
1623
+ .modal-footer .btn + .btn {
1624
+ margin-left: 5px;
1625
+ margin-bottom: 0;
1626
+ }
1627
+ .modal-footer .btn-group .btn + .btn {
1628
+ margin-left: -1px;
1629
+ }
1630
+ .close {
1631
+ float: right;
1632
+ font-size: 20px;
1633
+ font-weight: bold;
1634
+ line-height: 18px;
1635
+ color: #000000;
1636
+ text-shadow: 0 1px 0 #ffffff;
1637
+ opacity: 0.2;
1638
+ filter: alpha(opacity=20);
1639
+ }
1640
+ .close:hover {
1641
+ color: #000000;
1642
+ text-decoration: none;
1643
+ cursor: pointer;
1644
+ opacity: 0.4;
1645
+ filter: alpha(opacity=40);
1646
+ }
1647
+ button.close {
1648
+ padding: 0;
1649
+ cursor: pointer;
1650
+ background: transparent;
1651
+ border: 0;
1652
+ -webkit-appearance: none;
1653
+ }
1654
+ .pull-right {
1655
+ float: right;
1656
+ }
1657
+ .pull-left {
1658
+ float: left;
1659
+ }
1660
+ .hide {
1661
+ display: none;
1662
+ }
1663
+ .show {
1664
+ display: block;
1665
+ }
1666
+ .invisible {
1667
+ visibility: hidden;
1668
+ }
1669
+ .fade {
1670
+ opacity: 0;
1671
+ -webkit-transition: opacity 0.15s linear;
1672
+ -moz-transition: opacity 0.15s linear;
1673
+ -ms-transition: opacity 0.15s linear;
1674
+ -o-transition: opacity 0.15s linear;
1675
+ transition: opacity 0.15s linear;
1676
+ }
1677
+ .fade.in {
1678
+ opacity: 1;
1679
+ }
1680
+ .collapse {
1681
+ position: relative;
1682
+ height: 0;
1683
+ overflow: hidden;
1684
+ -webkit-transition: height 0.35s ease;
1685
+ -moz-transition: height 0.35s ease;
1686
+ -ms-transition: height 0.35s ease;
1687
+ -o-transition: height 0.35s ease;
1688
+ transition: height 0.35s ease;
1689
+ }
1690
+ .collapse.in {
1691
+ height: auto;
1692
+ }