va_common 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/CODE_OF_CONDUCT.md +13 -0
  5. data/Gemfile +4 -0
  6. data/README.md +66 -0
  7. data/Rakefile +1 -0
  8. data/app/assets/fonts/merriweather-bold-webfont.eot +0 -0
  9. data/app/assets/fonts/merriweather-bold-webfont.svg +294 -0
  10. data/app/assets/fonts/merriweather-bold-webfont.ttf +0 -0
  11. data/app/assets/fonts/merriweather-bold-webfont.woff +0 -0
  12. data/app/assets/fonts/merriweather-bold-webfont.woff2 +0 -0
  13. data/app/assets/fonts/merriweather-italic-webfont.eot +0 -0
  14. data/app/assets/fonts/merriweather-italic-webfont.svg +283 -0
  15. data/app/assets/fonts/merriweather-italic-webfont.ttf +0 -0
  16. data/app/assets/fonts/merriweather-italic-webfont.woff +0 -0
  17. data/app/assets/fonts/merriweather-italic-webfont.woff2 +0 -0
  18. data/app/assets/fonts/merriweather-light-webfont.eot +0 -0
  19. data/app/assets/fonts/merriweather-light-webfont.svg +299 -0
  20. data/app/assets/fonts/merriweather-light-webfont.ttf +0 -0
  21. data/app/assets/fonts/merriweather-light-webfont.woff +0 -0
  22. data/app/assets/fonts/merriweather-light-webfont.woff2 +0 -0
  23. data/app/assets/fonts/merriweather-regular-webfont.eot +0 -0
  24. data/app/assets/fonts/merriweather-regular-webfont.svg +294 -0
  25. data/app/assets/fonts/merriweather-regular-webfont.ttf +0 -0
  26. data/app/assets/fonts/merriweather-regular-webfont.woff +0 -0
  27. data/app/assets/fonts/merriweather-regular-webfont.woff2 +0 -0
  28. data/app/assets/fonts/sourcesanspro-bold-webfont.eot +0 -0
  29. data/app/assets/fonts/sourcesanspro-bold-webfont.svg +965 -0
  30. data/app/assets/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  31. data/app/assets/fonts/sourcesanspro-bold-webfont.woff +0 -0
  32. data/app/assets/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  33. data/app/assets/fonts/sourcesanspro-italic-webfont.eot +0 -0
  34. data/app/assets/fonts/sourcesanspro-italic-webfont.svg +853 -0
  35. data/app/assets/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  36. data/app/assets/fonts/sourcesanspro-italic-webfont.woff +0 -0
  37. data/app/assets/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  38. data/app/assets/fonts/sourcesanspro-light-webfont.eot +0 -0
  39. data/app/assets/fonts/sourcesanspro-light-webfont.svg +915 -0
  40. data/app/assets/fonts/sourcesanspro-light-webfont.ttf +0 -0
  41. data/app/assets/fonts/sourcesanspro-light-webfont.woff +0 -0
  42. data/app/assets/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  43. data/app/assets/fonts/sourcesanspro-regular-webfont.eot +0 -0
  44. data/app/assets/fonts/sourcesanspro-regular-webfont.svg +989 -0
  45. data/app/assets/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  46. data/app/assets/fonts/sourcesanspro-regular-webfont.woff +0 -0
  47. data/app/assets/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  48. data/app/assets/images/design/background/thread.png +0 -0
  49. data/app/assets/images/design/logo/logo-alt-hover.png +0 -0
  50. data/app/assets/images/design/logo/logo-alt.png +0 -0
  51. data/app/assets/images/design/logo/logo-hover.png +0 -0
  52. data/app/assets/images/design/logo/logo-small.png +0 -0
  53. data/app/assets/images/design/logo/logo.png +0 -0
  54. data/app/assets/images/design/logo/og-image.jpg +0 -0
  55. data/app/assets/images/design/seal/seal-footer.png +0 -0
  56. data/app/assets/images/design/seal/seal-footer.svg +1 -0
  57. data/app/assets/images/design/seal/seal.png +0 -0
  58. data/app/assets/images/design/seal/stars.png +0 -0
  59. data/app/assets/images/icons/apple-touch-icon-114x114.png +0 -0
  60. data/app/assets/images/icons/apple-touch-icon-152x152.png +0 -0
  61. data/app/assets/images/icons/apple-touch-icon-72x72.png +0 -0
  62. data/app/assets/images/icons/apple-touch-icon.png +0 -0
  63. data/app/assets/images/icons/favicon.ico +0 -0
  64. data/app/assets/images/icons/va.png +0 -0
  65. data/app/assets/images/icons/watermark.png +0 -0
  66. data/app/assets/images/icons/wrench.png +0 -0
  67. data/app/assets/images/social-icons/png/facebook25.png +0 -0
  68. data/app/assets/images/social-icons/png/rss25.png +0 -0
  69. data/app/assets/images/social-icons/png/twitter16.png +0 -0
  70. data/app/assets/images/social-icons/png/youtube15.png +0 -0
  71. data/app/assets/images/social-icons/svg/facebook25.svg +11 -0
  72. data/app/assets/images/social-icons/svg/rss25.svg +1 -0
  73. data/app/assets/images/social-icons/svg/twitter16.svg +15 -0
  74. data/app/assets/images/social-icons/svg/youtube15.svg +1 -0
  75. data/app/assets/js/components.js +376 -0
  76. data/app/assets/js/foundation/foundation.abide.js +408 -0
  77. data/app/assets/js/foundation/foundation.accordion.js +88 -0
  78. data/app/assets/js/foundation/foundation.alert.js +43 -0
  79. data/app/assets/js/foundation/foundation.clearing.js +586 -0
  80. data/app/assets/js/foundation/foundation.dropdown.js +463 -0
  81. data/app/assets/js/foundation/foundation.equalizer.js +104 -0
  82. data/app/assets/js/foundation/foundation.interchange.js +359 -0
  83. data/app/assets/js/foundation/foundation.joyride.js +932 -0
  84. data/app/assets/js/foundation/foundation.js +725 -0
  85. data/app/assets/js/foundation/foundation.magellan.js +215 -0
  86. data/app/assets/js/foundation/foundation.offcanvas.js +152 -0
  87. data/app/assets/js/foundation/foundation.orbit.js +476 -0
  88. data/app/assets/js/foundation/foundation.reveal.js +498 -0
  89. data/app/assets/js/foundation/foundation.slider.js +281 -0
  90. data/app/assets/js/foundation/foundation.tab.js +249 -0
  91. data/app/assets/js/foundation/foundation.tooltip.js +339 -0
  92. data/app/assets/js/foundation/foundation.topbar.js +458 -0
  93. data/app/assets/js/foundation.min.js +6376 -0
  94. data/app/assets/js/scripts-no-touch.js +33 -0
  95. data/app/assets/js/scripts-touch.js +33 -0
  96. data/app/assets/js/va_common_main.js +1 -0
  97. data/app/assets/js/vendor/classie.js +80 -0
  98. data/app/assets/js/vendor/html5shiv.js +8 -0
  99. data/app/assets/js/vendor/jquery-1.11.0.min.js +4 -0
  100. data/app/assets/js/vendor/jquery.js +9789 -0
  101. data/app/assets/js/vendor/jquery.smooth-scroll.js +255 -0
  102. data/app/assets/js/vendor/jquery.stellar.js +651 -0
  103. data/app/assets/js/vendor/jquery.tipsy.js +258 -0
  104. data/app/assets/js/vendor/menu.js +40 -0
  105. data/app/assets/js/vendor/modernizr.custom.js +4 -0
  106. data/app/assets/js/vendor/nwmatcher-1.2.5-min.js +7 -0
  107. data/app/assets/js/vendor/respond.min.js +6 -0
  108. data/app/assets/js/vendor/scroll-settings.js +3 -0
  109. data/app/assets/js/vendor/selectivizr-1.0.3b.js +560 -0
  110. data/app/assets/js/vendor/stellar-settings.js +8 -0
  111. data/app/assets/js/vendor/svg-injector.js +450 -0
  112. data/app/assets/js/vendor/tota11y.min.js +28 -0
  113. data/app/assets/js/vendor/wow.min.js +2 -0
  114. data/app/assets/stylesheets/_va.scss +2377 -0
  115. data/app/assets/stylesheets/components/_accordions.scss +98 -0
  116. data/app/assets/stylesheets/core/_base.scss +20 -0
  117. data/app/assets/stylesheets/core/_defaults.scss +92 -0
  118. data/app/assets/stylesheets/core/_grid-settings.scss +10 -0
  119. data/app/assets/stylesheets/core/_grid.scss +116 -0
  120. data/app/assets/stylesheets/core/_utilities.scss +105 -0
  121. data/app/assets/stylesheets/core/_variables.scss +88 -0
  122. data/app/assets/stylesheets/elements/_buttons.scss +189 -0
  123. data/app/assets/stylesheets/elements/_figure.scss +9 -0
  124. data/app/assets/stylesheets/elements/_inputs.scss +328 -0
  125. data/app/assets/stylesheets/elements/_labels.scss +39 -0
  126. data/app/assets/stylesheets/elements/_list.scss +82 -0
  127. data/app/assets/stylesheets/elements/_table.scss +39 -0
  128. data/app/assets/stylesheets/elements/_typography.scss +220 -0
  129. data/app/assets/stylesheets/foundation/_functions.scss +146 -0
  130. data/app/assets/stylesheets/foundation/_settings.scss +1467 -0
  131. data/app/assets/stylesheets/foundation/_variables.scss +1286 -0
  132. data/app/assets/stylesheets/foundation/components/_accordion.scss +157 -0
  133. data/app/assets/stylesheets/foundation/components/_alert-boxes.scss +128 -0
  134. data/app/assets/stylesheets/foundation/components/_block-grid.scss +132 -0
  135. data/app/assets/stylesheets/foundation/components/_breadcrumbs.scss +132 -0
  136. data/app/assets/stylesheets/foundation/components/_button-groups.scss +200 -0
  137. data/app/assets/stylesheets/foundation/components/_buttons.scss +259 -0
  138. data/app/assets/stylesheets/foundation/components/_clearing.scss +256 -0
  139. data/app/assets/stylesheets/foundation/components/_dropdown-buttons.scss +131 -0
  140. data/app/assets/stylesheets/foundation/components/_dropdown.scss +262 -0
  141. data/app/assets/stylesheets/foundation/components/_flex-video.scss +51 -0
  142. data/app/assets/stylesheets/foundation/components/_forms.scss +570 -0
  143. data/app/assets/stylesheets/foundation/components/_global.scss +481 -0
  144. data/app/assets/stylesheets/foundation/components/_grid.scss +289 -0
  145. data/app/assets/stylesheets/foundation/components/_icon-bar.scss +358 -0
  146. data/app/assets/stylesheets/foundation/components/_inline-lists.scss +57 -0
  147. data/app/assets/stylesheets/foundation/components/_joyride.scss +222 -0
  148. data/app/assets/stylesheets/foundation/components/_keystrokes.scss +61 -0
  149. data/app/assets/stylesheets/foundation/components/_labels.scss +106 -0
  150. data/app/assets/stylesheets/foundation/components/_magellan.scss +34 -0
  151. data/app/assets/stylesheets/foundation/components/_offcanvas.scss +515 -0
  152. data/app/assets/stylesheets/foundation/components/_orbit.scss +368 -0
  153. data/app/assets/stylesheets/foundation/components/_pagination.scss +162 -0
  154. data/app/assets/stylesheets/foundation/components/_panels.scss +101 -0
  155. data/app/assets/stylesheets/foundation/components/_pricing-tables.scss +150 -0
  156. data/app/assets/stylesheets/foundation/components/_progress-bars.scss +79 -0
  157. data/app/assets/stylesheets/foundation/components/_range-slider.scss +169 -0
  158. data/app/assets/stylesheets/foundation/components/_reveal.scss +202 -0
  159. data/app/assets/stylesheets/foundation/components/_side-nav.scss +116 -0
  160. data/app/assets/stylesheets/foundation/components/_split-buttons.scss +199 -0
  161. data/app/assets/stylesheets/foundation/components/_sub-nav.scss +123 -0
  162. data/app/assets/stylesheets/foundation/components/_switches.scss +238 -0
  163. data/app/assets/stylesheets/foundation/components/_tables.scss +135 -0
  164. data/app/assets/stylesheets/foundation/components/_tabs.scss +123 -0
  165. data/app/assets/stylesheets/foundation/components/_thumbs.scss +66 -0
  166. data/app/assets/stylesheets/foundation/components/_toolbar.scss +70 -0
  167. data/app/assets/stylesheets/foundation/components/_tooltips.scss +142 -0
  168. data/app/assets/stylesheets/foundation/components/_top-bar.scss +691 -0
  169. data/app/assets/stylesheets/foundation/components/_type.scss +525 -0
  170. data/app/assets/stylesheets/foundation/components/_visibility.scss +408 -0
  171. data/app/assets/stylesheets/functions/_new-breakpoint.scss +49 -0
  172. data/app/assets/stylesheets/functions/_private.scss +114 -0
  173. data/app/assets/stylesheets/lib/_normalize.scss +427 -0
  174. data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
  175. data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +87 -0
  176. data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +26 -0
  177. data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +48 -0
  178. data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +25 -0
  179. data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +25 -0
  180. data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +64 -0
  181. data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +25 -0
  182. data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +30 -0
  183. data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +31 -0
  184. data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +27 -0
  185. data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +26 -0
  186. data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +26 -0
  187. data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +48 -0
  188. data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +66 -0
  189. data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +25 -0
  190. data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +51 -0
  191. data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +112 -0
  192. data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +34 -0
  193. data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +63 -0
  194. data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +29 -0
  195. data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +43 -0
  196. data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +3 -0
  197. data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +3 -0
  198. data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +42 -0
  199. data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +55 -0
  200. data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +59 -0
  201. data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +4 -0
  202. data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +47 -0
  203. data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +4 -0
  204. data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +287 -0
  205. data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +24 -0
  206. data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +4 -0
  207. data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +10 -0
  208. data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +4 -0
  209. data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +14 -0
  210. data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +36 -0
  211. data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +38 -0
  212. data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +8 -0
  213. data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +8 -0
  214. data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +39 -0
  215. data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +42 -0
  216. data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +19 -0
  217. data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +15 -0
  218. data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +71 -0
  219. data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +3 -0
  220. data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +11 -0
  221. data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +20 -0
  222. data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +26 -0
  223. data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +11 -0
  224. data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +21 -0
  225. data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +11 -0
  226. data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +13 -0
  227. data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +69 -0
  228. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +13 -0
  229. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +15 -0
  230. data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +24 -0
  231. data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +17 -0
  232. data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +24 -0
  233. data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +22 -0
  234. data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +27 -0
  235. data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +21 -0
  236. data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +96 -0
  237. data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +43 -0
  238. data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  239. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +25 -0
  240. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +41 -0
  241. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +61 -0
  242. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
  243. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +69 -0
  244. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +50 -0
  245. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +18 -0
  246. data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +26 -0
  247. data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +10 -0
  248. data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +50 -0
  249. data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +7 -0
  250. data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +9 -0
  251. data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +1 -0
  252. data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +8 -0
  253. data/app/assets/stylesheets/lib/neat/_neat.scss +23 -0
  254. data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +49 -0
  255. data/app/assets/stylesheets/lib/neat/functions/_private.scss +114 -0
  256. data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +15 -0
  257. data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +33 -0
  258. data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +28 -0
  259. data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +22 -0
  260. data/app/assets/stylesheets/lib/neat/grid/_media.scss +92 -0
  261. data/app/assets/stylesheets/lib/neat/grid/_omega.scss +87 -0
  262. data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +38 -0
  263. data/app/assets/stylesheets/lib/neat/grid/_pad.scss +25 -0
  264. data/app/assets/stylesheets/lib/neat/grid/_private.scss +35 -0
  265. data/app/assets/stylesheets/lib/neat/grid/_row.scss +52 -0
  266. data/app/assets/stylesheets/lib/neat/grid/_shift.scss +50 -0
  267. data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +94 -0
  268. data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +97 -0
  269. data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +42 -0
  270. data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +13 -0
  271. data/app/assets/stylesheets/lib/neat/settings/_grid.scss +51 -0
  272. data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +27 -0
  273. data/app/assets/stylesheets/va_common_main.css.scss +18 -0
  274. data/bin/console +14 -0
  275. data/bin/setup +7 -0
  276. data/lib/generators/files/_footer.html.erb +89 -0
  277. data/lib/generators/files/_header.html.erb +7 -0
  278. data/lib/generators/va_common_generator.rb +6 -0
  279. data/lib/generators/va_footer_generator.rb +7 -0
  280. data/lib/generators/va_header_generator.rb +7 -0
  281. data/lib/va_common/engine.rb +4 -0
  282. data/lib/va_common/version.rb +3 -0
  283. data/lib/va_common.rb +2 -0
  284. data/va_common.gemspec +22 -0
  285. metadata +354 -0
