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