effective_assets 0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +341 -72
  4. data/app/assets/javascripts/effective/snippets/effective_asset.js.coffee +53 -0
  5. data/app/assets/javascripts/effective_assets.js +4 -0
  6. data/app/assets/javascripts/effective_assets/asset_box.js.coffee +36 -0
  7. data/app/assets/javascripts/effective_assets/asset_box_dialog.js.coffee +49 -0
  8. data/app/assets/javascripts/effective_assets/asset_box_drag_and_drop.js.coffee +2 -0
  9. data/app/assets/javascripts/effective_assets/asset_box_filtering.js.coffee +16 -0
  10. data/app/assets/javascripts/effective_assets/asset_box_sorting.js.coffee +8 -0
  11. data/app/assets/javascripts/effective_assets/jquery_ui_sortable.js +813 -585
  12. data/app/assets/javascripts/effective_assets/s3_uploader.js.coffee +268 -0
  13. data/app/assets/javascripts/effective_assets_iframe.js.coffee +28 -0
  14. data/app/assets/stylesheets/active_admin/effective_assets.css.scss +57 -0
  15. data/app/assets/stylesheets/effective_assets/_asset_box_input.scss +54 -175
  16. data/app/assets/stylesheets/effective_assets/_iframe_bootstrap.scss +1714 -0
  17. data/app/assets/stylesheets/effective_assets/_input_bootstrap.scss +508 -0
  18. data/app/assets/stylesheets/effective_assets_iframe.css.scss +23 -0
  19. data/app/controllers/effective/assets_controller.rb +41 -0
  20. data/app/controllers/effective/s3_uploads_controller.rb +58 -74
  21. data/app/helpers/effective_assets_helper.rb +30 -14
  22. data/app/helpers/effective_assets_s3_helper.rb +69 -0
  23. data/app/models/concerns/acts_as_asset_box.rb +75 -11
  24. data/app/models/effective/access_denied.rb +17 -0
  25. data/app/models/effective/asset.rb +130 -93
  26. data/app/models/effective/attachment.rb +2 -7
  27. data/app/models/effective/delayed_job.rb +33 -78
  28. data/app/models/effective/snippets/effective_asset.rb +19 -0
  29. data/app/models/effective/user_uploads.rb +19 -0
  30. data/app/models/inputs/asset_box.rb +154 -0
  31. data/app/models/inputs/asset_box_form_input.rb +7 -0
  32. data/app/models/inputs/asset_box_formtastic_input.rb +9 -0
  33. data/app/models/inputs/asset_box_input.rb +13 -82
  34. data/app/models/inputs/asset_box_simple_form_input.rb +7 -0
  35. data/app/uploaders/effective_assets_uploader.rb +14 -2
  36. data/app/uploaders/{asset_uploader.rb → test_asset_uploader.rb} +1 -1
  37. data/app/views/active_admin/effective_assets/_edit.html.haml +3 -3
  38. data/app/views/active_admin/effective_assets/_new.html.haml +2 -1
  39. data/app/views/asset_box_input/_attachment_as_list.html.haml +17 -0
  40. data/app/views/asset_box_input/_attachment_as_table.html.haml +32 -0
  41. data/app/views/asset_box_input/_attachment_as_thumbnail.html.haml +20 -0
  42. data/app/views/asset_box_input/_dialog.html.haml +18 -0
  43. data/app/views/asset_box_input/_progress_bar_template.html.haml +8 -0
  44. data/app/views/asset_box_input/_uploader.html.haml +21 -115
  45. data/app/views/effective/assets/iframe.html.haml +17 -0
  46. data/app/views/effective/snippets/_effective_asset.html.haml +8 -0
  47. data/config/routes.rb +8 -2
  48. data/db/migrate/01_create_effective_assets.rb.erb +3 -0
  49. data/lib/effective_assets.rb +34 -3
  50. data/lib/effective_assets/engine.rb +11 -8
  51. data/lib/effective_assets/version.rb +1 -1
  52. data/lib/generators/templates/asset_uploader.rb +35 -0
  53. data/lib/generators/templates/effective_assets.rb +31 -4
  54. data/lib/tasks/effective_assets_tasks.rake +115 -4
  55. data/spec/internal/config/database.yml +3 -0
  56. data/spec/internal/config/initializers/effective_assets.rb +18 -0
  57. data/spec/internal/config/routes.rb +3 -0
  58. data/spec/internal/db/combustion_test.sqlite +0 -0
  59. data/spec/internal/db/schema.rb +52 -0
  60. data/spec/internal/log/test.log +793 -0
  61. data/spec/{dummy → internal}/public/favicon.ico +0 -0
  62. data/spec/internal/public/sprites.png +0 -0
  63. data/spec/models/asset_spec.rb +119 -35
  64. data/spec/spec_helper.rb +9 -3
  65. metadata +95 -234
  66. data/app/assets/images/effective_assets/s3_down_button.gif +0 -0
  67. data/app/assets/images/effective_assets/s3_over_button.gif +0 -0
  68. data/app/assets/images/effective_assets/s3_up_button.gif +0 -0
  69. data/app/assets/images/effective_assets/s3_upload.swf +0 -0
  70. data/app/assets/javascripts/effective_assets/asset_box_input.js.coffee +0 -71
  71. data/app/assets/javascripts/effective_assets/asset_box_uploader.js +0 -122
  72. data/app/assets/javascripts/effective_assets/asset_box_uploader_customization.js +0 -166
  73. data/app/controllers/effective/attachments_controller.rb +0 -14
  74. data/app/views/asset_box_input/_attachment_fields.html.haml +0 -14
  75. data/spec/dummy/README.rdoc +0 -261
  76. data/spec/dummy/Rakefile +0 -7
  77. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  78. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  79. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  80. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  81. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  82. data/spec/dummy/config.ru +0 -4
  83. data/spec/dummy/config/application.rb +0 -65
  84. data/spec/dummy/config/boot.rb +0 -10
  85. data/spec/dummy/config/database.yml +0 -25
  86. data/spec/dummy/config/environment.rb +0 -5
  87. data/spec/dummy/config/environments/development.rb +0 -37
  88. data/spec/dummy/config/environments/production.rb +0 -67
  89. data/spec/dummy/config/environments/test.rb +0 -37
  90. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  91. data/spec/dummy/config/initializers/inflections.rb +0 -15
  92. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  93. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  94. data/spec/dummy/config/initializers/session_store.rb +0 -8
  95. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  96. data/spec/dummy/config/locales/en.yml +0 -5
  97. data/spec/dummy/config/routes.rb +0 -58
  98. data/spec/dummy/db/development.sqlite3 +0 -0
  99. data/spec/dummy/db/schema.rb +0 -16
  100. data/spec/dummy/db/test.sqlite3 +0 -0
  101. data/spec/dummy/log/development.log +0 -71
  102. data/spec/dummy/log/test.log +0 -33
  103. data/spec/dummy/public/404.html +0 -26
  104. data/spec/dummy/public/422.html +0 -26
  105. data/spec/dummy/public/500.html +0 -25
  106. data/spec/dummy/script/rails +0 -6
  107. data/spec/dummy/spec_link +0 -3
