va_common 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -4
  3. data/app/assets/js/va_common_main.js +16 -1
  4. data/lib/va_common/version.rb +1 -1
  5. data/lib/va_common.rb +4 -0
  6. data/va_common.gemspec +15 -0
  7. metadata +200 -177
  8. data/app/assets/js/foundation/foundation.abide.js +0 -408
  9. data/app/assets/js/foundation/foundation.accordion.js +0 -88
  10. data/app/assets/js/foundation/foundation.alert.js +0 -43
  11. data/app/assets/js/foundation/foundation.clearing.js +0 -586
  12. data/app/assets/js/foundation/foundation.dropdown.js +0 -463
  13. data/app/assets/js/foundation/foundation.equalizer.js +0 -104
  14. data/app/assets/js/foundation/foundation.interchange.js +0 -359
  15. data/app/assets/js/foundation/foundation.joyride.js +0 -932
  16. data/app/assets/js/foundation/foundation.js +0 -725
  17. data/app/assets/js/foundation/foundation.magellan.js +0 -215
  18. data/app/assets/js/foundation/foundation.offcanvas.js +0 -152
  19. data/app/assets/js/foundation/foundation.orbit.js +0 -476
  20. data/app/assets/js/foundation/foundation.reveal.js +0 -498
  21. data/app/assets/js/foundation/foundation.slider.js +0 -281
  22. data/app/assets/js/foundation/foundation.tab.js +0 -249
  23. data/app/assets/js/foundation/foundation.tooltip.js +0 -339
  24. data/app/assets/js/foundation/foundation.topbar.js +0 -458
  25. data/app/assets/js/foundation.min.js +0 -6376
  26. data/app/assets/js/vendor/html5shiv.js +0 -8
  27. data/app/assets/js/vendor/jquery-1.11.0.min.js +0 -4
  28. data/app/assets/js/vendor/jquery.js +0 -9789
  29. data/app/assets/js/vendor/jquery.smooth-scroll.js +0 -255
  30. data/app/assets/js/vendor/jquery.stellar.js +0 -651
  31. data/app/assets/js/vendor/jquery.tipsy.js +0 -258
  32. data/app/assets/js/vendor/menu.js +0 -40
  33. data/app/assets/js/vendor/modernizr.custom.js +0 -4
  34. data/app/assets/js/vendor/respond.min.js +0 -6
  35. data/app/assets/js/vendor/selectivizr-1.0.3b.js +0 -560
  36. data/app/assets/js/vendor/tota11y.min.js +0 -28
  37. data/app/assets/js/vendor/wow.min.js +0 -2
  38. data/app/assets/stylesheets/foundation/_functions.scss +0 -146
  39. data/app/assets/stylesheets/foundation/_settings.scss +0 -1467
  40. data/app/assets/stylesheets/foundation/_variables.scss +0 -1286
  41. data/app/assets/stylesheets/foundation/components/_accordion.scss +0 -157
  42. data/app/assets/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  43. data/app/assets/stylesheets/foundation/components/_block-grid.scss +0 -132
  44. data/app/assets/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  45. data/app/assets/stylesheets/foundation/components/_button-groups.scss +0 -200
  46. data/app/assets/stylesheets/foundation/components/_buttons.scss +0 -259
  47. data/app/assets/stylesheets/foundation/components/_clearing.scss +0 -256
  48. data/app/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -131
  49. data/app/assets/stylesheets/foundation/components/_dropdown.scss +0 -262
  50. data/app/assets/stylesheets/foundation/components/_flex-video.scss +0 -51
  51. data/app/assets/stylesheets/foundation/components/_forms.scss +0 -570
  52. data/app/assets/stylesheets/foundation/components/_global.scss +0 -481
  53. data/app/assets/stylesheets/foundation/components/_grid.scss +0 -289
  54. data/app/assets/stylesheets/foundation/components/_icon-bar.scss +0 -358
  55. data/app/assets/stylesheets/foundation/components/_inline-lists.scss +0 -57
  56. data/app/assets/stylesheets/foundation/components/_joyride.scss +0 -222
  57. data/app/assets/stylesheets/foundation/components/_keystrokes.scss +0 -61
  58. data/app/assets/stylesheets/foundation/components/_labels.scss +0 -106
  59. data/app/assets/stylesheets/foundation/components/_magellan.scss +0 -34
  60. data/app/assets/stylesheets/foundation/components/_offcanvas.scss +0 -515
  61. data/app/assets/stylesheets/foundation/components/_orbit.scss +0 -368
  62. data/app/assets/stylesheets/foundation/components/_pagination.scss +0 -162
  63. data/app/assets/stylesheets/foundation/components/_panels.scss +0 -101
  64. data/app/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  65. data/app/assets/stylesheets/foundation/components/_progress-bars.scss +0 -79
  66. data/app/assets/stylesheets/foundation/components/_range-slider.scss +0 -169
  67. data/app/assets/stylesheets/foundation/components/_reveal.scss +0 -202
  68. data/app/assets/stylesheets/foundation/components/_side-nav.scss +0 -116
  69. data/app/assets/stylesheets/foundation/components/_split-buttons.scss +0 -199
  70. data/app/assets/stylesheets/foundation/components/_sub-nav.scss +0 -123
  71. data/app/assets/stylesheets/foundation/components/_switches.scss +0 -238
  72. data/app/assets/stylesheets/foundation/components/_tables.scss +0 -135
  73. data/app/assets/stylesheets/foundation/components/_tabs.scss +0 -123
  74. data/app/assets/stylesheets/foundation/components/_thumbs.scss +0 -66
  75. data/app/assets/stylesheets/foundation/components/_toolbar.scss +0 -70
  76. data/app/assets/stylesheets/foundation/components/_tooltips.scss +0 -142
  77. data/app/assets/stylesheets/foundation/components/_top-bar.scss +0 -691
  78. data/app/assets/stylesheets/foundation/components/_type.scss +0 -525
  79. data/app/assets/stylesheets/foundation/components/_visibility.scss +0 -408
  80. data/app/assets/stylesheets/lib/_normalize.scss +0 -427
  81. data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +0 -411
  82. data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +0 -87
  83. data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +0 -26
  84. data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +0 -48
  85. data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +0 -25
  86. data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +0 -25
  87. data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +0 -64
  88. data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +0 -25
  89. data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +0 -30
  90. data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +0 -31
  91. data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +0 -27
  92. data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +0 -26
  93. data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +0 -26
  94. data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +0 -48
  95. data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +0 -66
  96. data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +0 -25
  97. data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +0 -51
  98. data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +0 -112
  99. data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +0 -34
  100. data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +0 -63
  101. data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +0 -29
  102. data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +0 -43
  103. data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +0 -3
  104. data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +0 -3
  105. data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +0 -42
  106. data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +0 -55
  107. data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +0 -59
  108. data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +0 -4
  109. data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +0 -47
  110. data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +0 -4
  111. data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +0 -287
  112. data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +0 -24
  113. data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +0 -4
  114. data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +0 -10
  115. data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +0 -4
  116. data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +0 -14
  117. data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +0 -36
  118. data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +0 -38
  119. data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +0 -8
  120. data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +0 -8
  121. data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +0 -39
  122. data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +0 -42
  123. data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +0 -19
  124. data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +0 -15
  125. data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +0 -71
  126. data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +0 -3
  127. data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +0 -11
  128. data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +0 -20
  129. data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +0 -26
  130. data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +0 -11
  131. data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +0 -21
  132. data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +0 -11
  133. data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +0 -13
  134. data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +0 -69
  135. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +0 -13
  136. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +0 -15
  137. data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +0 -24
  138. data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +0 -17
  139. data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +0 -24
  140. data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +0 -22
  141. data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +0 -27
  142. data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +0 -21
  143. data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +0 -96
  144. data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +0 -43
  145. data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  146. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +0 -25
  147. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +0 -41
  148. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +0 -61
  149. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
  150. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +0 -69
  151. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +0 -50
  152. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +0 -18
  153. data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +0 -26
  154. data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +0 -10
  155. data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +0 -50
  156. data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +0 -7
  157. data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +0 -9
  158. data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +0 -1
  159. data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +0 -8
  160. data/app/assets/stylesheets/lib/neat/_neat.scss +0 -23
  161. data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +0 -49
  162. data/app/assets/stylesheets/lib/neat/functions/_private.scss +0 -114
  163. data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +0 -15
  164. data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +0 -33
  165. data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +0 -28
  166. data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +0 -22
  167. data/app/assets/stylesheets/lib/neat/grid/_media.scss +0 -92
  168. data/app/assets/stylesheets/lib/neat/grid/_omega.scss +0 -87
  169. data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +0 -38
  170. data/app/assets/stylesheets/lib/neat/grid/_pad.scss +0 -25
  171. data/app/assets/stylesheets/lib/neat/grid/_private.scss +0 -35
  172. data/app/assets/stylesheets/lib/neat/grid/_row.scss +0 -52
  173. data/app/assets/stylesheets/lib/neat/grid/_shift.scss +0 -50
  174. data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +0 -94
  175. data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +0 -97
  176. data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +0 -42
  177. data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +0 -13
  178. data/app/assets/stylesheets/lib/neat/settings/_grid.scss +0 -51
  179. data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +0 -27
  180. data/app/assets/stylesheets/va_common_main.css.scss +0 -18
  181. /data/app/assets/js/{vendor/scroll-settings.js → scroll-settings.js} +0 -0
  182. /data/app/assets/js/{vendor/stellar-settings.js → stellar-settings.js} +0 -0
