twitter_ratchet_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/app/assets/fonts/ratchicons.eot +0 -0
  5. data/app/assets/fonts/ratchicons.svg +61 -0
  6. data/app/assets/fonts/ratchicons.ttf +0 -0
  7. data/app/assets/fonts/ratchicons.woff +0 -0
  8. data/app/assets/javascripts/twitter_ratchet_rails/ratchet.js +916 -0
  9. data/app/assets/javascripts/twitter_ratchet_rails.js +1 -0
  10. data/app/assets/stylesheets/ratchet_android.css +4 -0
  11. data/app/assets/stylesheets/ratchet_base.css +3 -0
  12. data/app/assets/stylesheets/ratchet_ios.css +4 -0
  13. data/app/assets/stylesheets/twitter_ratchet_rails/ratchet-theme-android.css +588 -0
  14. data/app/assets/stylesheets/twitter_ratchet_rails/ratchet-theme-ios.css +471 -0
  15. data/app/assets/stylesheets/twitter_ratchet_rails/ratchet.css.erb +1430 -0
  16. data/app/helpers/twitter_ratchet_rails/application_helper.rb +4 -0
  17. data/app/views/layouts/twitter_ratchet_rails/application.html.erb +14 -0
  18. data/lib/tasks/twitter_ratchet_rails_tasks.rake +4 -0
  19. data/lib/twitter_ratchet_rails/engine.rb +5 -0
  20. data/lib/twitter_ratchet_rails/version.rb +3 -0
  21. data/lib/twitter_ratchet_rails.rb +4 -0
  22. data/test/dummy/README.rdoc +28 -0
  23. data/test/dummy/Rakefile +6 -0
  24. data/test/dummy/app/assets/javascripts/application.js +13 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  26. data/test/dummy/app/controllers/application_controller.rb +5 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  29. data/test/dummy/bin/bundle +3 -0
  30. data/test/dummy/bin/rails +4 -0
  31. data/test/dummy/bin/rake +4 -0
  32. data/test/dummy/config/application.rb +23 -0
  33. data/test/dummy/config/boot.rb +5 -0
  34. data/test/dummy/config/database.yml +25 -0
  35. data/test/dummy/config/environment.rb +5 -0
  36. data/test/dummy/config/environments/development.rb +29 -0
  37. data/test/dummy/config/environments/production.rb +80 -0
  38. data/test/dummy/config/environments/test.rb +36 -0
  39. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  41. data/test/dummy/config/initializers/inflections.rb +16 -0
  42. data/test/dummy/config/initializers/mime_types.rb +5 -0
  43. data/test/dummy/config/initializers/secret_token.rb +12 -0
  44. data/test/dummy/config/initializers/session_store.rb +3 -0
  45. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/test/dummy/config/locales/en.yml +23 -0
  47. data/test/dummy/config/routes.rb +4 -0
  48. data/test/dummy/config.ru +4 -0
  49. data/test/dummy/public/404.html +58 -0
  50. data/test/dummy/public/422.html +58 -0
  51. data/test/dummy/public/500.html +57 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/integration/navigation_test.rb +10 -0
  54. data/test/test_helper.rb +15 -0
  55. data/test/twitter_ratchet_rails_test.rb +7 -0
  56. metadata +146 -0