@@ -0,0 +1,200 @@
1
+ // Foundation by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ @import "global";
6
+ @import "buttons";
7
+
8
+ //
9
+ // Button Group Variables
10
+ //
11
+ $include-html-button-classes: $include-html-classes !default;
12
+
13
+ // Sets the margin for the right side by default, and the left margin if right-to-left direction is used
14
+ $button-bar-margin-opposite: rem-calc(10) !default;
15
+ $button-group-border-width: 1px !default;
16
+
17
+ //
18
+ // Button Group Mixins
19
+ //
20
+
21
+ // We use this to add styles for a button group container
22
+ @mixin button-group-container($styles:true, $float:false) {
23
+ @if $styles {
24
+ list-style: none;
25
+ margin: 0;
26
+ #{$default-float}: 0;
27
+ @include clearfix();
28
+ }
29
+ @if $float {
30
+ float: #{$default-float};
31
+ margin-#{$opposite-direction}: $button-bar-margin-opposite;
32
+ & div { overflow: hidden; }
33
+ }
34
+ }
35
+
36
+ // We use this to control styles for button groups
37
+ @mixin button-group-style($radius:false, $even:false, $float:false, $orientation:horizontal) {
38
+
39
+ > button, .button {
40
+ border-#{$default-float}: $button-group-border-width solid;
41
+ border-color: rgba(255, 255, 255, 0.5);
42
+ }
43
+
44
+ &:first-child {
45
+ button, .button {
46
+ border-#{$default-float}: 0;
47
+ }
48
+ }
49
+
50
+ // We use this to control the flow, or remove those styles completely.
51
+ @if $float {
52
+ margin: 0;
53
+ float: $float;
54
+ display: list-item;
55
+ // Make sure the first child doesn't get the negative margin.
56
+ &:first-child { margin-#{$default-float}: 0; }
57
+ }
58
+ @else {
59
+ margin: 0 -2px;
60
+ display: inline-block;
61
+ }
62
+
63
+ @if $orientation == vertical {
64
+ display:block;
65
+ margin:0;
66
+ > button, .button {
67
+ border-top: $button-group-border-width solid;
68
+ border-color: rgba(255, 255, 255, 0.5);
69
+ border-left-width: 0;
70
+ margin:0;
71
+ display: block;
72
+ }
73
+ > button {
74
+ width: 100%;
75
+ }
76
+
77
+ &:first-child {
78
+ button, .button {
79
+ border-top: 0;
80
+ }
81
+ }
82
+ }
83
+
84
+ // We use these to control left and right radius on first/last buttons in the group.
85
+ @if $radius == true {
86
+ &,
87
+ & > a,
88
+ & > button,
89
+ & > .button { @include radius(0); }
90
+ &:first-child,
91
+ &:first-child > a,
92
+ &:first-child > button,
93
+ &:first-child > .button {
94
+ @if $orientation == vertical {
95
+ @include side-radius(top, $button-radius);
96
+ }
97
+ @else {
98
+ @include side-radius($default-float, $button-radius);
99
+ }
100
+ }
101
+ &:last-child,
102
+ &:last-child > a,
103
+ &:last-child > button,
104
+ &:last-child > .button {
105
+ @if $orientation == vertical {
106
+ @include side-radius(bottom, $button-radius);
107
+ }
108
+ @else {
109
+ @include side-radius($opposite-direction, $button-radius);
110
+ }
111
+ }
112
+ }
113
+ @else if $radius {
114
+ &,
115
+ & > a,
116
+ & > button,
117
+ & > .button { @include radius(0); }
118
+ &:first-child,
119
+ &:first-child > a,
120
+ &:first-child > button,
121
+ &:first-child > .button {
122
+ @if $orientation == vertical {
123
+ @include side-radius(top, $radius);
124
+ }
125
+ @else {
126
+ @include side-radius($default-float, $radius);
127
+ }
128
+ }
129
+ &:last-child,
130
+ &:last-child > a,
131
+ &:last-child > button,
132
+ &:last-child > .button {
133
+ @if $orientation == vertical {
134
+ @include side-radius(bottom, $radius);
135
+ }
136
+ @else {
137
+ @include side-radius($opposite-direction, $radius);
138
+ }
139
+ }
140
+ }
141
+
142
+ // We use this to make the buttons even width across their container
143
+ @if $even {
144
+ width: percentage((100/$even) / 100);
145
+ button, .button { width: 100%; }
146
+ }
147
+ }
148
+
149
+ @include exports("button-group") {
150
+ @if $include-html-button-classes {
151
+ .button-group { @include button-group-container;
152
+
153
+ & > li { @include button-group-style(); }
154
+
155
+ &.stack {
156
+ & > li { @include button-group-style($orientation:vertical); float: none; }
157
+ }
158
+
159
+ &.stack-for-small {
160
+ & > li {
161
+ @include button-group-style($orientation:horizontal);
162
+ @media #{$small-only} {
163
+ @include button-group-style($orientation:vertical);
164
+ }
165
+ }
166
+ }
167
+
168
+ &.radius > * { @include button-group-style($radius:$button-radius, $float:null); }
169
+ &.radius.stack > * { @include button-group-style($radius:$button-radius, $float:null, $orientation:vertical); }
170
+ &.radius.stack-for-small > * {
171
+ @media #{$medium-up} {
172
+ @include button-group-style($radius:$button-radius, $orientation:horizontal);
173
+ }
174
+ @media #{$small-only} {
175
+ @include button-group-style($radius:$button-radius, $orientation:vertical);
176
+ }
177
+ }
178
+
179
+ &.round > * { @include button-group-style($radius:$button-round, $float:null); }
180
+ &.round.stack > * { @include button-group-style($radius:$button-med, $float:null, $orientation:vertical); }
181
+ &.round.stack-for-small > * {
182
+ @media #{$medium-up} {
183
+ @include button-group-style($radius:$button-round, $orientation:horizontal);
184
+ }
185
+ @media #{$small-only} {
186
+ @include button-group-style($radius:$button-med, $orientation:vertical);
187
+ }
188
+ }
189
+
190
+ @for $i from 2 through 8 {
191
+ &.even-#{$i} li { @include button-group-style($even:$i, $float:null); }
192
+ }
193
+ }
194
+
195
+ .button-bar {
196
+ @include clearfix;
197
+ .button-group { @include button-group-container($styles:false, $float:true); }
198
+ }
199
+ }
200
+ }
@@ -0,0 +1,259 @@
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-button-classes: $include-html-classes !default;
11
+
12
+ // We use these to build padding for buttons.
13
+ $button-tny: rem-calc(10) !default;
14
+ $button-sml: rem-calc(14) !default;
15
+ $button-med: rem-calc(16) !default;
16
+ $button-lrg: rem-calc(18) !default;
17
+
18
+ // We use this to control the display property.
19
+ $button-display: inline-block !default;
20
+ $button-margin-bottom: rem-calc(20) !default;
21
+
22
+ // We use these to control button text styles.
23
+ $button-font-family: $body-font-family !default;
24
+ $button-font-color: $white !default;
25
+ $button-font-color-alt: $oil !default;
26
+ $button-font-tny: rem-calc(11) !default;
27
+ $button-font-sml: rem-calc(13) !default;
28
+ $button-font-med: rem-calc(16) !default;
29
+ $button-font-lrg: rem-calc(20) !default;
30
+ $button-font-weight: $font-weight-normal !default;
31
+ $button-font-align: center !default;
32
+
33
+ // We use these to control various hover effects.
34
+ $button-function-factor: -20% !default;
35
+
36
+ // We use these to control button border styles.
37
+ $button-border-width: 0 !default;
38
+ $button-border-style: solid !default;
39
+ $button-bg-color: $primary-color !default;
40
+ $button-bg-hover: scale-color($button-bg-color, $lightness: $button-function-factor) !default;
41
+ $button-border-color: $button-bg-hover !default;
42
+ $secondary-button-bg-hover: scale-color($secondary-color, $lightness: $button-function-factor) !default;
43
+ $secondary-button-border-color: $secondary-button-bg-hover !default;
44
+ $success-button-bg-hover: scale-color($success-color, $lightness: $button-function-factor) !default;
45
+ $success-button-border-color: $success-button-bg-hover !default;
46
+ $alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor) !default;
47
+ $alert-button-border-color: $alert-button-bg-hover !default;
48
+ $warning-button-bg-hover: scale-color($warning-color, $lightness: $button-function-factor) !default;
49
+ $warning-button-border-color: $warning-button-bg-hover !default;
50
+ $info-button-bg-hover: scale-color($info-color, $lightness: $button-function-factor) !default;
51
+ $info-button-border-color: $info-button-bg-hover !default;
52
+
53
+ // We use this to set the default radius used throughout the core.
54
+ $button-radius: $global-radius !default;
55
+ $button-round: $global-rounded !default;
56
+
57
+ // We use this to set default opacity and cursor for disabled buttons.
58
+ $button-disabled-opacity: 0.7 !default;
59
+ $button-disabled-cursor: $cursor-default-value !default;
60
+
61
+
62
+ //
63
+ // @MIXIN
64
+ //
65
+ // We use this mixin to create a default button base.
66
+ //
67
+ // $style - Sets base styles. Can be set to false. Default: true.
68
+ // $display - Used to control display property. Default: $button-display || inline-block
69
+
70
+ @mixin button-base($style:true, $display:$button-display) {
71
+ @if $style {
72
+ border-style: $button-border-style;
73
+ border-width: $button-border-width;
74
+ cursor: $cursor-pointer-value;
75
+ font-family: $button-font-family;
76
+ font-weight: $button-font-weight;
77
+ line-height: normal;
78
+ margin: 0 0 $button-margin-bottom;
79
+ position: relative;
80
+ text-decoration: none;
81
+ text-align: $button-font-align;
82
+ -webkit-appearance: none;
83
+ border-radius:0;
84
+ }
85
+ @if $display { display: $display; }
86
+ }
87
+
88
+ // @MIXIN
89
+ //
90
+ // We use this mixin to add button size styles
91
+ //
92
+ // $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
93
+ // $full-width - We can set $full-width:true to remove side padding extend width - Default: false
94
+
95
+ @mixin button-size($padding:$button-med, $full-width:false) {
96
+
97
+ // We control which padding styles come through,
98
+ // these can be turned off by setting $padding:false
99
+ @if $padding {
100
+ padding-top: $padding;
101
+ padding-#{$opposite-direction}: $padding * 2;
102
+ padding-bottom: $padding + rem-calc(1);
103
+ padding-#{$default-float}: $padding * 2;
104
+
105
+ // We control the font-size based on mixin input.
106
+ @if $padding == $button-med { font-size: $button-font-med; }
107
+ @else if $padding == $button-tny { font-size: $button-font-tny; }
108
+ @else if $padding == $button-sml { font-size: $button-font-sml; }
109
+ @else if $padding == $button-lrg { font-size: $button-font-lrg; }
110
+ }
111
+
112
+ // We can set $full-width:true to remove side padding extend width.
113
+ @if $full-width {
114
+ // We still need to check if $padding is set.
115
+ @if $padding {
116
+ padding-top: $padding;
117
+ padding-bottom: $padding + rem-calc(1);
118
+ } @else if $padding == false {
119
+ padding-top:0;
120
+ padding-bottom:0;
121
+ }
122
+ padding-right: 0;
123
+ padding-left: 0;
124
+ width: 100%;
125
+ }
126
+ }
127
+
128
+ // @MIXIN
129
+ //
130
+ // we use this mixin to create the button hover and border colors
131
+
132
+ // @MIXIN
133
+ //
134
+ // We use this mixin to add button color styles
135
+ //
136
+ // $bg - Background color. We can set $bg:false for a transparent background. Default: $primary-color.
137
+ // $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: true
138
+ // $disabled - We can set $disabled:true to create a disabled transparent button. Default: false
139
+ // $bg-hover - Button Hover Background Color. Default: $button-bg-hover
140
+ // $border-color - Button Border Color. Default: $button-border-color
141
+ @mixin button-style($bg:$button-bg-color, $radius:false, $disabled:false, $bg-hover:null, $border-color:null) {
142
+
143
+ // We control which background styles are used,
144
+ // these can be removed by setting $bg:false
145
+ @if $bg {
146
+
147
+ @if $bg-hover == null {
148
+ $bg-hover: if($bg == $button-bg-color, $button-bg-hover, scale-color($bg, $lightness: $button-function-factor));
149
+ }
150
+
151
+ @if $border-color == null {
152
+ $border-color: if($bg == $button-bg-color, $button-border-color, scale-color($bg, $lightness: $button-function-factor));
153
+ }
154
+
155
+ // This find the lightness percentage of the background color.
156
+ $bg-lightness: lightness($bg);
157
+ $bg-hover-lightness: lightness($bg-hover);
158
+
159
+ background-color: $bg;
160
+ border-color: $border-color;
161
+ &:hover,
162
+ &:focus { background-color: $bg-hover; }
163
+
164
+ // We control the text color for you based on the background color.
165
+ color: if($bg-lightness > 70%, $button-font-color-alt, $button-font-color);
166
+
167
+ &:hover,
168
+ &:focus {
169
+ color: if($bg-hover-lightness > 70%, $button-font-color-alt, $button-font-color);
170
+ }
171
+ }
172
+
173
+ // We can set $disabled:true to create a disabled transparent button.
174
+ @if $disabled {
175
+ cursor: $button-disabled-cursor;
176
+ opacity: $button-disabled-opacity;
177
+ box-shadow: none;
178
+ &:hover,
179
+ &:focus { background-color: $bg; }
180
+ }
181
+
182
+ // We can control how much button radius is used.
183
+ @if $radius == true { @include radius($button-radius); }
184
+ @else if $radius { @include radius($radius); }
185
+
186
+ }
187
+
188
+ // @MIXIN
189
+ //
190
+ // We use this to quickly create buttons with a single mixin. As @jaredhardy puts it, "the kitchen sink mixin"
191
+ //
192
+ // $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
193
+ // $bg - Primary color set in settings file. Default: $button-bg.
194
+ // $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default:false.
195
+ // $full-width - We can set $full-width:true to remove side padding extend width. Default:false.
196
+ // $disabled - We can set $disabled:true to create a disabled transparent button. Default:false.
197
+ // $is-prefix - Not used? Default:false.
198
+ // $bg-hover - Button Hover Color - Default null - see button-style mixin
199
+ // $border-color - Button Border Color - Default null - see button-style mixin
200
+ // $transition - We can control whether or not to include the background-color transition property - Default:true.
201
+ @mixin button($padding:$button-med, $bg:$button-bg-color, $radius:false, $full-width:false, $disabled:false, $is-prefix:false, $bg-hover:null, $border-color:null, $transition: true) {
202
+ @include button-base;
203
+ @include button-size($padding, $full-width);
204
+ @include button-style($bg, $radius, $disabled, $bg-hover, $border-color);
205
+
206
+ @if $transition {
207
+ @include single-transition(background-color);
208
+ }
209
+ }
210
+
211
+
212
+ @include exports("button") {
213
+ @if $include-html-button-classes {
214
+
215
+ // Default styles applied outside of media query
216
+ button, .button {
217
+ @include button-base;
218
+ @include button-size;
219
+ @include button-style;
220
+
221
+ @include single-transition(background-color);
222
+
223
+ &.secondary { @include button-style($bg:$secondary-color, $bg-hover:$secondary-button-bg-hover, $border-color:$secondary-button-border-color); }
224
+ &.success { @include button-style($bg:$success-color, $bg-hover:$success-button-bg-hover, $border-color:$success-button-border-color); }
225
+ &.alert { @include button-style($bg:$alert-color, $bg-hover:$alert-button-bg-hover, $border-color:$alert-button-border-color); }
226
+ &.warning { @include button-style($bg:$warning-color, $bg-hover:$warning-button-bg-hover, $border-color:$warning-button-border-color); }
227
+ &.info { @include button-style($bg:$info-color, $bg-hover:$info-button-bg-hover, $border-color:$info-button-border-color); }
228
+
229
+ &.large { @include button-size($padding:$button-lrg); }
230
+ &.small { @include button-size($padding:$button-sml); }
231
+ &.tiny { @include button-size($padding:$button-tny); }
232
+ &.expand { @include button-size($padding:null,$full-width:true); }
233
+
234
+ &.left-align { text-align: left; text-indent: rem-calc(12); }
235
+ &.right-align { text-align: right; padding-right: rem-calc(12); }
236
+
237
+ &.radius { @include button-style($bg:false, $radius:true); }
238
+ &.round { @include button-style($bg:false, $radius:$button-round); }
239
+
240
+ &.disabled, &[disabled] { @include button-style($bg:$button-bg-color, $disabled:true, $bg-hover:$button-bg-hover, $border-color:$button-border-color);
241
+ &.secondary { @include button-style($bg:$secondary-color, $disabled:true, $bg-hover:$secondary-button-bg-hover, $border-color:$secondary-button-border-color); }
242
+ &.success { @include button-style($bg:$success-color, $disabled:true, $bg-hover:$success-button-bg-hover, $border-color:$success-button-border-color); }
243
+ &.alert { @include button-style($bg:$alert-color, $disabled:true, $bg-hover:$alert-button-bg-hover, $border-color:$alert-button-border-color); }
244
+ &.warning { @include button-style($bg:$warning-color, $disabled:true, $bg-hover:$warning-button-bg-hover, $border-color:$warning-button-border-color); }
245
+ &.info { @include button-style($bg:$info-color, $disabled:true, $bg-hover:$info-button-bg-hover, $border-color:$info-button-border-color); }
246
+ }
247
+ }
248
+
249
+ //firefox 2px fix
250
+ button::-moz-focus-inner {border:0; padding:0;}
251
+
252
+ @media #{$medium-up} {
253
+ button, .button {
254
+ @include button-base($style:false, $display:inline-block);
255
+ @include button-size($padding:false, $full-width:false);
256
+ }
257
+ }
258
+ }
259
+ }
@@ -0,0 +1,256 @@
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-clearing-classes: $include-html-classes !default;
11
+
12
+ // We use these to set the background colors for parts of Clearing.
13
+ $clearing-bg: $oil !default;
14
+ $clearing-caption-bg: $clearing-bg !default;
15
+ $clearing-carousel-bg: rgba(51,51,51,0.8) !default;
16
+ $clearing-img-bg: $clearing-bg !default;
17
+
18
+ // We use these to style the close button
19
+ $clearing-close-color: $iron !default;
20
+ $clearing-close-size: 30px !default;
21
+
22
+ // We use these to style the arrows
23
+ $clearing-arrow-size: 12px !default;
24
+ $clearing-arrow-color: $clearing-close-color !default;
25
+
26
+ // We use these to style captions
27
+ $clearing-caption-font-color: $iron !default;
28
+ $clearing-caption-font-size: 0.875em !default;
29
+ $clearing-caption-padding: 10px 30px 20px !default;
30
+
31
+ // We use these to make the image and carousel height and style
32
+ $clearing-active-img-height: 85% !default;
33
+ $clearing-carousel-height: 120px !default;
34
+ $clearing-carousel-thumb-width: 120px !default;
35
+ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
36
+
37
+ @include exports("clearing") {
38
+ @if $include-html-clearing-classes {
39
+ // We decided to not create a mixin for Clearing because it relies
40
+ // on predefined classes and structure to work properly.
41
+ // The variables above should give enough control.
42
+
43
+ /* Clearing Styles */
44
+ .clearing-thumbs, #{data('clearing')} {
45
+ @include clearfix;
46
+ margin-bottom: 0;
47
+ margin-#{$default-float}: 0;
48
+ list-style: none;
49
+
50
+ li {
51
+ float: $default-float;
52
+ margin-#{$opposite-direction}: 10px;
53
+ }
54
+
55
+ &[class*="block-grid-"] li {
56
+ margin-#{$opposite-direction}: 0;
57
+ }
58
+ }
59
+
60
+ .clearing-blackout {
61
+ background: $clearing-bg;
62
+ position: fixed;
63
+ width: 100%;
64
+ height: 100%;
65
+ top: 0;
66
+ #{$default-float}: 0;
67
+ z-index: 998;
68
+
69
+ .clearing-close { display: block; }
70
+ }
71
+
72
+ .clearing-container {
73
+ position: relative;
74
+ z-index: 998;
75
+ height: 100%;
76
+ overflow: hidden;
77
+ margin: 0;
78
+ }
79
+
80
+ .clearing-touch-label {
81
+ position: absolute;
82
+ top: 50%;
83
+ left: 50%;
84
+ color: $base;
85
+ font-size: 0.6em;
86
+ }
87
+
88
+ .visible-img {
89
+ height: 95%;
90
+ position: relative;
91
+
92
+ img {
93
+ position: absolute;
94
+ #{$default-float}: 50%;
95
+ top: 50%;
96
+ @if $default-float == left {
97
+ transform: translateY(-50%) translateX(-50%);
98
+ -webkit-transform: translateY(-50%) translateX(-50%);
99
+ -ms-transform: translateY(-50%) translateX(-50%);
100
+ }
101
+ @else {
102
+ transform: translateY(-50%) translateX(50%);
103
+ -webkit-transform: translateY(-50%) translateX(50%);
104
+ -ms-transform: translateY(-50%) translateX(50%);
105
+ };
106
+ max-height: 100%;
107
+ max-width: 100%;
108
+ }
109
+ }
110
+
111
+ .clearing-caption {
112
+ color: $clearing-caption-font-color;
113
+ font-size: $clearing-caption-font-size;
114
+ line-height: 1.3;
115
+ margin-bottom: 0;
116
+ text-align: center;
117
+ bottom: 0;
118
+ background: $clearing-caption-bg;
119
+ width: 100%;
120
+ padding: $clearing-caption-padding;
121
+ position: absolute;
122
+ #{$default-float}: 0;
123
+ }
124
+
125
+ .clearing-close {
126
+ z-index: 999;
127
+ padding-#{$default-float}: 20px;
128
+ padding-top: 10px;
129
+ font-size: $clearing-close-size;
130
+ line-height: 1;
131
+ color: $clearing-close-color;
132
+ display: none;
133
+
134
+ &:hover,
135
+ &:focus { color: $iron; }
136
+ }
137
+
138
+ .clearing-assembled .clearing-container { height: 100%;
139
+ .carousel > ul { display: none; }
140
+ }
141
+
142
+ // If you want to show a lightbox, but only have a single image come through as the thumbnail
143
+ .clearing-feature li {
144
+ display: none;
145
+ &.clearing-featured-img {
146
+ display: block;
147
+ }
148
+ }
149
+
150
+ // Large screen overrides
151
+ @media #{$medium-up} {
152
+ .clearing-main-prev,
153
+ .clearing-main-next {
154
+ position: absolute;
155
+ height: 100%;
156
+ width: 40px;
157
+ top: 0;
158
+ & > span {
159
+ position: absolute;
160
+ top: 50%;
161
+ display: block;
162
+ width: 0;
163
+ height: 0;
164
+ border: solid $clearing-arrow-size;
165
+ &:hover { opacity: 0.8; }
166
+ }
167
+ }
168
+ .clearing-main-prev {
169
+ #{$default-float}: 0;
170
+ & > span {
171
+ #{$default-float}: 5px;
172
+ border-color: transparent;
173
+ border-#{$opposite-direction}-color: $clearing-arrow-color;
174
+ }
175
+ }
176
+ .clearing-main-next {
177
+ #{$opposite-direction}: 0;
178
+ & > span {
179
+ border-color: transparent;
180
+ border-#{$default-float}-color: $clearing-arrow-color;
181
+ }
182
+ }
183
+
184
+ .clearing-main-prev.disabled,
185
+ .clearing-main-next.disabled { opacity: 0.3; }
186
+
187
+ .clearing-assembled .clearing-container {
188
+
189
+ .carousel {
190
+ background: $clearing-carousel-bg;
191
+ height: $clearing-carousel-height;
192
+ margin-top: 10px;
193
+ text-align: center;
194
+
195
+ & > ul {
196
+ display: inline-block;
197
+ z-index: 999;
198
+ height: 100%;
199
+ position: relative;
200
+ float: none;
201
+
202
+ li {
203
+ display: block;
204
+ width: $clearing-carousel-thumb-width;
205
+ min-height: inherit;
206
+ float: $default-float;
207
+ overflow: hidden;
208
+ margin-#{$opposite-direction}: 0;
209
+ padding: 0;
210
+ position: relative;
211
+ cursor: $cursor-pointer-value;
212
+ opacity: 0.4;
213
+ clear: none;
214
+
215
+ &.fix-height {
216
+ img {
217
+ height: 100%;
218
+ max-width: none;
219
+ }
220
+ }
221
+
222
+ a.th {
223
+ border: none;
224
+ box-shadow: none;
225
+ display: block;
226
+ }
227
+
228
+ img {
229
+ cursor: $cursor-pointer-value !important;
230
+ width: 100% !important;
231
+ }
232
+
233
+ &.visible { opacity: 1; }
234
+ &:hover { opacity: 0.8; }
235
+ }
236
+ }
237
+ }
238
+
239
+ .visible-img {
240
+ background: $clearing-img-bg;
241
+ overflow: hidden;
242
+ height: $clearing-active-img-height;
243
+ }
244
+ }
245
+
246
+ .clearing-close {
247
+ position: absolute;
248
+ top: 10px;
249
+ #{$opposite-direction}: 20px;
250
+ padding-#{$default-float}: 0;
251
+ padding-top: 0;
252
+ }
253
+ }
254
+
255
+ }
256
+ }