@@ -0,0 +1,1714 @@
1
+ /*!
2
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
3
+ * Copyright 2011-2014 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ /*!
8
+ * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=fe4626f1191ceb81910a)
9
+ * Config saved to config.json and https://gist.github.com/fe4626f1191ceb81910a
10
+ */
11
+ /*! normalize.css v3.0.1 | MIT License | git.io/normalize */
12
+ html {
13
+ font-family: sans-serif;
14
+ -ms-text-size-adjust: 100%;
15
+ -webkit-text-size-adjust: 100%;
16
+ }
17
+ body {
18
+ margin: 0;
19
+ }
20
+ article,
21
+ aside,
22
+ details,
23
+ figcaption,
24
+ figure,
25
+ footer,
26
+ header,
27
+ hgroup,
28
+ main,
29
+ nav,
30
+ section,
31
+ summary {
32
+ display: block;
33
+ }
34
+ audio,
35
+ canvas,
36
+ progress,
37
+ video {
38
+ display: inline-block;
39
+ vertical-align: baseline;
40
+ }
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+ [hidden],
46
+ template {
47
+ display: none;
48
+ }
49
+ a {
50
+ background: transparent;
51
+ }
52
+ a:active,
53
+ a:hover {
54
+ outline: 0;
55
+ }
56
+ abbr[title] {
57
+ border-bottom: 1px dotted;
58
+ }
59
+ b,
60
+ strong {
61
+ font-weight: bold;
62
+ }
63
+ dfn {
64
+ font-style: italic;
65
+ }
66
+ h1 {
67
+ font-size: 2em;
68
+ margin: 0.67em 0;
69
+ }
70
+ mark {
71
+ background: #ff0;
72
+ color: #000;
73
+ }
74
+ small {
75
+ font-size: 80%;
76
+ }
77
+ sub,
78
+ sup {
79
+ font-size: 75%;
80
+ line-height: 0;
81
+ position: relative;
82
+ vertical-align: baseline;
83
+ }
84
+ sup {
85
+ top: -0.5em;
86
+ }
87
+ sub {
88
+ bottom: -0.25em;
89
+ }
90
+ img {
91
+ border: 0;
92
+ }
93
+ svg:not(:root) {
94
+ overflow: hidden;
95
+ }
96
+ figure {
97
+ margin: 1em 40px;
98
+ }
99
+ hr {
100
+ -moz-box-sizing: content-box;
101
+ box-sizing: content-box;
102
+ height: 0;
103
+ }
104
+ pre {
105
+ overflow: auto;
106
+ }
107
+ code,
108
+ kbd,
109
+ pre,
110
+ samp {
111
+ font-family: monospace, monospace;
112
+ font-size: 1em;
113
+ }
114
+ button,
115
+ input,
116
+ optgroup,
117
+ select,
118
+ textarea {
119
+ color: inherit;
120
+ font: inherit;
121
+ margin: 0;
122
+ }
123
+ button {
124
+ overflow: visible;
125
+ }
126
+ button,
127
+ select {
128
+ text-transform: none;
129
+ }
130
+ button,
131
+ html input[type="button"],
132
+ input[type="reset"],
133
+ input[type="submit"] {
134
+ -webkit-appearance: button;
135
+ cursor: pointer;
136
+ }
137
+ button[disabled],
138
+ html input[disabled] {
139
+ cursor: default;
140
+ }
141
+ button::-moz-focus-inner,
142
+ input::-moz-focus-inner {
143
+ border: 0;
144
+ padding: 0;
145
+ }
146
+ input {
147
+ line-height: normal;
148
+ }
149
+ input[type="checkbox"],
150
+ input[type="radio"] {
151
+ box-sizing: border-box;
152
+ padding: 0;
153
+ }
154
+ input[type="number"]::-webkit-inner-spin-button,
155
+ input[type="number"]::-webkit-outer-spin-button {
156
+ height: auto;
157
+ }
158
+ input[type="search"] {
159
+ -webkit-appearance: textfield;
160
+ -moz-box-sizing: content-box;
161
+ -webkit-box-sizing: content-box;
162
+ box-sizing: content-box;
163
+ }
164
+ input[type="search"]::-webkit-search-cancel-button,
165
+ input[type="search"]::-webkit-search-decoration {
166
+ -webkit-appearance: none;
167
+ }
168
+ fieldset {
169
+ border: 1px solid #c0c0c0;
170
+ margin: 0 2px;
171
+ padding: 0.35em 0.625em 0.75em;
172
+ }
173
+ legend {
174
+ border: 0;
175
+ padding: 0;
176
+ }
177
+ textarea {
178
+ overflow: auto;
179
+ }
180
+ optgroup {
181
+ font-weight: bold;
182
+ }
183
+ table {
184
+ border-collapse: collapse;
185
+ border-spacing: 0;
186
+ }
187
+ td,
188
+ th {
189
+ padding: 0;
190
+ }
191
+ * {
192
+ -webkit-box-sizing: border-box;
193
+ -moz-box-sizing: border-box;
194
+ box-sizing: border-box;
195
+ }
196
+ *:before,
197
+ *:after {
198
+ -webkit-box-sizing: border-box;
199
+ -moz-box-sizing: border-box;
200
+ box-sizing: border-box;
201
+ }
202
+ html {
203
+ font-size: 10px;
204
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
205
+ }
206
+ body {
207
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
208
+ font-size: 14px;
209
+ line-height: 1.42857143;
210
+ color: #333333;
211
+ background-color: #ffffff;
212
+ }
213
+ input,
214
+ button,
215
+ select,
216
+ textarea {
217
+ font-family: inherit;
218
+ font-size: inherit;
219
+ line-height: inherit;
220
+ }
221
+ a {
222
+ color: #428bca;
223
+ text-decoration: none;
224
+ }
225
+ a:hover,
226
+ a:focus {
227
+ color: #2a6496;
228
+ text-decoration: underline;
229
+ }
230
+ a:focus {
231
+ outline: thin dotted;
232
+ outline: 5px auto -webkit-focus-ring-color;
233
+ outline-offset: -2px;
234
+ }
235
+ figure {
236
+ margin: 0;
237
+ }
238
+ img {
239
+ vertical-align: middle;
240
+ }
241
+ .img-responsive {
242
+ display: block;
243
+ width: 100% \9;
244
+ max-width: 100%;
245
+ height: auto;
246
+ }
247
+ .img-rounded {
248
+ border-radius: 6px;
249
+ }
250
+ .img-thumbnail {
251
+ padding: 4px;
252
+ line-height: 1.42857143;
253
+ background-color: #ffffff;
254
+ border: 1px solid #dddddd;
255
+ border-radius: 4px;
256
+ -webkit-transition: all 0.2s ease-in-out;
257
+ -o-transition: all 0.2s ease-in-out;
258
+ transition: all 0.2s ease-in-out;
259
+ display: inline-block;
260
+ width: 100% \9;
261
+ max-width: 100%;
262
+ height: auto;
263
+ }
264
+ .img-circle {
265
+ border-radius: 50%;
266
+ }
267
+ hr {
268
+ margin-top: 20px;
269
+ margin-bottom: 20px;
270
+ border: 0;
271
+ border-top: 1px solid #eeeeee;
272
+ }
273
+ .sr-only {
274
+ position: absolute;
275
+ width: 1px;
276
+ height: 1px;
277
+ margin: -1px;
278
+ padding: 0;
279
+ overflow: hidden;
280
+ clip: rect(0, 0, 0, 0);
281
+ border: 0;
282
+ }
283
+ .sr-only-focusable:active,
284
+ .sr-only-focusable:focus {
285
+ position: static;
286
+ width: auto;
287
+ height: auto;
288
+ margin: 0;
289
+ overflow: visible;
290
+ clip: auto;
291
+ }
292
+ h1,
293
+ h2,
294
+ h3,
295
+ h4,
296
+ h5,
297
+ h6,
298
+ .h1,
299
+ .h2,
300
+ .h3,
301
+ .h4,
302
+ .h5,
303
+ .h6 {
304
+ font-family: inherit;
305
+ font-weight: 500;
306
+ line-height: 1.1;
307
+ color: inherit;
308
+ }
309
+ h1 small,
310
+ h2 small,
311
+ h3 small,
312
+ h4 small,
313
+ h5 small,
314
+ h6 small,
315
+ .h1 small,
316
+ .h2 small,
317
+ .h3 small,
318
+ .h4 small,
319
+ .h5 small,
320
+ .h6 small,
321
+ h1 .small,
322
+ h2 .small,
323
+ h3 .small,
324
+ h4 .small,
325
+ h5 .small,
326
+ h6 .small,
327
+ .h1 .small,
328
+ .h2 .small,
329
+ .h3 .small,
330
+ .h4 .small,
331
+ .h5 .small,
332
+ .h6 .small {
333
+ font-weight: normal;
334
+ line-height: 1;
335
+ color: #777777;
336
+ }
337
+ h1,
338
+ .h1,
339
+ h2,
340
+ .h2,
341
+ h3,
342
+ .h3 {
343
+ margin-top: 20px;
344
+ margin-bottom: 10px;
345
+ }
346
+ h1 small,
347
+ .h1 small,
348
+ h2 small,
349
+ .h2 small,
350
+ h3 small,
351
+ .h3 small,
352
+ h1 .small,
353
+ .h1 .small,
354
+ h2 .small,
355
+ .h2 .small,
356
+ h3 .small,
357
+ .h3 .small {
358
+ font-size: 65%;
359
+ }
360
+ h4,
361
+ .h4,
362
+ h5,
363
+ .h5,
364
+ h6,
365
+ .h6 {
366
+ margin-top: 10px;
367
+ margin-bottom: 10px;
368
+ }
369
+ h4 small,
370
+ .h4 small,
371
+ h5 small,
372
+ .h5 small,
373
+ h6 small,
374
+ .h6 small,
375
+ h4 .small,
376
+ .h4 .small,
377
+ h5 .small,
378
+ .h5 .small,
379
+ h6 .small,
380
+ .h6 .small {
381
+ font-size: 75%;
382
+ }
383
+ h1,
384
+ .h1 {
385
+ font-size: 36px;
386
+ }
387
+ h2,
388
+ .h2 {
389
+ font-size: 30px;
390
+ }
391
+ h3,
392
+ .h3 {
393
+ font-size: 24px;
394
+ }
395
+ h4,
396
+ .h4 {
397
+ font-size: 18px;
398
+ }
399
+ h5,
400
+ .h5 {
401
+ font-size: 14px;
402
+ }
403
+ h6,
404
+ .h6 {
405
+ font-size: 12px;
406
+ }
407
+ p {
408
+ margin: 0 0 10px;
409
+ }
410
+ .lead {
411
+ margin-bottom: 20px;
412
+ font-size: 16px;
413
+ font-weight: 300;
414
+ line-height: 1.4;
415
+ }
416
+ @media (min-width: 768px) {
417
+ .lead {
418
+ font-size: 21px;
419
+ }
420
+ }
421
+ small,
422
+ .small {
423
+ font-size: 85%;
424
+ }
425
+ cite {
426
+ font-style: normal;
427
+ }
428
+ mark,
429
+ .mark {
430
+ background-color: #fcf8e3;
431
+ padding: .2em;
432
+ }
433
+ .text-left {
434
+ text-align: left;
435
+ }
436
+ .text-right {
437
+ text-align: right;
438
+ }
439
+ .text-center {
440
+ text-align: center;
441
+ }
442
+ .text-justify {
443
+ text-align: justify;
444
+ }
445
+ .text-nowrap {
446
+ white-space: nowrap;
447
+ }
448
+ .text-lowercase {
449
+ text-transform: lowercase;
450
+ }
451
+ .text-uppercase {
452
+ text-transform: uppercase;
453
+ }
454
+ .text-capitalize {
455
+ text-transform: capitalize;
456
+ }
457
+ .text-muted {
458
+ color: #777777;
459
+ }
460
+ .text-primary {
461
+ color: #428bca;
462
+ }
463
+ a.text-primary:hover {
464
+ color: #3071a9;
465
+ }
466
+ .text-success {
467
+ color: #3c763d;
468
+ }
469
+ a.text-success:hover {
470
+ color: #2b542c;
471
+ }
472
+ .text-info {
473
+ color: #31708f;
474
+ }
475
+ a.text-info:hover {
476
+ color: #245269;
477
+ }
478
+ .text-warning {
479
+ color: #8a6d3b;
480
+ }
481
+ a.text-warning:hover {
482
+ color: #66512c;
483
+ }
484
+ .text-danger {
485
+ color: #a94442;
486
+ }
487
+ a.text-danger:hover {
488
+ color: #843534;
489
+ }
490
+ .bg-primary {
491
+ color: #fff;
492
+ background-color: #428bca;
493
+ }
494
+ a.bg-primary:hover {
495
+ background-color: #3071a9;
496
+ }
497
+ .bg-success {
498
+ background-color: #dff0d8;
499
+ }
500
+ a.bg-success:hover {
501
+ background-color: #c1e2b3;
502
+ }
503
+ .bg-info {
504
+ background-color: #d9edf7;
505
+ }
506
+ a.bg-info:hover {
507
+ background-color: #afd9ee;
508
+ }
509
+ .bg-warning {
510
+ background-color: #fcf8e3;
511
+ }
512
+ a.bg-warning:hover {
513
+ background-color: #f7ecb5;
514
+ }
515
+ .bg-danger {
516
+ background-color: #f2dede;
517
+ }
518
+ a.bg-danger:hover {
519
+ background-color: #e4b9b9;
520
+ }
521
+ .page-header {
522
+ padding-bottom: 9px;
523
+ margin: 40px 0 20px;
524
+ border-bottom: 1px solid #eeeeee;
525
+ }
526
+ ul,
527
+ ol {
528
+ margin-top: 0;
529
+ margin-bottom: 10px;
530
+ }
531
+ ul ul,
532
+ ol ul,
533
+ ul ol,
534
+ ol ol {
535
+ margin-bottom: 0;
536
+ }
537
+ .list-unstyled {
538
+ padding-left: 0;
539
+ list-style: none;
540
+ }
541
+ .list-inline {
542
+ padding-left: 0;
543
+ list-style: none;
544
+ margin-left: -5px;
545
+ }
546
+ .list-inline > li {
547
+ display: inline-block;
548
+ padding-left: 5px;
549
+ padding-right: 5px;
550
+ }
551
+ dl {
552
+ margin-top: 0;
553
+ margin-bottom: 20px;
554
+ }
555
+ dt,
556
+ dd {
557
+ line-height: 1.42857143;
558
+ }
559
+ dt {
560
+ font-weight: bold;
561
+ }
562
+ dd {
563
+ margin-left: 0;
564
+ }
565
+ @media (min-width: 768px) {
566
+ .dl-horizontal dt {
567
+ float: left;
568
+ width: 160px;
569
+ clear: left;
570
+ text-align: right;
571
+ overflow: hidden;
572
+ text-overflow: ellipsis;
573
+ white-space: nowrap;
574
+ }
575
+ .dl-horizontal dd {
576
+ margin-left: 180px;
577
+ }
578
+ }
579
+ abbr[title],
580
+ abbr[data-original-title] {
581
+ cursor: help;
582
+ border-bottom: 1px dotted #777777;
583
+ }
584
+ .initialism {
585
+ font-size: 90%;
586
+ text-transform: uppercase;
587
+ }
588
+ blockquote {
589
+ padding: 10px 20px;
590
+ margin: 0 0 20px;
591
+ font-size: 17.5px;
592
+ border-left: 5px solid #eeeeee;
593
+ }
594
+ blockquote p:last-child,
595
+ blockquote ul:last-child,
596
+ blockquote ol:last-child {
597
+ margin-bottom: 0;
598
+ }
599
+ blockquote footer,
600
+ blockquote small,
601
+ blockquote .small {
602
+ display: block;
603
+ font-size: 80%;
604
+ line-height: 1.42857143;
605
+ color: #777777;
606
+ }
607
+ blockquote footer:before,
608
+ blockquote small:before,
609
+ blockquote .small:before {
610
+ content: '\2014 \00A0';
611
+ }
612
+ .blockquote-reverse,
613
+ blockquote.pull-right {
614
+ padding-right: 15px;
615
+ padding-left: 0;
616
+ border-right: 5px solid #eeeeee;
617
+ border-left: 0;
618
+ text-align: right;
619
+ }
620
+ .blockquote-reverse footer:before,
621
+ blockquote.pull-right footer:before,
622
+ .blockquote-reverse small:before,
623
+ blockquote.pull-right small:before,
624
+ .blockquote-reverse .small:before,
625
+ blockquote.pull-right .small:before {
626
+ content: '';
627
+ }
628
+ .blockquote-reverse footer:after,
629
+ blockquote.pull-right footer:after,
630
+ .blockquote-reverse small:after,
631
+ blockquote.pull-right small:after,
632
+ .blockquote-reverse .small:after,
633
+ blockquote.pull-right .small:after {
634
+ content: '\00A0 \2014';
635
+ }
636
+ blockquote:before,
637
+ blockquote:after {
638
+ content: "";
639
+ }
640
+ address {
641
+ margin-bottom: 20px;
642
+ font-style: normal;
643
+ line-height: 1.42857143;
644
+ }
645
+ table {
646
+ background-color: transparent;
647
+ }
648
+ th {
649
+ text-align: left;
650
+ }
651
+ .table {
652
+ width: 100%;
653
+ max-width: 100%;
654
+ margin-bottom: 20px;
655
+ }
656
+ .table > thead > tr > th,
657
+ .table > tbody > tr > th,
658
+ .table > tfoot > tr > th,
659
+ .table > thead > tr > td,
660
+ .table > tbody > tr > td,
661
+ .table > tfoot > tr > td {
662
+ padding: 8px;
663
+ line-height: 1.42857143;
664
+ vertical-align: top;
665
+ border-top: 1px solid #dddddd;
666
+ }
667
+ .table > thead > tr > th {
668
+ vertical-align: bottom;
669
+ border-bottom: 2px solid #dddddd;
670
+ }
671
+ .table > caption + thead > tr:first-child > th,
672
+ .table > colgroup + thead > tr:first-child > th,
673
+ .table > thead:first-child > tr:first-child > th,
674
+ .table > caption + thead > tr:first-child > td,
675
+ .table > colgroup + thead > tr:first-child > td,
676
+ .table > thead:first-child > tr:first-child > td {
677
+ border-top: 0;
678
+ }
679
+ .table > tbody + tbody {
680
+ border-top: 2px solid #dddddd;
681
+ }
682
+ .table .table {
683
+ background-color: #ffffff;
684
+ }
685
+ .table-condensed > thead > tr > th,
686
+ .table-condensed > tbody > tr > th,
687
+ .table-condensed > tfoot > tr > th,
688
+ .table-condensed > thead > tr > td,
689
+ .table-condensed > tbody > tr > td,
690
+ .table-condensed > tfoot > tr > td {
691
+ padding: 5px;
692
+ }
693
+ .table-bordered {
694
+ border: 1px solid #dddddd;
695
+ }
696
+ .table-bordered > thead > tr > th,
697
+ .table-bordered > tbody > tr > th,
698
+ .table-bordered > tfoot > tr > th,
699
+ .table-bordered > thead > tr > td,
700
+ .table-bordered > tbody > tr > td,
701
+ .table-bordered > tfoot > tr > td {
702
+ border: 1px solid #dddddd;
703
+ }
704
+ .table-bordered > thead > tr > th,
705
+ .table-bordered > thead > tr > td {
706
+ border-bottom-width: 2px;
707
+ }
708
+ .table-striped > tbody > tr:nth-child(odd) > td,
709
+ .table-striped > tbody > tr:nth-child(odd) > th {
710
+ background-color: #f9f9f9;
711
+ }
712
+ .table-hover > tbody > tr:hover > td,
713
+ .table-hover > tbody > tr:hover > th {
714
+ background-color: #f5f5f5;
715
+ }
716
+ table col[class*="col-"] {
717
+ position: static;
718
+ float: none;
719
+ display: table-column;
720
+ }
721
+ table td[class*="col-"],
722
+ table th[class*="col-"] {
723
+ position: static;
724
+ float: none;
725
+ display: table-cell;
726
+ }
727
+ .table > thead > tr > td.active,
728
+ .table > tbody > tr > td.active,
729
+ .table > tfoot > tr > td.active,
730
+ .table > thead > tr > th.active,
731
+ .table > tbody > tr > th.active,
732
+ .table > tfoot > tr > th.active,
733
+ .table > thead > tr.active > td,
734
+ .table > tbody > tr.active > td,
735
+ .table > tfoot > tr.active > td,
736
+ .table > thead > tr.active > th,
737
+ .table > tbody > tr.active > th,
738
+ .table > tfoot > tr.active > th {
739
+ background-color: #f5f5f5;
740
+ }
741
+ .table-hover > tbody > tr > td.active:hover,
742
+ .table-hover > tbody > tr > th.active:hover,
743
+ .table-hover > tbody > tr.active:hover > td,
744
+ .table-hover > tbody > tr:hover > .active,
745
+ .table-hover > tbody > tr.active:hover > th {
746
+ background-color: #e8e8e8;
747
+ }
748
+ .table > thead > tr > td.success,
749
+ .table > tbody > tr > td.success,
750
+ .table > tfoot > tr > td.success,
751
+ .table > thead > tr > th.success,
752
+ .table > tbody > tr > th.success,
753
+ .table > tfoot > tr > th.success,
754
+ .table > thead > tr.success > td,
755
+ .table > tbody > tr.success > td,
756
+ .table > tfoot > tr.success > td,
757
+ .table > thead > tr.success > th,
758
+ .table > tbody > tr.success > th,
759
+ .table > tfoot > tr.success > th {
760
+ background-color: #dff0d8;
761
+ }
762
+ .table-hover > tbody > tr > td.success:hover,
763
+ .table-hover > tbody > tr > th.success:hover,
764
+ .table-hover > tbody > tr.success:hover > td,
765
+ .table-hover > tbody > tr:hover > .success,
766
+ .table-hover > tbody > tr.success:hover > th {
767
+ background-color: #d0e9c6;
768
+ }
769
+ .table > thead > tr > td.info,
770
+ .table > tbody > tr > td.info,
771
+ .table > tfoot > tr > td.info,
772
+ .table > thead > tr > th.info,
773
+ .table > tbody > tr > th.info,
774
+ .table > tfoot > tr > th.info,
775
+ .table > thead > tr.info > td,
776
+ .table > tbody > tr.info > td,
777
+ .table > tfoot > tr.info > td,
778
+ .table > thead > tr.info > th,
779
+ .table > tbody > tr.info > th,
780
+ .table > tfoot > tr.info > th {
781
+ background-color: #d9edf7;
782
+ }
783
+ .table-hover > tbody > tr > td.info:hover,
784
+ .table-hover > tbody > tr > th.info:hover,
785
+ .table-hover > tbody > tr.info:hover > td,
786
+ .table-hover > tbody > tr:hover > .info,
787
+ .table-hover > tbody > tr.info:hover > th {
788
+ background-color: #c4e3f3;
789
+ }
790
+ .table > thead > tr > td.warning,
791
+ .table > tbody > tr > td.warning,
792
+ .table > tfoot > tr > td.warning,
793
+ .table > thead > tr > th.warning,
794
+ .table > tbody > tr > th.warning,
795
+ .table > tfoot > tr > th.warning,
796
+ .table > thead > tr.warning > td,
797
+ .table > tbody > tr.warning > td,
798
+ .table > tfoot > tr.warning > td,
799
+ .table > thead > tr.warning > th,
800
+ .table > tbody > tr.warning > th,
801
+ .table > tfoot > tr.warning > th {
802
+ background-color: #fcf8e3;
803
+ }
804
+ .table-hover > tbody > tr > td.warning:hover,
805
+ .table-hover > tbody > tr > th.warning:hover,
806
+ .table-hover > tbody > tr.warning:hover > td,
807
+ .table-hover > tbody > tr:hover > .warning,
808
+ .table-hover > tbody > tr.warning:hover > th {
809
+ background-color: #faf2cc;
810
+ }
811
+ .table > thead > tr > td.danger,
812
+ .table > tbody > tr > td.danger,
813
+ .table > tfoot > tr > td.danger,
814
+ .table > thead > tr > th.danger,
815
+ .table > tbody > tr > th.danger,
816
+ .table > tfoot > tr > th.danger,
817
+ .table > thead > tr.danger > td,
818
+ .table > tbody > tr.danger > td,
819
+ .table > tfoot > tr.danger > td,
820
+ .table > thead > tr.danger > th,
821
+ .table > tbody > tr.danger > th,
822
+ .table > tfoot > tr.danger > th {
823
+ background-color: #f2dede;
824
+ }
825
+ .table-hover > tbody > tr > td.danger:hover,
826
+ .table-hover > tbody > tr > th.danger:hover,
827
+ .table-hover > tbody > tr.danger:hover > td,
828
+ .table-hover > tbody > tr:hover > .danger,
829
+ .table-hover > tbody > tr.danger:hover > th {
830
+ background-color: #ebcccc;
831
+ }
832
+ @media screen and (max-width: 767px) {
833
+ .table-responsive {
834
+ width: 100%;
835
+ margin-bottom: 15px;
836
+ overflow-y: hidden;
837
+ overflow-x: auto;
838
+ -ms-overflow-style: -ms-autohiding-scrollbar;
839
+ border: 1px solid #dddddd;
840
+ -webkit-overflow-scrolling: touch;
841
+ }
842
+ .table-responsive > .table {
843
+ margin-bottom: 0;
844
+ }
845
+ .table-responsive > .table > thead > tr > th,
846
+ .table-responsive > .table > tbody > tr > th,
847
+ .table-responsive > .table > tfoot > tr > th,
848
+ .table-responsive > .table > thead > tr > td,
849
+ .table-responsive > .table > tbody > tr > td,
850
+ .table-responsive > .table > tfoot > tr > td {
851
+ white-space: nowrap;
852
+ }
853
+ .table-responsive > .table-bordered {
854
+ border: 0;
855
+ }
856
+ .table-responsive > .table-bordered > thead > tr > th:first-child,
857
+ .table-responsive > .table-bordered > tbody > tr > th:first-child,
858
+ .table-responsive > .table-bordered > tfoot > tr > th:first-child,
859
+ .table-responsive > .table-bordered > thead > tr > td:first-child,
860
+ .table-responsive > .table-bordered > tbody > tr > td:first-child,
861
+ .table-responsive > .table-bordered > tfoot > tr > td:first-child {
862
+ border-left: 0;
863
+ }
864
+ .table-responsive > .table-bordered > thead > tr > th:last-child,
865
+ .table-responsive > .table-bordered > tbody > tr > th:last-child,
866
+ .table-responsive > .table-bordered > tfoot > tr > th:last-child,
867
+ .table-responsive > .table-bordered > thead > tr > td:last-child,
868
+ .table-responsive > .table-bordered > tbody > tr > td:last-child,
869
+ .table-responsive > .table-bordered > tfoot > tr > td:last-child {
870
+ border-right: 0;
871
+ }
872
+ .table-responsive > .table-bordered > tbody > tr:last-child > th,
873
+ .table-responsive > .table-bordered > tfoot > tr:last-child > th,
874
+ .table-responsive > .table-bordered > tbody > tr:last-child > td,
875
+ .table-responsive > .table-bordered > tfoot > tr:last-child > td {
876
+ border-bottom: 0;
877
+ }
878
+ }
879
+ fieldset {
880
+ padding: 0;
881
+ margin: 0;
882
+ border: 0;
883
+ min-width: 0;
884
+ }
885
+ legend {
886
+ display: block;
887
+ width: 100%;
888
+ padding: 0;
889
+ margin-bottom: 20px;
890
+ font-size: 21px;
891
+ line-height: inherit;
892
+ color: #333333;
893
+ border: 0;
894
+ border-bottom: 1px solid #e5e5e5;
895
+ }
896
+ label {
897
+ display: inline-block;
898
+ max-width: 100%;
899
+ margin-bottom: 5px;
900
+ font-weight: bold;
901
+ }
902
+ input[type="search"] {
903
+ -webkit-box-sizing: border-box;
904
+ -moz-box-sizing: border-box;
905
+ box-sizing: border-box;
906
+ }
907
+ input[type="radio"],
908
+ input[type="checkbox"] {
909
+ margin: 4px 0 0;
910
+ margin-top: 1px \9;
911
+ line-height: normal;
912
+ }
913
+ input[type="file"] {
914
+ display: block;
915
+ }
916
+ input[type="range"] {
917
+ display: block;
918
+ width: 100%;
919
+ }
920
+ select[multiple],
921
+ select[size] {
922
+ height: auto;
923
+ }
924
+ input[type="file"]:focus,
925
+ input[type="radio"]:focus,
926
+ input[type="checkbox"]:focus {
927
+ outline: thin dotted;
928
+ outline: 5px auto -webkit-focus-ring-color;
929
+ outline-offset: -2px;
930
+ }
931
+ output {
932
+ display: block;
933
+ padding-top: 7px;
934
+ font-size: 14px;
935
+ line-height: 1.42857143;
936
+ color: #555555;
937
+ }
938
+ .form-control {
939
+ display: block;
940
+ width: 100%;
941
+ height: 34px;
942
+ padding: 6px 12px;
943
+ font-size: 14px;
944
+ line-height: 1.42857143;
945
+ color: #555555;
946
+ background-color: #ffffff;
947
+ background-image: none;
948
+ border: 1px solid #cccccc;
949
+ border-radius: 4px;
950
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
951
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
952
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
953
+ -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
954
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
955
+ }
956
+ .form-control:focus {
957
+ border-color: #66afe9;
958
+ outline: 0;
959
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
960
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
961
+ }
962
+ .form-control::-moz-placeholder {
963
+ color: #777777;
964
+ opacity: 1;
965
+ }
966
+ .form-control:-ms-input-placeholder {
967
+ color: #777777;
968
+ }
969
+ .form-control::-webkit-input-placeholder {
970
+ color: #777777;
971
+ }
972
+ .form-control[disabled],
973
+ .form-control[readonly],
974
+ fieldset[disabled] .form-control {
975
+ cursor: not-allowed;
976
+ background-color: #eeeeee;
977
+ opacity: 1;
978
+ }
979
+ textarea.form-control {
980
+ height: auto;
981
+ }
982
+ input[type="search"] {
983
+ -webkit-appearance: none;
984
+ }
985
+ input[type="date"],
986
+ input[type="time"],
987
+ input[type="datetime-local"],
988
+ input[type="month"] {
989
+ line-height: 34px;
990
+ line-height: 1.42857143 \0;
991
+ }
992
+ input[type="date"].input-sm,
993
+ input[type="time"].input-sm,
994
+ input[type="datetime-local"].input-sm,
995
+ input[type="month"].input-sm {
996
+ line-height: 30px;
997
+ }
998
+ input[type="date"].input-lg,
999
+ input[type="time"].input-lg,
1000
+ input[type="datetime-local"].input-lg,
1001
+ input[type="month"].input-lg {
1002
+ line-height: 46px;
1003
+ }
1004
+ .form-group {
1005
+ margin-bottom: 15px;
1006
+ }
1007
+ .radio,
1008
+ .checkbox {
1009
+ position: relative;
1010
+ display: block;
1011
+ min-height: 20px;
1012
+ margin-top: 10px;
1013
+ margin-bottom: 10px;
1014
+ }
1015
+ .radio label,
1016
+ .checkbox label {
1017
+ padding-left: 20px;
1018
+ margin-bottom: 0;
1019
+ font-weight: normal;
1020
+ cursor: pointer;
1021
+ }
1022
+ .radio input[type="radio"],
1023
+ .radio-inline input[type="radio"],
1024
+ .checkbox input[type="checkbox"],
1025
+ .checkbox-inline input[type="checkbox"] {
1026
+ position: absolute;
1027
+ margin-left: -20px;
1028
+ margin-top: 4px \9;
1029
+ }
1030
+ .radio + .radio,
1031
+ .checkbox + .checkbox {
1032
+ margin-top: -5px;
1033
+ }
1034
+ .radio-inline,
1035
+ .checkbox-inline {
1036
+ display: inline-block;
1037
+ padding-left: 20px;
1038
+ margin-bottom: 0;
1039
+ vertical-align: middle;
1040
+ font-weight: normal;
1041
+ cursor: pointer;
1042
+ }
1043
+ .radio-inline + .radio-inline,
1044
+ .checkbox-inline + .checkbox-inline {
1045
+ margin-top: 0;
1046
+ margin-left: 10px;
1047
+ }
1048
+ input[type="radio"][disabled],
1049
+ input[type="checkbox"][disabled],
1050
+ input[type="radio"].disabled,
1051
+ input[type="checkbox"].disabled,
1052
+ fieldset[disabled] input[type="radio"],
1053
+ fieldset[disabled] input[type="checkbox"] {
1054
+ cursor: not-allowed;
1055
+ }
1056
+ .radio-inline.disabled,
1057
+ .checkbox-inline.disabled,
1058
+ fieldset[disabled] .radio-inline,
1059
+ fieldset[disabled] .checkbox-inline {
1060
+ cursor: not-allowed;
1061
+ }
1062
+ .radio.disabled label,
1063
+ .checkbox.disabled label,
1064
+ fieldset[disabled] .radio label,
1065
+ fieldset[disabled] .checkbox label {
1066
+ cursor: not-allowed;
1067
+ }
1068
+ .form-control-static {
1069
+ padding-top: 7px;
1070
+ padding-bottom: 7px;
1071
+ margin-bottom: 0;
1072
+ }
1073
+ .form-control-static.input-lg,
1074
+ .form-control-static.input-sm {
1075
+ padding-left: 0;
1076
+ padding-right: 0;
1077
+ }
1078
+ .input-sm,
1079
+ .form-horizontal .form-group-sm .form-control {
1080
+ height: 30px;
1081
+ padding: 5px 10px;
1082
+ font-size: 12px;
1083
+ line-height: 1.5;
1084
+ border-radius: 3px;
1085
+ }
1086
+ select.input-sm {
1087
+ height: 30px;
1088
+ line-height: 30px;
1089
+ }
1090
+ textarea.input-sm,
1091
+ select[multiple].input-sm {
1092
+ height: auto;
1093
+ }
1094
+ .input-lg,
1095
+ .form-horizontal .form-group-lg .form-control {
1096
+ height: 46px;
1097
+ padding: 10px 16px;
1098
+ font-size: 18px;
1099
+ line-height: 1.33;
1100
+ border-radius: 6px;
1101
+ }
1102
+ select.input-lg {
1103
+ height: 46px;
1104
+ line-height: 46px;
1105
+ }
1106
+ textarea.input-lg,
1107
+ select[multiple].input-lg {
1108
+ height: auto;
1109
+ }
1110
+ .has-feedback {
1111
+ position: relative;
1112
+ }
1113
+ .has-feedback .form-control {
1114
+ padding-right: 42.5px;
1115
+ }
1116
+ .form-control-feedback {
1117
+ position: absolute;
1118
+ top: 25px;
1119
+ right: 0;
1120
+ z-index: 2;
1121
+ display: block;
1122
+ width: 34px;
1123
+ height: 34px;
1124
+ line-height: 34px;
1125
+ text-align: center;
1126
+ }
1127
+ .input-lg + .form-control-feedback {
1128
+ width: 46px;
1129
+ height: 46px;
1130
+ line-height: 46px;
1131
+ }
1132
+ .input-sm + .form-control-feedback {
1133
+ width: 30px;
1134
+ height: 30px;
1135
+ line-height: 30px;
1136
+ }
1137
+ .has-success .help-block,
1138
+ .has-success .control-label,
1139
+ .has-success .radio,
1140
+ .has-success .checkbox,
1141
+ .has-success .radio-inline,
1142
+ .has-success .checkbox-inline {
1143
+ color: #3c763d;
1144
+ }
1145
+ .has-success .form-control {
1146
+ border-color: #3c763d;
1147
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1148
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1149
+ }
1150
+ .has-success .form-control:focus {
1151
+ border-color: #2b542c;
1152
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
1153
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
1154
+ }
1155
+ .has-success .input-group-addon {
1156
+ color: #3c763d;
1157
+ border-color: #3c763d;
1158
+ background-color: #dff0d8;
1159
+ }
1160
+ .has-success .form-control-feedback {
1161
+ color: #3c763d;
1162
+ }
1163
+ .has-warning .help-block,
1164
+ .has-warning .control-label,
1165
+ .has-warning .radio,
1166
+ .has-warning .checkbox,
1167
+ .has-warning .radio-inline,
1168
+ .has-warning .checkbox-inline {
1169
+ color: #8a6d3b;
1170
+ }
1171
+ .has-warning .form-control {
1172
+ border-color: #8a6d3b;
1173
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1174
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1175
+ }
1176
+ .has-warning .form-control:focus {
1177
+ border-color: #66512c;
1178
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
1179
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
1180
+ }
1181
+ .has-warning .input-group-addon {
1182
+ color: #8a6d3b;
1183
+ border-color: #8a6d3b;
1184
+ background-color: #fcf8e3;
1185
+ }
1186
+ .has-warning .form-control-feedback {
1187
+ color: #8a6d3b;
1188
+ }
1189
+ .has-error .help-block,
1190
+ .has-error .control-label,
1191
+ .has-error .radio,
1192
+ .has-error .checkbox,
1193
+ .has-error .radio-inline,
1194
+ .has-error .checkbox-inline {
1195
+ color: #a94442;
1196
+ }
1197
+ .has-error .form-control {
1198
+ border-color: #a94442;
1199
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1200
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
1201
+ }
1202
+ .has-error .form-control:focus {
1203
+ border-color: #843534;
1204
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
1205
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
1206
+ }
1207
+ .has-error .input-group-addon {
1208
+ color: #a94442;
1209
+ border-color: #a94442;
1210
+ background-color: #f2dede;
1211
+ }
1212
+ .has-error .form-control-feedback {
1213
+ color: #a94442;
1214
+ }
1215
+ .has-feedback label.sr-only ~ .form-control-feedback {
1216
+ top: 0;
1217
+ }
1218
+ .help-block {
1219
+ display: block;
1220
+ margin-top: 5px;
1221
+ margin-bottom: 10px;
1222
+ color: #737373;
1223
+ }
1224
+ @media (min-width: 768px) {
1225
+ .form-inline .form-group {
1226
+ display: inline-block;
1227
+ margin-bottom: 0;
1228
+ vertical-align: middle;
1229
+ }
1230
+ .form-inline .form-control {
1231
+ display: inline-block;
1232
+ width: auto;
1233
+ vertical-align: middle;
1234
+ }
1235
+ .form-inline .input-group {
1236
+ display: inline-table;
1237
+ vertical-align: middle;
1238
+ }
1239
+ .form-inline .input-group .input-group-addon,
1240
+ .form-inline .input-group .input-group-btn,
1241
+ .form-inline .input-group .form-control {
1242
+ width: auto;
1243
+ }
1244
+ .form-inline .input-group > .form-control {
1245
+ width: 100%;
1246
+ }
1247
+ .form-inline .control-label {
1248
+ margin-bottom: 0;
1249
+ vertical-align: middle;
1250
+ }
1251
+ .form-inline .radio,
1252
+ .form-inline .checkbox {
1253
+ display: inline-block;
1254
+ margin-top: 0;
1255
+ margin-bottom: 0;
1256
+ vertical-align: middle;
1257
+ }
1258
+ .form-inline .radio label,
1259
+ .form-inline .checkbox label {
1260
+ padding-left: 0;
1261
+ }
1262
+ .form-inline .radio input[type="radio"],
1263
+ .form-inline .checkbox input[type="checkbox"] {
1264
+ position: relative;
1265
+ margin-left: 0;
1266
+ }
1267
+ .form-inline .has-feedback .form-control-feedback {
1268
+ top: 0;
1269
+ }
1270
+ }
1271
+ .form-horizontal .radio,
1272
+ .form-horizontal .checkbox,
1273
+ .form-horizontal .radio-inline,
1274
+ .form-horizontal .checkbox-inline {
1275
+ margin-top: 0;
1276
+ margin-bottom: 0;
1277
+ padding-top: 7px;
1278
+ }
1279
+ .form-horizontal .radio,
1280
+ .form-horizontal .checkbox {
1281
+ min-height: 27px;
1282
+ }
1283
+ .form-horizontal .form-group {
1284
+ margin-left: -15px;
1285
+ margin-right: -15px;
1286
+ }
1287
+ @media (min-width: 768px) {
1288
+ .form-horizontal .control-label {
1289
+ text-align: right;
1290
+ margin-bottom: 0;
1291
+ padding-top: 7px;
1292
+ }
1293
+ }
1294
+ .form-horizontal .has-feedback .form-control-feedback {
1295
+ top: 0;
1296
+ right: 15px;
1297
+ }
1298
+ @media (min-width: 768px) {
1299
+ .form-horizontal .form-group-lg .control-label {
1300
+ padding-top: 14.3px;
1301
+ }
1302
+ }
1303
+ @media (min-width: 768px) {
1304
+ .form-horizontal .form-group-sm .control-label {
1305
+ padding-top: 6px;
1306
+ }
1307
+ }
1308
+ .btn {
1309
+ display: inline-block;
1310
+ margin-bottom: 0;
1311
+ font-weight: normal;
1312
+ text-align: center;
1313
+ vertical-align: middle;
1314
+ cursor: pointer;
1315
+ background-image: none;
1316
+ border: 1px solid transparent;
1317
+ white-space: nowrap;
1318
+ padding: 6px 12px;
1319
+ font-size: 14px;
1320
+ line-height: 1.42857143;
1321
+ border-radius: 4px;
1322
+ -webkit-user-select: none;
1323
+ -moz-user-select: none;
1324
+ -ms-user-select: none;
1325
+ user-select: none;
1326
+ }
1327
+ .btn:focus,
1328
+ .btn:active:focus,
1329
+ .btn.active:focus {
1330
+ outline: thin dotted;
1331
+ outline: 5px auto -webkit-focus-ring-color;
1332
+ outline-offset: -2px;
1333
+ }
1334
+ .btn:hover,
1335
+ .btn:focus {
1336
+ color: #333333;
1337
+ text-decoration: none;
1338
+ }
1339
+ .btn:active,
1340
+ .btn.active {
1341
+ outline: 0;
1342
+ background-image: none;
1343
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1344
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1345
+ }
1346
+ .btn.disabled,
1347
+ .btn[disabled],
1348
+ fieldset[disabled] .btn {
1349
+ cursor: not-allowed;
1350
+ pointer-events: none;
1351
+ opacity: 0.65;
1352
+ filter: alpha(opacity=65);
1353
+ -webkit-box-shadow: none;
1354
+ box-shadow: none;
1355
+ }
1356
+ .btn-default {
1357
+ color: #333333;
1358
+ background-color: #ffffff;
1359
+ border-color: #cccccc;
1360
+ }
1361
+ .btn-default:hover,
1362
+ .btn-default:focus,
1363
+ .btn-default:active,
1364
+ .btn-default.active,
1365
+ .open > .dropdown-toggle.btn-default {
1366
+ color: #333333;
1367
+ background-color: #e6e6e6;
1368
+ border-color: #adadad;
1369
+ }
1370
+ .btn-default:active,
1371
+ .btn-default.active,
1372
+ .open > .dropdown-toggle.btn-default {
1373
+ background-image: none;
1374
+ }
1375
+ .btn-default.disabled,
1376
+ .btn-default[disabled],
1377
+ fieldset[disabled] .btn-default,
1378
+ .btn-default.disabled:hover,
1379
+ .btn-default[disabled]:hover,
1380
+ fieldset[disabled] .btn-default:hover,
1381
+ .btn-default.disabled:focus,
1382
+ .btn-default[disabled]:focus,
1383
+ fieldset[disabled] .btn-default:focus,
1384
+ .btn-default.disabled:active,
1385
+ .btn-default[disabled]:active,
1386
+ fieldset[disabled] .btn-default:active,
1387
+ .btn-default.disabled.active,
1388
+ .btn-default[disabled].active,
1389
+ fieldset[disabled] .btn-default.active {
1390
+ background-color: #ffffff;
1391
+ border-color: #cccccc;
1392
+ }
1393
+ .btn-default .badge {
1394
+ color: #ffffff;
1395
+ background-color: #333333;
1396
+ }
1397
+ .btn-primary {
1398
+ color: #ffffff;
1399
+ background-color: #428bca;
1400
+ border-color: #357ebd;
1401
+ }
1402
+ .btn-primary:hover,
1403
+ .btn-primary:focus,
1404
+ .btn-primary:active,
1405
+ .btn-primary.active,
1406
+ .open > .dropdown-toggle.btn-primary {
1407
+ color: #ffffff;
1408
+ background-color: #3071a9;
1409
+ border-color: #285e8e;
1410
+ }
1411
+ .btn-primary:active,
1412
+ .btn-primary.active,
1413
+ .open > .dropdown-toggle.btn-primary {
1414
+ background-image: none;
1415
+ }
1416
+ .btn-primary.disabled,
1417
+ .btn-primary[disabled],
1418
+ fieldset[disabled] .btn-primary,
1419
+ .btn-primary.disabled:hover,
1420
+ .btn-primary[disabled]:hover,
1421
+ fieldset[disabled] .btn-primary:hover,
1422
+ .btn-primary.disabled:focus,
1423
+ .btn-primary[disabled]:focus,
1424
+ fieldset[disabled] .btn-primary:focus,
1425
+ .btn-primary.disabled:active,
1426
+ .btn-primary[disabled]:active,
1427
+ fieldset[disabled] .btn-primary:active,
1428
+ .btn-primary.disabled.active,
1429
+ .btn-primary[disabled].active,
1430
+ fieldset[disabled] .btn-primary.active {
1431
+ background-color: #428bca;
1432
+ border-color: #357ebd;
1433
+ }
1434
+ .btn-primary .badge {
1435
+ color: #428bca;
1436
+ background-color: #ffffff;
1437
+ }
1438
+ .btn-success {
1439
+ color: #ffffff;
1440
+ background-color: #5cb85c;
1441
+ border-color: #4cae4c;
1442
+ }
1443
+ .btn-success:hover,
1444
+ .btn-success:focus,
1445
+ .btn-success:active,
1446
+ .btn-success.active,
1447
+ .open > .dropdown-toggle.btn-success {
1448
+ color: #ffffff;
1449
+ background-color: #449d44;
1450
+ border-color: #398439;
1451
+ }
1452
+ .btn-success:active,
1453
+ .btn-success.active,
1454
+ .open > .dropdown-toggle.btn-success {
1455
+ background-image: none;
1456
+ }
1457
+ .btn-success.disabled,
1458
+ .btn-success[disabled],
1459
+ fieldset[disabled] .btn-success,
1460
+ .btn-success.disabled:hover,
1461
+ .btn-success[disabled]:hover,
1462
+ fieldset[disabled] .btn-success:hover,
1463
+ .btn-success.disabled:focus,
1464
+ .btn-success[disabled]:focus,
1465
+ fieldset[disabled] .btn-success:focus,
1466
+ .btn-success.disabled:active,
1467
+ .btn-success[disabled]:active,
1468
+ fieldset[disabled] .btn-success:active,
1469
+ .btn-success.disabled.active,
1470
+ .btn-success[disabled].active,
1471
+ fieldset[disabled] .btn-success.active {
1472
+ background-color: #5cb85c;
1473
+ border-color: #4cae4c;
1474
+ }
1475
+ .btn-success .badge {
1476
+ color: #5cb85c;
1477
+ background-color: #ffffff;
1478
+ }
1479
+ .btn-info {
1480
+ color: #ffffff;
1481
+ background-color: #5bc0de;
1482
+ border-color: #46b8da;
1483
+ }
1484
+ .btn-info:hover,
1485
+ .btn-info:focus,
1486
+ .btn-info:active,
1487
+ .btn-info.active,
1488
+ .open > .dropdown-toggle.btn-info {
1489
+ color: #ffffff;
1490
+ background-color: #31b0d5;
1491
+ border-color: #269abc;
1492
+ }
1493
+ .btn-info:active,
1494
+ .btn-info.active,
1495
+ .open > .dropdown-toggle.btn-info {
1496
+ background-image: none;
1497
+ }
1498
+ .btn-info.disabled,
1499
+ .btn-info[disabled],
1500
+ fieldset[disabled] .btn-info,
1501
+ .btn-info.disabled:hover,
1502
+ .btn-info[disabled]:hover,
1503
+ fieldset[disabled] .btn-info:hover,
1504
+ .btn-info.disabled:focus,
1505
+ .btn-info[disabled]:focus,
1506
+ fieldset[disabled] .btn-info:focus,
1507
+ .btn-info.disabled:active,
1508
+ .btn-info[disabled]:active,
1509
+ fieldset[disabled] .btn-info:active,
1510
+ .btn-info.disabled.active,
1511
+ .btn-info[disabled].active,
1512
+ fieldset[disabled] .btn-info.active {
1513
+ background-color: #5bc0de;
1514
+ border-color: #46b8da;
1515
+ }
1516
+ .btn-info .badge {
1517
+ color: #5bc0de;
1518
+ background-color: #ffffff;
1519
+ }
1520
+ .btn-warning {
1521
+ color: #ffffff;
1522
+ background-color: #f0ad4e;
1523
+ border-color: #eea236;
1524
+ }
1525
+ .btn-warning:hover,
1526
+ .btn-warning:focus,
1527
+ .btn-warning:active,
1528
+ .btn-warning.active,
1529
+ .open > .dropdown-toggle.btn-warning {
1530
+ color: #ffffff;
1531
+ background-color: #ec971f;
1532
+ border-color: #d58512;
1533
+ }
1534
+ .btn-warning:active,
1535
+ .btn-warning.active,
1536
+ .open > .dropdown-toggle.btn-warning {
1537
+ background-image: none;
1538
+ }
1539
+ .btn-warning.disabled,
1540
+ .btn-warning[disabled],
1541
+ fieldset[disabled] .btn-warning,
1542
+ .btn-warning.disabled:hover,
1543
+ .btn-warning[disabled]:hover,
1544
+ fieldset[disabled] .btn-warning:hover,
1545
+ .btn-warning.disabled:focus,
1546
+ .btn-warning[disabled]:focus,
1547
+ fieldset[disabled] .btn-warning:focus,
1548
+ .btn-warning.disabled:active,
1549
+ .btn-warning[disabled]:active,
1550
+ fieldset[disabled] .btn-warning:active,
1551
+ .btn-warning.disabled.active,
1552
+ .btn-warning[disabled].active,
1553
+ fieldset[disabled] .btn-warning.active {
1554
+ background-color: #f0ad4e;
1555
+ border-color: #eea236;
1556
+ }
1557
+ .btn-warning .badge {
1558
+ color: #f0ad4e;
1559
+ background-color: #ffffff;
1560
+ }
1561
+ .btn-danger {
1562
+ color: #ffffff;
1563
+ background-color: #d9534f;
1564
+ border-color: #d43f3a;
1565
+ }
1566
+ .btn-danger:hover,
1567
+ .btn-danger:focus,
1568
+ .btn-danger:active,
1569
+ .btn-danger.active,
1570
+ .open > .dropdown-toggle.btn-danger {
1571
+ color: #ffffff;
1572
+ background-color: #c9302c;
1573
+ border-color: #ac2925;
1574
+ }
1575
+ .btn-danger:active,
1576
+ .btn-danger.active,
1577
+ .open > .dropdown-toggle.btn-danger {
1578
+ background-image: none;
1579
+ }
1580
+ .btn-danger.disabled,
1581
+ .btn-danger[disabled],
1582
+ fieldset[disabled] .btn-danger,
1583
+ .btn-danger.disabled:hover,
1584
+ .btn-danger[disabled]:hover,
1585
+ fieldset[disabled] .btn-danger:hover,
1586
+ .btn-danger.disabled:focus,
1587
+ .btn-danger[disabled]:focus,
1588
+ fieldset[disabled] .btn-danger:focus,
1589
+ .btn-danger.disabled:active,
1590
+ .btn-danger[disabled]:active,
1591
+ fieldset[disabled] .btn-danger:active,
1592
+ .btn-danger.disabled.active,
1593
+ .btn-danger[disabled].active,
1594
+ fieldset[disabled] .btn-danger.active {
1595
+ background-color: #d9534f;
1596
+ border-color: #d43f3a;
1597
+ }
1598
+ .btn-danger .badge {
1599
+ color: #d9534f;
1600
+ background-color: #ffffff;
1601
+ }
1602
+ .btn-link {
1603
+ color: #428bca;
1604
+ font-weight: normal;
1605
+ cursor: pointer;
1606
+ border-radius: 0;
1607
+ }
1608
+ .btn-link,
1609
+ .btn-link:active,
1610
+ .btn-link[disabled],
1611
+ fieldset[disabled] .btn-link {
1612
+ background-color: transparent;
1613
+ -webkit-box-shadow: none;
1614
+ box-shadow: none;
1615
+ }
1616
+ .btn-link,
1617
+ .btn-link:hover,
1618
+ .btn-link:focus,
1619
+ .btn-link:active {
1620
+ border-color: transparent;
1621
+ }
1622
+ .btn-link:hover,
1623
+ .btn-link:focus {
1624
+ color: #2a6496;
1625
+ text-decoration: underline;
1626
+ background-color: transparent;
1627
+ }
1628
+ .btn-link[disabled]:hover,
1629
+ fieldset[disabled] .btn-link:hover,
1630
+ .btn-link[disabled]:focus,
1631
+ fieldset[disabled] .btn-link:focus {
1632
+ color: #777777;
1633
+ text-decoration: none;
1634
+ }
1635
+ .btn-lg {
1636
+ padding: 10px 16px;
1637
+ font-size: 18px;
1638
+ line-height: 1.33;
1639
+ border-radius: 6px;
1640
+ }
1641
+ .btn-sm {
1642
+ padding: 5px 10px;
1643
+ font-size: 12px;
1644
+ line-height: 1.5;
1645
+ border-radius: 3px;
1646
+ }
1647
+ .btn-xs {
1648
+ padding: 1px 5px;
1649
+ font-size: 12px;
1650
+ line-height: 1.5;
1651
+ border-radius: 3px;
1652
+ }
1653
+ .btn-block {
1654
+ display: block;
1655
+ width: 100%;
1656
+ }
1657
+ .btn-block + .btn-block {
1658
+ margin-top: 5px;
1659
+ }
1660
+ input[type="submit"].btn-block,
1661
+ input[type="reset"].btn-block,
1662
+ input[type="button"].btn-block {
1663
+ width: 100%;
1664
+ }
1665
+ .clearfix:before,
1666
+ .clearfix:after,
1667
+ .dl-horizontal dd:before,
1668
+ .dl-horizontal dd:after,
1669
+ .form-horizontal .form-group:before,
1670
+ .form-horizontal .form-group:after {
1671
+ content: " ";
1672
+ display: table;
1673
+ }
1674
+ .clearfix:after,
1675
+ .dl-horizontal dd:after,
1676
+ .form-horizontal .form-group:after {
1677
+ clear: both;
1678
+ }
1679
+ .center-block {
1680
+ display: block;
1681
+ margin-left: auto;
1682
+ margin-right: auto;
1683
+ }
1684
+ .pull-right {
1685
+ float: right !important;
1686
+ }
1687
+ .pull-left {
1688
+ float: left !important;
1689
+ }
1690
+ .hide {
1691
+ display: none !important;
1692
+ }
1693
+ .show {
1694
+ display: block !important;
1695
+ }
1696
+ .invisible {
1697
+ visibility: hidden;
1698
+ }
1699
+ .text-hide {
1700
+ font: 0/0 a;
1701
+ color: transparent;
1702
+ text-shadow: none;
1703
+ background-color: transparent;
1704
+ border: 0;
1705
+ }
1706
+ .hidden {
1707
+ display: none !important;
1708
+ visibility: hidden !important;
1709
+ }
1710
+ .affix {
1711
+ position: fixed;
1712
+ -webkit-transform: translate3d(0, 0, 0);
1713
+ transform: translate3d(0, 0, 0);
1714
+ }