jekyll-theme-marketing 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/{LICENSE.txt → LICENSE} +1 -1
- data/README.md +6 -1
- data/_includes/components/analytics/google.js +13 -0
- data/_includes/components/assets/file-downloads.html +15 -0
- data/_includes/components/breadcrumbs/bootstrap.html +35 -0
- data/_includes/components/breadcrumbs/bootstrap.js +11 -0
- data/_includes/components/bullets/fontawesome.html +4 -0
- data/_includes/components/cards/bootstrap-h.html +20 -0
- data/_includes/components/cards/bootstrap-v.html +16 -0
- data/_includes/components/contact-cards/phone-card.html +6 -0
- data/_includes/components/contact-cards/phone-directory.html +22 -0
- data/_includes/components/copyrights/progressive.html +19 -0
- data/_includes/components/exchange-rates/progressive.html +6 -0
- data/_includes/{body/header/exchange-rates/usd.html → components/exchange-rates/progressive.js} +1 -6
- data/_includes/components/filters/isotope.html +32 -0
- data/_includes/components/filters/isotope.js +47 -0
- data/_includes/components/firebase/sdk.html +17 -0
- data/_includes/components/firebase/special-offers.html +28 -0
- data/_includes/components/firebase/ui.html +15 -0
- data/_includes/components/firebase/ui.js +33 -0
- data/_includes/{head/fonts.html → components/fonts/google.html} +0 -0
- data/_includes/components/footers/progressive/custom-item.liquid +1 -0
- data/_includes/components/footers/progressive/custom-title.liquid +1 -0
- data/_includes/components/footers/progressive/footer.html +43 -0
- data/_includes/components/footers/progressive/top.html +27 -0
- data/_includes/components/forms/formspree.html +59 -0
- data/_includes/components/forms/formspree.js +35 -0
- data/_includes/components/forms/google-forms.css +5 -0
- data/_includes/components/forms/google-forms.html +76 -0
- data/_includes/components/forms/google-forms.js +31 -0
- data/_includes/components/generators/pdf/special-offers.html +51 -0
- data/_includes/components/icons/bootstrap.html +14 -0
- data/_includes/components/icons/progressive.html +29 -0
- data/_includes/components/icons/progressive.js +5 -0
- data/_includes/components/info-cards/card-deck.html +16 -0
- data/_includes/components/info-cards/progressive.html +20 -0
- data/_includes/components/info-cards/search-results.html +38 -0
- data/_includes/components/jumbotron/bootstrap.html +5 -0
- data/_includes/components/lang-switchers/two-langs.html +27 -0
- data/_includes/components/login/progressive.html +89 -0
- data/_includes/components/logos/motorola.html +3 -0
- data/_includes/components/logos/progressive.html +3 -0
- data/_includes/components/maps/google-maps.html +2 -0
- data/_includes/components/maps/google-maps.js +96 -0
- data/_includes/components/maps/image-map.html +21 -0
- data/_includes/components/megamenu/progressive.html +35 -0
- data/_includes/{head/meta.html → components/meta/progressive.html} +5 -1
- data/_includes/components/modals/bootstrap.html +124 -0
- data/_includes/components/modals/bootstrap.js +26 -0
- data/_includes/components/nav-items/bootstrap.html +23 -0
- data/_includes/components/nav-tabs/product-nav-tab.html +48 -0
- data/_includes/components/nav-tabs/product-nav-tab.js +38 -0
- data/_includes/components/navbars/bootstrap.html +16 -0
- data/_includes/components/navbars/common.liquid +14 -0
- data/_includes/components/navbars/progressive.html +33 -0
- data/_includes/components/navbars/progressive.js +18 -0
- data/_includes/components/panels/brands.html +12 -0
- data/_includes/{body → components}/product-cards/3d-space.html +5 -5
- data/_includes/components/product-cards/featured-product.html +15 -0
- data/_includes/components/product-cards/product-details.html +48 -0
- data/_includes/components/product-cards/product-generals.html +54 -0
- data/_includes/components/product-cards/progressive.html +57 -0
- data/_includes/components/scripts/body.js +41 -0
- data/_includes/components/scripts/head.js +14 -0
- data/_includes/components/scroll-to-tops/progressive.html +3 -0
- data/_includes/components/search-engines/lunr.html +19 -0
- data/_includes/components/search-engines/lunr.js +119 -0
- data/_includes/components/searchbars/progressive.html +14 -0
- data/_includes/components/sidenavs/material/dependencies.html +2 -2
- data/_includes/components/sliders/bootstrap.html +37 -0
- data/_includes/components/sliders/lightslider.html +35 -0
- data/_includes/components/sliders/lightslider.js +12 -0
- data/_includes/components/sliders/revolution-slider.html +67 -0
- data/_includes/components/social-media/facebook.html +18 -0
- data/_includes/components/social-media/progressive.html +9 -0
- data/_includes/components/spinners/bootstrap.html +5 -0
- data/_includes/components/stylesheets/progressive.html +47 -0
- data/_includes/components/timelines/9.html +27 -0
- data/_includes/components/topbars/progressive.html +36 -0
- data/_includes/components/topbars/progressive.js +5 -0
- data/_includes/components/videos/background.html +22 -0
- data/_includes/components/videos/youtube.html +23 -0
- data/_includes/components/zendesk/script.js +9 -0
- data/_includes/pages/footer/grupopv/our-offices.js +22 -0
- data/_layouts/default.html +30 -12
- data/_layouts/grid.html +34 -28
- data/_layouts/page.html +4 -48
- data/_layouts/product.html +29 -174
- data/_sass/common/_common.scss +32 -0
- data/_sass/components/breadcrumbs/_bootstrap.scss +2 -3
- data/_sass/components/contact-cards/_location.scss +14 -0
- data/_sass/components/contact-cards/_phone-card.scss +17 -0
- data/_sass/components/footers/_vg_progressive.scss +72 -0
- data/_sass/components/forms/_formspree.scss +5 -0
- data/_sass/components/forms/_google-forms.scss +29 -0
- data/_sass/components/icons/bootstrap.scss +21 -0
- data/_sass/components/info-cards/_card-deck.scss +12 -0
- data/_sass/components/info-cards/search-results.scss +9 -0
- data/_sass/components/jumbotron/bootstrap.scss +5 -0
- data/_sass/components/lang-switchers/_toogle-lang.scss +0 -1
- data/_sass/components/login/progressive.scss +13 -0
- data/_sass/components/logos/progressive.scss +12 -0
- data/_sass/components/maps/google-maps.scss +13 -0
- data/_sass/components/megamenu/progressive.scss +9 -0
- data/_sass/components/nav-items/bootstrap.scss +26 -0
- data/_sass/components/navbars/bootstrap.scss +8 -0
- data/_sass/components/navbars/progressive.scss +94 -0
- data/_sass/components/product-cards/_3d-space.scss +12 -12
- data/_sass/components/product-cards/_product-details.scss +6 -0
- data/_sass/components/product-cards/_product-generals.scss +13 -0
- data/_sass/components/product-cards/_progressive.scss +30 -0
- data/_sass/components/product-cards/featured-product.scss +12 -0
- data/_sass/components/searchbars/progressive.scss +8 -0
- data/_sass/components/sidenavs/_material.scss +160 -0
- data/_sass/components/sliders/_lightslider.scss +33 -0
- data/_sass/components/social-media/_progressive.scss +25 -0
- data/_sass/components/timelines/9.scss +152 -0
- data/_sass/components/videos/background.scss +22 -0
- data/_sass/grupopv/_navbar.scss +22 -0
- data/_sass/layouts/_404.scss +39 -0
- data/_sass/layouts/_default.scss +3 -0
- data/_sass/layouts/_page.scss +70 -0
- data/_sass/layouts/_product.scss +56 -0
- data/assets/css/main.min.scss +88 -0
- data/assets/img/common/favicon.png +0 -0
- data/assets/js/firebase/firebase-account-controller.js +42 -0
- data/assets/js/firebase/firebase-login.js +4 -4
- data/assets/js/firebase/firebase-sdk.js +19 -0
- data/assets/js/firebase/firebase-special-offers.js +41 -0
- data/assets/node_modules/@fortawesome/fontawesome-free-brands/index.js +1221 -0
- data/assets/node_modules/@fortawesome/fontawesome-free-regular/index.js +489 -0
- data/assets/node_modules/@fortawesome/fontawesome-free-solid/index.js +2013 -0
- data/assets/node_modules/@fortawesome/fontawesome/index.js +1823 -0
- data/assets/node_modules/@fortawesome/fontawesome/styles.css +345 -0
- data/assets/node_modules/bootstrap/dist/css/bootstrap.min.css +5 -3
- data/assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
- data/assets/node_modules/bootstrap/dist/js/bootstrap.min.js +6 -5
- data/assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
- data/assets/node_modules/bootstrap/scss/_badge.scss +54 -0
- data/assets/node_modules/bootstrap/scss/_buttons.scss +139 -0
- data/assets/node_modules/bootstrap/scss/_functions.scss +134 -0
- data/assets/node_modules/bootstrap/scss/_nav.scss +120 -0
- data/assets/node_modules/bootstrap/scss/_reboot.scss +482 -0
- data/assets/node_modules/bootstrap/scss/_variables.scss +1143 -0
- data/assets/node_modules/bootstrap/scss/mixins/_background-variant.scss +22 -0
- data/assets/node_modules/bootstrap/scss/mixins/_badge.scss +17 -0
- data/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss +63 -0
- data/assets/node_modules/bootstrap/scss/mixins/_box-shadow.scss +20 -0
- data/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
- data/assets/node_modules/bootstrap/scss/mixins/_buttons.scss +110 -0
- data/assets/node_modules/bootstrap/scss/mixins/_deprecate.scss +10 -0
- data/assets/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
- data/assets/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
- data/assets/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +17 -0
- data/assets/node_modules/bootstrap/scss/mixins/_text-hide.scss +11 -0
- data/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/assets/node_modules/bootstrap/scss/mixins/_transition.scss +16 -0
- data/assets/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
- data/assets/node_modules/bootstrap/scss/utilities/_text.scss +72 -0
- data/assets/node_modules/bootstrap/scss/vendor/_rfs.scss +204 -0
- data/assets/node_modules/firebase/firebase-app.js +2 -0
- data/assets/node_modules/firebase/firebase-app.js.map +1 -0
- data/assets/node_modules/firebase/firebase-auth.js +2 -0
- data/assets/node_modules/firebase/firebase-auth.js.map +1 -0
- data/assets/node_modules/firebase/firebase-firestore.js +2 -0
- data/assets/node_modules/firebase/firebase-firestore.js.map +1 -0
- data/assets/node_modules/flag-icon-css/flags/1x1/br.svg +41 -41
- data/assets/node_modules/flag-icon-css/flags/1x1/mx.svg +371 -378
- data/assets/node_modules/flag-icon-css/flags/1x1/us.svg +2 -2
- data/assets/node_modules/flag-icon-css/sass/_flag-icon-list.scss +265 -249
- data/assets/node_modules/flag-icon-css/sass/_variables.scss +1 -1
- data/assets/node_modules/flag-icon-css/sass/flag-icon.scss +3 -4
- data/assets/node_modules/isotope-layout/dist/isotope.pkgd.min.js +12 -0
- data/assets/node_modules/jquery.stellar/jquery.stellar.min.js +9 -0
- data/assets/node_modules/jquery/dist/jquery.min.js +2 -0
- data/assets/node_modules/jquery/dist/jquery.min.map +1 -0
- data/assets/node_modules/jspdf/dist/jspdf.min.js +149 -88
- data/assets/node_modules/lightslider/dist/css/lightslider.min.css +3 -0
- data/assets/node_modules/lightslider/dist/img/controls.png +0 -0
- data/assets/node_modules/lightslider/dist/js/lightslider.min.js +4 -0
- data/assets/node_modules/lunr/lunr.min.js +6 -0
- data/assets/node_modules/vue/dist/vue.min.js +3 -3
- data/assets/vendors/revolution-slider/assets/coloredbg.png +0 -0
- data/assets/vendors/revolution-slider/assets/shadow3.png +0 -0
- data/assets/vendors/revolution-slider/css/settings.css +1480 -0
- data/assets/vendors/revolution-slider/font/revicons.svg +54 -0
- data/assets/vendors/revolution-slider/font/revicons.woff +0 -0
- data/assets/vendors/revolution-slider/js/jquery.themepunch.revolution.min.js +11 -0
- data/assets/vendors/revolution-slider/js/jquery.themepunch.tools.min.js +138 -0
- data/assets/vendors/revolution-slider/js/settings.js +110 -0
- data/assets/vendors/themeforest/fonts/social-icons.eot +0 -0
- data/assets/vendors/themeforest/fonts/social-icons.svg +403 -0
- data/assets/vendors/themeforest/fonts/social-icons.ttf +0 -0
- data/assets/vendors/themeforest/fonts/social-icons.woff +0 -0
- data/assets/vendors/themeforest/progressive/css/animate.css +1582 -0
- data/assets/vendors/themeforest/progressive/css/base.css +278 -0
- data/assets/vendors/themeforest/progressive/css/buttons.css +272 -0
- data/assets/vendors/themeforest/progressive/css/cms.css +289 -0
- data/assets/vendors/themeforest/progressive/css/responsive.css +2111 -0
- data/assets/vendors/themeforest/progressive/css/social-icons.css +130 -0
- data/assets/vendors/themeforest/progressive/css/style.css +9521 -0
- data/assets/vendors/themeforest/progressive/images/svg/loader.svg +34 -0
- data/assets/vendors/themeforest/progressive/js/jquery.appear.js +150 -0
- data/assets/vendors/themeforest/progressive/js/main.js +2176 -0
- metadata +189 -40
- data/_includes/body/footer.html +0 -0
- data/_includes/body/footer/buttons.html +0 -40
- data/_includes/body/header.html +0 -0
- data/_includes/body/header/logo.html +0 -5
- data/_includes/body/header/search-contact-phone-buttons.html +0 -29
- data/_includes/body/header/top-bar.html +0 -20
- data/_includes/body/scripts.html +0 -41
- data/_includes/head/firebase/sdk.html +0 -4
- data/_includes/head/google-analytics.html +0 -0
- data/_includes/head/scripts.html +0 -9
- data/_includes/head/style.html +0 -50
- data/_sass/components/navbars/_vg_progressive.scss +0 -44
- data/_sass/layouts/_grid.scss +0 -13
- data/assets/css/main.scss +0 -23
- data/assets/js/bootstrap/nav-tabs.js +0 -36
- data/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -229
- data/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/node_modules/flag-icon-css/sass/_flag-icon-more.scss +0 -7
- data/assets/node_modules/font-awesome/css/font-awesome.min.css +0 -4
- data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.svg +0 -2671
- data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/node_modules/jquery/dist/cdn/jquery.min.js +0 -4
@@ -0,0 +1,134 @@
|
|
1
|
+
// Bootstrap functions
|
2
|
+
//
|
3
|
+
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
|
4
|
+
|
5
|
+
// Ascending
|
6
|
+
// Used to evaluate Sass maps like our grid breakpoints.
|
7
|
+
@mixin _assert-ascending($map, $map-name) {
|
8
|
+
$prev-key: null;
|
9
|
+
$prev-num: null;
|
10
|
+
@each $key, $num in $map {
|
11
|
+
@if $prev-num == null or unit($num) == "%" or unit($prev-num) == "%" {
|
12
|
+
// Do nothing
|
13
|
+
} @else if not comparable($prev-num, $num) {
|
14
|
+
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
15
|
+
} @else if $prev-num >= $num {
|
16
|
+
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
17
|
+
}
|
18
|
+
$prev-key: $key;
|
19
|
+
$prev-num: $num;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Starts at zero
|
24
|
+
// Used to ensure the min-width of the lowest breakpoint starts at 0.
|
25
|
+
@mixin _assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
|
26
|
+
$values: map-values($map);
|
27
|
+
$first-value: nth($values, 1);
|
28
|
+
@if $first-value != 0 {
|
29
|
+
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Replace `$search` with `$replace` in `$string`
|
34
|
+
// Used on our SVG icon backgrounds for custom forms.
|
35
|
+
//
|
36
|
+
// @author Hugo Giraudel
|
37
|
+
// @param {String} $string - Initial string
|
38
|
+
// @param {String} $search - Substring to replace
|
39
|
+
// @param {String} $replace ('') - New value
|
40
|
+
// @return {String} - Updated string
|
41
|
+
@function str-replace($string, $search, $replace: "") {
|
42
|
+
$index: str-index($string, $search);
|
43
|
+
|
44
|
+
@if $index {
|
45
|
+
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
46
|
+
}
|
47
|
+
|
48
|
+
@return $string;
|
49
|
+
}
|
50
|
+
|
51
|
+
// See https://codepen.io/kevinweber/pen/dXWoRw
|
52
|
+
@function escape-svg($string) {
|
53
|
+
@if str-index($string, "data:image/svg+xml") {
|
54
|
+
@each $char, $encoded in $escaped-characters {
|
55
|
+
$string: str-replace($string, $char, $encoded);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
@return $string;
|
60
|
+
}
|
61
|
+
|
62
|
+
// Color contrast
|
63
|
+
@function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
|
64
|
+
$r: red($color);
|
65
|
+
$g: green($color);
|
66
|
+
$b: blue($color);
|
67
|
+
|
68
|
+
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
|
69
|
+
|
70
|
+
@if ($yiq >= $yiq-contrasted-threshold) {
|
71
|
+
@return $dark;
|
72
|
+
} @else {
|
73
|
+
@return $light;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
// Retrieve color Sass maps
|
78
|
+
@function color($key: "blue") {
|
79
|
+
@return map-get($colors, $key);
|
80
|
+
}
|
81
|
+
|
82
|
+
@function theme-color($key: "primary") {
|
83
|
+
@return map-get($theme-colors, $key);
|
84
|
+
}
|
85
|
+
|
86
|
+
@function gray($key: "100") {
|
87
|
+
@return map-get($grays, $key);
|
88
|
+
}
|
89
|
+
|
90
|
+
// Request a theme color level
|
91
|
+
@function theme-color-level($color-name: "primary", $level: 0) {
|
92
|
+
$color: theme-color($color-name);
|
93
|
+
$color-base: if($level > 0, $black, $white);
|
94
|
+
$level: abs($level);
|
95
|
+
|
96
|
+
@return mix($color-base, $color, $level * $theme-color-interval);
|
97
|
+
}
|
98
|
+
|
99
|
+
// Return valid calc
|
100
|
+
@function add($value1, $value2, $return-calc: true) {
|
101
|
+
@if $value1 == null {
|
102
|
+
@return $value2;
|
103
|
+
}
|
104
|
+
|
105
|
+
@if $value2 == null {
|
106
|
+
@return $value1;
|
107
|
+
}
|
108
|
+
|
109
|
+
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
|
110
|
+
@return $value1 + $value2;
|
111
|
+
}
|
112
|
+
|
113
|
+
@return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(" + ") + $value2);
|
114
|
+
}
|
115
|
+
|
116
|
+
@function subtract($value1, $value2, $return-calc: true) {
|
117
|
+
@if $value1 == null and $value2 == null {
|
118
|
+
@return null;
|
119
|
+
}
|
120
|
+
|
121
|
+
@if $value1 == null {
|
122
|
+
@return -$value2;
|
123
|
+
}
|
124
|
+
|
125
|
+
@if $value2 == null {
|
126
|
+
@return $value1;
|
127
|
+
}
|
128
|
+
|
129
|
+
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
|
130
|
+
@return $value1 - $value2;
|
131
|
+
}
|
132
|
+
|
133
|
+
@return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2);
|
134
|
+
}
|
@@ -0,0 +1,120 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Kickstart any navigation component with a set of style resets. Works with
|
4
|
+
// `<nav>`s, `<ul>`s or `<ol>`s.
|
5
|
+
|
6
|
+
.nav {
|
7
|
+
display: flex;
|
8
|
+
flex-wrap: wrap;
|
9
|
+
padding-left: 0;
|
10
|
+
margin-bottom: 0;
|
11
|
+
list-style: none;
|
12
|
+
}
|
13
|
+
|
14
|
+
.nav-link {
|
15
|
+
display: block;
|
16
|
+
padding: $nav-link-padding-y $nav-link-padding-x;
|
17
|
+
|
18
|
+
@include hover-focus() {
|
19
|
+
text-decoration: none;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Disabled state lightens text
|
23
|
+
&.disabled {
|
24
|
+
color: $nav-link-disabled-color;
|
25
|
+
pointer-events: none;
|
26
|
+
cursor: default;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
//
|
31
|
+
// Tabs
|
32
|
+
//
|
33
|
+
|
34
|
+
.nav-tabs {
|
35
|
+
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
|
36
|
+
|
37
|
+
.nav-item {
|
38
|
+
margin-bottom: -$nav-tabs-border-width;
|
39
|
+
}
|
40
|
+
|
41
|
+
.nav-link {
|
42
|
+
border: $nav-tabs-border-width solid transparent;
|
43
|
+
@include border-top-radius($nav-tabs-border-radius);
|
44
|
+
|
45
|
+
@include hover-focus() {
|
46
|
+
border-color: $nav-tabs-link-hover-border-color;
|
47
|
+
}
|
48
|
+
|
49
|
+
&.disabled {
|
50
|
+
color: $nav-link-disabled-color;
|
51
|
+
background-color: transparent;
|
52
|
+
border-color: transparent;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.nav-link.active,
|
57
|
+
.nav-item.show .nav-link {
|
58
|
+
color: $nav-tabs-link-active-color;
|
59
|
+
background-color: $nav-tabs-link-active-bg;
|
60
|
+
border-color: $nav-tabs-link-active-border-color;
|
61
|
+
}
|
62
|
+
|
63
|
+
.dropdown-menu {
|
64
|
+
// Make dropdown border overlap tab border
|
65
|
+
margin-top: -$nav-tabs-border-width;
|
66
|
+
// Remove the top rounded corners here since there is a hard edge above the menu
|
67
|
+
@include border-top-radius(0);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
//
|
73
|
+
// Pills
|
74
|
+
//
|
75
|
+
|
76
|
+
.nav-pills {
|
77
|
+
.nav-link {
|
78
|
+
@include border-radius($nav-pills-border-radius);
|
79
|
+
}
|
80
|
+
|
81
|
+
.nav-link.active,
|
82
|
+
.show > .nav-link {
|
83
|
+
color: $nav-pills-link-active-color;
|
84
|
+
background-color: $nav-pills-link-active-bg;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
//
|
90
|
+
// Justified variants
|
91
|
+
//
|
92
|
+
|
93
|
+
.nav-fill {
|
94
|
+
.nav-item {
|
95
|
+
flex: 1 1 auto;
|
96
|
+
text-align: center;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.nav-justified {
|
101
|
+
.nav-item {
|
102
|
+
flex-basis: 0;
|
103
|
+
flex-grow: 1;
|
104
|
+
text-align: center;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
|
109
|
+
// Tabbable tabs
|
110
|
+
//
|
111
|
+
// Hide tabbable panes to start, show them when `.active`
|
112
|
+
|
113
|
+
.tab-content {
|
114
|
+
> .tab-pane {
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
> .active {
|
118
|
+
display: block;
|
119
|
+
}
|
120
|
+
}
|
@@ -0,0 +1,482 @@
|
|
1
|
+
// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
|
2
|
+
|
3
|
+
// Reboot
|
4
|
+
//
|
5
|
+
// Normalization of HTML elements, manually forked from Normalize.css to remove
|
6
|
+
// styles targeting irrelevant browsers while applying new styles.
|
7
|
+
//
|
8
|
+
// Normalize is licensed MIT. https://github.com/necolas/normalize.css
|
9
|
+
|
10
|
+
|
11
|
+
// Document
|
12
|
+
//
|
13
|
+
// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
|
14
|
+
// 2. Change the default font family in all browsers.
|
15
|
+
// 3. Correct the line height in all browsers.
|
16
|
+
// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
|
17
|
+
// 5. Change the default tap highlight to be completely transparent in iOS.
|
18
|
+
|
19
|
+
*,
|
20
|
+
*::before,
|
21
|
+
*::after {
|
22
|
+
box-sizing: border-box; // 1
|
23
|
+
}
|
24
|
+
|
25
|
+
html {
|
26
|
+
font-family: sans-serif; // 2
|
27
|
+
line-height: 1.15; // 3
|
28
|
+
-webkit-text-size-adjust: 100%; // 4
|
29
|
+
-webkit-tap-highlight-color: rgba($black, 0); // 5
|
30
|
+
}
|
31
|
+
|
32
|
+
// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
|
33
|
+
// TODO: remove in v5
|
34
|
+
// stylelint-disable-next-line selector-list-comma-newline-after
|
35
|
+
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
36
|
+
display: block;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Body
|
40
|
+
//
|
41
|
+
// 1. Remove the margin in all browsers.
|
42
|
+
// 2. As a best practice, apply a default `background-color`.
|
43
|
+
// 3. Set an explicit initial text-align value so that we can later use
|
44
|
+
// the `inherit` value on things like `<th>` elements.
|
45
|
+
|
46
|
+
body {
|
47
|
+
margin: 0; // 1
|
48
|
+
font-family: $font-family-base;
|
49
|
+
@include font-size($font-size-base);
|
50
|
+
font-weight: $font-weight-base;
|
51
|
+
line-height: $line-height-base;
|
52
|
+
color: $body-color;
|
53
|
+
text-align: left; // 3
|
54
|
+
background-color: $body-bg; // 2
|
55
|
+
}
|
56
|
+
|
57
|
+
// Future-proof rule: in browsers that support :focus-visible, suppress the focus outline
|
58
|
+
// on elements that programmatically receive focus but wouldn't normally show a visible
|
59
|
+
// focus outline. In general, this would mean that the outline is only applied if the
|
60
|
+
// interaction that led to the element receiving programmatic focus was a keyboard interaction,
|
61
|
+
// or the browser has somehow determined that the user is primarily a keyboard user and/or
|
62
|
+
// wants focus outlines to always be presented.
|
63
|
+
//
|
64
|
+
// See https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
|
65
|
+
// and https://developer.paciellogroup.com/blog/2018/03/focus-visible-and-backwards-compatibility/
|
66
|
+
[tabindex="-1"]:focus:not(:focus-visible) {
|
67
|
+
outline: 0 !important;
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
// Content grouping
|
72
|
+
//
|
73
|
+
// 1. Add the correct box sizing in Firefox.
|
74
|
+
// 2. Show the overflow in Edge and IE.
|
75
|
+
|
76
|
+
hr {
|
77
|
+
box-sizing: content-box; // 1
|
78
|
+
height: 0; // 1
|
79
|
+
overflow: visible; // 2
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
//
|
84
|
+
// Typography
|
85
|
+
//
|
86
|
+
|
87
|
+
// Remove top margins from headings
|
88
|
+
//
|
89
|
+
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
|
90
|
+
// margin for easier control within type scales as it avoids margin collapsing.
|
91
|
+
// stylelint-disable-next-line selector-list-comma-newline-after
|
92
|
+
h1, h2, h3, h4, h5, h6 {
|
93
|
+
margin-top: 0;
|
94
|
+
margin-bottom: $headings-margin-bottom;
|
95
|
+
}
|
96
|
+
|
97
|
+
// Reset margins on paragraphs
|
98
|
+
//
|
99
|
+
// Similarly, the top margin on `<p>`s get reset. However, we also reset the
|
100
|
+
// bottom margin to use `rem` units instead of `em`.
|
101
|
+
p {
|
102
|
+
margin-top: 0;
|
103
|
+
margin-bottom: $paragraph-margin-bottom;
|
104
|
+
}
|
105
|
+
|
106
|
+
// Abbreviations
|
107
|
+
//
|
108
|
+
// 1. Duplicate behavior to the data-* attribute for our tooltip plugin
|
109
|
+
// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
110
|
+
// 3. Add explicit cursor to indicate changed behavior.
|
111
|
+
// 4. Remove the bottom border in Firefox 39-.
|
112
|
+
// 5. Prevent the text-decoration to be skipped.
|
113
|
+
|
114
|
+
abbr[title],
|
115
|
+
abbr[data-original-title] { // 1
|
116
|
+
text-decoration: underline; // 2
|
117
|
+
text-decoration: underline dotted; // 2
|
118
|
+
cursor: help; // 3
|
119
|
+
border-bottom: 0; // 4
|
120
|
+
text-decoration-skip-ink: none; // 5
|
121
|
+
}
|
122
|
+
|
123
|
+
address {
|
124
|
+
margin-bottom: 1rem;
|
125
|
+
font-style: normal;
|
126
|
+
line-height: inherit;
|
127
|
+
}
|
128
|
+
|
129
|
+
ol,
|
130
|
+
ul,
|
131
|
+
dl {
|
132
|
+
margin-top: 0;
|
133
|
+
margin-bottom: 1rem;
|
134
|
+
}
|
135
|
+
|
136
|
+
ol ol,
|
137
|
+
ul ul,
|
138
|
+
ol ul,
|
139
|
+
ul ol {
|
140
|
+
margin-bottom: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
dt {
|
144
|
+
font-weight: $dt-font-weight;
|
145
|
+
}
|
146
|
+
|
147
|
+
dd {
|
148
|
+
margin-bottom: .5rem;
|
149
|
+
margin-left: 0; // Undo browser default
|
150
|
+
}
|
151
|
+
|
152
|
+
blockquote {
|
153
|
+
margin: 0 0 1rem;
|
154
|
+
}
|
155
|
+
|
156
|
+
b,
|
157
|
+
strong {
|
158
|
+
font-weight: $font-weight-bolder; // Add the correct font weight in Chrome, Edge, and Safari
|
159
|
+
}
|
160
|
+
|
161
|
+
small {
|
162
|
+
@include font-size(80%); // Add the correct font size in all browsers
|
163
|
+
}
|
164
|
+
|
165
|
+
//
|
166
|
+
// Prevent `sub` and `sup` elements from affecting the line height in
|
167
|
+
// all browsers.
|
168
|
+
//
|
169
|
+
|
170
|
+
sub,
|
171
|
+
sup {
|
172
|
+
position: relative;
|
173
|
+
@include font-size(75%);
|
174
|
+
line-height: 0;
|
175
|
+
vertical-align: baseline;
|
176
|
+
}
|
177
|
+
|
178
|
+
sub { bottom: -.25em; }
|
179
|
+
sup { top: -.5em; }
|
180
|
+
|
181
|
+
|
182
|
+
//
|
183
|
+
// Links
|
184
|
+
//
|
185
|
+
|
186
|
+
a {
|
187
|
+
color: $link-color;
|
188
|
+
text-decoration: $link-decoration;
|
189
|
+
background-color: transparent; // Remove the gray background on active links in IE 10.
|
190
|
+
|
191
|
+
@include hover() {
|
192
|
+
color: $link-hover-color;
|
193
|
+
text-decoration: $link-hover-decoration;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
// And undo these styles for placeholder links/named anchors (without href).
|
198
|
+
// It would be more straightforward to just use a[href] in previous block, but that
|
199
|
+
// causes specificity issues in many other styles that are too complex to fix.
|
200
|
+
// See https://github.com/twbs/bootstrap/issues/19402
|
201
|
+
|
202
|
+
a:not([href]) {
|
203
|
+
color: inherit;
|
204
|
+
text-decoration: none;
|
205
|
+
|
206
|
+
@include hover() {
|
207
|
+
color: inherit;
|
208
|
+
text-decoration: none;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
|
213
|
+
//
|
214
|
+
// Code
|
215
|
+
//
|
216
|
+
|
217
|
+
pre,
|
218
|
+
code,
|
219
|
+
kbd,
|
220
|
+
samp {
|
221
|
+
font-family: $font-family-monospace;
|
222
|
+
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
223
|
+
}
|
224
|
+
|
225
|
+
pre {
|
226
|
+
// Remove browser default top margin
|
227
|
+
margin-top: 0;
|
228
|
+
// Reset browser default of `1em` to use `rem`s
|
229
|
+
margin-bottom: 1rem;
|
230
|
+
// Don't allow content to break outside
|
231
|
+
overflow: auto;
|
232
|
+
}
|
233
|
+
|
234
|
+
|
235
|
+
//
|
236
|
+
// Figures
|
237
|
+
//
|
238
|
+
|
239
|
+
figure {
|
240
|
+
// Apply a consistent margin strategy (matches our type styles).
|
241
|
+
margin: 0 0 1rem;
|
242
|
+
}
|
243
|
+
|
244
|
+
|
245
|
+
//
|
246
|
+
// Images and content
|
247
|
+
//
|
248
|
+
|
249
|
+
img {
|
250
|
+
vertical-align: middle;
|
251
|
+
border-style: none; // Remove the border on images inside links in IE 10-.
|
252
|
+
}
|
253
|
+
|
254
|
+
svg {
|
255
|
+
// Workaround for the SVG overflow bug in IE10/11 is still required.
|
256
|
+
// See https://github.com/twbs/bootstrap/issues/26878
|
257
|
+
overflow: hidden;
|
258
|
+
vertical-align: middle;
|
259
|
+
}
|
260
|
+
|
261
|
+
|
262
|
+
//
|
263
|
+
// Tables
|
264
|
+
//
|
265
|
+
|
266
|
+
table {
|
267
|
+
border-collapse: collapse; // Prevent double borders
|
268
|
+
}
|
269
|
+
|
270
|
+
caption {
|
271
|
+
padding-top: $table-cell-padding;
|
272
|
+
padding-bottom: $table-cell-padding;
|
273
|
+
color: $table-caption-color;
|
274
|
+
text-align: left;
|
275
|
+
caption-side: bottom;
|
276
|
+
}
|
277
|
+
|
278
|
+
th {
|
279
|
+
// Matches default `<td>` alignment by inheriting from the `<body>`, or the
|
280
|
+
// closest parent with a set `text-align`.
|
281
|
+
text-align: inherit;
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
//
|
286
|
+
// Forms
|
287
|
+
//
|
288
|
+
|
289
|
+
label {
|
290
|
+
// Allow labels to use `margin` for spacing.
|
291
|
+
display: inline-block;
|
292
|
+
margin-bottom: $label-margin-bottom;
|
293
|
+
}
|
294
|
+
|
295
|
+
// Remove the default `border-radius` that macOS Chrome adds.
|
296
|
+
//
|
297
|
+
// Details at https://github.com/twbs/bootstrap/issues/24093
|
298
|
+
button {
|
299
|
+
// stylelint-disable-next-line property-blacklist
|
300
|
+
border-radius: 0;
|
301
|
+
}
|
302
|
+
|
303
|
+
// Work around a Firefox/IE bug where the transparent `button` background
|
304
|
+
// results in a loss of the default `button` focus styles.
|
305
|
+
//
|
306
|
+
// Credit: https://github.com/suitcss/base/
|
307
|
+
button:focus {
|
308
|
+
outline: 1px dotted;
|
309
|
+
outline: 5px auto -webkit-focus-ring-color;
|
310
|
+
}
|
311
|
+
|
312
|
+
input,
|
313
|
+
button,
|
314
|
+
select,
|
315
|
+
optgroup,
|
316
|
+
textarea {
|
317
|
+
margin: 0; // Remove the margin in Firefox and Safari
|
318
|
+
font-family: inherit;
|
319
|
+
@include font-size(inherit);
|
320
|
+
line-height: inherit;
|
321
|
+
}
|
322
|
+
|
323
|
+
button,
|
324
|
+
input {
|
325
|
+
overflow: visible; // Show the overflow in Edge
|
326
|
+
}
|
327
|
+
|
328
|
+
button,
|
329
|
+
select {
|
330
|
+
text-transform: none; // Remove the inheritance of text transform in Firefox
|
331
|
+
}
|
332
|
+
|
333
|
+
// Remove the inheritance of word-wrap in Safari.
|
334
|
+
//
|
335
|
+
// Details at https://github.com/twbs/bootstrap/issues/24990
|
336
|
+
select {
|
337
|
+
word-wrap: normal;
|
338
|
+
}
|
339
|
+
|
340
|
+
|
341
|
+
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
342
|
+
// controls in Android 4.
|
343
|
+
// 2. Correct the inability to style clickable types in iOS and Safari.
|
344
|
+
button,
|
345
|
+
[type="button"], // 1
|
346
|
+
[type="reset"],
|
347
|
+
[type="submit"] {
|
348
|
+
-webkit-appearance: button; // 2
|
349
|
+
}
|
350
|
+
|
351
|
+
// Opinionated: add "hand" cursor to non-disabled button elements.
|
352
|
+
@if $enable-pointer-cursor-for-buttons {
|
353
|
+
button,
|
354
|
+
[type="button"],
|
355
|
+
[type="reset"],
|
356
|
+
[type="submit"] {
|
357
|
+
&:not(:disabled) {
|
358
|
+
cursor: pointer;
|
359
|
+
}
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
|
364
|
+
button::-moz-focus-inner,
|
365
|
+
[type="button"]::-moz-focus-inner,
|
366
|
+
[type="reset"]::-moz-focus-inner,
|
367
|
+
[type="submit"]::-moz-focus-inner {
|
368
|
+
padding: 0;
|
369
|
+
border-style: none;
|
370
|
+
}
|
371
|
+
|
372
|
+
input[type="radio"],
|
373
|
+
input[type="checkbox"] {
|
374
|
+
box-sizing: border-box; // 1. Add the correct box sizing in IE 10-
|
375
|
+
padding: 0; // 2. Remove the padding in IE 10-
|
376
|
+
}
|
377
|
+
|
378
|
+
|
379
|
+
input[type="date"],
|
380
|
+
input[type="time"],
|
381
|
+
input[type="datetime-local"],
|
382
|
+
input[type="month"] {
|
383
|
+
// Remove the default appearance of temporal inputs to avoid a Mobile Safari
|
384
|
+
// bug where setting a custom line-height prevents text from being vertically
|
385
|
+
// centered within the input.
|
386
|
+
// See https://bugs.webkit.org/show_bug.cgi?id=139848
|
387
|
+
// and https://github.com/twbs/bootstrap/issues/11266
|
388
|
+
-webkit-appearance: listbox;
|
389
|
+
}
|
390
|
+
|
391
|
+
textarea {
|
392
|
+
overflow: auto; // Remove the default vertical scrollbar in IE.
|
393
|
+
// Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
394
|
+
resize: vertical;
|
395
|
+
}
|
396
|
+
|
397
|
+
fieldset {
|
398
|
+
// Browsers set a default `min-width: min-content;` on fieldsets,
|
399
|
+
// unlike e.g. `<div>`s, which have `min-width: 0;` by default.
|
400
|
+
// So we reset that to ensure fieldsets behave more like a standard block element.
|
401
|
+
// See https://github.com/twbs/bootstrap/issues/12359
|
402
|
+
// and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
|
403
|
+
min-width: 0;
|
404
|
+
// Reset the default outline behavior of fieldsets so they don't affect page layout.
|
405
|
+
padding: 0;
|
406
|
+
margin: 0;
|
407
|
+
border: 0;
|
408
|
+
}
|
409
|
+
|
410
|
+
// 1. Correct the text wrapping in Edge and IE.
|
411
|
+
// 2. Correct the color inheritance from `fieldset` elements in IE.
|
412
|
+
legend {
|
413
|
+
display: block;
|
414
|
+
width: 100%;
|
415
|
+
max-width: 100%; // 1
|
416
|
+
padding: 0;
|
417
|
+
margin-bottom: .5rem;
|
418
|
+
@include font-size(1.5rem);
|
419
|
+
line-height: inherit;
|
420
|
+
color: inherit; // 2
|
421
|
+
white-space: normal; // 1
|
422
|
+
}
|
423
|
+
|
424
|
+
progress {
|
425
|
+
vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
426
|
+
}
|
427
|
+
|
428
|
+
// Correct the cursor style of increment and decrement buttons in Chrome.
|
429
|
+
[type="number"]::-webkit-inner-spin-button,
|
430
|
+
[type="number"]::-webkit-outer-spin-button {
|
431
|
+
height: auto;
|
432
|
+
}
|
433
|
+
|
434
|
+
[type="search"] {
|
435
|
+
// This overrides the extra rounded corners on search inputs in iOS so that our
|
436
|
+
// `.form-control` class can properly style them. Note that this cannot simply
|
437
|
+
// be added to `.form-control` as it's not specific enough. For details, see
|
438
|
+
// https://github.com/twbs/bootstrap/issues/11586.
|
439
|
+
outline-offset: -2px; // 2. Correct the outline style in Safari.
|
440
|
+
-webkit-appearance: none;
|
441
|
+
}
|
442
|
+
|
443
|
+
//
|
444
|
+
// Remove the inner padding in Chrome and Safari on macOS.
|
445
|
+
//
|
446
|
+
|
447
|
+
[type="search"]::-webkit-search-decoration {
|
448
|
+
-webkit-appearance: none;
|
449
|
+
}
|
450
|
+
|
451
|
+
//
|
452
|
+
// 1. Correct the inability to style clickable types in iOS and Safari.
|
453
|
+
// 2. Change font properties to `inherit` in Safari.
|
454
|
+
//
|
455
|
+
|
456
|
+
::-webkit-file-upload-button {
|
457
|
+
font: inherit; // 2
|
458
|
+
-webkit-appearance: button; // 1
|
459
|
+
}
|
460
|
+
|
461
|
+
//
|
462
|
+
// Correct element displays
|
463
|
+
//
|
464
|
+
|
465
|
+
output {
|
466
|
+
display: inline-block;
|
467
|
+
}
|
468
|
+
|
469
|
+
summary {
|
470
|
+
display: list-item; // Add the correct display in all browsers
|
471
|
+
cursor: pointer;
|
472
|
+
}
|
473
|
+
|
474
|
+
template {
|
475
|
+
display: none; // Add the correct display in IE
|
476
|
+
}
|
477
|
+
|
478
|
+
// Always hide an element with the `hidden` HTML attribute (from PureCSS).
|
479
|
+
// Needed for proper display in IE 10-.
|
480
|
+
[hidden] {
|
481
|
+
display: none !important;
|
482
|
+
}
|