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,222 +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-joyride-classes: $include-html-classes !default;
11
-
12
- // Controlling default Joyride styles
13
- $joyride-tip-bg: $oil !default;
14
- $joyride-tip-default-width: 300px !default;
15
- $joyride-tip-padding: rem-calc(18 20 24) !default;
16
- $joyride-tip-border: solid 1px $charcoal !default;
17
- $joyride-tip-radius: 4px !default;
18
- $joyride-tip-position-offset: 22px !default;
19
-
20
- // Here, we're setting the tip font styles
21
- $joyride-tip-font-color: $white !default;
22
- $joyride-tip-font-size: rem-calc(14) !default;
23
- $joyride-tip-header-weight: $font-weight-bold !default;
24
-
25
- // This changes the nub size
26
- $joyride-tip-nub-size: 10px !default;
27
-
28
- // This adjusts the styles for the timer when its enabled
29
- $joyride-tip-timer-width: 50px !default;
30
- $joyride-tip-timer-height: 3px !default;
31
- $joyride-tip-timer-color: $steel !default;
32
-
33
- // This changes up the styles for the close button
34
- $joyride-tip-close-color: $monsoon !default;
35
- $joyride-tip-close-size: 24px !default;
36
- $joyride-tip-close-weight: $font-weight-normal !default;
37
-
38
- // When Joyride is filling the screen, we use this style for the bg
39
- $joyride-screenfill: rgba(0,0,0,0.5) !default;
40
-
41
-
42
- // We decided not to make a mixin for this because it relies on
43
- // predefined classes to work properly.
44
- @include exports("joyride") {
45
- @if $include-html-joyride-classes {
46
-
47
- /* Foundation Joyride */
48
- .joyride-list { display: none; }
49
-
50
- /* Default styles for the container */
51
- .joyride-tip-guide {
52
- display: none;
53
- position: absolute;
54
- background: $joyride-tip-bg;
55
- color: $joyride-tip-font-color;
56
- z-index: 101;
57
- top: 0;
58
- #{$default-float}: 2.5%;
59
- font-family: inherit;
60
- font-weight: $font-weight-normal;
61
- width: 95%;
62
- }
63
-
64
- .lt-ie9 .joyride-tip-guide {
65
- max-width:800px;
66
- #{$default-float}: 50%;
67
- margin-#{$default-float}:-400px;
68
- }
69
-
70
- .joyride-content-wrapper {
71
- width: 100%;
72
-
73
- padding: $joyride-tip-padding;
74
-
75
- .button { margin-bottom: 0 !important; }
76
-
77
- .joyride-prev-tip { margin-right: 10px; }
78
- }
79
-
80
- /* Add a little css triangle pip, older browser just miss out on the fanciness of it */
81
- .joyride-tip-guide {
82
- .joyride-nub {
83
- display: block;
84
- position: absolute;
85
- #{$default-float}: $joyride-tip-position-offset;
86
- width: 0;
87
- height: 0;
88
- border: $joyride-tip-nub-size solid $joyride-tip-bg;
89
-
90
- &.top {
91
- border-top-style: solid;
92
- border-color: $joyride-tip-bg;
93
- border-top-color: transparent !important;
94
- border-#{$default-float}-color: transparent !important;
95
- border-#{$opposite-direction}-color: transparent !important;
96
- top: -($joyride-tip-nub-size*2);
97
- }
98
- &.bottom {
99
- border-bottom-style: solid;
100
- border-color: $joyride-tip-bg !important;
101
- border-bottom-color: transparent !important;
102
- border-#{$default-float}-color: transparent !important;
103
- border-#{$opposite-direction}-color: transparent !important;
104
- bottom: -($joyride-tip-nub-size*2);
105
- }
106
-
107
- &.right { right: -($joyride-tip-nub-size*2); }
108
- &.left { left: -($joyride-tip-nub-size*2); }
109
- }
110
- }
111
-
112
- /* Typography */
113
- .joyride-tip-guide h1,
114
- .joyride-tip-guide h2,
115
- .joyride-tip-guide h3,
116
- .joyride-tip-guide h4,
117
- .joyride-tip-guide h5,
118
- .joyride-tip-guide h6 {
119
- line-height: 1.25;
120
- margin: 0;
121
- font-weight: $joyride-tip-header-weight;
122
- color: $joyride-tip-font-color;
123
- }
124
- .joyride-tip-guide p {
125
- margin: rem-calc(0 0 18 0);
126
- font-size: $joyride-tip-font-size;
127
- line-height: 1.3;
128
- }
129
-
130
- .joyride-timer-indicator-wrap {
131
- width: $joyride-tip-timer-width;
132
- height: $joyride-tip-timer-height;
133
- border: $joyride-tip-border;
134
- position: absolute;
135
- #{$opposite-direction}: rem-calc(17);
136
- bottom: rem-calc(16);
137
- }
138
- .joyride-timer-indicator {
139
- display: block;
140
- width: 0;
141
- height: inherit;
142
- background: $joyride-tip-timer-color;
143
- }
144
-
145
- .joyride-close-tip {
146
- position: absolute;
147
- #{$opposite-direction}: 12px;
148
- top: 10px;
149
- color: $joyride-tip-close-color !important;
150
- text-decoration: none;
151
- font-size: $joyride-tip-close-size;
152
- font-weight: $joyride-tip-close-weight;
153
- line-height: .5 !important;
154
-
155
- &:hover,
156
- &:focus { color: $smoke !important; }
157
- }
158
-
159
- .joyride-modal-bg {
160
- position: fixed;
161
- height: 100%;
162
- width: 100%;
163
- background: transparent;
164
- background: $joyride-screenfill;
165
- z-index: 100;
166
- display: none;
167
- top: 0;
168
- #{$default-float}: 0;
169
- cursor: $cursor-pointer-value;
170
- }
171
-
172
- .joyride-expose-wrapper {
173
- background-color: $white;
174
- position: absolute;
175
- border-radius: 3px;
176
- z-index: 102;
177
- box-shadow: 0 0 15px $white;
178
- }
179
-
180
- .joyride-expose-cover {
181
- background: transparent;
182
- border-radius: 3px;
183
- position: absolute;
184
- z-index: 9999;
185
- top: 0;
186
- left: 0;
187
- }
188
-
189
-
190
- /* Styles for screens that are at least 768px; */
191
- @media #{$small} {
192
- .joyride-tip-guide { width: $joyride-tip-default-width; #{$default-float}: inherit;
193
- .joyride-nub {
194
- &.bottom {
195
- border-color: $joyride-tip-bg !important;
196
- border-bottom-color: transparent !important;
197
- border-#{$default-float}-color: transparent !important;
198
- border-#{$opposite-direction}-color: transparent !important;
199
- bottom: -($joyride-tip-nub-size*2);
200
- }
201
- &.right {
202
- border-color: $joyride-tip-bg !important;
203
- border-top-color: transparent !important;
204
- border-right-color: transparent !important; border-bottom-color: transparent !important;
205
- top: $joyride-tip-position-offset;
206
- left: auto;
207
- right: -($joyride-tip-nub-size*2);
208
- }
209
- &.left {
210
- border-color: $joyride-tip-bg !important;
211
- border-top-color: transparent !important;
212
- border-left-color: transparent !important;
213
- border-bottom-color: transparent !important;
214
- top: $joyride-tip-position-offset;
215
- left: -($joyride-tip-nub-size*2);
216
- right: auto;
217
- }
218
- }
219
- }
220
- }
221
- }
222
- }
@@ -1,61 +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-keystroke-classes: $include-html-classes !default;
11
-
12
- // We use these to control text styles.
13
- $keystroke-font: "Consolas", "Menlo", "Courier", monospace !default;
14
- $keystroke-font-size: inherit !default;
15
- $keystroke-font-color: $jet !default;
16
- $keystroke-font-color-alt: $white !default;
17
- $keystroke-function-factor: -7% !default;
18
-
19
- // We use this to control keystroke padding.
20
- $keystroke-padding: rem-calc(2 4 0) !default;
21
-
22
- // We use these to control background and border styles.
23
- $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor) !default;
24
- $keystroke-border-style: solid !default;
25
- $keystroke-border-width: 1px !default;
26
- $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor) !default;
27
- $keystroke-radius: $global-radius !default;
28
-
29
- //
30
- // @mixins
31
- //
32
- // We use this mixin to create keystroke styles.
33
- // $bg - Default: $keystroke-bg || scale-color($white, $lightness: $keystroke-function-factor) !default;
34
- @mixin keystroke($bg:$keystroke-bg) {
35
- // This find the lightness percentage of the background color.
36
- $bg-lightness: lightness($bg);
37
-
38
- background-color: $bg;
39
- border-color: scale-color($bg, $lightness: $keystroke-function-factor);
40
-
41
- // We adjust the font color based on the brightness of the background.
42
- @if $bg-lightness > 70% { color: $keystroke-font-color; }
43
- @else { color: $keystroke-font-color-alt; }
44
-
45
- border-style: $keystroke-border-style;
46
- border-width: $keystroke-border-width;
47
- margin: 0;
48
- font-family: $keystroke-font;
49
- font-size: $keystroke-font-size;
50
- padding: $keystroke-padding;
51
- }
52
-
53
- @include exports("keystroke") {
54
- @if $include-html-keystroke-classes {
55
- .keystroke,
56
- kbd {
57
- @include keystroke;
58
- @include radius($keystroke-radius);
59
- }
60
- }
61
- }
@@ -1,106 +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-label-classes: $include-html-classes !default;
11
-
12
- // We use these to style the labels
13
- $label-padding: rem-calc(4 8 4) !default;
14
- $label-radius: $global-radius !default;
15
-
16
- // We use these to style the label text
17
- $label-font-sizing: rem-calc(11) !default;
18
- $label-font-weight: $font-weight-normal !default;
19
- $label-font-color: $oil !default;
20
- $label-font-color-alt: $white !default;
21
- $label-font-family: $body-font-family !default;
22
-
23
- //
24
- // @mixins
25
- //
26
- // We use this mixin to create a default label base.
27
- @mixin label-base {
28
- font-weight: $label-font-weight;
29
- font-family: $label-font-family;
30
- text-align: center;
31
- text-decoration: none;
32
- line-height: 1;
33
- white-space: nowrap;
34
- display: inline-block;
35
- position: relative;
36
- margin-bottom: auto;
37
- }
38
-
39
- // @mixins
40
- //
41
- // We use this mixin to add label size styles.
42
- // $padding - Used to determine label padding. Default: $label-padding || rem-calc(4 8 4) !default
43
- // $text-size - Used to determine label text-size. Default: $text-size found in settings
44
- @mixin label-size($padding:$label-padding, $text-size:$label-font-sizing) {
45
- @if $padding { padding: $padding; }
46
- @if $text-size { font-size: $text-size; }
47
- }
48
-
49
- // @mixins
50
- //
51
- // We use this mixin to add label styles.
52
- // $bg - Default: $primary-color (found in settings file)
53
- // $radius - Default: false, Options: true, sets radius to $global-radius (found in settings file)
54
- @mixin label-style($bg:$primary-color, $radius:false) {
55
-
56
- // We control which background color comes through
57
- @if $bg {
58
-
59
- // This find the lightness percentage of the background color.
60
- $bg-lightness: lightness($bg);
61
-
62
- background-color: $bg;
63
-
64
- // We control the text color for you based on the background color.
65
- @if $bg-lightness < 70% { color: $label-font-color-alt; }
66
- @else { color: $label-font-color; }
67
- }
68
-
69
- // We use this to control the radius on labels.
70
- @if $radius == true { @include radius($label-radius); }
71
- @else if $radius { @include radius($radius); }
72
-
73
- }
74
-
75
- // @mixins
76
- //
77
- // We use this to add close buttons to alerts
78
- // $padding - Default: $label-padding,
79
- // $text-size - Default: $label-font-sizing,
80
- // $bg - Default: $primary-color(found in settings file)
81
- // $radius - Default: false, Options: true which sets radius to $global-radius (found in settings file)
82
- @mixin label($padding:$label-padding, $text-size:$label-font-sizing, $bg:$primary-color, $radius:false) {
83
-
84
- @include label-base;
85
- @include label-size($padding, $text-size);
86
- @include label-style($bg, $radius);
87
- }
88
-
89
- @include exports("label") {
90
- @if $include-html-label-classes {
91
- .label {
92
- @include label-base;
93
- @include label-size;
94
- @include label-style;
95
-
96
- &.radius { @include label-style(false, true); }
97
- &.round { @include label-style(false, $radius:1000px); }
98
-
99
- &.alert { @include label-style($alert-color); }
100
- &.warning { @include label-style($warning-color); }
101
- &.success { @include label-style($success-color); }
102
- &.secondary { @include label-style($secondary-color); }
103
- &.info { @include label-style($info-color); }
104
- }
105
- }
106
- }
@@ -1,34 +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-magellan-classes: $include-html-classes !default;
11
-
12
- $magellan-bg: $white !default;
13
- $magellan-padding: 10px !default;
14
-
15
- @include exports("magellan") {
16
- @if $include-html-magellan-classes {
17
-
18
- #{data('magellan-expedition')}, #{data('magellan-expedition-clone')} {
19
- background: $magellan-bg;
20
- z-index: 50;
21
- min-width: 100%;
22
- padding: $magellan-padding;
23
-
24
- .sub-nav {
25
- margin-bottom: 0;
26
- dd { margin-bottom: 0; }
27
- a {
28
- line-height: 1.8em;
29
- }
30
- }
31
- }
32
-
33
- }
34
- }