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,515 @@
|
|
|
1
|
+
// Foundation by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
@import "global";
|
|
6
|
+
@import "type";
|
|
7
|
+
|
|
8
|
+
// Off Canvas Tab Bar Variables
|
|
9
|
+
$include-html-off-canvas-classes: $include-html-classes !default;
|
|
10
|
+
|
|
11
|
+
$tabbar-bg: $oil !default;
|
|
12
|
+
$tabbar-height: rem-calc(45) !default;
|
|
13
|
+
$tabbar-icon-width: $tabbar-height !default;
|
|
14
|
+
$tabbar-line-height: $tabbar-height !default;
|
|
15
|
+
$tabbar-color: $white !default;
|
|
16
|
+
$tabbar-middle-padding: 0 rem-calc(10) !default;
|
|
17
|
+
|
|
18
|
+
// Off Canvas Divider Styles
|
|
19
|
+
$tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%) !default;
|
|
20
|
+
$tabbar-right-section-border: $tabbar-left-section-border;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Off Canvas Tab Bar Headers
|
|
24
|
+
$tabbar-header-color: $white !default;
|
|
25
|
+
$tabbar-header-weight: $font-weight-bold !default;
|
|
26
|
+
$tabbar-header-line-height: $tabbar-height !default;
|
|
27
|
+
$tabbar-header-margin: 0 !default;
|
|
28
|
+
|
|
29
|
+
// Off Canvas Menu Variables
|
|
30
|
+
$off-canvas-width: rem-calc(250) !default;
|
|
31
|
+
$off-canvas-bg: $oil !default;
|
|
32
|
+
$off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%) !default;
|
|
33
|
+
|
|
34
|
+
// Off Canvas Menu List Variables
|
|
35
|
+
$off-canvas-label-padding: 0.3rem rem-calc(15) !default;
|
|
36
|
+
$off-canvas-label-color: $aluminum !default;
|
|
37
|
+
$off-canvas-label-text-transform: uppercase !default;
|
|
38
|
+
$off-canvas-label-font-size: rem-calc(12) !default;
|
|
39
|
+
$off-canvas-label-font-weight: $font-weight-bold !default;
|
|
40
|
+
$off-canvas-label-bg: $tuatara !default;
|
|
41
|
+
$off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%) !default;
|
|
42
|
+
$off-canvas-label-border-bottom: none !default;
|
|
43
|
+
$off-canvas-label-margin:0 !default;
|
|
44
|
+
$off-canvas-link-padding: rem-calc(10, 15) !default;
|
|
45
|
+
$off-canvas-link-color: rgba($white, 0.7) !default;
|
|
46
|
+
$off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%) !default;
|
|
47
|
+
$off-canvas-back-bg: #444 !default;
|
|
48
|
+
$off-canvas-back-border-top: $off-canvas-label-border-top !default;
|
|
49
|
+
$off-canvas-back-border-bottom: $off-canvas-label-border-bottom !default;
|
|
50
|
+
$off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%) !default;
|
|
51
|
+
$off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%) !default;
|
|
52
|
+
$off-canvas-back-hover-border-bottom: none !default;
|
|
53
|
+
|
|
54
|
+
// Off Canvas Menu Icon Variables
|
|
55
|
+
$tabbar-menu-icon-color: $white !default;
|
|
56
|
+
$tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%) !default;
|
|
57
|
+
|
|
58
|
+
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
|
|
59
|
+
$tabbar-menu-icon-width: $tabbar-icon-width !default;
|
|
60
|
+
$tabbar-menu-icon-height: $tabbar-height !default;
|
|
61
|
+
$tabbar-menu-icon-padding: 0 !default;
|
|
62
|
+
|
|
63
|
+
$tabbar-hamburger-icon-width: rem-calc(16) !default;
|
|
64
|
+
$tabbar-hamburger-icon-left: false !default;
|
|
65
|
+
$tabbar-hamburger-icon-top: false !default;
|
|
66
|
+
$tabbar-hamburger-icon-thickness: 1px !default;
|
|
67
|
+
$tabbar-hamburger-icon-gap: 6px !default;
|
|
68
|
+
|
|
69
|
+
// Off Canvas Back-Link Overlay
|
|
70
|
+
$off-canvas-overlay-transition: background 300ms ease !default;
|
|
71
|
+
$off-canvas-overlay-cursor: pointer !default;
|
|
72
|
+
$off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5) !default;
|
|
73
|
+
$off-canvas-overlay-background: rgba($white, 0.2) !default;
|
|
74
|
+
$off-canvas-overlay-background-hover: rgba($white, 0.05) !default;
|
|
75
|
+
|
|
76
|
+
// Transition Variables
|
|
77
|
+
$menu-slide: "transform 500ms ease" !default;
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// MIXINS
|
|
81
|
+
// Remove transition flicker on phones
|
|
82
|
+
@mixin kill-flicker {
|
|
83
|
+
// -webkit-transform: translateZ(0x);
|
|
84
|
+
-webkit-backface-visibility: hidden;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Basic properties for the content wraps
|
|
88
|
+
@mixin wrap-base {
|
|
89
|
+
position: relative;
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@mixin translate3d($tx,$ty,$tz) {
|
|
94
|
+
-ms-transform: translate($tx,$ty);
|
|
95
|
+
-webkit-transform: translate3d($tx,$ty,$tz);
|
|
96
|
+
-moz-transform: translate3d($tx,$ty,$tz);
|
|
97
|
+
-ms-transform: translate3d($tx,$ty,$tz);
|
|
98
|
+
-o-transform: translate3d($tx,$ty,$tz);
|
|
99
|
+
transform: translate3d($tx,$ty,$tz)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// basic styles for off-canvas menu container
|
|
103
|
+
@mixin off-canvas-menu($position) {
|
|
104
|
+
@include kill-flicker;
|
|
105
|
+
* { @include kill-flicker; }
|
|
106
|
+
width: $off-canvas-width;
|
|
107
|
+
top: 0;
|
|
108
|
+
bottom: 0;
|
|
109
|
+
position: absolute;
|
|
110
|
+
overflow-x: hidden;
|
|
111
|
+
overflow-y: auto;
|
|
112
|
+
background: $off-canvas-bg;
|
|
113
|
+
z-index: 1001;
|
|
114
|
+
box-sizing: content-box;
|
|
115
|
+
transition: transform 500ms ease 0s;
|
|
116
|
+
-webkit-overflow-scrolling: touch;
|
|
117
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
118
|
+
|
|
119
|
+
@if $position == left {
|
|
120
|
+
@include translate3d(-100%,0,0);
|
|
121
|
+
left: 0;
|
|
122
|
+
}
|
|
123
|
+
@if $position == right {
|
|
124
|
+
@include translate3d(100%,0,0);
|
|
125
|
+
right: 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// OFF CANVAS WRAP
|
|
130
|
+
// Wrap visible content and prevent scroll bars
|
|
131
|
+
@mixin off-canvas-wrap {
|
|
132
|
+
@include kill-flicker;
|
|
133
|
+
@include wrap-base;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
&.move-right,
|
|
136
|
+
&.move-left { min-height: 100%; -webkit-overflow-scrolling: touch; }
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// INNER WRAP
|
|
140
|
+
// Main content area that moves to reveal the off-canvas nav
|
|
141
|
+
@mixin inner-wrap {
|
|
142
|
+
// @include kill-flicker;
|
|
143
|
+
// removed for now till chrome fixes backface issue
|
|
144
|
+
@include wrap-base;
|
|
145
|
+
@include clearfix;
|
|
146
|
+
-webkit-transition: -webkit-#{$menu-slide};
|
|
147
|
+
-moz-transition: -moz-#{$menu-slide};
|
|
148
|
+
-ms-transition: -ms-#{$menu-slide};
|
|
149
|
+
-o-transition: -o-#{$menu-slide};
|
|
150
|
+
transition: #{$menu-slide};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// TAB BAR
|
|
154
|
+
// This is the tab bar base
|
|
155
|
+
@mixin tab-bar-base {
|
|
156
|
+
@include kill-flicker;
|
|
157
|
+
|
|
158
|
+
// base styles
|
|
159
|
+
background: $tabbar-bg;
|
|
160
|
+
color: $tabbar-color;
|
|
161
|
+
height: $tabbar-height;
|
|
162
|
+
line-height: $tabbar-line-height;
|
|
163
|
+
|
|
164
|
+
// make sure it's below the .exit-off-canvas link
|
|
165
|
+
position: relative;
|
|
166
|
+
// z-index: 999;
|
|
167
|
+
|
|
168
|
+
// Typography
|
|
169
|
+
h1,h2,h3,h4,h5,h6 {
|
|
170
|
+
color: $tabbar-header-color;
|
|
171
|
+
font-weight: $tabbar-header-weight;
|
|
172
|
+
line-height: $tabbar-header-line-height;
|
|
173
|
+
margin: $tabbar-header-margin;
|
|
174
|
+
}
|
|
175
|
+
h1,h2,h3,h4 { font-size: $h5-font-size; }
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// SMALL SECTIONS
|
|
179
|
+
// These are small sections on the left and right that contain the off-canvas toggle buttons;
|
|
180
|
+
@mixin tabbar-small-section($position) {
|
|
181
|
+
width: $tabbar-icon-width;
|
|
182
|
+
height: $tabbar-height;
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 0;
|
|
185
|
+
@if $position == left {
|
|
186
|
+
border-right: $tabbar-left-section-border;
|
|
187
|
+
// box-shadow: 1px 0 0 scale-color($tabbar-bg, $lightness: 13%);
|
|
188
|
+
left: 0;
|
|
189
|
+
}
|
|
190
|
+
@if $position == right {
|
|
191
|
+
border-left: $tabbar-right-section-border;
|
|
192
|
+
// box-shadow: -1px 0 0 scale-color($tabbar-bg, $lightness: -50%);
|
|
193
|
+
right:0;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@mixin tab-bar-section {
|
|
198
|
+
padding: $tabbar-middle-padding;
|
|
199
|
+
position: absolute;
|
|
200
|
+
text-align: center;
|
|
201
|
+
height: $tabbar-height;
|
|
202
|
+
top: 0;
|
|
203
|
+
@media #{$medium-up} {
|
|
204
|
+
&.left { text-align: left; }
|
|
205
|
+
&.right { text-align: right; }
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// still need to make these non-presentational
|
|
209
|
+
&.left {
|
|
210
|
+
left: 0;
|
|
211
|
+
right: $tabbar-icon-width;
|
|
212
|
+
}
|
|
213
|
+
&.right {
|
|
214
|
+
left: $tabbar-icon-width;
|
|
215
|
+
right: 0;
|
|
216
|
+
}
|
|
217
|
+
&.middle {
|
|
218
|
+
left: $tabbar-icon-width;
|
|
219
|
+
right: $tabbar-icon-width;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// OFF CANVAS LIST
|
|
224
|
+
// This is the list of links in the off-canvas menu
|
|
225
|
+
@mixin off-canvas-list {
|
|
226
|
+
list-style-type: none;
|
|
227
|
+
padding:0;
|
|
228
|
+
margin:0;
|
|
229
|
+
|
|
230
|
+
li {
|
|
231
|
+
label {
|
|
232
|
+
display: block;
|
|
233
|
+
padding: $off-canvas-label-padding;
|
|
234
|
+
color: $off-canvas-label-color;
|
|
235
|
+
text-transform: $off-canvas-label-text-transform;
|
|
236
|
+
font-size: $off-canvas-label-font-size;
|
|
237
|
+
font-weight: $off-canvas-label-font-weight;
|
|
238
|
+
background: $off-canvas-label-bg;
|
|
239
|
+
border-top: $off-canvas-label-border-top;
|
|
240
|
+
border-bottom: $off-canvas-label-border-bottom;
|
|
241
|
+
margin: $off-canvas-label-margin;
|
|
242
|
+
}
|
|
243
|
+
a {
|
|
244
|
+
display: block;
|
|
245
|
+
padding: $off-canvas-link-padding;
|
|
246
|
+
color: $off-canvas-link-color;
|
|
247
|
+
border-bottom: $off-canvas-link-border-bottom;
|
|
248
|
+
transition: background 300ms ease;
|
|
249
|
+
&:hover {
|
|
250
|
+
background: $off-canvas-bg-hover;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// BACK LINK
|
|
258
|
+
// This is an overlay that, when clicked, will toggle off the off canvas menu
|
|
259
|
+
@mixin back-link {
|
|
260
|
+
@include kill-flicker;
|
|
261
|
+
|
|
262
|
+
transition: $off-canvas-overlay-transition;
|
|
263
|
+
cursor: $off-canvas-overlay-cursor;
|
|
264
|
+
box-shadow: $off-canvas-overlay-box-shadow;
|
|
265
|
+
|
|
266
|
+
// fill the screen
|
|
267
|
+
display: block;
|
|
268
|
+
position: absolute;
|
|
269
|
+
background: $off-canvas-overlay-background;
|
|
270
|
+
top: 0;
|
|
271
|
+
bottom: 0;
|
|
272
|
+
left:0;
|
|
273
|
+
right:0;
|
|
274
|
+
z-index: 1002;
|
|
275
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
276
|
+
|
|
277
|
+
@media #{$medium-up} {
|
|
278
|
+
&:hover {
|
|
279
|
+
background: $off-canvas-overlay-background-hover;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
//
|
|
285
|
+
// DEFAULT CLASSES
|
|
286
|
+
//
|
|
287
|
+
@include exports("offcanvas") {
|
|
288
|
+
@if $include-html-off-canvas-classes {
|
|
289
|
+
|
|
290
|
+
.off-canvas-wrap { @include off-canvas-wrap; }
|
|
291
|
+
.inner-wrap { @include inner-wrap; }
|
|
292
|
+
|
|
293
|
+
.tab-bar { @include tab-bar-base; }
|
|
294
|
+
|
|
295
|
+
.left-small { @include tabbar-small-section($position: left); }
|
|
296
|
+
.right-small { @include tabbar-small-section($position: right); }
|
|
297
|
+
|
|
298
|
+
.tab-bar-section { @include tab-bar-section; }
|
|
299
|
+
|
|
300
|
+
// MENU BUTTON
|
|
301
|
+
// This is a little bonus. You don't need it for off canvas to work. Mixins to be written in the future.
|
|
302
|
+
.tab-bar .menu-icon {
|
|
303
|
+
text-indent: $tabbar-menu-icon-text-indent;
|
|
304
|
+
width: $tabbar-menu-icon-width;
|
|
305
|
+
height: $tabbar-menu-icon-height;
|
|
306
|
+
display: block;
|
|
307
|
+
padding: $tabbar-menu-icon-padding;
|
|
308
|
+
color: $tabbar-menu-icon-color;
|
|
309
|
+
position: relative;
|
|
310
|
+
transform: translate3d(0,0,0);
|
|
311
|
+
|
|
312
|
+
// @include for the hamburger menu-icon
|
|
313
|
+
//
|
|
314
|
+
// Arguments as follows: ($width, $left, $top, $thickness, $gap, $color, $hover-color)
|
|
315
|
+
// $width - Width of hamburger icon in rem Default: $tabbar-hamburger-icon-width.
|
|
316
|
+
// $left - If false, icon will be centered horizontally || explicitly set value in rem Default: $tabbar-hamburger-icon-left= False
|
|
317
|
+
// $top - If false, icon will be centered vertically || explicitly set value in rem Default: = False
|
|
318
|
+
// $thickness - thickness of lines in hamburger icon, set value in px Default: $tabbar-hamburger-icon-thickness = 1px
|
|
319
|
+
// $gap - spacing between the lines in hamburger icon, set value in px Default: $tabbar-hamburger-icon-gap = 6px
|
|
320
|
+
// $color - icon color Default: $tabbar-menu-icon-color
|
|
321
|
+
// $hover-color - icon color when hovered Default: $tabbar-menu-icon-hover
|
|
322
|
+
// $offcanvas - Set to true
|
|
323
|
+
@include hamburger($tabbar-hamburger-icon-width, $tabbar-hamburger-icon-left, $tabbar-hamburger-icon-top, $tabbar-hamburger-icon-thickness, $tabbar-hamburger-icon-gap, $tabbar-menu-icon-color, $tabbar-menu-icon-hover, true)
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.left-off-canvas-menu { @include off-canvas-menu($position: left); }
|
|
327
|
+
.right-off-canvas-menu { @include off-canvas-menu($position: right); }
|
|
328
|
+
|
|
329
|
+
ul.off-canvas-list { @include off-canvas-list; }
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
// ANIMATION CLASSES
|
|
333
|
+
// These classes are added with JS and trigger the actual animation.
|
|
334
|
+
.move-right {
|
|
335
|
+
> .inner-wrap {
|
|
336
|
+
@include translate3d($off-canvas-width,0,0);
|
|
337
|
+
}
|
|
338
|
+
.exit-off-canvas { @include back-link;}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.move-left {
|
|
342
|
+
> .inner-wrap {
|
|
343
|
+
@include translate3d(-($off-canvas-width),0,0);
|
|
344
|
+
|
|
345
|
+
}
|
|
346
|
+
.exit-off-canvas { @include back-link; }
|
|
347
|
+
}
|
|
348
|
+
.offcanvas-overlap {
|
|
349
|
+
.left-off-canvas-menu, .right-off-canvas-menu {
|
|
350
|
+
-ms-transform: none;
|
|
351
|
+
-webkit-transform: none;
|
|
352
|
+
-moz-transform: none;
|
|
353
|
+
-o-transform: none;
|
|
354
|
+
transform: none;
|
|
355
|
+
z-index: 1003;
|
|
356
|
+
}
|
|
357
|
+
.exit-off-canvas { @include back-link; }
|
|
358
|
+
}
|
|
359
|
+
.offcanvas-overlap-left {
|
|
360
|
+
.right-off-canvas-menu {
|
|
361
|
+
-ms-transform: none;
|
|
362
|
+
-webkit-transform: none;
|
|
363
|
+
-moz-transform: none;
|
|
364
|
+
-o-transform: none;
|
|
365
|
+
transform: none;
|
|
366
|
+
z-index: 1003;
|
|
367
|
+
}
|
|
368
|
+
.exit-off-canvas { @include back-link; }
|
|
369
|
+
}
|
|
370
|
+
.offcanvas-overlap-right {
|
|
371
|
+
.left-off-canvas-menu {
|
|
372
|
+
-ms-transform: none;
|
|
373
|
+
-webkit-transform: none;
|
|
374
|
+
-moz-transform: none;
|
|
375
|
+
-o-transform: none;
|
|
376
|
+
transform: none;
|
|
377
|
+
z-index: 1003;
|
|
378
|
+
}
|
|
379
|
+
.exit-off-canvas { @include back-link; }
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
// Older browsers
|
|
383
|
+
.no-csstransforms {
|
|
384
|
+
.left-off-canvas-menu { left: -($off-canvas-width); }
|
|
385
|
+
.right-off-canvas-menu { right: -($off-canvas-width); }
|
|
386
|
+
|
|
387
|
+
.move-left > .inner-wrap { right: $off-canvas-width; }
|
|
388
|
+
.move-right > .inner-wrap { left: $off-canvas-width; }
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
//
|
|
395
|
+
// Off-Canvas Submenu Classes
|
|
396
|
+
//
|
|
397
|
+
@mixin off-canvas-submenu($position) {
|
|
398
|
+
@include kill-flicker;
|
|
399
|
+
* { @include kill-flicker; }
|
|
400
|
+
width: $off-canvas-width;
|
|
401
|
+
top: 0;
|
|
402
|
+
bottom: 0;
|
|
403
|
+
position: absolute;
|
|
404
|
+
margin: 0;
|
|
405
|
+
overflow-x: hidden;
|
|
406
|
+
overflow-y: auto;
|
|
407
|
+
background: $off-canvas-bg;
|
|
408
|
+
z-index: 1002;
|
|
409
|
+
box-sizing: content-box;
|
|
410
|
+
-webkit-overflow-scrolling: touch;
|
|
411
|
+
@if $position == left {
|
|
412
|
+
@include translate3d(-100%,0,0);
|
|
413
|
+
left: 0;
|
|
414
|
+
}
|
|
415
|
+
@if $position == right {
|
|
416
|
+
@include translate3d(100%,0,0);
|
|
417
|
+
right: 0;
|
|
418
|
+
}
|
|
419
|
+
-webkit-transition: -webkit-#{$menu-slide};
|
|
420
|
+
-moz-transition: -moz-#{$menu-slide};
|
|
421
|
+
-ms-transition: -ms-#{$menu-slide};
|
|
422
|
+
-o-transition: -o-#{$menu-slide};
|
|
423
|
+
transition: #{$menu-slide};
|
|
424
|
+
|
|
425
|
+
//back button style like label
|
|
426
|
+
.back > a {
|
|
427
|
+
padding: $off-canvas-label-padding;
|
|
428
|
+
color: $off-canvas-label-color;
|
|
429
|
+
text-transform: $off-canvas-label-text-transform;
|
|
430
|
+
font-weight: $off-canvas-label-font-weight;
|
|
431
|
+
background: $off-canvas-back-bg;
|
|
432
|
+
border-top: $off-canvas-back-border-top;
|
|
433
|
+
border-bottom: $off-canvas-back-border-bottom;
|
|
434
|
+
&:hover {
|
|
435
|
+
background: $off-canvas-back-hover-bg;
|
|
436
|
+
border-top: $off-canvas-back-hover-border-top;
|
|
437
|
+
border-bottom: $off-canvas-back-hover-border-bottom;
|
|
438
|
+
}
|
|
439
|
+
margin: $off-canvas-label-margin;
|
|
440
|
+
@if $position == right {
|
|
441
|
+
@if $text-direction == rtl {
|
|
442
|
+
&:before {
|
|
443
|
+
@include icon-double-arrows($position: left);
|
|
444
|
+
}
|
|
445
|
+
} @else {
|
|
446
|
+
&:after {
|
|
447
|
+
@include icon-double-arrows($position: right);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
@if $position == left {
|
|
452
|
+
@if $text-direction == rtl {
|
|
453
|
+
&:after {
|
|
454
|
+
@include icon-double-arrows($position: right);
|
|
455
|
+
}
|
|
456
|
+
} @else {
|
|
457
|
+
&:before {
|
|
458
|
+
@include icon-double-arrows($position: left);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
//Left double angle quote or Right double angle quote chars
|
|
465
|
+
@mixin icon-double-arrows ($position){
|
|
466
|
+
@if $position == left {
|
|
467
|
+
content: "\AB";
|
|
468
|
+
@if $text-direction == rtl {
|
|
469
|
+
margin-left: 0.5rem;
|
|
470
|
+
} @else {
|
|
471
|
+
margin-right: 0.5rem;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
@if $position == right {
|
|
475
|
+
content: "\BB";
|
|
476
|
+
@if $text-direction == rtl {
|
|
477
|
+
margin-right: 0.5rem;
|
|
478
|
+
} @else {
|
|
479
|
+
margin-left: 0.5rem;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
display: inline;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
@if $include-html-off-canvas-classes {
|
|
486
|
+
.left-submenu {
|
|
487
|
+
@include off-canvas-submenu($position: left);
|
|
488
|
+
&.move-right, &.offcanvas-overlap-right, &.offcanvas-overlap {
|
|
489
|
+
@include translate3d(0%,0,0);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.right-submenu {
|
|
494
|
+
@include off-canvas-submenu($position: right);
|
|
495
|
+
&.move-left, &.offcanvas-overlap-left, &.offcanvas-overlap {
|
|
496
|
+
@include translate3d(0%,0,0);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
@if $text-direction == rtl {
|
|
501
|
+
.left-off-canvas-menu ul.off-canvas-list li.has-submenu > a:before {
|
|
502
|
+
@include icon-double-arrows($position: left);
|
|
503
|
+
}
|
|
504
|
+
.right-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after {
|
|
505
|
+
@include icon-double-arrows($position: right);
|
|
506
|
+
}
|
|
507
|
+
} @else {
|
|
508
|
+
.left-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after {
|
|
509
|
+
@include icon-double-arrows($position: right);
|
|
510
|
+
}
|
|
511
|
+
.right-off-canvas-menu ul.off-canvas-list li.has-submenu > a:before {
|
|
512
|
+
@include icon-double-arrows($position: left);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|