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,368 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- // @variables
8
- //
9
- $include-html-orbit-classes: $include-html-classes !default;
10
-
11
- // We use these to control the caption styles
12
- $orbit-container-bg: none !default;
13
- $orbit-caption-bg: rgba(51,51,51, 0.8) !default;
14
- $orbit-caption-font-color: $white !default;
15
- $orbit-caption-font-size: rem-calc(14) !default;
16
- $orbit-caption-position: "bottom" !default; // Supported values: "bottom", "under"
17
- $orbit-caption-padding: rem-calc(10 14) !default;
18
- $orbit-caption-height: auto !default;
19
-
20
- // We use these to control the left/right nav styles
21
- $orbit-nav-bg: transparent !default;
22
- $orbit-nav-bg-hover: rgba(0,0,0,0.3) !default;
23
- $orbit-nav-arrow-color: $white !default;
24
- $orbit-nav-arrow-color-hover: $white !default;
25
-
26
- // We use these to control the timer styles
27
- $orbit-timer-bg: rgba(255,255,255,0.3) !default;
28
- $orbit-timer-show-progress-bar: true !default;
29
-
30
- // We use these to control the bullet nav styles
31
- $orbit-bullet-nav-color: $iron !default;
32
- $orbit-bullet-nav-color-active: $aluminum !default;
33
- $orbit-bullet-radius: rem-calc(9) !default;
34
-
35
- // We use these to controls the style of slide numbers
36
- $orbit-slide-number-bg: rgba(0,0,0,0) !default;
37
- $orbit-slide-number-font-color: $white !default;
38
- $orbit-slide-number-padding: rem-calc(5) !default;
39
-
40
- // Graceful Loading Wrapper and preloader
41
- $wrapper-class: "slideshow-wrapper" !default;
42
- $preloader-class: "preloader" !default;
43
-
44
- // Hide controls on small
45
- $orbit-nav-hide-for-small: true !default;
46
- $orbit-bullet-hide-for-small: true !default;
47
- $orbit-timer-hide-for-small: true !default;
48
-
49
-
50
- @include exports("orbit") {
51
- @if $include-html-orbit-classes {
52
-
53
- @-webkit-keyframes rotate {
54
- from { -webkit-transform: rotate(0deg); }
55
- to { -webkit-transform: rotate(360deg); }
56
- }
57
- @-moz-keyframes rotate {
58
- from { -moz-transform: rotate(0deg); }
59
- to { -moz-transform: rotate(360deg); }
60
- }
61
- @-o-keyframes rotate {
62
- from { -o-transform: rotate(0deg); }
63
- to { -o-transform: rotate(360deg); }
64
- }
65
- @keyframes rotate {
66
- from { transform: rotate(0deg); }
67
- to { transform: rotate(360deg); }
68
- }
69
-
70
- /* Orbit Graceful Loading */
71
- .#{$wrapper-class} {
72
- position: relative;
73
-
74
- ul {
75
- // Prevent bullets showing before .orbit-container is loaded
76
- list-style-type: none;
77
- margin: 0;
78
-
79
- // Hide all list items
80
- li,
81
- li .orbit-caption { display: none; }
82
-
83
- // ...except for the first one
84
- li:first-child { display: block; }
85
- }
86
-
87
- .orbit-container { background-color: transparent;
88
-
89
- // Show images when .orbit-container is loaded
90
- li { display: block;
91
-
92
- .orbit-caption { display: block; }
93
- }
94
- .orbit-bullets li {
95
- display: inline-block;
96
- }
97
- }
98
-
99
- // Orbit preloader
100
- .#{$preloader-class} {
101
- display: block;
102
- width: 40px;
103
- height: 40px;
104
- position: absolute;
105
- top: 50%;
106
- left: 50%;
107
- margin-top: -20px;
108
- margin-left: -20px;
109
- border: solid 3px;
110
- border-color: $charcoal $white;
111
- @include radius(1000px);
112
- animation-name: rotate;
113
- animation-duration: 1.5s;
114
- animation-iteration-count: infinite;
115
- animation-timing-function: linear;
116
- }
117
- }
118
-
119
-
120
- .orbit-container {
121
- overflow: hidden;
122
- width: 100%;
123
- position: relative;
124
- background: $orbit-container-bg;
125
-
126
- .orbit-slides-container {
127
- list-style: none;
128
- margin: 0;
129
- padding: 0;
130
- position: relative;
131
-
132
- // Prevents images (and captions) from disappearing after first rotation on Chrome for Android
133
- -webkit-transform: translateZ(0);
134
-
135
- img { display: block; max-width: 100%; }
136
-
137
- &>* {
138
- position: absolute;
139
- top: 0;
140
- width: 100%;
141
- @if $text-direction == rtl {
142
- margin-right: 100%;
143
- }
144
- @else {
145
- margin-left: 100%;
146
- }
147
-
148
- &:first-child {
149
- @if $text-direction == rtl {
150
- margin-right: 0;
151
- }
152
- @else {
153
- margin-left: 0;
154
- }
155
- }
156
-
157
- .orbit-caption {
158
- @if $orbit-caption-position == "bottom" {
159
- position: absolute;
160
- bottom: 0;
161
- } @else if $orbit-caption-position == "under" {
162
- position: relative;
163
- }
164
-
165
- background-color: $orbit-caption-bg;
166
- color: $orbit-caption-font-color;
167
- width: 100%;
168
- padding: $orbit-caption-padding;
169
- font-size: $orbit-caption-font-size;
170
- }
171
- }
172
- }
173
-
174
- .orbit-slide-number {
175
- position: absolute;
176
- top: 10px;
177
- #{$default-float}: 10px;
178
- font-size: 12px;
179
- span { font-weight: 700; padding: $orbit-slide-number-padding;}
180
- color: $orbit-slide-number-font-color;
181
- background: $orbit-slide-number-bg;
182
- z-index: 10;
183
- }
184
-
185
- .orbit-timer {
186
- position: absolute;
187
- top: 12px;
188
- #{$opposite-direction}: 10px;
189
- height: 6px;
190
- width: 100px;
191
- z-index: 10;
192
- .orbit-progress {
193
- @if $orbit-timer-show-progress-bar {
194
- height: 3px;
195
- background-color: $orbit-timer-bg;
196
- display: block;
197
- width: 0;
198
- position: relative;
199
- right: 20px;
200
- top: 5px;
201
- }
202
- }
203
-
204
- // Play button
205
- & > span {
206
- display: none;
207
- position: absolute;
208
- top: 0;
209
- #{$opposite-direction}: 0;
210
- width: 11px;
211
- height: 14px;
212
- border: solid 4px $white;
213
- border-top: none;
214
- border-bottom: none;
215
- }
216
-
217
- // Pause button
218
- &.paused {
219
- & > span {
220
- #{$opposite-direction}: -4px;
221
- top: 0;
222
- width: 11px;
223
- height: 14px;
224
- border: inset 8px;
225
- border-left-style: solid;
226
- border-color: transparent;
227
- border-left-color: $white;
228
- &.dark {
229
- border-left-color: $oil;
230
- }
231
- }
232
- }
233
- }
234
-
235
-
236
-
237
- &:hover .orbit-timer > span { display: block; }
238
-
239
- // Let's get those controls to be right in the center on each side
240
- .orbit-prev,
241
- .orbit-next {
242
- position: absolute;
243
- top: 45%;
244
- margin-top: -25px;
245
- width: 36px;
246
- height: 60px;
247
- line-height: 50px;
248
- color: white;
249
- background-color: $orbit-nav-bg;
250
- text-indent: -9999px !important;
251
- z-index: 10;
252
-
253
- &:hover {
254
- background-color: $orbit-nav-bg-hover;
255
- }
256
-
257
- & > span {
258
- position: absolute;
259
- top: 50%;
260
- margin-top: -10px;
261
- display: block;
262
- width: 0;
263
- height: 0;
264
- border: inset 10px;
265
- }
266
- }
267
- .orbit-prev { #{$default-float}: 0;
268
- & > span {
269
- border-#{$opposite-direction}-style: solid;
270
- border-color: transparent;
271
- border-#{$opposite-direction}-color: $orbit-nav-arrow-color;
272
- }
273
- &:hover > span {
274
- border-#{$opposite-direction}-color: $orbit-nav-arrow-color-hover;
275
- }
276
- }
277
- .orbit-next { #{$opposite-direction}: 0;
278
- & > span {
279
- border-color: transparent;
280
- border-#{$default-float}-style: solid;
281
- border-#{$default-float}-color: $orbit-nav-arrow-color;
282
- #{$default-float}: 50%;
283
- margin-#{$default-float}: -4px;
284
- }
285
- &:hover > span {
286
- border-#{$default-float}-color: $orbit-nav-arrow-color-hover;
287
- }
288
- }
289
- }
290
-
291
- .orbit-bullets-container { text-align: center; }
292
- .orbit-bullets {
293
- margin: 0 auto 30px auto;
294
- overflow: hidden;
295
- position: relative;
296
- top: 10px;
297
- float: none;
298
- text-align: center;
299
- display: block;
300
-
301
- li {
302
- cursor:pointer;
303
- display: inline-block;
304
- width: $orbit-bullet-radius;
305
- height: $orbit-bullet-radius;
306
- background: $orbit-bullet-nav-color;
307
- // float: $default-float;
308
- float: none;
309
- margin-#{$opposite-direction}: 6px;
310
- @include radius(1000px);
311
-
312
- &.active {
313
- background: $orbit-bullet-nav-color-active;
314
- }
315
-
316
- &:last-child { margin-#{$opposite-direction}: 0; }
317
- }
318
- }
319
-
320
- .touch {
321
- .orbit-container {
322
- .orbit-prev,
323
- .orbit-next { display: none; }
324
- }
325
-
326
- .orbit-bullets { display: none; }
327
- }
328
-
329
-
330
- @media #{$medium-up} {
331
-
332
- .touch {
333
- .orbit-container {
334
- .orbit-prev,
335
- .orbit-next { display: inherit; }
336
- }
337
-
338
- .orbit-bullets { display: block; }
339
- }
340
-
341
- }
342
-
343
- @media #{$small-only} {
344
- .orbit-stack-on-small {
345
- .orbit-slides-container {height: auto !important;}
346
- .orbit-slides-container > * {
347
- position: relative;
348
- margin:0 !important;
349
- opacity:1 !important;
350
- }
351
-
352
- .orbit-slide-number {
353
- display: none;
354
- }
355
- }
356
-
357
- @if $orbit-timer-hide-for-small {
358
- .orbit-timer{display: none;}
359
- }
360
- @if $orbit-nav-hide-for-small {
361
- .orbit-next,.orbit-prev{display: none;}
362
- }
363
- @if $orbit-bullet-hide-for-small {
364
- .orbit-bullets{display: none;}
365
- }
366
- }
367
- }
368
- }
@@ -1,162 +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-pagination-classes: $include-html-classes !default;
11
-
12
- // We use these to control the pagination container
13
- $pagination-height: rem-calc(24) !default;
14
- $pagination-margin: rem-calc(-5) !default;
15
-
16
- // We use these to set the list-item properties
17
- $pagination-li-float: $default-float !default;
18
- $pagination-li-height: rem-calc(24) !default;
19
- $pagination-li-font-color: $jet !default;
20
- $pagination-li-font-size: rem-calc(14) !default;
21
- $pagination-li-margin: rem-calc(5) !default;
22
-
23
- // We use these for the pagination anchor links
24
- $pagination-link-pad: rem-calc(1 10 1) !default;
25
- $pagination-link-font-color: $aluminum !default;
26
- $pagination-link-active-bg: scale-color($white, $lightness: -10%) !default;
27
-
28
- // We use these for disabled anchor links
29
- $pagination-link-unavailable-cursor: default !default;
30
- $pagination-link-unavailable-font-color: $aluminum !default;
31
- $pagination-link-unavailable-bg-active: transparent !default;
32
-
33
- // We use these for currently selected anchor links
34
- $pagination-link-current-background: $primary-color !default;
35
- $pagination-link-current-font-color: $white !default;
36
- $pagination-link-current-font-weight: $font-weight-bold !default;
37
- $pagination-link-current-cursor: default !default;
38
- $pagination-link-current-active-bg: $primary-color !default;
39
-
40
- // @mixins
41
- //
42
- // Style the pagination container. Currently only used when centering elements.
43
- // $center - Default: false, Options: true
44
- @mixin pagination-container($center:false) {
45
- @if $center { text-align: center; }
46
- }
47
-
48
- // @mixins
49
- // Style unavailable list items
50
- @mixin pagination-unavailable-item {
51
- a, button {
52
- cursor: $pagination-link-unavailable-cursor;
53
- color: $pagination-link-unavailable-font-color;
54
- }
55
- &:hover a,
56
- & a:focus,
57
-
58
- &:hover button,
59
- & button:focus
60
- { background: $pagination-link-unavailable-bg-active; }
61
- }
62
- // @mixins
63
- // Style the current list item. Do not assume that the current item has
64
- // an anchor <a> element.
65
- // $has-anchor - Default: true, Options: false
66
- @mixin pagination-current-item($has-anchor: true) {
67
- @if $has-anchor {
68
- a, button {
69
- background: $pagination-link-current-background;
70
- color: $pagination-link-current-font-color;
71
- font-weight: $pagination-link-current-font-weight;
72
- cursor: $pagination-link-current-cursor;
73
-
74
- &:hover,
75
- &:focus { background: $pagination-link-current-active-bg; }
76
- }
77
- } @else {
78
- height: auto;
79
- padding: $pagination-link-pad;
80
- background: $pagination-link-current-background;
81
- color: $pagination-link-current-font-color;
82
- font-weight: $pagination-link-current-font-weight;
83
- cursor: $pagination-link-current-cursor;
84
- @include radius;
85
-
86
- &:hover,
87
- &:focus { background: $pagination-link-current-active-bg; }
88
- }
89
- }
90
-
91
- // @mixins
92
- //
93
- // We use this mixin to set the properties for the creating Foundation pagination
94
- // $center - Left or center align the li elements. Default: false
95
- // $base-style - Sets base styles for pagination. Default: true, Options: false
96
- // $use-default-classes - Makes unavailable & current classes available for use. Default: true
97
- @mixin pagination($center:false, $base-style:true, $use-default-classes:true) {
98
-
99
- @if $base-style {
100
- display: block;
101
- min-height: $pagination-height;
102
- margin-#{$default-float}: $pagination-margin;
103
-
104
- li {
105
- height: $pagination-li-height;
106
- color: $pagination-li-font-color;
107
- font-size: $pagination-li-font-size;
108
- margin-#{$default-float}: $pagination-li-margin;
109
-
110
- a, button {
111
- display: block;
112
- padding: $pagination-link-pad;
113
- color: $pagination-link-font-color;
114
- background: none;
115
- @include radius;
116
- font-weight: normal;
117
- font-size: 1em;
118
- line-height: inherit;
119
- @include single-transition(background-color);
120
- }
121
-
122
- &:hover a,
123
- a:focus,
124
- &:hover button,
125
- button:focus
126
- { background: $pagination-link-active-bg; }
127
-
128
- @if $use-default-classes {
129
- &.unavailable { @include pagination-unavailable-item(); }
130
- &.current { @include pagination-current-item(); }
131
- }
132
- }
133
- }
134
-
135
- // Left or center align the li elements
136
- li {
137
- @if $center {
138
- float: none;
139
- display: inline-block;
140
- } @else {
141
- float: $pagination-li-float;
142
- display: block;
143
- }
144
- }
145
- }
146
-
147
- @include exports("pagination") {
148
- @if $include-pagination-classes {
149
- ul.pagination {
150
- @include pagination;
151
- }
152
-
153
- /* Pagination centred wrapper */
154
- .pagination-centered {
155
- @include pagination-container(true);
156
-
157
- ul.pagination {
158
- @include pagination(true, false);
159
- }
160
- }
161
- }
162
- }
@@ -1,101 +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-panel-classes: $include-html-classes !default;
11
-
12
- // We use these to control the background and border styles
13
- $panel-bg: scale-color($white, $lightness: -5%) !default;
14
- $panel-border-style: solid !default;
15
- $panel-border-size: 1px !default;
16
-
17
- // We use this % to control how much we darken things on hover
18
- $panel-function-factor: -11% !default;
19
- $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor) !default;
20
-
21
- // We use these to set default inner padding and bottom margin
22
- $panel-margin-bottom: rem-calc(20) !default;
23
- $panel-padding: rem-calc(20) !default;
24
-
25
- // We use these to set default font colors
26
- $panel-font-color: $oil !default;
27
- $panel-font-color-alt: $white !default;
28
-
29
- $panel-header-adjust: true !default;
30
- $callout-panel-link-color: $primary-color !default;
31
- $callout-panel-link-color-hover: scale-color($callout-panel-link-color, $lightness: -14%) !default;
32
- //
33
- // @mixins
34
- //
35
- // We use this mixin to create panels.
36
- // $bg - Sets the panel background color. Default: $panel-pg || scale-color($white, $lightness: -5%) !default
37
- // $padding - Sets the panel padding amount. Default: $panel-padding || rem-calc(20)
38
- // $adjust - Sets the font color based on the darkness of the bg & resets header line-heights for panels. Default: $panel-header-adjust || true
39
- @mixin panel($bg:$panel-bg, $padding:$panel-padding, $adjust:$panel-header-adjust) {
40
-
41
- @if $bg {
42
- $bg-lightness: lightness($bg);
43
-
44
- border-style: $panel-border-style;
45
- border-width: $panel-border-size;
46
- border-color: scale-color($bg, $lightness: $panel-function-factor);
47
- margin-bottom: $panel-margin-bottom;
48
- padding: $padding;
49
-
50
- background: $bg;
51
- @if $bg-lightness >= 50% { color: $panel-font-color; }
52
- @else { color: $panel-font-color-alt; }
53
-
54
- // Respect the padding, fool.
55
- &>:first-child { margin-top: 0; }
56
- &>:last-child { margin-bottom: 0; }
57
-
58
- @if $adjust {
59
- // We set the font color based on the darkness of the bg.
60
- @if $bg-lightness >= 50% {
61
- h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color; }
62
- }
63
- @else {
64
- h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color-alt; }
65
- }
66
-
67
- // reset header line-heights for panels
68
- h1,h2,h3,h4,h5,h6 {
69
- line-height: 1; margin-bottom: rem-calc(20) / 2;
70
- &.subheader { line-height: 1.4; }
71
- }
72
- }
73
- }
74
- }
75
-
76
- @include exports("panel") {
77
- @if $include-html-panel-classes {
78
-
79
- /* Panels */
80
- .panel { @include panel;
81
-
82
- &.callout {
83
- @include panel(scale-color($primary-color, $lightness: 94%));
84
- a:not(.button) {
85
- color: $callout-panel-link-color;
86
-
87
- &:hover,
88
- &:focus {
89
- color: $callout-panel-link-color-hover;
90
- }
91
- }
92
- }
93
-
94
- &.radius {
95
- @include radius;
96
- }
97
-
98
- }
99
-
100
- }
101
- }