@@ -1,150 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-pricing-classes: $include-html-classes !default;
11
-
12
- // We use this to control the border color
13
- $price-table-border: solid 1px $gainsboro !default;
14
-
15
- // We use this to control the bottom margin of the pricing table
16
- $price-table-margin-bottom: rem-calc(20) !default;
17
-
18
- // We use these to control the title styles
19
- $price-title-bg: $oil !default;
20
- $price-title-padding: rem-calc(15 20) !default;
21
- $price-title-align: center !default;
22
- $price-title-color: $smoke !default;
23
- $price-title-weight: $font-weight-normal !default;
24
- $price-title-size: rem-calc(16) !default;
25
- $price-title-font-family: $body-font-family !default;
26
-
27
- // We use these to control the price styles
28
- $price-money-bg: $vapor !default;
29
- $price-money-padding: rem-calc(15 20) !default;
30
- $price-money-align: center !default;
31
- $price-money-color: $oil !default;
32
- $price-money-weight: $font-weight-normal !default;
33
- $price-money-size: rem-calc(32) !default;
34
- $price-money-font-family: $body-font-family !default;
35
-
36
-
37
- // We use these to control the description styles
38
- $price-bg: $white !default;
39
- $price-desc-color: $monsoon !default;
40
- $price-desc-padding: rem-calc(15) !default;
41
- $price-desc-align: center !default;
42
- $price-desc-font-size: rem-calc(12) !default;
43
- $price-desc-weight: $font-weight-normal !default;
44
- $price-desc-line-height: 1.4 !default;
45
- $price-desc-bottom-border: dotted 1px $gainsboro !default;
46
-
47
- // We use these to control the list item styles
48
- $price-item-color: $oil !default;
49
- $price-item-padding: rem-calc(15) !default;
50
- $price-item-align: center !default;
51
- $price-item-font-size: rem-calc(14) !default;
52
- $price-item-weight: $font-weight-normal !default;
53
- $price-item-bottom-border: dotted 1px $gainsboro !default;
54
-
55
- // We use these to control the CTA area styles
56
- $price-cta-bg: $white !default;
57
- $price-cta-align: center !default;
58
- $price-cta-padding: rem-calc(20 20 0) !default;
59
-
60
- // @mixins
61
- //
62
- // We use this to create the container element for the pricing tables
63
- @mixin pricing-table-container {
64
- border: $price-table-border;
65
- margin-#{$default-float}: 0;
66
- margin-bottom: $price-table-margin-bottom;
67
-
68
- & * {
69
- list-style: none;
70
- line-height: 1;
71
- }
72
- }
73
- // @mixins
74
- //
75
- // We use this mixin to create the pricing table title styles
76
- @mixin pricing-table-title {
77
- background-color: $price-title-bg;
78
- padding: $price-title-padding;
79
- text-align: $price-title-align;
80
- color: $price-title-color;
81
- font-weight: $price-title-weight;
82
- font-size: $price-title-size;
83
- font-family: $price-title-font-family;
84
- }
85
-
86
- // @mixins
87
- //
88
- // We use this mixin to control the pricing table price styles
89
- @mixin pricing-table-price {
90
- background-color: $price-money-bg;
91
- padding: $price-money-padding;
92
- text-align: $price-money-align;
93
- color: $price-money-color;
94
- font-weight: $price-money-weight;
95
- font-size: $price-money-size;
96
- font-family: $price-money-font-family;
97
- }
98
-
99
- // @mixins
100
- //
101
- // We use this mixin to create the description styles for the pricing table
102
- @mixin pricing-table-description {
103
- background-color: $price-bg;
104
- padding: $price-desc-padding;
105
- text-align: $price-desc-align;
106
- color: $price-desc-color;
107
- font-size: $price-desc-font-size;
108
- font-weight: $price-desc-weight;
109
- line-height: $price-desc-line-height;
110
- border-bottom: $price-desc-bottom-border;
111
- }
112
-
113
- // @mixins
114
- //
115
- // We use this mixin to style the bullet items in the pricing table
116
- @mixin pricing-table-bullet {
117
- background-color: $price-bg;
118
- padding: $price-item-padding;
119
- text-align: $price-item-align;
120
- color: $price-item-color;
121
- font-size: $price-item-font-size;
122
- font-weight: $price-item-weight;
123
- border-bottom: $price-item-bottom-border;
124
- }
125
-
126
- // @mixins
127
- //
128
- // We use this mixin to style the CTA area of the pricing tables
129
- @mixin pricing-table-cta {
130
- background-color: $price-cta-bg;
131
- text-align: $price-cta-align;
132
- padding: $price-cta-padding;
133
- }
134
-
135
- @include exports("pricing-table") {
136
- @if $include-html-pricing-classes {
137
-
138
- /* Pricing Tables */
139
- .pricing-table {
140
- @include pricing-table-container;
141
-
142
- .title { @include pricing-table-title; }
143
- .price { @include pricing-table-price; }
144
- .description { @include pricing-table-description; }
145
- .bullet-item { @include pricing-table-bullet; }
146
- .cta-button { @include pricing-table-cta; }
147
- }
148
-
149
- }
150
- }
@@ -1,79 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-media-classes: $include-html-classes !default;
11
-
12
- // We use this to set the progress bar height
13
- $progress-bar-height: rem-calc(25) !default;
14
- $progress-bar-color: $vapor !default;
15
-
16
- // We use these to control the border styles
17
- $progress-bar-border-color: scale-color($white, $lightness: 20%) !default;
18
- $progress-bar-border-size: 1px !default;
19
- $progress-bar-border-style: solid !default;
20
- $progress-bar-border-radius: $global-radius !default;
21
-
22
- // We use these to control the margin & padding
23
- $progress-bar-pad: rem-calc(2) !default;
24
- $progress-bar-margin-bottom: rem-calc(10) !default;
25
-
26
- // We use these to set the meter colors
27
- $progress-meter-color: $primary-color !default;
28
- $progress-meter-secondary-color: $secondary-color !default;
29
- $progress-meter-success-color: $success-color !default;
30
- $progress-meter-alert-color: $alert-color !default;
31
-
32
- // @mixins
33
- //
34
- // We use this to set up the progress bar container
35
- @mixin progress-container {
36
- background-color: $progress-bar-color;
37
- height: $progress-bar-height;
38
- border: $progress-bar-border-size $progress-bar-border-style $progress-bar-border-color;
39
- padding: $progress-bar-pad;
40
- margin-bottom: $progress-bar-margin-bottom;
41
- }
42
-
43
- // @mixins
44
- //
45
- // $bg - Default: $progress-meter-color || $primary-color
46
- @mixin progress-meter($bg:$progress-meter-color) {
47
- background: $bg;
48
- height: 100%;
49
- display: block;
50
- }
51
-
52
-
53
- @include exports("progress-bar") {
54
- @if $include-html-media-classes {
55
-
56
- /* Progress Bar */
57
- .progress {
58
- @include progress-container;
59
-
60
- // Meter
61
- .meter {
62
- @include progress-meter;
63
- }
64
- &.secondary .meter { @include progress-meter($bg:$progress-meter-secondary-color); }
65
- &.success .meter { @include progress-meter($bg:$progress-meter-success-color); }
66
- &.alert .meter { @include progress-meter($bg:$progress-meter-alert-color); }
67
-
68
- &.radius { @include radius($progress-bar-border-radius);
69
- .meter { @include radius($progress-bar-border-radius - 1); }
70
- }
71
-
72
- &.round { @include radius(1000px);
73
- .meter { @include radius(999px); }
74
- }
75
-
76
- }
77
-
78
- }
79
- }
@@ -1,169 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @name _range-slider.scss
9
- // @dependencies _global.scss
10
- //
11
-
12
- //
13
- // @variables
14
- //
15
-
16
- $include-html-range-slider-classes: $include-html-classes !default;
17
-
18
- // These variabels define the slider bar styles
19
- $range-slider-bar-width: 100% !default;
20
- $range-slider-bar-height: rem-calc(16) !default;
21
-
22
- $range-slider-bar-border-width: 1px !default;
23
- $range-slider-bar-border-style: solid !default;
24
- $range-slider-bar-border-color: $gainsboro !default;
25
- $range-slider-radius: $global-radius !default;
26
- $range-slider-round: $global-rounded !default;
27
- $range-slider-bar-bg-color: $ghost !default;
28
- $range-slider-active-segment-bg-color: scale-color($secondary-color, $lightness: -1%) !default;
29
-
30
- // Vertical bar styles
31
- $range-slider-vertical-bar-width: rem-calc(16) !default;
32
- $range-slider-vertical-bar-height: rem-calc(200) !default;
33
-
34
- // These variabels define the slider handle styles
35
- $range-slider-handle-width: rem-calc(32) !default;
36
- $range-slider-handle-height: rem-calc(22) !default;
37
- $range-slider-handle-position-top: rem-calc(-5) !default;
38
- $range-slider-handle-bg-color: $primary-color !default;
39
- $range-slider-handle-border-width: 1px !default;
40
- $range-slider-handle-border-style: solid !default;
41
- $range-slider-handle-border-color: none !default;
42
- $range-slider-handle-radius: $global-radius !default;
43
- $range-slider-handle-round: $global-rounded !default;
44
- $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%) !default;
45
- $range-slider-handle-cursor: pointer !default;
46
-
47
- $range-slider-disabled-opacity: 0.7 !default;
48
- $range-slider-disabled-cursor: $cursor-disabled-value !default;
49
-
50
- //
51
- // @mixins
52
- //
53
-
54
- @mixin range-slider-bar-base($vertical: false) {
55
- display: block;
56
- position: relative;
57
- width: $range-slider-bar-width;
58
- height: $range-slider-bar-height;
59
- border: $range-slider-bar-border-width $range-slider-bar-border-style $range-slider-bar-border-color;
60
- margin: rem-calc(20 0);
61
- -ms-touch-action: none;
62
- touch-action: none;
63
- @if $vertical == true {
64
- display: inline-block;
65
- width: $range-slider-vertical-bar-width;
66
- height: $range-slider-vertical-bar-height;
67
- }
68
- }
69
- @mixin range-slider-bar-style(
70
- $bg: true,
71
- $radius: false,
72
- $round: false,
73
- $disabled: false) {
74
- @if $bg == true { background: $range-slider-bar-bg-color; }
75
- @if $radius == true { @include radius($range-slider-radius); }
76
- @if $round == true { @include radius($range-slider-round); }
77
- @if $disabled == true {
78
- cursor: $range-slider-disabled-cursor;
79
- opacity: $range-slider-disabled-opacity;
80
- }
81
- }
82
-
83
- @mixin range-slider-bar(
84
- $bg: $range-slider-bar-bg-color,
85
- $radius:false) {
86
- @include range-slider-bar-base;
87
- @include range-slider-bar-style;
88
- }
89
-
90
- @mixin range-slider-handle-base() {
91
- display: inline-block;
92
- position: absolute;
93
- z-index: 1;
94
- top: $range-slider-handle-position-top;
95
- width: $range-slider-handle-width;
96
- height: $range-slider-handle-height;
97
- border: $range-slider-handle-border-width $range-slider-handle-border-style $range-slider-handle-border-color;
98
- cursor: $range-slider-handle-cursor;
99
-
100
- // This removes the 300ms touch delay on Windows 8
101
- -ms-touch-action: manipulation;
102
- touch-action: manipulation;
103
- }
104
- @mixin range-slider-handle-style(
105
- $bg: true,
106
- $radius: false,
107
- $round: false,
108
- $disabled: false) {
109
- @if $bg == true { background: $range-slider-handle-bg-color; }
110
- @if $radius == true { @include radius($range-slider-radius); }
111
- @if $round == true { @include radius($range-slider-round); }
112
- @if $disabled == true {
113
- cursor: $cursor-default-value;
114
- opacity: $range-slider-disabled-opacity;
115
- }
116
- &:hover {
117
- background: $range-slider-handle-bg-hover-color;
118
- }
119
- }
120
- @mixin range-slider-handle() {
121
- @include range-slider-handle-base;
122
- @include range-slider-handle-style;
123
- }
124
-
125
- // CSS Generation
126
- @include exports("range-slider-bar") {
127
- @if $include-html-range-slider-classes {
128
- .range-slider {
129
- @include range-slider-bar-base;
130
- @include range-slider-bar-style($bg:true, $radius:false);
131
- &.vertical-range {
132
- @include range-slider-bar-base($vertical: true);
133
- .range-slider-handle {
134
- margin-top: 0;
135
- margin-#{$default-float}: -($range-slider-handle-width / 4);
136
- position: absolute;
137
- bottom: -($range-slider-vertical-bar-height - $range-slider-handle-width);
138
- }
139
- .range-slider-active-segment {
140
- width: $range-slider-bar-height - rem-calc((strip-unit($range-slider-bar-border-width) * 2));
141
- height: auto;
142
- bottom: 0;
143
- }
144
- }
145
- &.radius {
146
- @include range-slider-bar-style($radius:true);
147
- .range-slider-handle { @include range-slider-handle-style($radius: true); }
148
- }
149
- &.round {
150
- @include range-slider-bar-style($round:true);
151
- .range-slider-handle { @include range-slider-handle-style($round: true); }
152
- }
153
- &.disabled, &[disabled] {
154
- @include range-slider-bar-style($disabled:true);
155
- .range-slider-handle { @include range-slider-handle-style($disabled: true); }
156
- }
157
- }
158
- .range-slider-active-segment {
159
- display: inline-block;
160
- position: absolute;
161
- height: $range-slider-bar-height - rem-calc((strip-unit($range-slider-bar-border-width) * 2));
162
- background: $range-slider-active-segment-bg-color;
163
- }
164
- .range-slider-handle {
165
- @include range-slider-handle-base;
166
- @include range-slider-handle-style($bg:true, $radius: false);
167
- }
168
- }
169
- }
@@ -1,202 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
- @import "grid";
7
-
8
- //
9
- // @name _reveal.scss
10
- // @dependencies _global.scss
11
- //
12
-
13
- $include-html-reveal-classes: $include-html-classes !default;
14
-
15
- // We use these to control the style of the reveal overlay.
16
- $reveal-overlay-bg: rgba($black, .45) !default;
17
- $reveal-overlay-bg-old: $black !default;
18
-
19
- // We use these to control the style of the modal itself.
20
- $reveal-modal-bg: $white !default;
21
- $reveal-position-top: rem-calc(100) !default;
22
- $reveal-default-width: 80% !default;
23
- $reveal-max-width: $row-width !default;
24
- $reveal-modal-padding: rem-calc(20) !default;
25
- $reveal-box-shadow: 0 0 10px rgba($black,.4) !default;
26
-
27
- // We use these to style the reveal close button
28
- $reveal-close-font-size: rem-calc(40) !default;
29
- $reveal-close-top: rem-calc(10) !default;
30
- $reveal-close-side: rem-calc(22) !default;
31
- $reveal-close-color: $base !default;
32
- $reveal-close-weight: $font-weight-bold !default;
33
-
34
- // We use this to set the default radius used throughout the core.
35
- $reveal-radius: $global-radius !default;
36
- $reveal-round: $global-rounded !default;
37
-
38
- // We use these to control the modal border
39
- $reveal-border-style: solid !default;
40
- $reveal-border-width: 1px !default;
41
- $reveal-border-color: $steel !default;
42
-
43
- $reveal-modal-class: "reveal-modal" !default;
44
- $close-reveal-modal-class: "close-reveal-modal" !default;
45
-
46
- //
47
- // @mixins
48
- //
49
-
50
- // We use this to create the reveal background overlay styles
51
- @mixin reveal-bg( $include-z-index-value: true ) {
52
- position: fixed;
53
- // position: absolute; // allows modal background to extend beyond window position
54
- top: 0;
55
- bottom: 0;
56
- left: 0;
57
- right: 0;
58
- background: $reveal-overlay-bg-old; // Autoprefixer should be used to avoid such variables needed when Foundation for Sites can do so in the near future.
59
- background: $reveal-overlay-bg;
60
- z-index: if( $include-z-index-value, 1004, auto );
61
- display: none;
62
- #{$default-float}: 0;
63
- }
64
-
65
- // We use this mixin to create the structure of a reveal modal
66
- //
67
- // $base-style - Provides reveal base styles, can be set to false to override. Default: true, Options: false
68
- // $width - Sets reveal width Default: $reveal-default-width || 80%
69
- //
70
- @mixin reveal-modal-base( $base-style: true, $width:$reveal-default-width, $max-width:$reveal-max-width, $border-radius: $reveal-radius) {
71
- @if $base-style {
72
- visibility: hidden;
73
- display: none;
74
- position: absolute;
75
- z-index: 1005;
76
- width: 100vw;
77
- top:0;
78
- border-radius: $border-radius;
79
- #{$default-float}: 0;
80
-
81
- @media #{$small-only} {
82
- min-height:100vh;
83
- }
84
-
85
- // Make sure rows don't have a min-width on them
86
- .column, .columns { min-width: 0; }
87
-
88
- // Get rid of margin from first and last element inside modal
89
- & > :first-child { margin-top: 0; }
90
-
91
- & > :last-child { margin-bottom: 0; }
92
- }
93
-
94
- @if $width {
95
- @media #{$medium-up} {
96
- width: $width;
97
- max-width: $max-width;
98
- left: 0;
99
- right: 0;
100
- margin: 0 auto;
101
- }
102
- }
103
- }
104
-
105
- // We use this to style the reveal modal defaults
106
- //
107
- // $bg - Sets background color of reveal modal. Default: $reveal-modal-bg || $white
108
- // $padding - Padding to apply to reveal modal. Default: $reveal-modal-padding.
109
- // $border - Choose whether reveal uses a border. Default: true, Options: false
110
- // $border-style - Set reveal border style. Default: $reveal-border-style || solid
111
- // $border-width - Width of border (i.e. 1px). Default: $reveal-border-width.
112
- // $border-color - Color of border. Default: $reveal-border-color.
113
- // $box-shadow - Choose whether or not to include the default box-shadow. Default: true, Options: false
114
- // $radius - If true, set to modal radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: false
115
- // $top-offset - Default: $reveal-position-top || 50px
116
- @mixin reveal-modal-style(
117
- $bg:false,
118
- $padding:false,
119
- $border:false,
120
- $border-style:$reveal-border-style,
121
- $border-width:$reveal-border-width,
122
- $border-color:$reveal-border-color,
123
- $box-shadow:false,
124
- $radius:false,
125
- $top-offset:false) {
126
-
127
- @if $bg { background-color: $bg; }
128
- @if $padding != false { padding: $padding; }
129
-
130
- @if $border { border: $border-style $border-width $border-color; }
131
-
132
- // We can choose whether or not to include the default box-shadow.
133
- @if $box-shadow {
134
- box-shadow: $reveal-box-shadow;
135
- }
136
-
137
- // We can control how much radius is used on the modal
138
- @if $radius == true { @include radius($reveal-radius); }
139
- @else if $radius { @include radius($radius); }
140
-
141
- @if $top-offset {
142
- @media #{$medium-up} {
143
- top: $top-offset;
144
- }
145
- }
146
- }
147
-
148
- // We use this to create a close button for the reveal modal
149
- //
150
- // $color - Default: $reveal-close-color || $base
151
- @mixin reveal-close($color:$reveal-close-color) {
152
- font-size: $reveal-close-font-size;
153
- line-height: 1;
154
- position: absolute;
155
- top: $reveal-close-top;
156
- #{$opposite-direction}: $reveal-close-side;
157
- color: $color;
158
- font-weight: $reveal-close-weight;
159
- cursor: $cursor-pointer-value;
160
- }
161
-
162
- @include exports("reveal") {
163
- @if $include-html-reveal-classes {
164
-
165
- // Reveal Modals
166
- .reveal-modal-bg { @include reveal-bg; }
167
-
168
- .#{$reveal-modal-class} {
169
- @include reveal-modal-base;
170
- @include reveal-modal-style(
171
- $bg:$reveal-modal-bg,
172
- $padding:$reveal-modal-padding,
173
- $border:true,
174
- $box-shadow:true,
175
- $radius:false,
176
- $top-offset:$reveal-position-top
177
- );
178
- @include reveal-modal-style($padding:$reveal-modal-padding * 1.5);
179
-
180
- &.radius { @include reveal-modal-style($radius:true); }
181
- &.round { @include reveal-modal-style($radius:$reveal-round); }
182
- &.collapse { @include reveal-modal-style($padding:0); }
183
- &.tiny { @include reveal-modal-base(false, 30%); }
184
- &.small { @include reveal-modal-base(false, 40%); }
185
- &.medium { @include reveal-modal-base(false, 60%); }
186
- &.large { @include reveal-modal-base(false, 70%); }
187
- &.xlarge { @include reveal-modal-base(false, 95%); }
188
- &.full {
189
- @include reveal-modal-base(false, 100vw);
190
- top:0;
191
- left:0;
192
- height:100%;
193
- height: 100vh;
194
- min-height:100vh;
195
- max-width: none !important;
196
- margin-left: 0 !important;
197
- }
198
-
199
- .#{$close-reveal-modal-class} { @include reveal-close; }
200
- }
201
- }
202
- }