on-standards-rails 1.5.1.1 → 2.0.0.pre.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -3
  3. data/lib/on-standards-rails.rb +0 -3
  4. data/lib/on/standards/rails/version.rb +1 -1
  5. data/on-standards-rails.gemspec +1 -4
  6. data/vendor/assets/javascripts/on-standards.js +17552 -18
  7. data/vendor/assets/stylesheets/on-standards.scss +67 -0
  8. data/vendor/assets/stylesheets/on-standards/_alert.scss +65 -0
  9. data/vendor/assets/stylesheets/on-standards/_animation.scss +27 -0
  10. data/vendor/assets/stylesheets/on-standards/_baseline.scss +351 -0
  11. data/vendor/assets/stylesheets/on-standards/_block-grid.scss +501 -0
  12. data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +23 -0
  13. data/vendor/assets/stylesheets/on-standards/_button-group.scss +293 -0
  14. data/vendor/assets/stylesheets/on-standards/_buttons.scss +241 -0
  15. data/vendor/assets/stylesheets/on-standards/_card.scss +292 -0
  16. data/vendor/assets/stylesheets/on-standards/_carousel.scss +252 -0
  17. data/vendor/assets/stylesheets/on-standards/_close.scss +27 -0
  18. data/vendor/assets/stylesheets/on-standards/_code.scss +58 -0
  19. data/vendor/assets/stylesheets/on-standards/_colors.scss +85 -0
  20. data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +226 -0
  21. data/vendor/assets/stylesheets/on-standards/_dropdown.scss +193 -0
  22. data/vendor/assets/stylesheets/on-standards/_forms.scss +489 -0
  23. data/vendor/assets/stylesheets/on-standards/_functions.scss +19 -0
  24. data/vendor/assets/stylesheets/on-standards/_grid.scss +76 -0
  25. data/vendor/assets/stylesheets/on-standards/_images.scss +53 -0
  26. data/vendor/assets/stylesheets/on-standards/_input-group.scss +194 -0
  27. data/vendor/assets/stylesheets/on-standards/_jumbotron.scss +20 -0
  28. data/vendor/assets/stylesheets/on-standards/_list-group.scss +140 -0
  29. data/vendor/assets/stylesheets/on-standards/_media.scss +90 -0
  30. data/vendor/assets/stylesheets/on-standards/_mixins.scss +56 -0
  31. data/vendor/assets/stylesheets/on-standards/_modal.scss +143 -0
  32. data/vendor/assets/stylesheets/on-standards/_nav.scss +162 -0
  33. data/vendor/assets/stylesheets/on-standards/_navbar.scss +230 -0
  34. data/vendor/assets/stylesheets/on-standards/_normalize.scss +417 -0
  35. data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +201 -0
  36. data/vendor/assets/stylesheets/on-standards/_pager.scss +57 -0
  37. data/vendor/assets/stylesheets/on-standards/_pagination.scss +73 -0
  38. data/vendor/assets/stylesheets/on-standards/_popover.scss +140 -0
  39. data/vendor/assets/stylesheets/on-standards/_print.scss +88 -0
  40. data/vendor/assets/stylesheets/on-standards/_progress.scss +156 -0
  41. data/vendor/assets/stylesheets/on-standards/_responsive-embed.scss +39 -0
  42. data/vendor/assets/stylesheets/on-standards/_tables.scss +193 -0
  43. data/vendor/assets/stylesheets/on-standards/_tags.scss +94 -0
  44. data/vendor/assets/stylesheets/on-standards/_tooltip.scss +85 -0
  45. data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +19 -0
  46. data/vendor/assets/stylesheets/on-standards/_utilities-responsive.scss +49 -0
  47. data/vendor/assets/stylesheets/on-standards/_utilities-spacing.scss +39 -0
  48. data/vendor/assets/stylesheets/on-standards/_utilities.scss +93 -0
  49. data/vendor/assets/stylesheets/on-standards/_variables.scss +727 -0
  50. data/vendor/assets/stylesheets/on-standards/mixins/_alert.scss +18 -0
  51. data/vendor/assets/stylesheets/on-standards/mixins/_background-variant.scss +13 -0
  52. data/vendor/assets/stylesheets/on-standards/mixins/_border-radius.scss +35 -0
  53. data/vendor/assets/stylesheets/on-standards/mixins/_breakpoints.scss +86 -0
  54. data/vendor/assets/stylesheets/on-standards/mixins/_buttons.scss +157 -0
  55. data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +38 -0
  56. data/vendor/assets/stylesheets/on-standards/mixins/_center-block.scss +7 -0
  57. data/vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss +7 -0
  58. data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +89 -0
  59. data/vendor/assets/stylesheets/on-standards/mixins/_gradients.scss +43 -0
  60. data/vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss +44 -0
  61. data/vendor/assets/stylesheets/on-standards/mixins/_grid.scss +75 -0
  62. data/vendor/assets/stylesheets/on-standards/mixins/_hover.scss +59 -0
  63. data/vendor/assets/stylesheets/on-standards/mixins/_image.scss +34 -0
  64. data/vendor/assets/stylesheets/on-standards/mixins/_list-group.scss +30 -0
  65. data/vendor/assets/stylesheets/on-standards/mixins/_lists.scss +7 -0
  66. data/vendor/assets/stylesheets/on-standards/mixins/_modernizr.scss +11 -0
  67. data/vendor/assets/stylesheets/on-standards/mixins/_nav-divider.scss +10 -0
  68. data/vendor/assets/stylesheets/on-standards/mixins/_navbar-align.scss +9 -0
  69. data/vendor/assets/stylesheets/on-standards/mixins/_pagination.scss +22 -0
  70. data/vendor/assets/stylesheets/on-standards/mixins/_progress.scss +18 -0
  71. data/vendor/assets/stylesheets/on-standards/mixins/_pulls.scss +6 -0
  72. data/vendor/assets/stylesheets/on-standards/mixins/_reset-filter.scss +8 -0
  73. data/vendor/assets/stylesheets/on-standards/mixins/_reset-text.scss +18 -0
  74. data/vendor/assets/stylesheets/on-standards/mixins/_resize.scss +6 -0
  75. data/vendor/assets/stylesheets/on-standards/mixins/_screen-reader.scss +32 -0
  76. data/vendor/assets/stylesheets/on-standards/mixins/_size.scss +6 -0
  77. data/vendor/assets/stylesheets/on-standards/mixins/_tab-focus.scss +5 -0
  78. data/vendor/assets/stylesheets/on-standards/mixins/_table-row.scss +30 -0
  79. data/vendor/assets/stylesheets/on-standards/mixins/_tag.scss +30 -0
  80. data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +12 -0
  81. data/vendor/assets/stylesheets/on-standards/mixins/_text-hide.scss +8 -0
  82. data/vendor/assets/stylesheets/on-standards/mixins/_text-truncate.scss +8 -0
  83. data/vendor/assets/stylesheets/on-standards/modules/_type.scss +171 -0
  84. metadata +83 -58
  85. data/vendor/assets/javascripts/on-standards/vendor/chosen.jquery.min.js +0 -2
  86. data/vendor/assets/javascripts/on-standards/vendor/jquery.tooltipster.min.js +0 -1
  87. data/vendor/assets/javascripts/on-standards/vendor/sweet-alert.min.js +0 -1
  88. data/vendor/assets/stylesheets/foundation_and_overrides.scss +0 -1450
  89. data/vendor/assets/stylesheets/on-overrides.sass +0 -0
  90. data/vendor/assets/stylesheets/on-standards.sass +0 -7
  91. data/vendor/assets/stylesheets/on-standards/church_to_church.sass +0 -1323
  92. data/vendor/assets/stylesheets/on-standards/vendor/chosen.min.css +0 -3
  93. data/vendor/assets/stylesheets/on-standards/vendor/sweet-alert.scss +0 -429
  94. data/vendor/assets/stylesheets/on-standards/vendor/tooltipster.css +0 -274