@@ -0,0 +1,1430 @@
1
+ /*!
2
+ * =====================================================
3
+ * Ratchet v2.0.1 (http://goratchet.com)
4
+ * Copyright 2014 Connor Sears
5
+ * Licensed under MIT.
6
+ *
7
+ * v2.0.1 designed by @connors.
8
+ * =====================================================
9
+ */
10
+
11
+ /*! normalize.css v3.0.0 | 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
+
18
+ body {
19
+ margin: 0;
20
+ }
21
+
22
+ article,
23
+ aside,
24
+ details,
25
+ figcaption,
26
+ figure,
27
+ footer,
28
+ header,
29
+ hgroup,
30
+ main,
31
+ nav,
32
+ section,
33
+ summary {
34
+ display: block;
35
+ }
36
+
37
+ audio,
38
+ canvas,
39
+ progress,
40
+ video {
41
+ display: inline-block;
42
+ vertical-align: baseline;
43
+ }
44
+
45
+ audio:not([controls]) {
46
+ display: none;
47
+ height: 0;
48
+ }
49
+
50
+ [hidden],
51
+ template {
52
+ display: none;
53
+ }
54
+
55
+ a {
56
+ background: transparent;
57
+ }
58
+
59
+ a:active,
60
+ a:hover {
61
+ outline: 0;
62
+ }
63
+
64
+ abbr[title] {
65
+ border-bottom: 1px dotted;
66
+ }
67
+
68
+ b,
69
+ strong {
70
+ font-weight: bold;
71
+ }
72
+
73
+ dfn {
74
+ font-style: italic;
75
+ }
76
+
77
+ h1 {
78
+ font-size: 2em;
79
+ margin: 0.67em 0;
80
+ }
81
+
82
+ mark {
83
+ background: #ff0;
84
+ color: #000;
85
+ }
86
+
87
+ small {
88
+ font-size: 80%;
89
+ }
90
+
91
+ sub,
92
+ sup {
93
+ font-size: 75%;
94
+ line-height: 0;
95
+ position: relative;
96
+ vertical-align: baseline;
97
+ }
98
+
99
+ sup {
100
+ top: -0.5em;
101
+ }
102
+
103
+ sub {
104
+ bottom: -0.25em;
105
+ }
106
+
107
+ img {
108
+ border: 0;
109
+ }
110
+
111
+ svg:not(:root) {
112
+ overflow: hidden;
113
+ }
114
+
115
+ figure {
116
+ margin: 1em 40px;
117
+ }
118
+
119
+ hr {
120
+ -moz-box-sizing: content-box;
121
+ box-sizing: content-box;
122
+ height: 0;
123
+ }
124
+
125
+ pre {
126
+ overflow: auto;
127
+ }
128
+
129
+ code,
130
+ kbd,
131
+ pre,
132
+ samp {
133
+ font-family: monospace, monospace;
134
+ font-size: 1em;
135
+ }
136
+
137
+ button,
138
+ input,
139
+ optgroup,
140
+ select,
141
+ textarea {
142
+ color: inherit;
143
+ font: inherit;
144
+ margin: 0;
145
+ }
146
+
147
+ button {
148
+ overflow: visible;
149
+ }
150
+
151
+ button,
152
+ select {
153
+ text-transform: none;
154
+ }
155
+
156
+ button,
157
+ html input[type="button"],
158
+ input[type="reset"],
159
+ input[type="submit"] {
160
+ -webkit-appearance: button;
161
+ cursor: pointer;
162
+ }
163
+
164
+ button[disabled],
165
+ html input[disabled] {
166
+ cursor: default;
167
+ }
168
+
169
+ button::-moz-focus-inner,
170
+ input::-moz-focus-inner {
171
+ border: 0;
172
+ padding: 0;
173
+ }
174
+
175
+ input {
176
+ line-height: normal;
177
+ }
178
+
179
+ input[type="checkbox"],
180
+ input[type="radio"] {
181
+ box-sizing: border-box;
182
+ padding: 0;
183
+ }
184
+
185
+ input[type="number"]::-webkit-inner-spin-button,
186
+ input[type="number"]::-webkit-outer-spin-button {
187
+ height: auto;
188
+ }
189
+
190
+ input[type="search"] {
191
+ -webkit-appearance: textfield;
192
+ -moz-box-sizing: content-box;
193
+ -webkit-box-sizing: content-box;
194
+ box-sizing: content-box;
195
+ }
196
+
197
+ input[type="search"]::-webkit-search-cancel-button,
198
+ input[type="search"]::-webkit-search-decoration {
199
+ -webkit-appearance: none;
200
+ }
201
+
202
+ fieldset {
203
+ border: 1px solid #c0c0c0;
204
+ margin: 0 2px;
205
+ padding: 0.35em 0.625em 0.75em;
206
+ }
207
+
208
+ legend {
209
+ border: 0;
210
+ padding: 0;
211
+ }
212
+
213
+ textarea {
214
+ overflow: auto;
215
+ }
216
+
217
+ optgroup {
218
+ font-weight: bold;
219
+ }
220
+
221
+ table {
222
+ border-collapse: collapse;
223
+ border-spacing: 0;
224
+ }
225
+
226
+ td,
227
+ th {
228
+ padding: 0;
229
+ }
230
+
231
+ * {
232
+ -webkit-box-sizing: border-box;
233
+ -moz-box-sizing: border-box;
234
+ box-sizing: border-box;
235
+ }
236
+
237
+ body {
238
+ position: fixed;
239
+ top: 0;
240
+ right: 0;
241
+ bottom: 0;
242
+ left: 0;
243
+ font-family: "Helvetica Neue", Helvetica, sans-serif;
244
+ font-size: 17px;
245
+ line-height: 21px;
246
+ color: #000;
247
+ background-color: #fff;
248
+ }
249
+
250
+ a {
251
+ color: #428bca;
252
+ text-decoration: none;
253
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
254
+ }
255
+ a:active {
256
+ color: #3071a9;
257
+ }
258
+
259
+ .content {
260
+ position: fixed;
261
+ top: 0;
262
+ right: 0;
263
+ bottom: 0;
264
+ left: 0;
265
+ overflow: auto;
266
+ background-color: #fff;
267
+ -webkit-overflow-scrolling: touch;
268
+ }
269
+
270
+ .content > * {
271
+ -webkit-transform: translateZ(0);
272
+ -ms-transform: translateZ(0);
273
+ transform: translateZ(0);
274
+ }
275
+
276
+ .bar-nav ~ .content {
277
+ padding-top: 44px;
278
+ }
279
+
280
+ .bar-header-secondary ~ .content {
281
+ padding-top: 88px;
282
+ }
283
+
284
+ .bar-footer ~ .content {
285
+ padding-bottom: 44px;
286
+ }
287
+
288
+ .bar-footer-secondary ~ .content {
289
+ padding-bottom: 88px;
290
+ }
291
+
292
+ .bar-tab ~ .content {
293
+ padding-bottom: 50px;
294
+ }
295
+
296
+ .bar-footer-secondary-tab ~ .content {
297
+ padding-bottom: 94px;
298
+ }
299
+
300
+ .content-padded {
301
+ margin: 10px;
302
+ }
303
+
304
+ .pull-left {
305
+ float: left;
306
+ }
307
+
308
+ .pull-right {
309
+ float: right;
310
+ }
311
+
312
+ .clearfix:before, .clearfix:after {
313
+ content: " ";
314
+ display: table;
315
+ }
316
+ .clearfix:after {
317
+ clear: both;
318
+ }
319
+
320
+ h1, h2, h3, h4, h5, h6 {
321
+ margin-top: 0;
322
+ margin-bottom: 10px;
323
+ line-height: 1;
324
+ }
325
+
326
+ h1, .h1 {
327
+ font-size: 36px;
328
+ }
329
+
330
+ h2, .h2 {
331
+ font-size: 30px;
332
+ }
333
+
334
+ h3, .h3 {
335
+ font-size: 24px;
336
+ }
337
+
338
+ h4, .h4 {
339
+ font-size: 18px;
340
+ }
341
+
342
+ h5, .h5 {
343
+ font-size: 14px;
344
+ margin-top: 20px;
345
+ }
346
+
347
+ h6, .h6 {
348
+ font-size: 12px;
349
+ margin-top: 20px;
350
+ }
351
+
352
+ p {
353
+ margin-top: 0;
354
+ margin-bottom: 10px;
355
+ font-size: 14px;
356
+ color: #777;
357
+ }
358
+
359
+ .btn {
360
+ position: relative;
361
+ display: inline-block;
362
+ padding: 6px 8px 7px;
363
+ margin-bottom: 0;
364
+ font-size: 12px;
365
+ font-weight: 400;
366
+ line-height: 1;
367
+ color: #333;
368
+ text-align: center;
369
+ vertical-align: top;
370
+ white-space: nowrap;
371
+ cursor: pointer;
372
+ background-color: white;
373
+ border: 1px solid #ccc;
374
+ border-radius: 3px;
375
+ }
376
+ .btn:active, .btn.active {
377
+ color: inherit;
378
+ background-color: #ccc;
379
+ }
380
+ .btn:disabled, .btn.disabled {
381
+ opacity: .6;
382
+ }
383
+
384
+ .btn-primary {
385
+ color: #fff;
386
+ border: 1px solid #428bca;
387
+ background-color: #428bca;
388
+ }
389
+ .btn-primary:active, .btn-primary.active {
390
+ color: #fff;
391
+ border: 1px solid #3071a9;
392
+ background-color: #3071a9;
393
+ }
394
+
395
+ .btn-positive {
396
+ color: #fff;
397
+ border: 1px solid #5cb85c;
398
+ background-color: #5cb85c;
399
+ }
400
+ .btn-positive:active, .btn-positive.active {
401
+ color: #fff;
402
+ border: 1px solid #449d44;
403
+ background-color: #449d44;
404
+ }
405
+
406
+ .btn-negative {
407
+ color: #fff;
408
+ border: 1px solid #d9534f;
409
+ background-color: #d9534f;
410
+ }
411
+ .btn-negative:active, .btn-negative.active {
412
+ color: #fff;
413
+ border: 1px solid #c9302c;
414
+ background-color: #c9302c;
415
+ }
416
+
417
+ .btn-outlined {
418
+ background-color: transparent;
419
+ }
420
+ .btn-outlined.btn-primary {
421
+ color: #428bca;
422
+ }
423
+ .btn-outlined.btn-positive {
424
+ color: #5cb85c;
425
+ }
426
+ .btn-outlined.btn-negative {
427
+ color: #d9534f;
428
+ }
429
+ .btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
430
+ color: #fff;
431
+ }
432
+
433
+ .btn-link {
434
+ padding-top: 6px;
435
+ padding-bottom: 6px;
436
+ color: #428bca;
437
+ background-color: transparent;
438
+ border: 0;
439
+ }
440
+ .btn-link:active, .btn-link.active {
441
+ color: #3071a9;
442
+ background-color: transparent;
443
+ }
444
+
445
+ .btn-block {
446
+ display: block;
447
+ width: 100%;
448
+ padding: 15px 0;
449
+ margin-bottom: 10px;
450
+ font-size: 18px;
451
+ }
452
+
453
+ input[type="submit"],
454
+ input[type="reset"],
455
+ input[type="button"] {
456
+ width: 100%;
457
+ }
458
+
459
+ .btn .badge {
460
+ font-size: 12px;
461
+ margin: -2px -4px -2px 4px;
462
+ background-color: rgba(0, 0, 0, 0.15);
463
+ }
464
+
465
+ .btn .badge-inverted,
466
+ .btn:active .badge-inverted {
467
+ background-color: transparent;
468
+ }
469
+
470
+ .btn-primary:active .badge-inverted,
471
+ .btn-positive:active .badge-inverted,
472
+ .btn-negative:active .badge-inverted {
473
+ color: #fff;
474
+ }
475
+
476
+ .btn-block .badge {
477
+ position: absolute;
478
+ right: 0;
479
+ margin-right: 10px;
480
+ }
481
+
482
+ .btn .icon {
483
+ font-size: inherit;
484
+ }
485
+
486
+ .bar {
487
+ position: fixed;
488
+ right: 0;
489
+ left: 0;
490
+ z-index: 10;
491
+ height: 44px;
492
+ padding-right: 10px;
493
+ padding-left: 10px;
494
+ border-bottom: 1px solid #dddddd;
495
+ background-color: white;
496
+ }
497
+
498
+ .bar-header-secondary {
499
+ top: 44px;
500
+ }
501
+
502
+ .bar-footer {
503
+ bottom: 0;
504
+ }
505
+
506
+ .bar-footer-secondary {
507
+ bottom: 44px;
508
+ }
509
+
510
+ .bar-footer-secondary-tab {
511
+ bottom: 50px;
512
+ }
513
+
514
+ .bar-footer,
515
+ .bar-footer-secondary,
516
+ .bar-footer-secondary-tab {
517
+ border-bottom: 0;
518
+ border-top: 1px solid #dddddd;
519
+ }
520
+
521
+ .bar-nav {
522
+ top: 0;
523
+ }
524
+
525
+ .title {
526
+ position: absolute;
527
+ display: block;
528
+ width: 100%;
529
+ padding: 0;
530
+ margin: 0 -10px;
531
+ font-size: 17px;
532
+ font-weight: 500;
533
+ line-height: 44px;
534
+ color: #000;
535
+ text-align: center;
536
+ white-space: nowrap;
537
+ }
538
+
539
+ .title a {
540
+ color: inherit;
541
+ }
542
+
543
+ .bar-tab {
544
+ display: table;
545
+ bottom: 0;
546
+ width: 100%;
547
+ height: 50px;
548
+ padding: 0;
549
+ border-top: 1px solid #dddddd;
550
+ border-bottom: 0;
551
+ table-layout: fixed;
552
+ }
553
+ .bar-tab .tab-item {
554
+ display: table-cell;
555
+ width: 1%;
556
+ height: 50px;
557
+ vertical-align: middle;
558
+ color: #929292;
559
+ text-align: center;
560
+ }
561
+ .bar-tab .tab-item.active, .bar-tab .tab-item:active {
562
+ color: #428bca;
563
+ }
564
+ .bar-tab .tab-item .icon {
565
+ top: 3px;
566
+ width: 24px;
567
+ height: 24px;
568
+ padding-top: 0;
569
+ padding-bottom: 0;
570
+ }
571
+ .bar-tab .tab-item .icon ~ .tab-label {
572
+ display: block;
573
+ font-size: 11px;
574
+ }
575
+
576
+ .bar .btn {
577
+ position: relative;
578
+ top: 7px;
579
+ z-index: 20;
580
+ padding: 6px 12px 7px;
581
+ margin-top: 0;
582
+ font-weight: 400;
583
+ }
584
+ .bar .btn.pull-right {
585
+ margin-left: 10px;
586
+ }
587
+ .bar .btn.pull-left {
588
+ margin-right: 10px;
589
+ }
590
+
591
+ .bar .btn-link {
592
+ top: 0;
593
+ padding: 0;
594
+ font-size: 16px;
595
+ color: #428bca;
596
+ line-height: 44px;
597
+ border: 0;
598
+ }
599
+ .bar .btn-link:active, .bar .btn-link.active {
600
+ color: #3071a9;
601
+ }
602
+
603
+ .bar .btn-block {
604
+ top: 6px;
605
+ padding: 7px 0;
606
+ margin-bottom: 0;
607
+ font-size: 16px;
608
+ }
609
+
610
+ .bar .btn-nav.pull-left {
611
+ margin-left: -5px;
612
+ }
613
+ .bar .btn-nav.pull-left .icon-left-nav {
614
+ margin-right: -3px;
615
+ }
616
+ .bar .btn-nav.pull-right {
617
+ margin-right: -5px;
618
+ }
619
+ .bar .btn-nav.pull-right .icon-right-nav {
620
+ margin-left: -3px;
621
+ }
622
+
623
+ .bar .icon {
624
+ position: relative;
625
+ z-index: 20;
626
+ padding-top: 10px;
627
+ padding-bottom: 10px;
628
+ font-size: 24px;
629
+ }
630
+ .bar .btn .icon {
631
+ top: 3px;
632
+ padding: 0;
633
+ }
634
+ .bar .title .icon {
635
+ padding: 0;
636
+ }
637
+ .bar .title .icon.icon-caret {
638
+ top: 4px;
639
+ margin-left: -5px;
640
+ }
641
+
642
+ .bar input[type="search"] {
643
+ height: 29px;
644
+ margin: 6px 0;
645
+ }
646
+
647
+ .bar .segmented-control {
648
+ top: 7px;
649
+ margin: 0 auto;
650
+ }
651
+
652
+ .badge {
653
+ display: inline-block;
654
+ padding: 2px 9px 3px;
655
+ font-size: 12px;
656
+ line-height: 1;
657
+ color: #333;
658
+ background-color: rgba(0, 0, 0, 0.15);
659
+ border-radius: 100px;
660
+ }
661
+ .badge.badge-inverted {
662
+ padding: 0 5px 0 0;
663
+ background-color: transparent;
664
+ }
665
+
666
+ .badge-primary {
667
+ color: #fff;
668
+ background-color: #428bca;
669
+ }
670
+ .badge-primary.badge-inverted {
671
+ color: #428bca;
672
+ }
673
+
674
+ .badge-positive {
675
+ color: #fff;
676
+ background-color: #5cb85c;
677
+ }
678
+ .badge-positive.badge-inverted {
679
+ color: #5cb85c;
680
+ }
681
+
682
+ .badge-negative {
683
+ color: #fff;
684
+ background-color: #d9534f;
685
+ }
686
+ .badge-negative.badge-inverted {
687
+ color: #d9534f;
688
+ }
689
+
690
+ .card {
691
+ overflow: hidden;
692
+ margin: 10px;
693
+ background-color: white;
694
+ border: 1px solid #dddddd;
695
+ border-radius: 6px;
696
+ }
697
+
698
+ .card .table-view {
699
+ margin-bottom: 0;
700
+ border-top: 0;
701
+ border-bottom: 0;
702
+ }
703
+ .card .table-view .table-view-divider:first-child {
704
+ top: 0;
705
+ border-top-right-radius: 6px;
706
+ border-top-left-radius: 6px;
707
+ }
708
+ .card .table-view .table-view-divider:last-child {
709
+ border-bottom-right-radius: 6px;
710
+ border-bottom-left-radius: 6px;
711
+ }
712
+
713
+ .card .table-view-cell:last-child {
714
+ border-bottom: 0;
715
+ }
716
+
717
+ .table-view {
718
+ padding-left: 0;
719
+ margin-top: 0;
720
+ margin-bottom: 15px;
721
+ list-style: none;
722
+ background-color: #fff;
723
+ border-top: 1px solid #dddddd;
724
+ border-bottom: 1px solid #dddddd;
725
+ }
726
+
727
+ .table-view-cell {
728
+ position: relative;
729
+ overflow: hidden;
730
+ padding: 11px 65px 11px 15px;
731
+ border-bottom: 1px solid #dddddd;
732
+ }
733
+ .table-view-cell:last-child {
734
+ border-bottom: 0;
735
+ }
736
+ .table-view-cell > a:not(.btn) {
737
+ position: relative;
738
+ display: block;
739
+ overflow: hidden;
740
+ padding: inherit;
741
+ margin: -11px -65px -11px -15px;
742
+ color: inherit;
743
+ }
744
+ .table-view-cell > a:not(.btn):active {
745
+ background-color: #eee;
746
+ }
747
+ .table-view-cell p {
748
+ margin-bottom: 0;
749
+ }
750
+
751
+ .table-view-divider {
752
+ padding-top: 6px;
753
+ padding-bottom: 6px;
754
+ padding-left: 15px;
755
+ margin-top: -1px;
756
+ margin-left: 0;
757
+ color: #999;
758
+ font-weight: 500;
759
+ border-top: 1px solid #dddddd;
760
+ border-bottom: 1px solid #dddddd;
761
+ background-color: #fafafa;
762
+ }
763
+
764
+ .table-view .media,
765
+ .table-view .media-body {
766
+ overflow: hidden;
767
+ zoom: 1;
768
+ }
769
+
770
+ .table-view .media-object.pull-left {
771
+ margin-right: 10px;
772
+ }
773
+ .table-view .media-object.pull-right {
774
+ margin-left: 10px;
775
+ }
776
+
777
+ .table-view-cell > .btn,
778
+ .table-view-cell > .badge,
779
+ .table-view-cell > .toggle,
780
+ .table-view-cell > a > .btn,
781
+ .table-view-cell > a > .badge,
782
+ .table-view-cell > a > .toggle {
783
+ position: absolute;
784
+ top: 50%;
785
+ right: 15px;
786
+ -webkit-transform: translateY(-50%);
787
+ -ms-transform: translateY(-50%);
788
+ transform: translateY(-50%);
789
+ }
790
+ .table-view-cell .navigate-left > .btn,
791
+ .table-view-cell .navigate-left > .badge,
792
+ .table-view-cell .navigate-left > .toggle,
793
+ .table-view-cell .navigate-right > .btn,
794
+ .table-view-cell .navigate-right > .badge,
795
+ .table-view-cell .navigate-right > .toggle,
796
+ .table-view-cell .push-left > .btn,
797
+ .table-view-cell .push-left > .badge,
798
+ .table-view-cell .push-left > .toggle,
799
+ .table-view-cell .push-right > .btn,
800
+ .table-view-cell .push-right > .badge,
801
+ .table-view-cell .push-right > .toggle,
802
+ .table-view-cell > a .navigate-left > .btn,
803
+ .table-view-cell > a .navigate-left > .badge,
804
+ .table-view-cell > a .navigate-left > .toggle,
805
+ .table-view-cell > a .navigate-right > .btn,
806
+ .table-view-cell > a .navigate-right > .badge,
807
+ .table-view-cell > a .navigate-right > .toggle,
808
+ .table-view-cell > a .push-left > .btn,
809
+ .table-view-cell > a .push-left > .badge,
810
+ .table-view-cell > a .push-left > .toggle,
811
+ .table-view-cell > a .push-right > .btn,
812
+ .table-view-cell > a .push-right > .badge,
813
+ .table-view-cell > a .push-right > .toggle {
814
+ right: 35px;
815
+ }
816
+
817
+ .content > .table-view:first-child {
818
+ margin-top: 15px;
819
+ }
820
+
821
+ input,
822
+ textarea,
823
+ button,
824
+ select {
825
+ font-family: "Helvetica Neue", Helvetica, sans-serif;
826
+ font-size: 17px;
827
+ }
828
+
829
+ select,
830
+ textarea,
831
+ input[type="text"],
832
+ input[type="search"],
833
+ input[type="password"],
834
+ input[type="datetime"],
835
+ input[type="datetime-local"],
836
+ input[type="date"],
837
+ input[type="month"],
838
+ input[type="time"],
839
+ input[type="week"],
840
+ input[type="number"],
841
+ input[type="email"],
842
+ input[type="url"],
843
+ input[type="tel"],
844
+ input[type="color"] {
845
+ width: 100%;
846
+ height: 35px;
847
+ padding: 0 15px;
848
+ margin-bottom: 15px;
849
+ line-height: 21px;
850
+ background-color: #fff;
851
+ border: 1px solid #dddddd;
852
+ border-radius: 3px;
853
+ outline: none;
854
+ -webkit-appearance: none;
855
+ }
856
+
857
+ input[type="search"] {
858
+ padding: 0 10px;
859
+ font-size: 16px;
860
+ border-radius: 20px;
861
+ box-sizing: border-box;
862
+ }
863
+
864
+ input[type="search"]:focus {
865
+ text-align: left;
866
+ }
867
+
868
+ textarea {
869
+ height: auto;
870
+ }
871
+
872
+ select {
873
+ height: auto;
874
+ font-size: 14px;
875
+ background-color: #f8f8f8;
876
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
877
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
878
+ }
879
+
880
+ .input-group {
881
+ background-color: #fff;
882
+ }
883
+
884
+ .input-group input,
885
+ .input-group textarea {
886
+ margin-bottom: 0;
887
+ background-color: transparent;
888
+ border-top: 0;
889
+ border-left: 0;
890
+ border-right: 0;
891
+ border-radius: 0;
892
+ -webkit-box-shadow: none;
893
+ box-shadow: none;
894
+ }
895
+
896
+ .input-row {
897
+ overflow: hidden;
898
+ border-bottom: 1px solid #dddddd;
899
+ }
900
+
901
+ .input-row label {
902
+ float: left;
903
+ width: 35%;
904
+ padding: 10px 15px;
905
+ font-family: "Helvetica Neue", Helvetica, sans-serif;
906
+ line-height: 1.1;
907
+ }
908
+
909
+ .input-row input {
910
+ float: right;
911
+ width: 65%;
912
+ padding-left: 0;
913
+ margin-bottom: 0;
914
+ border: 0;
915
+ }
916
+
917
+ .segmented-control {
918
+ position: relative;
919
+ display: table;
920
+ overflow: hidden;
921
+ font-size: 12px;
922
+ font-weight: 400;
923
+ background-color: white;
924
+ border: 1px solid #ccc;
925
+ border-radius: 3px;
926
+ }
927
+ .segmented-control .control-item {
928
+ display: table-cell;
929
+ overflow: hidden;
930
+ width: 1%;
931
+ padding-top: 6px;
932
+ padding-bottom: 7px;
933
+ line-height: 1;
934
+ color: #333;
935
+ text-align: center;
936
+ white-space: nowrap;
937
+ text-overflow: ellipsis;
938
+ border-left: 1px solid #ccc;
939
+ }
940
+ .segmented-control .control-item:first-child {
941
+ border-left-width: 0;
942
+ }
943
+ .segmented-control .control-item:active {
944
+ background-color: #eee;
945
+ }
946
+ .segmented-control .control-item.active {
947
+ background-color: #ccc;
948
+ }
949
+
950
+ .segmented-control-primary {
951
+ border-color: #428bca;
952
+ }
953
+ .segmented-control-primary .control-item {
954
+ color: #428bca;
955
+ border-color: inherit;
956
+ }
957
+ .segmented-control-primary .control-item:active {
958
+ background-color: #cde1f1;
959
+ }
960
+ .segmented-control-primary .control-item.active {
961
+ color: #fff;
962
+ background-color: #428bca;
963
+ }
964
+
965
+ .segmented-control-positive {
966
+ border-color: #5cb85c;
967
+ }
968
+ .segmented-control-positive .control-item {
969
+ color: #5cb85c;
970
+ border-color: inherit;
971
+ }
972
+ .segmented-control-positive .control-item:active {
973
+ background-color: #d8eed8;
974
+ }
975
+ .segmented-control-positive .control-item.active {
976
+ color: #fff;
977
+ background-color: #5cb85c;
978
+ }
979
+
980
+ .segmented-control-negative {
981
+ border-color: #d9534f;
982
+ }
983
+ .segmented-control-negative .control-item {
984
+ color: #d9534f;
985
+ border-color: inherit;
986
+ }
987
+ .segmented-control-negative .control-item:active {
988
+ background-color: #f9e2e2;
989
+ }
990
+ .segmented-control-negative .control-item.active {
991
+ color: #fff;
992
+ background-color: #d9534f;
993
+ }
994
+
995
+ .control-content {
996
+ display: none;
997
+ }
998
+ .control-content.active {
999
+ display: block;
1000
+ }
1001
+
1002
+ .popover {
1003
+ position: fixed;
1004
+ top: 55px;
1005
+ left: 50%;
1006
+ z-index: 20;
1007
+ display: none;
1008
+ width: 280px;
1009
+ margin-left: -140px;
1010
+ background-color: white;
1011
+ border-radius: 6px;
1012
+ opacity: 0;
1013
+ -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
1014
+ box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
1015
+ -webkit-transform: translate3d(0, -15px, 0);
1016
+ -ms-transform: translate3d(0, -15px, 0);
1017
+ transform: translate3d(0, -15px, 0);
1018
+ -webkit-transition: all 0.25s linear;
1019
+ -moz-transition: all 0.25s linear;
1020
+ transition: all 0.25s linear;
1021
+ }
1022
+ .popover:before {
1023
+ position: absolute;
1024
+ top: -15px;
1025
+ left: 50%;
1026
+ width: 0;
1027
+ height: 0;
1028
+ margin-left: -15px;
1029
+ border-right: 15px solid transparent;
1030
+ border-bottom: 15px solid white;
1031
+ border-left: 15px solid transparent;
1032
+ content: '';
1033
+ }
1034
+ .popover.visible {
1035
+ opacity: 1;
1036
+ -webkit-transform: translate3d(0, 0, 0);
1037
+ -ms-transform: translate3d(0, 0, 0);
1038
+ transform: translate3d(0, 0, 0);
1039
+ }
1040
+ .popover .bar ~ .table-view {
1041
+ padding-top: 44px;
1042
+ }
1043
+
1044
+ .backdrop {
1045
+ position: fixed;
1046
+ top: 0;
1047
+ right: 0;
1048
+ bottom: 0;
1049
+ left: 0;
1050
+ z-index: 15;
1051
+ background-color: rgba(0, 0, 0, 0.3);
1052
+ }
1053
+
1054
+ .popover .btn-block {
1055
+ margin-bottom: 5px;
1056
+ }
1057
+ .popover .btn-block:last-child {
1058
+ margin-bottom: 0;
1059
+ }
1060
+
1061
+ .popover .bar-nav {
1062
+ border-bottom: 1px solid #dddddd;
1063
+ border-top-right-radius: 12px;
1064
+ border-top-left-radius: 12px;
1065
+ -webkit-box-shadow: none;
1066
+ box-shadow: none;
1067
+ }
1068
+
1069
+ .popover .table-view {
1070
+ max-height: 300px;
1071
+ margin-bottom: 0;
1072
+ overflow: auto;
1073
+ background-color: #fff;
1074
+ border-top: 0;
1075
+ border-bottom: 0;
1076
+ border-radius: 6px;
1077
+ -webkit-overflow-scrolling: touch;
1078
+ }
1079
+
1080
+ .modal {
1081
+ position: fixed;
1082
+ top: 0;
1083
+ opacity: 0;
1084
+ z-index: 11;
1085
+ width: 100%;
1086
+ min-height: 100%;
1087
+ overflow: hidden;
1088
+ background-color: #fff;
1089
+ -webkit-transition: -webkit-transform .25s, opacity 1ms .25s;
1090
+ -moz-transition: -moz-transform .25s, opacity 1ms .25s;
1091
+ transition: transform .25s, opacity 1ms .25s;
1092
+ -webkit-transform: translate3d(0, 100%, 0);
1093
+ -ms-transform: translate3d(0, 100%, 0);
1094
+ transform: translate3d(0, 100%, 0);
1095
+ }
1096
+ .modal.active {
1097
+ opacity: 1;
1098
+ height: 100%;
1099
+ -webkit-transition: -webkit-transform .25s;
1100
+ -moz-transition: -moz-transform .25s;
1101
+ transition: transform .25s;
1102
+ -webkit-transform: translate3d(0, 0, 0);
1103
+ -ms-transform: translate3d(0, 0, 0);
1104
+ transform: translate3d(0, 0, 0);
1105
+ }
1106
+
1107
+ .slider {
1108
+ width: 100%;
1109
+ }
1110
+
1111
+ .slider {
1112
+ overflow: hidden;
1113
+ background-color: #000;
1114
+ }
1115
+ .slider .slide-group {
1116
+ position: relative;
1117
+ font-size: 0;
1118
+ white-space: nowrap;
1119
+ -webkit-transition: all 0 linear;
1120
+ -moz-transition: all 0 linear;
1121
+ transition: all 0 linear;
1122
+ }
1123
+ .slider .slide-group .slide {
1124
+ display: inline-block;
1125
+ vertical-align: top;
1126
+ width: 100%;
1127
+ height: 100%;
1128
+ font-size: 14px;
1129
+ }
1130
+
1131
+ .toggle {
1132
+ display: block;
1133
+ position: relative;
1134
+ width: 74px;
1135
+ height: 30px;
1136
+ background-color: #fff;
1137
+ border: 2px solid #ddd;
1138
+ border-radius: 20px;
1139
+ -webkit-transition-property: background-color, border;
1140
+ -moz-transition-property: background-color, border;
1141
+ transition-property: background-color, border;
1142
+ -webkit-transition-duration: 0.2s;
1143
+ -moz-transition-duration: 0.2s;
1144
+ transition-duration: 0.2s;
1145
+ }
1146
+ .toggle .toggle-handle {
1147
+ position: absolute;
1148
+ top: -1px;
1149
+ left: -1px;
1150
+ z-index: 2;
1151
+ width: 28px;
1152
+ height: 28px;
1153
+ background-color: #fff;
1154
+ border: 1px solid #ddd;
1155
+ border-radius: 100px;
1156
+ -webkit-transition-property: -webkit-transform, border, width;
1157
+ -moz-transition-property: -moz-transform, border, width;
1158
+ transition-property: transform, border, width;
1159
+ -webkit-transition-duration: 0.2s;
1160
+ -moz-transition-duration: 0.2s;
1161
+ transition-duration: 0.2s;
1162
+ }
1163
+ .toggle:before {
1164
+ position: absolute;
1165
+ top: 3px;
1166
+ right: 11px;
1167
+ color: #999;
1168
+ font-size: 13px;
1169
+ text-transform: uppercase;
1170
+ content: "Off";
1171
+ }
1172
+ .toggle.active {
1173
+ border: 2px solid #5cb85c;
1174
+ background-color: #5cb85c;
1175
+ }
1176
+ .toggle.active .toggle-handle {
1177
+ border-color: #5cb85c;
1178
+ -webkit-transform: translate3d(44px, 0, 0);
1179
+ -ms-transform: translate3d(44px, 0, 0);
1180
+ transform: translate3d(44px, 0, 0);
1181
+ }
1182
+ .toggle.active:before {
1183
+ right: auto;
1184
+ left: 15px;
1185
+ color: #fff;
1186
+ content: "On";
1187
+ }
1188
+ .toggle input[type="checkbox"] {
1189
+ display: none;
1190
+ }
1191
+
1192
+ .content.fade {
1193
+ left: 0;
1194
+ opacity: 0;
1195
+ }
1196
+ .content.fade.in {
1197
+ opacity: 1;
1198
+ }
1199
+ .content.sliding {
1200
+ z-index: 2;
1201
+ -webkit-transition: -webkit-transform .4s;
1202
+ -moz-transition: -moz-transform .4s;
1203
+ transition: transform .4s;
1204
+ -webkit-transform: translate3d(0, 0, 0);
1205
+ -ms-transform: translate3d(0, 0, 0);
1206
+ transform: translate3d(0, 0, 0);
1207
+ }
1208
+ .content.sliding.left {
1209
+ z-index: 1;
1210
+ -webkit-transform: translate3d(-100%, 0, 0);
1211
+ -ms-transform: translate3d(-100%, 0, 0);
1212
+ transform: translate3d(-100%, 0, 0);
1213
+ }
1214
+ .content.sliding.right {
1215
+ z-index: 3;
1216
+ -webkit-transform: translate3d(100%, 0, 0);
1217
+ -ms-transform: translate3d(100%, 0, 0);
1218
+ transform: translate3d(100%, 0, 0);
1219
+ }
1220
+
1221
+ .navigate-left:after,
1222
+ .navigate-right:after,
1223
+ .push-left:after,
1224
+ .push-right:after {
1225
+ position: absolute;
1226
+ top: 50%;
1227
+ display: inline-block;
1228
+ color: #bbb;
1229
+ font-family: Ratchicons;
1230
+ font-size: inherit;
1231
+ text-decoration: none;
1232
+ line-height: 1;
1233
+ -webkit-font-smoothing: antialiased;
1234
+ -webkit-transform: translateY(-50%);
1235
+ -ms-transform: translateY(-50%);
1236
+ transform: translateY(-50%);
1237
+ }
1238
+
1239
+ .navigate-left:after,
1240
+ .push-left:after {
1241
+ left: 15px;
1242
+ content: '\e822';
1243
+ }
1244
+
1245
+ .navigate-right:after,
1246
+ .push-right:after {
1247
+ right: 15px;
1248
+ content: '\e826';
1249
+ }
1250
+
1251
+ @font-face {
1252
+ font-family: Ratchicons;
1253
+ src: url("<%= asset_path 'ratchicons.eot' %>");
1254
+ src: url("<%= asset_path 'ratchicons.eot?#iefix' %>") format("embedded-opentype"), url("<%= asset_path 'ratchicons.woff' %>") format("woff"), url("<%= asset_path 'ratchicons.ttf' %>") format("truetype"), url("<%= asset_path 'ratchicons.svg#svgFontName' %>") format("svg");
1255
+ font-weight: normal;
1256
+ font-style: normal;
1257
+ }
1258
+
1259
+ .icon {
1260
+ display: inline-block;
1261
+ font-family: Ratchicons;
1262
+ font-size: 24px;
1263
+ text-decoration: none;
1264
+ line-height: 1;
1265
+ -webkit-font-smoothing: antialiased;
1266
+ }
1267
+
1268
+ .icon-and-up:before {
1269
+ content: '\e809';
1270
+ }
1271
+
1272
+ .icon-back:before {
1273
+ content: '\e80a';
1274
+ }
1275
+
1276
+ .icon-bars:before {
1277
+ content: '\e80e';
1278
+ }
1279
+
1280
+ .icon-caret:before {
1281
+ content: '\e80f';
1282
+ }
1283
+
1284
+ .icon-check:before {
1285
+ content: '\e810';
1286
+ }
1287
+
1288
+ .icon-close:before {
1289
+ content: '\e811';
1290
+ }
1291
+
1292
+ .icon-code:before {
1293
+ content: '\e812';
1294
+ }
1295
+
1296
+ .icon-compose:before {
1297
+ content: '\e813';
1298
+ }
1299
+
1300
+ .icon-down-nav:before {
1301
+ content: '\e814';
1302
+ }
1303
+
1304
+ .icon-down:before {
1305
+ content: '\e820';
1306
+ }
1307
+
1308
+ .icon-download:before {
1309
+ content: '\e815';
1310
+ }
1311
+
1312
+ .icon-edit:before {
1313
+ content: '\e829';
1314
+ }
1315
+
1316
+ .icon-forward:before {
1317
+ content: '\e82a';
1318
+ }
1319
+
1320
+ .icon-gear:before {
1321
+ content: '\e821';
1322
+ }
1323
+
1324
+ .icon-home:before {
1325
+ content: '\e82b';
1326
+ }
1327
+
1328
+ .icon-info:before {
1329
+ content: '\e82c';
1330
+ }
1331
+
1332
+ .icon-left-nav:before {
1333
+ content: '\e82d';
1334
+ }
1335
+
1336
+ .icon-left:before {
1337
+ content: '\e822';
1338
+ }
1339
+
1340
+ .icon-list:before {
1341
+ content: '\e823';
1342
+ }
1343
+
1344
+ .icon-more-vertical:before {
1345
+ content: '\e82e';
1346
+ }
1347
+
1348
+ .icon-more:before {
1349
+ content: '\e82f';
1350
+ }
1351
+
1352
+ .icon-pages:before {
1353
+ content: '\e824';
1354
+ }
1355
+
1356
+ .icon-pause:before {
1357
+ content: '\e830';
1358
+ }
1359
+
1360
+ .icon-person:before {
1361
+ content: '\e832';
1362
+ }
1363
+
1364
+ .icon-play:before {
1365
+ content: '\e816';
1366
+ }
1367
+
1368
+ .icon-plus:before {
1369
+ content: '\e817';
1370
+ }
1371
+
1372
+ .icon-refresh:before {
1373
+ content: '\e825';
1374
+ }
1375
+
1376
+ .icon-right-nav:before {
1377
+ content: '\e818';
1378
+ }
1379
+
1380
+ .icon-right:before {
1381
+ content: '\e826';
1382
+ }
1383
+
1384
+ .icon-search:before {
1385
+ content: '\e819';
1386
+ }
1387
+
1388
+ .icon-share:before {
1389
+ content: '\e81a';
1390
+ }
1391
+
1392
+ .icon-sound2:before {
1393
+ content: '\e828';
1394
+ }
1395
+
1396
+ .icon-sound3:before {
1397
+ content: '\e80b';
1398
+ }
1399
+
1400
+ .icon-sound4:before {
1401
+ content: '\e80c';
1402
+ }
1403
+
1404
+ .icon-sound:before {
1405
+ content: '\e827';
1406
+ }
1407
+
1408
+ .icon-star-filled:before {
1409
+ content: '\e81b';
1410
+ }
1411
+
1412
+ .icon-star:before {
1413
+ content: '\e81c';
1414
+ }
1415
+
1416
+ .icon-stop:before {
1417
+ content: '\e81d';
1418
+ }
1419
+
1420
+ .icon-trash:before {
1421
+ content: '\e81e';
1422
+ }
1423
+
1424
+ .icon-up-nav:before {
1425
+ content: '\e81f';
1426
+ }
1427
+
1428
+ .icon-up:before {
1429
+ content: '\e80d';
1430
+ }