File without changes
@@ -1,7 +0,0 @@
1
- @import compass
2
- @import font-awesome-sprockets
3
- @import font-awesome
4
- @import on-standards/vendor/sweet-alert.scss
5
- @import on-standards/vendor/chosen.min.css
6
- @import on-standards/vendor/tooltipster.css
7
- @import on-standards/church_to_church
@@ -1,1323 +0,0 @@
1
- // Church to Church - Base Style Sheet
2
- //
3
- // Table of Contents
4
- //
5
- // Variables
6
- // Overrides
7
- // Typography
8
- // Buttons
9
- // Forms
10
- // Tooltips
11
- // Tags
12
- // Pagination
13
- // Alerts, Flash Messages, Notification Banners & Modals
14
- // Tables
15
- // Utility Classes (keep at bottom)
16
-
17
- // Z index - List all uses of z-index here
18
- //
19
- // Dropdowns: 2
20
- // Input elements: 1
21
- // Pagination: 1
22
- // Flash messages: 4
23
-
24
-
25
- // Variables // ------------------------------------------
26
-
27
- // Rainbow Spectrum
28
- $blue: #64b4f2
29
- $dark-blue: #7690f4
30
- $violet: #b075ed
31
- $purple: #dd81e8
32
- $pink: #f77292
33
- $red-lighter: #ffc2c1
34
- $red-light: #f78785
35
- $red: #e25552
36
- $red-orange: #f67d42
37
- $orange: #ffac48
38
- $orange-yellow: #ffc948
39
- $yellow-lighter: #fef1bc
40
- $yellow-light: #feea94
41
- $yellow: #fcdb51
42
- $yellow-dark: #e8bf00
43
- $yellow-green: #e9e45b
44
- $lime: #b0dd61
45
- $green-lighter: #b9eda4
46
- $green-light: #98df7a
47
- $green: #7fc661
48
- $teal: #5bd69a
49
- $cyan: #73e2e1
50
- $network-blue: #00b1ed
51
-
52
- // Gray Spectrum
53
- $black: #29292A
54
- $gray: #404041
55
- $gray-90: #535354
56
- $gray-80: #666667
57
- $gray-70: #79797A
58
- $gray-60: #8C8C8D
59
- $gray-50: #9F9FA0
60
- $gray-40: #B2B2B3
61
- $gray-30: #C6C6C6
62
- $gray-20: #D8D8D9
63
- $gray-10: #ECECEC
64
- $gray-5: #F5F5F5
65
- $white: #FFFFFF
66
-
67
- // Gray Overrides - DO NOT USE
68
- $gray-super-lightest: $gray-5
69
- $gray-lightest: $gray-10
70
- $gray-lighter: $gray-20
71
- $gray-light: $gray-50
72
- $gray-dark: $gray-90
73
- $gray-darker: $gray
74
- $gray-darkest: $black
75
-
76
-
77
-
78
- // Other constants
79
- $global-radius: 2px
80
- $font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif
81
- $global-shadow: 0 2px 3px rgba(100,100,110,0.1)
82
- $input-shadow: inset 0 1px 2px rgba(100, 100, 110, 0.1)
83
- $top-bar-height: 60px
84
- $global-overlay: rgba($gray-darkest, 0.9)
85
- $font-color: $gray
86
-
87
- $medium-width: 40.063em
88
- $large-width: 64.063em
89
- $xlarge-width: 90.063em
90
-
91
- // Mixins
92
- @mixin font-awesome-base // Use this mixin in a ':before' to add Font Awesome characters. You must add the appropriate icon in the 'content' decleration. (e.g. content: "\f00c")
93
- display: inline-block
94
- font: normal normal normal 14px/1 FontAwesome
95
- font-size: inherit
96
- text-rendering: auto
97
- -webkit-font-smoothing: antialiased
98
-
99
- @mixin media-medium-up
100
- @media (min-width: #{$medium-width})
101
- @content
102
-
103
- @mixin media-large-up
104
- @media (min-width: #{$large-width})
105
- @content
106
-
107
- @mixin media-xlarge-up
108
- @media (min-width: #{$xlarge-width})
109
- @content
110
-
111
- // Overrides // ------------------------------------------
112
-
113
- // Application colors, override these to fit the appropriate app.
114
- $primary-color: $blue
115
- $secondary-color: $green
116
- // This should be white on all products except Open. which should be $gray-dark
117
- $primary-button-font-color: white
118
- // This should be $primary-color on all products except Open. which should be $gray-dark
119
- $chosen-hover-highlight-color: $primary-color
120
-
121
- @import c2c-overrides
122
-
123
- @import foundation_and_overrides
124
-
125
- // Typography // -------------------------------------------
126
-
127
- // Typekit Proxima Nova size reference
128
- // 100 = Thin
129
- // 300 = Light
130
- // 400 = Regular
131
- // 600 = Semibold
132
- // 700 = Bold
133
- // 800 = Extra bold
134
- // 900 = Black
135
-
136
- $global-line-height: 1.4
137
-
138
- html
139
- font-size: 100%
140
- font-family: $font-family
141
-
142
- body
143
- font-size: inherit
144
- line-height: 1
145
- color: $font-color
146
-
147
- h1, h2, h3, h4, h5, h6
148
- font-family: $font-family
149
-
150
- h1, h2, .sweet-alert h2, h3, h4
151
- font-weight: 700
152
- color: $font-color
153
- margin: 1rem 0
154
-
155
- h1
156
- font-size: 28px
157
- line-height: 1.2
158
-
159
- h1.large
160
- font-size: 33px
161
-
162
- h1.xlarge
163
- font-size: 40px
164
-
165
- h1.xxlarge
166
- font-size: 48px
167
-
168
- h2, .sweet-alert h2
169
- font-size: 23px
170
- line-height: 1.2
171
-
172
- h3
173
- font-size: 19px
174
- line-height: $global-line-height
175
-
176
- h4
177
- font-size: 1rem
178
- line-height: $global-line-height
179
-
180
- h5, .section-header
181
- font-size: 0.875rem
182
- line-height: $global-line-height
183
- text-transform: uppercase
184
- color: $font-color
185
-
186
- p, .sweet-alert p
187
- font-size: 1rem
188
- line-height: $global-line-height
189
- margin: 1rem 0
190
- font-weight: 400
191
-
192
- p.lede
193
- font-size: 19px
194
-
195
- a
196
- color: inherit
197
- text-decoration: underline
198
- i
199
- text-decoration: underline
200
- &:hover
201
- color: $primary-color
202
-
203
- .primary-link
204
- color: $primary-color
205
-
206
- .secondary-link
207
- color: $gray-light
208
- &:hover
209
- color: $primary-color
210
-
211
- ol, ul
212
- margin-top: 1rem
213
- margin-bottom: 1rem
214
-
215
- li
216
- font-size: 1rem
217
- line-height: $global-line-height
218
-
219
- hr
220
- border-color: $gray-lighter
221
-
222
- span
223
- line-height: $global-line-height
224
-
225
- small
226
- font-size: 0.875rem
227
-
228
- strong
229
- font-weight: 700
230
-
231
- button, input[type="submit"]
232
- font-family: $font-family
233
-
234
- // Buttons // --------------------------------------------------
235
-
236
- $button-hover-shadow: 0 1px 2px rgba(100, 100, 110, 0.15)
237
- $button-active-shadow: inset 0 1px 2px rgba(100, 100, 110, 0.15)
238
-
239
- button, .button
240
- display: inline-block
241
- box-sizing: border-box
242
- margin: 0
243
- border: none
244
- border-radius: $global-radius
245
- padding: 0 1.25rem
246
- text-align: center
247
- vertical-align: top
248
- text-decoration: none
249
- font-size: 1rem
250
- line-height: 36px
251
- white-space: nowrap
252
- background-color: $gray-lighter
253
- color: $font-color
254
- cursor: pointer
255
- vertical-align: middle
256
- +transition(none)
257
- &:active, &:hover, &:focus
258
- outline: none
259
- +box-shadow($button-hover-shadow)
260
- background-color: lighten($gray-lighter, 2%)
261
- color: $font-color
262
- text-decoration: none
263
- &:active
264
- +box-shadow(none)
265
- background-color: $gray-lighter
266
- color: $font-color
267
-
268
- &:disabled, &.disabled
269
- +opacity(0.45)
270
- cursor: default
271
- color: $gray
272
- background-color: $gray-lighter
273
- &:hover
274
- +box-shadow(none)
275
-
276
- &.primary
277
- background-color: $primary-color
278
- color: $primary-button-font-color
279
- &:hover, &:focus
280
- background-color: lighten($primary-color, 7%)
281
- +box-shadow($button-hover-shadow)
282
- &:active
283
- background-color: $primary-color
284
- +box-shadow(none)
285
- &:disabled, &.disabled
286
- background-color: $primary-color
287
-
288
- &.white
289
- background-color: white
290
- +box-shadow(inset 0 0 0 1px $gray-lighter)
291
- color: $gray-light
292
- &:hover
293
- background-color: lighten($primary-color, 7%)
294
- color: $primary-button-font-color
295
- +box-shadow($button-hover-shadow)
296
- &:active
297
- background-color: $primary-color
298
- color: $primary-button-font-color
299
- +box-shadow(none)
300
- &:disabled, &.disabled
301
- color: $gray-lighter
302
- +opacity(1)
303
- &:hover
304
- background-color: white
305
- +box-shadow(inset 0 0 0 1px $gray-lighter)
306
-
307
- &.large
308
- padding: 0 1.5em
309
- font-size: 1.1875em
310
- line-height: 44px
311
-
312
- &.small
313
- padding: 0 0.875rem
314
- font-size: 0.875rem
315
- line-height: 30px
316
-
317
- &.tiny
318
- padding: 0 0.625rem
319
- font-size: 0.875rem
320
- line-height: 24px
321
-
322
- // Forms // --------------------------------------------
323
-
324
- form
325
- fieldset:last-of-type
326
- border-bottom: none
327
- margin-bottom: 1.5rem
328
-
329
- .field
330
- margin-bottom: 1.5rem
331
- width: 100%
332
- +media-medium-up
333
- width: auto
334
- max-width: 27.5rem
335
- &.short
336
- width: 260px
337
- max-width: inherit
338
- &.shorter
339
- width: 130px
340
- max-width: inherit
341
- &.long
342
- width: 100%
343
- max-width: inherit
344
-
345
- label, .field-label
346
- color: $font-color
347
- font-size: 0.875rem
348
- margin-bottom: 0.25rem
349
- margin-right: 1rem
350
- display: inline-block
351
- line-height: 1
352
-
353
- .field-label
354
- display: block
355
- margin-bottom: 0.5rem
356
-
357
- input[type="text"],
358
- input[type="password"],
359
- input[type="email"],
360
- input[type="date"],
361
- textarea,
362
- .chosen-container .chosen-single,
363
- .chosen-container .chosen-choices
364
- display: block
365
- min-height: 2.25rem
366
- width: 100%
367
- margin: 0
368
- border: 1px solid $gray-lighter
369
- padding: 0.25rem 0.5rem
370
- font-size: 1rem
371
- font-family: $font-family
372
- line-height: 1.4
373
- color: $font-color
374
- background: white
375
- border-radius: $global-radius
376
- +box-shadow($input-shadow)
377
- +transition(none)
378
- &:focus
379
- border: 1px solid $primary-color
380
- outline: none
381
- +box-shadow(none)
382
-
383
- select
384
- display: block
385
- margin: 0
386
- width: auto
387
-
388
- input[type="submit"]
389
- @extend .button
390
- -webkit-appearance: none
391
- background-color: $primary-color
392
- color: $primary-button-font-color
393
- &:hover, &:focus
394
- color: $primary-button-font-color
395
- background-color: lighten($primary-color, 7%)
396
- +box-shadow($button-hover-shadow)
397
- &:active
398
- color: $primary-button-font-color
399
- background-color: $primary-color
400
- +box-shadow(none)
401
- &:disabled, &.disabled
402
- background-color: $primary-color
403
-
404
- .hint, fieldset .field label // Use this on span elements underneath input fields when a label doesn't add enough clarity
405
- font-size: 0.75rem
406
- color: $gray-light
407
- margin-top: 0.3rem
408
-
409
- // Chosen.js overides
410
-
411
- .chosen-container
412
- display: block
413
- .chosen-drop
414
- +box-shadow($global-shadow)
415
- +border-radius($global-radius)
416
- z-index: 2
417
- margin-top: 2px
418
- border: 1px solid $gray-lighter
419
- .chosen-search
420
- padding: 0.25rem 0.5rem
421
- .chosen-results
422
- margin: 0
423
- padding: 0
424
- font-size: 0.875rem
425
- li
426
- position: relative
427
- padding: 0.25rem 0.5rem 0.25rem 1.6rem
428
- line-height: 1.4
429
- &.highlighted
430
- background-color: $gray-lightest
431
- color: $chosen-hover-highlight-color
432
- +background-image(none)
433
- li.group-result
434
- padding-left: 0.5rem
435
- li.group-option
436
- padding-left: 1.6rem
437
- li.no-results
438
- background: $gray-lightest
439
- .result-selected
440
- &:before
441
- +font-awesome-base
442
- position: absolute
443
- left: 0.5rem
444
- top: 0.55rem
445
- content: "\f00c"
446
- font-size: 0.75rem
447
- .chosen-default span
448
- color: $gray-light
449
-
450
- .chosen-container-single
451
- .chosen-single
452
- text-decoration: none
453
- > span
454
- margin-top: 2px
455
- div b
456
- background-image: none !important
457
- &:before
458
- +font-awesome-base
459
- content: "\f0d7"
460
- line-height: 2.125rem
461
- color: $gray-lighter
462
- &:hover div b:before
463
- color: $font-color
464
- .chosen-search
465
- input[type="text"]
466
- margin: 0
467
- border: 1px solid $gray-lighter
468
- +border-radius($global-radius)
469
- background-image: none !important
470
- font-size: 0.875rem
471
- min-height: 1.875rem
472
- &:before
473
- +font-awesome-base
474
- content: "\f002"
475
- position: absolute
476
- top: 12px
477
- right: 16px
478
- color: $gray-lighter
479
-
480
- .chosen-container-multi
481
- .chosen-choices
482
- padding-top: 5px
483
- padding-bottom: 0
484
- li.search-choice
485
- margin: 0 0.25rem 5px 0
486
- border: none
487
- padding: 0 1.35rem 0 0.5rem
488
- line-height: 24px
489
- font-size: 0.875rem
490
- background: $gray-lighter
491
- +box-shadow(none)
492
- border-radius: 2rem
493
- span
494
- position: relative
495
- top: 1px
496
- .search-choice-close
497
- background: none
498
- width: 1rem
499
- height: 1rem
500
- text-align: center
501
- color: $gray-light
502
- text-decoration: none
503
- right: 0.25rem
504
- &:before
505
- font-size: 1.1rem
506
- content: "×"
507
- line-height: 1
508
- &:hover
509
- color: $font-color
510
- li.search-field input[type=text]
511
- margin: 1px 0 0
512
- border: none
513
- padding: 0
514
- min-height: inherit
515
- height: inherit
516
- line-height: 1.4
517
- color: $font-color
518
- font-family: $font-family
519
- .chosen-drop .result-selected
520
- color: $font-color
521
-
522
- .chosen-container-active
523
- .chosen-single, .chosen-choices
524
- border-color: $primary-color
525
- +box-shadow(none)
526
- &.chosen-with-drop
527
- .chosen-single,
528
- .chosen-choices
529
- +background-image(none)
530
- border-color: $primary-color
531
- +border-radius($global-radius)
532
- div b:before
533
- content: "\f0d8"
534
- line-height: 2rem
535
-
536
- // Datepicker
537
- .datepicker-inline
538
- width: 220px
539
-
540
- .datepicker.datepicker-rtl
541
- direction: rtl
542
- table tr td span
543
- float: right
544
-
545
- .datepicker-dropdown
546
- top: 0
547
- left: 0
548
-
549
- .datepicker
550
- padding: 2px
551
- border-radius: 4px
552
- direction: ltr
553
- margin-top: 2px
554
- margin-bottom: 2px
555
- thead
556
- background-color: transparent
557
- tr:hover
558
- border: none
559
- background-color: transparent
560
- > div
561
- display: none
562
- &.days .datepicker-days, &.months .datepicker-months, &.years .datepicker-years
563
- display: block
564
- table
565
- border: none
566
- margin: 0
567
- -webkit-touch-callout: none
568
- -webkit-user-select: none
569
- -khtml-user-select: none
570
- -moz-user-select: none
571
- -ms-user-select: none
572
- user-select: none
573
- tr
574
- td, th
575
- text-align: center
576
- width: 30px
577
- height: 30px
578
- border-radius: $global-radius
579
- border: none
580
- td span
581
- display: block
582
- width: 23%
583
- height: 45px
584
- line-height: 45px
585
- float: left
586
- margin: 1%
587
- cursor: pointer
588
- border-radius: 4px
589
- &:hover
590
- background: #eeeeee
591
-
592
- .today
593
- color: $font-color
594
- background-color: $gray-lighter
595
- &:hover, &:focus, &:hover:focus, &:active, &:hover:active
596
- color: $font-color
597
- background-color: $gray-lightest
598
- &.disabled
599
- color: $gray-light
600
- &:hover, &:focus, &:hover:focus, &:active, &:hover:active
601
- color: $gray-light
602
- background-color: transparent
603
-
604
- .day, .month, .year
605
- &:hover, &.focused, &:focus, &:active
606
- background: $gray-lightest
607
- cursor: pointer
608
- &.old, &.new
609
- color: $gray-light
610
- &.disabled
611
- background: none
612
- cursor: default
613
- &:hover
614
- background: none
615
- cursor: default
616
- &.active
617
- color: $primary-button-font-color
618
- background-color: $primary-color
619
- &:hover, &:focus, &:active
620
- color: $primary-button-font-color
621
- background-color: lighten($primary-color, 7%)
622
- &.disabled
623
- color: #ffffff
624
- background-color: #428bca
625
- &:hover, &:focus, &:active
626
- color: #ffffff
627
- background-color: #428bca
628
- border-color: #357ebd
629
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
630
-
631
- &.dropdown-menu
632
- position: absolute
633
- top: 100%
634
- left: 0
635
- z-index: 1000
636
- float: left
637
- display: none
638
- min-width: 160px
639
- list-style: none
640
- background-color: white
641
- border: 1px solid $gray-lighter
642
- border-radius: $global-radius
643
- box-shadow: $global-shadow
644
- background-clip: padding-box
645
- font-size: 12px
646
- line-height: 1.4
647
- th
648
- padding: 0px 5px
649
-
650
- &.datepicker-inline th, &.dropdown-menu td, &.datepicker-inline td
651
- padding: 0px 5px
652
-
653
- .datepicker
654
- .datepicker-switch
655
- width: 145px
656
- thead tr:first-child th, tfoot tr th
657
- cursor: pointer
658
- thead tr:first-child th:hover, tfoot tr th:hover
659
- background: $gray-lightest
660
- .cw
661
- font-size: 10px
662
- width: 12px
663
- padding: 0 2px 0 5px
664
- vertical-align: middle
665
- thead tr:first-child .cw
666
- cursor: default
667
- background-color: transparent
668
-
669
- .input-group.date .input-group-addon
670
- cursor: pointer
671
-
672
- .input-daterange
673
- width: 100%
674
- input
675
- text-align: center
676
- &:first-child
677
- border-radius: 3px 0 0 3px
678
- &:last-child
679
- border-radius: 0 3px 3px 0
680
- .input-group-addon
681
- width: auto
682
- min-width: 16px
683
- padding: 4px 5px
684
- font-weight: normal
685
- line-height: 1.42857143
686
- text-align: center
687
- text-shadow: 0 1px 0 #fff
688
- vertical-align: middle
689
- background-color: #eeeeee
690
- border: solid #cccccc
691
- border-width: 1px 0
692
- margin-left: -5px
693
- margin-right: -5px
694
-
695
-
696
- .table-striped .datepicker table tr
697
- td, th
698
- background-color: transparent
699
-
700
- // Fieldsets
701
-
702
- $label-margin: 11.25rem
703
-
704
- fieldset
705
- margin: 0
706
- border: none
707
- border-bottom: 1px dotted $gray-lighter
708
- padding: 1.5rem 0 0
709
- > label, .field-label
710
- position: absolute
711
- max-width: $label-margin
712
- margin-top: 0.75rem
713
- line-height: 1
714
-
715
- .fieldset-row
716
- margin-left: $label-margin
717
- +legacy-pie-clearfix
718
- &.two-column, &.three-column
719
- input
720
- width: 100%
721
- > div
722
- width: 50%
723
- float: left
724
- padding-left: 0.75rem
725
- padding-right: 0.75rem
726
- &:first-of-type
727
- padding-left: 0
728
- &:last-of-type
729
- padding-right: 0
730
- &.two-column
731
- > div
732
- width: 50%
733
- &.three-column
734
- > div
735
- width: 33.33%
736
- input[type="radio"], input[type="checkbox"]
737
- margin-top: 0.75rem
738
- margin-bottom: 0.75rem
739
- + label
740
- position: relative
741
- top: 1px
742
- font-size: 0.875rem
743
- color: $font-color
744
- margin-top: 0
745
-
746
- .field
747
- clear: none
748
-
749
- .field.inline
750
- input, textarea, select, .chosen-container
751
- display: inline-block
752
- width: auto
753
- label
754
- vertical-align: top
755
- margin-top: 0.75rem
756
-
757
- input.prefix, span.postfix
758
- border-radius: 0 $global-radius $global-radius 0
759
-
760
- input.postfix, span.prefix
761
- border-radius: $global-radius 0 0 $global-radius
762
-
763
- input.prefix, input.postfix
764
- text-align: left
765
-
766
- ul.radio-pill-select
767
- display: block
768
- list-style-type: none
769
- margin: 0 auto
770
- padding: 0
771
- position: relative
772
- z-index: 1
773
- li
774
- display: block
775
- float: left
776
- &:first-of-type label
777
- border-radius: $global-radius 0 0 $global-radius
778
- border-left: 1px solid $gray-lighter
779
- &.active
780
- box-shadow: none
781
- border-color: $primary-color
782
- &:last-of-type label
783
- border-radius: 0 $global-radius $global-radius 0
784
- input
785
- display: none
786
- label
787
- font-size: 1rem
788
- line-height: 2rem
789
- background-color: white
790
- padding: 0 1.25rem
791
- border-top: 1px solid $gray-lighter
792
- border-bottom: 1px solid $gray-lighter
793
- border-right: 1px solid $gray-lighter
794
- margin: 0
795
- &:hover
796
- cursor: pointer
797
- color: $primary-color
798
- background-color: $gray-lightest
799
- &.active
800
- color: $primary-button-font-color
801
- background-color: $primary-color
802
- border-color: $primary-color
803
- box-shadow: -1px 0 $primary-color
804
-
805
- .radio-pill-header
806
- text-align: center
807
- position: relative
808
- width: 100%
809
- max-width: inherit
810
- &:after
811
- content: " "
812
- height: 1px
813
- width: 100%
814
- background-color: $gray-lighter
815
- display: block
816
- position: absolute
817
- bottom: 36%
818
- .radio-pill-select
819
- display: inline-block
820
- label
821
- margin-right: 0
822
- display: block
823
-
824
- // Form Errors
825
- .field.error label, .field_with_errors label,
826
- .field.error .field-label, .field_with_errors .field-label,
827
- fieldset .error .hint,
828
- fieldset.error > label
829
- color: $red
830
- font-weight: bold
831
-
832
- .field.error, .field_with_errors
833
- input, .chosen-single
834
- border-color: $red
835
-
836
- .field.error, .field_with_errors
837
- input[type="radio"] + label,
838
- label + input[type="radio"],
839
- input[type="checkbox"] + label,
840
- label + input[type="checkbox"]
841
- color: inherit
842
- font-weight: normal
843
-
844
- .form-error-list
845
- color: $font-color
846
- background-color: $red-lighter
847
- border-radius: $global-radius
848
- padding: 0.75rem 1rem
849
- font-size: 0.875rem
850
- margin-left: 0
851
- list-style: none
852
-
853
-
854
- // .file-upload
855
- // .button
856
- // display: inline-block
857
- // text-align: center
858
- // text-decoration: none
859
- // color: #999
860
- // @include border-radius(3px)
861
- // line-height: 28px
862
- // padding: 5px 20px
863
- // cursor: pointer
864
- // background-color: #CCC
865
- // border: 1px solid #D1D1D1
866
- // @include background-image(linear-gradient(to top, #DDDDDD, #F1F1F1))
867
- // &:hover
868
- // @include background-image(linear-gradient(to top, #E3E3E3, #F4F4F4))
869
-
870
- // #file-name
871
- // display: inline-block
872
- // line-height: 40px
873
- // margin-left: 10px
874
- // position: relative
875
- // top: -15px
876
-
877
- // .hidden
878
- // height: 0px
879
- // width: 0px
880
- // overflow: hidden
881
-
882
- // Tooltips // -------------------------------------------
883
- .tooltipster-default
884
- background: $global-overlay
885
- border: none
886
- border-radius: $global-radius
887
- .tooltipster-content
888
- font-family: $font-family
889
- font-size: 0.875rem
890
- padding: 0.3rem 0.6rem
891
-
892
- // Tag // -------------------------------------------
893
- span.tag, a.tag
894
- line-height: 1.5rem
895
- border-radius: 0.75rem
896
- background-color: $gray-lighter
897
- color: $font-color
898
- font-size: 0.875rem
899
- padding: 0 0.5rem
900
- display: inline-block
901
- white-space: nowrap
902
- &.outline
903
- box-shadow: inset 0 0 0 1px $gray-lighter
904
- background-color: transparent
905
- color: $gray-light
906
- &.primary
907
- background-color: $primary-color
908
- color: $primary-button-font-color
909
- .close
910
- color: darken($primary-color, 20%)
911
- &.primary.outline
912
- box-shadow: inset 0 0 0 1px $primary-color
913
- background-color: transparent
914
- color: $primary-color
915
- .close
916
- color: $primary-color
917
- &.small
918
- line-height: 1.2rem
919
- border-radius: 0.625rem
920
- font-size: 0.75rem
921
- padding-top: 1px
922
- .close
923
- padding-left: 0.125rem
924
- height: 1rem
925
- text-align: center
926
- color: $gray-light
927
- text-decoration: none
928
- display: inline-block
929
- position: relative
930
- top: 2px
931
- &:before
932
- font-size: 1.1rem
933
- content: "×"
934
- line-height: 1
935
-
936
- a.tag
937
- text-decoration: none
938
- &:active, &:hover
939
- box-shadow: $button-hover-shadow
940
- background-color: lighten($gray-lighter, 2%)
941
- text-decoration: none
942
- .close
943
- color: $font-color
944
- &:active
945
- box-shadow: none
946
- background-color: $gray-lighter
947
- color: $font-color
948
- &:focus
949
- outline: none
950
- &.outline
951
- &:hover, &:active
952
- background: transparent
953
- color: $primary-color
954
- box-shadow: inset 0 0 0 1px $primary-color
955
- .close
956
- color: $primary-color
957
- &.primary
958
- &:hover
959
- background-color: lighten($primary-color, 7%)
960
- box-shadow: $button-hover-shadow
961
- .close
962
- color: $primary-button-font-color
963
- &:active
964
- background-color: $primary-color
965
- box-shadow: none
966
- color: $primary-button-font-color
967
- .close
968
- color: $primary-button-font-color
969
- &.primary.outline
970
- &:hover
971
- background-color: lighten($primary-color, 7%)
972
- color: $primary-button-font-color
973
- box-shadow: $button-hover-shadow
974
- &:active
975
- background-color: $primary-color
976
- box-shadow: none
977
- color: $primary-button-font-color
978
-
979
-
980
-
981
- // Pagination // -------------------------------------------
982
- .pagination
983
- display: inline-block
984
- +border-radius($global-radius)
985
- span
986
- display: inline
987
- span:first-of-type a
988
- +border-radius($global-radius 0 0 $global-radius)
989
- span:last-of-type a
990
- +border-radius(0 $global-radius $global-radius 0)
991
- a, .gap, .current
992
- text-decoration: none
993
- position: relative
994
- color: $gray-light
995
- display: block
996
- float: left
997
- margin-left: -1px
998
- border: 1px solid $gray-lighter
999
- width: 2rem
1000
- text-align: center
1001
- line-height: 2.125rem
1002
- a:hover
1003
- color: $chosen-hover-highlight-color
1004
- background-color: $gray-lightest
1005
- text-decoration: none
1006
- .current
1007
- z-index: 1
1008
- color: $primary-button-font-color
1009
- background-color: $primary-color
1010
- border-color: $primary-color
1011
-
1012
- // Alerts, Flash Messages, Notification Banners & Modals // -------------------------------------------
1013
- .flash-messages
1014
- margin-bottom: 1rem
1015
- z-index: 4
1016
- overflow: hidden
1017
- max-width: 30rem
1018
-
1019
- .flash
1020
- display: block
1021
- position: relative
1022
- background-color: $global-overlay
1023
- color: white
1024
- margin-top: 1rem
1025
- border-radius: $global-radius
1026
- padding: 0.75rem 1rem
1027
- font-size: 0.875rem
1028
- +box-shadow($global-shadow)
1029
- line-height: 1.4
1030
- .flash-close
1031
- &:after
1032
- color: $gray
1033
- &:hover:after
1034
- color: white
1035
- .button
1036
- float: right
1037
- margin-top: -0.325rem
1038
- margin-left: 1rem
1039
- background: transparent
1040
- +box-shadow(inset 0 0 0 1px white)
1041
- color: white
1042
- &:hover
1043
- color: $font-color
1044
- background: white
1045
- .flash-warn
1046
- border-left: 0.5rem solid $yellow
1047
- .flash-error
1048
- border-left: 0.5rem solid $red
1049
-
1050
- .application-note
1051
- background-color: $gray-lightest
1052
- border-radius: $global-radius
1053
- padding: 0.75rem 2.5rem 0.75rem 1rem
1054
- font-size: 0.875rem
1055
- line-height: 1.4
1056
- position: relative
1057
- overflow: hidden
1058
- min-height: 43px
1059
- p
1060
- max-width: 36rem
1061
- margin-top: 0.75rem
1062
- margin-bottom: 0.75rem
1063
- p:first-of-type
1064
- margin-top: 0
1065
- p:last-of-type
1066
- margin-bottom: 0
1067
- p .button, p button
1068
- margin-left: 0.5rem
1069
- margin-right: 0.5rem
1070
- .fa
1071
- color: $gray
1072
- margin-left: -0.25rem
1073
- margin-right: 0.5rem
1074
- font-size: 1rem
1075
- position: relative
1076
- top: 0.1rem
1077
- float: left
1078
- .close-application-note
1079
- color: $gray-light
1080
- &:hover:after
1081
- color: $font-color
1082
- &.text-center
1083
- text-align: center
1084
- padding-left: 2.5rem
1085
- p
1086
- margin-left: auto
1087
- margin-right: auto
1088
- &.warning
1089
- background-color: $yellow-lighter
1090
- .fa
1091
- color: $yellow
1092
- .close-application-note
1093
- color: $yellow
1094
- &:hover:after
1095
- color: $yellow-dark
1096
- &.success
1097
- background-color: $green-lighter
1098
- .fa
1099
- color: $green
1100
- .close-application-note
1101
- color: $green-light
1102
- &:hover:after
1103
- color: $green
1104
- &.error
1105
- background-color: $red-lighter
1106
- .fa
1107
- color: $red
1108
- .close-application-note
1109
- color: $red-light
1110
- &:hover:after
1111
- color: $red
1112
-
1113
- .flash .flash-close, .application-note .close-application-note
1114
- cursor: pointer
1115
- position: absolute
1116
- padding: 0.75rem 1rem
1117
- right: 0
1118
- top: 0
1119
- &:after
1120
- +font-awesome-base
1121
- content: "\f00d"
1122
-
1123
- .placeholder-note
1124
- border: 1px solid $gray-lighter
1125
- border-radius: $global-radius
1126
- color: $gray-light
1127
- text-align: center
1128
- padding: 1rem
1129
- p
1130
- max-width: 42rem
1131
- margin-left: auto
1132
- margin-right: auto
1133
-
1134
- .global-messages
1135
- .flash
1136
- margin: 0
1137
- border-radius: 0
1138
- border-left: 0
1139
- .flash-warn
1140
- border-bottom: 0.25rem solid $yellow
1141
- .flash-error
1142
- border-bottom: 0.25rem solid $red
1143
-
1144
- .sweet-alert
1145
- border-radius: $global-radius
1146
- font-family: $font-family
1147
- padding: 1rem
1148
- button
1149
- background-color: $primary-color !important
1150
- border-radius: $global-radius
1151
- padding: 0 1.25rem
1152
- line-height: 2rem
1153
- font-weight: 400
1154
- margin: 1.25rem .25rem 0.5rem
1155
- &:hover
1156
- color: white
1157
- background-color: lighten($primary-color, 7%) !important
1158
- box-shadow: $button-hover-shadow !important
1159
- &:active, &:focus
1160
- background-color: $primary-color !important
1161
- color: white
1162
- box-shadow: none
1163
- &.cancel
1164
- background-color: $gray-lighter !important
1165
- color: $font-color
1166
- &:hover
1167
- background-color: lighten($gray-lighter, 2%) !important
1168
- color: $font-color
1169
- box-shadow: $button-hover-shadow
1170
- &:active, &:focus
1171
- box-shadow: none !important
1172
- background-color: $gray-lighter !important
1173
- color: $font-color
1174
- p
1175
- color: $font-color
1176
- margin: 0
1177
- h2
1178
- margin: 0.5rem 0 0
1179
- .icon.success
1180
- border-color: $green
1181
- .line
1182
- background-color: $green
1183
- .placeholder
1184
- border-color: rgba($green, 0.4)
1185
- .icon.warning
1186
- border-color: rgba($yellow, 0.4)
1187
- .body, .dot
1188
- background-color: $yellow
1189
- .icon.error
1190
- border-color: rgba($red, 0.4)
1191
- .line
1192
- background-color: $red
1193
-
1194
- .sweet-overlay
1195
- background-color: $global-overlay
1196
-
1197
- .reveal-modal, dialog
1198
- .close-reveal-modal
1199
- text-decoration: none
1200
- padding-left: 1rem
1201
- padding-right: 1rem
1202
- &:hover
1203
- color: $font-color
1204
- footer, header
1205
- margin-left: -1rem
1206
- margin-right: -1rem
1207
- header
1208
- border-bottom: 1px solid $gray-lighter
1209
- padding: 0 1rem 1rem
1210
- h1, h2, h3, h4, h5, p, ul, ol
1211
- &:first-of-type
1212
- margin-top: 0
1213
- &:last-of-type
1214
- margin-bottom: 0
1215
- footer
1216
- border-top: 1px solid $gray-lighter
1217
- padding: 1rem 1rem 0
1218
-
1219
- // Tables // ============================
1220
- table
1221
- border-spacing: 0
1222
- th
1223
- border-right: solid 1px $gray-lighter
1224
- border-bottom: solid 1px $gray-lighter
1225
- padding: 0 0.5rem
1226
- font-size: 0.875rem
1227
- height: 32px
1228
- &:last-of-type
1229
- border-right: none
1230
- td
1231
- border-bottom: dotted 1px $gray-lighter
1232
- padding: 0 0.5rem
1233
- height: 33px
1234
- button, .button
1235
- margin-right: 0.125rem
1236
- .tag
1237
- margin: 0.25rem 0.125rem 0.25rem 0
1238
- .tag-group
1239
- padding-top: 0.25rem
1240
- .tag
1241
- margin-top: 0
1242
- thead tr:hover
1243
- border-top: none
1244
- background: transparent
1245
- tr:hover
1246
- background-color: $gray-super-lightest
1247
- border-top: 1px solid $gray-super-lightest
1248
- border-bottom: 1px solid $gray-super-lightest
1249
- .action-column
1250
- white-space: nowrap
1251
- width: 1px
1252
- text-align: right
1253
- .sortable
1254
- position: relative
1255
- .sortable:before
1256
- +font-awesome-base
1257
- content: "\f0dc"
1258
- float: right
1259
- color: $gray-lighter
1260
- position: relative
1261
- top: 2px
1262
- .sort-up.sortable:before
1263
- content: "\f0de"
1264
- color: $primary-color
1265
- top: 6px
1266
- .sort-down.sortable:before
1267
- content: "\f0dd"
1268
- color: $primary-color
1269
- top: -4px
1270
- .filter
1271
- text-decoration: none
1272
- line-height: 1.5rem
1273
- border-radius: 0.75rem
1274
- color: #494A4E
1275
- font-size: 0.875rem
1276
- display: inline-block
1277
- white-space: nowrap
1278
- &:after
1279
- +font-awesome-base
1280
- content: "\f0b0"
1281
- color: $gray-lighter
1282
- &.active
1283
- padding: 0 0.5rem
1284
- background-color: $primary-color
1285
- color: $primary-button-font-color
1286
- &:after
1287
- content: "×"
1288
- padding-left: .125rem
1289
- color: darken($primary-color, 20%)
1290
- &:hover
1291
- background-color: lighten($primary-color, 7%)
1292
- box-shadow: $button-hover-shadow
1293
- &:after
1294
- color: $primary-button-font-color
1295
- .grabbable
1296
- white-space: nowrap
1297
- width: 1px
1298
- th.grabbable
1299
- border-right: none
1300
- + th
1301
- padding-left: 0
1302
- td.grabbable
1303
- padding: 0
1304
- + td
1305
- padding-left: 0
1306
- .grabber
1307
- color: $gray-lighter
1308
- padding: 6px 0.5rem 6px 0
1309
- cursor: ns-resize
1310
- &:after
1311
- +font-awesome-base
1312
- content: "\f0c9"
1313
-
1314
- // Utility Classes // ------------------------------------------
1315
- .no-margin-top
1316
- margin-top: 0 !important
1317
- .no-margin-bottom
1318
- margin-bottom: 0 !important
1319
- .no-margin-top-bottom
1320
- margin-top: 0 !important
1321
- margin-bottom: 0 !important
1322
- .no-wrap
1323
- white-space: nowrap