bootstrap 4.3.1 → 5.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +17 -2
- data/CHANGELOG.md +2 -14
- data/README.md +7 -4
- data/assets/javascripts/bootstrap/alert.js +172 -136
- data/assets/javascripts/bootstrap/base-component.js +182 -0
- data/assets/javascripts/bootstrap/button.js +101 -142
- data/assets/javascripts/bootstrap/carousel.js +483 -408
- data/assets/javascripts/bootstrap/collapse.js +340 -273
- data/assets/javascripts/bootstrap/dom/data.js +68 -0
- data/assets/javascripts/bootstrap/dom/event-handler.js +321 -0
- data/assets/javascripts/bootstrap/dom/manipulator.js +88 -0
- data/assets/javascripts/bootstrap/dom/selector-engine.js +127 -0
- data/assets/javascripts/bootstrap/dropdown.js +491 -399
- data/assets/javascripts/bootstrap/modal.js +841 -449
- data/assets/javascripts/bootstrap/offcanvas.js +866 -0
- data/assets/javascripts/bootstrap/popover.js +121 -198
- data/assets/javascripts/bootstrap/scrollspy.js +256 -240
- data/assets/javascripts/bootstrap/tab.js +218 -154
- data/assets/javascripts/bootstrap/toast.js +329 -189
- data/assets/javascripts/bootstrap/tooltip.js +651 -552
- data/assets/javascripts/bootstrap-global-this-define.js +6 -0
- data/assets/javascripts/bootstrap-global-this-undefine.js +2 -0
- data/assets/javascripts/bootstrap-sprockets.js +8 -1
- data/assets/javascripts/bootstrap.js +3503 -2892
- data/assets/javascripts/bootstrap.min.js +4 -4
- data/assets/stylesheets/_bootstrap-grid.scss +56 -18
- data/assets/stylesheets/_bootstrap-reboot.scss +5 -4
- data/assets/stylesheets/_bootstrap.scss +20 -11
- data/assets/stylesheets/bootstrap/_accordion.scss +118 -0
- data/assets/stylesheets/bootstrap/_alert.scss +15 -9
- data/assets/stylesheets/bootstrap/_badge.scss +2 -27
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +5 -18
- data/assets/stylesheets/bootstrap/_button-group.scss +21 -45
- data/assets/stylesheets/bootstrap/_buttons.scss +28 -54
- data/assets/stylesheets/bootstrap/_card.scss +52 -125
- data/assets/stylesheets/bootstrap/_carousel.scss +70 -38
- data/assets/stylesheets/bootstrap/_close.scss +30 -31
- data/assets/stylesheets/bootstrap/_containers.scss +41 -0
- data/assets/stylesheets/bootstrap/_dropdown.scss +88 -39
- data/assets/stylesheets/bootstrap/_forms.scss +9 -330
- data/assets/stylesheets/bootstrap/_functions.scss +243 -27
- data/assets/stylesheets/bootstrap/_grid.scss +14 -33
- data/assets/stylesheets/bootstrap/_helpers.scss +9 -0
- data/assets/stylesheets/bootstrap/_images.scss +3 -3
- data/assets/stylesheets/bootstrap/_list-group.scss +61 -36
- data/assets/stylesheets/bootstrap/_mixins.scss +12 -16
- data/assets/stylesheets/bootstrap/_modal.scss +64 -84
- data/assets/stylesheets/bootstrap/_nav.scss +29 -10
- data/assets/stylesheets/bootstrap/_navbar.scss +93 -52
- data/assets/stylesheets/bootstrap/_offcanvas.scss +83 -0
- data/assets/stylesheets/bootstrap/_pagination.scss +13 -22
- data/assets/stylesheets/bootstrap/_placeholders.scss +51 -0
- data/assets/stylesheets/bootstrap/_popover.scss +29 -42
- data/assets/stylesheets/bootstrap/_progress.scss +10 -5
- data/assets/stylesheets/bootstrap/_reboot.scss +350 -208
- data/assets/stylesheets/bootstrap/_root.scss +43 -8
- data/assets/stylesheets/bootstrap/_spinners.scss +21 -7
- data/assets/stylesheets/bootstrap/_tables.scss +84 -114
- data/assets/stylesheets/bootstrap/_toasts.scss +21 -14
- data/assets/stylesheets/bootstrap/_tooltip.scss +21 -21
- data/assets/stylesheets/bootstrap/_transitions.scss +8 -1
- data/assets/stylesheets/bootstrap/_type.scss +40 -61
- data/assets/stylesheets/bootstrap/_utilities.scss +630 -17
- data/assets/stylesheets/bootstrap/_variables.scss +1007 -489
- data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +18 -0
- data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +63 -0
- data/assets/stylesheets/bootstrap/forms/_form-check.scss +152 -0
- data/assets/stylesheets/bootstrap/forms/_form-control.scss +219 -0
- data/assets/stylesheets/bootstrap/forms/_form-range.scss +91 -0
- data/assets/stylesheets/bootstrap/forms/_form-select.scss +72 -0
- data/assets/stylesheets/bootstrap/forms/_form-text.scss +11 -0
- data/assets/stylesheets/bootstrap/forms/_input-group.scss +121 -0
- data/assets/stylesheets/bootstrap/forms/_labels.scss +36 -0
- data/assets/stylesheets/bootstrap/forms/_validation.scss +12 -0
- data/assets/stylesheets/bootstrap/{utilities → helpers}/_clearfix.scss +0 -0
- data/assets/stylesheets/bootstrap/helpers/_colored-links.scss +12 -0
- data/assets/stylesheets/bootstrap/helpers/_position.scss +30 -0
- data/assets/stylesheets/bootstrap/helpers/_ratio.scss +26 -0
- data/assets/stylesheets/bootstrap/helpers/_stacks.scss +15 -0
- data/assets/stylesheets/bootstrap/helpers/_stretched-link.scss +15 -0
- data/assets/stylesheets/bootstrap/helpers/_text-truncation.scss +7 -0
- data/assets/stylesheets/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/assets/stylesheets/bootstrap/helpers/_vr.scss +8 -0
- data/assets/stylesheets/bootstrap/mixins/_alert.scss +3 -5
- data/assets/stylesheets/bootstrap/mixins/_backdrop.scss +14 -0
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +37 -22
- data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +7 -9
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +14 -10
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +77 -51
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +10 -8
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_color-scheme.scss +7 -0
- data/assets/stylesheets/bootstrap/mixins/_container.scss +9 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +67 -115
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +13 -11
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +132 -32
- data/assets/stylesheets/bootstrap/mixins/_image.scss +0 -20
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +5 -2
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +17 -8
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +21 -0
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +18 -8
- data/assets/stylesheets/bootstrap/mixins/_utilities.scss +89 -0
- data/assets/stylesheets/bootstrap/mixins/_visually-hidden.scss +29 -0
- data/assets/stylesheets/bootstrap/utilities/_api.scss +47 -0
- data/assets/stylesheets/bootstrap/vendor/_rfs.scss +278 -128
- data/bootstrap.gemspec +4 -6
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +25 -6
- data/tasks/updater/network.rb +8 -2
- data/test/dummy_rails/app/assets/config/manifest.js +3 -0
- data/test/dummy_rails/app/assets/javascripts/application.js +4 -3
- data/test/dummy_rails/app/assets/stylesheets/.browserslistrc +1 -0
- data/test/dummy_rails/app/views/layouts/application.html.erb +3 -1
- data/test/dummy_rails/app/views/pages/root.html +89 -0
- data/test/dummy_rails/config/application.rb +0 -3
- data/test/gemfiles/rails_6_0.gemfile +7 -0
- data/test/gemfiles/rails_6_1.gemfile +7 -0
- data/test/support/dummy_rails_integration.rb +3 -1
- data/test/test_helper.rb +18 -13
- metadata +61 -79
- data/assets/javascripts/bootstrap/util.js +0 -171
- data/assets/stylesheets/bootstrap/_code.scss +0 -48
- data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -507
- data/assets/stylesheets/bootstrap/_input-group.scss +0 -193
- data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -17
- data/assets/stylesheets/bootstrap/_media.scss +0 -8
- data/assets/stylesheets/bootstrap/_print.scss +0 -141
- data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -21
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_float.scss +0 -14
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -66
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -33
- data/assets/stylesheets/bootstrap/mixins/_size.scss +0 -7
- data/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -39
- data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -16
- data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -75
- data/assets/stylesheets/bootstrap/utilities/_display.scss +0 -26
- data/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -39
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -51
- data/assets/stylesheets/bootstrap/utilities/_float.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_overflow.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -32
- data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_shadows.scss +0 -6
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -20
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -73
- data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_text.scss +0 -72
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -13
- data/test/dummy_rails/app/views/pages/root.html.slim +0 -58
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
// Color system
|
7
7
|
|
8
|
+
// scss-docs-start gray-color-variables
|
8
9
|
$white: #fff !default;
|
9
10
|
$gray-100: #f8f9fa !default;
|
10
11
|
$gray-200: #e9ecef !default;
|
@@ -16,56 +17,56 @@ $gray-700: #495057 !default;
|
|
16
17
|
$gray-800: #343a40 !default;
|
17
18
|
$gray-900: #212529 !default;
|
18
19
|
$black: #000 !default;
|
20
|
+
// scss-docs-end gray-color-variables
|
21
|
+
|
22
|
+
// fusv-disable
|
23
|
+
// scss-docs-start gray-colors-map
|
24
|
+
$grays: (
|
25
|
+
"100": $gray-100,
|
26
|
+
"200": $gray-200,
|
27
|
+
"300": $gray-300,
|
28
|
+
"400": $gray-400,
|
29
|
+
"500": $gray-500,
|
30
|
+
"600": $gray-600,
|
31
|
+
"700": $gray-700,
|
32
|
+
"800": $gray-800,
|
33
|
+
"900": $gray-900
|
34
|
+
) !default;
|
35
|
+
// scss-docs-end gray-colors-map
|
36
|
+
// fusv-enable
|
19
37
|
|
20
|
-
|
21
|
-
|
22
|
-
$grays: map-merge(
|
23
|
-
(
|
24
|
-
"100": $gray-100,
|
25
|
-
"200": $gray-200,
|
26
|
-
"300": $gray-300,
|
27
|
-
"400": $gray-400,
|
28
|
-
"500": $gray-500,
|
29
|
-
"600": $gray-600,
|
30
|
-
"700": $gray-700,
|
31
|
-
"800": $gray-800,
|
32
|
-
"900": $gray-900
|
33
|
-
),
|
34
|
-
$grays
|
35
|
-
);
|
36
|
-
|
37
|
-
$blue: #007bff !default;
|
38
|
+
// scss-docs-start color-variables
|
39
|
+
$blue: #0d6efd !default;
|
38
40
|
$indigo: #6610f2 !default;
|
39
41
|
$purple: #6f42c1 !default;
|
40
|
-
$pink: #
|
42
|
+
$pink: #d63384 !default;
|
41
43
|
$red: #dc3545 !default;
|
42
44
|
$orange: #fd7e14 !default;
|
43
45
|
$yellow: #ffc107 !default;
|
44
|
-
$green: #
|
46
|
+
$green: #198754 !default;
|
45
47
|
$teal: #20c997 !default;
|
46
|
-
$cyan: #
|
47
|
-
|
48
|
-
|
49
|
-
//
|
50
|
-
$colors:
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
$colors
|
67
|
-
);
|
48
|
+
$cyan: #0dcaf0 !default;
|
49
|
+
// scss-docs-end color-variables
|
50
|
+
|
51
|
+
// scss-docs-start colors-map
|
52
|
+
$colors: (
|
53
|
+
"blue": $blue,
|
54
|
+
"indigo": $indigo,
|
55
|
+
"purple": $purple,
|
56
|
+
"pink": $pink,
|
57
|
+
"red": $red,
|
58
|
+
"orange": $orange,
|
59
|
+
"yellow": $yellow,
|
60
|
+
"green": $green,
|
61
|
+
"teal": $teal,
|
62
|
+
"cyan": $cyan,
|
63
|
+
"white": $white,
|
64
|
+
"gray": $gray-600,
|
65
|
+
"gray-dark": $gray-800
|
66
|
+
) !default;
|
67
|
+
// scss-docs-end colors-map
|
68
68
|
|
69
|
+
// scss-docs-start theme-color-variables
|
69
70
|
$primary: $blue !default;
|
70
71
|
$secondary: $gray-600 !default;
|
71
72
|
$success: $green !default;
|
@@ -73,53 +74,296 @@ $info: $cyan !default;
|
|
73
74
|
$warning: $yellow !default;
|
74
75
|
$danger: $red !default;
|
75
76
|
$light: $gray-100 !default;
|
76
|
-
$dark: $gray-
|
77
|
+
$dark: $gray-900 !default;
|
78
|
+
// scss-docs-end theme-color-variables
|
79
|
+
|
80
|
+
// scss-docs-start theme-colors-map
|
81
|
+
$theme-colors: (
|
82
|
+
"primary": $primary,
|
83
|
+
"secondary": $secondary,
|
84
|
+
"success": $success,
|
85
|
+
"info": $info,
|
86
|
+
"warning": $warning,
|
87
|
+
"danger": $danger,
|
88
|
+
"light": $light,
|
89
|
+
"dark": $dark
|
90
|
+
) !default;
|
91
|
+
// scss-docs-end theme-colors-map
|
92
|
+
|
93
|
+
// scss-docs-start theme-colors-rgb
|
94
|
+
$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
|
95
|
+
// scss-docs-end theme-colors-rgb
|
96
|
+
|
97
|
+
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
98
|
+
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
99
|
+
$min-contrast-ratio: 4.5 !default;
|
100
|
+
|
101
|
+
// Customize the light and dark text colors for use in our color contrast function.
|
102
|
+
$color-contrast-dark: $black !default;
|
103
|
+
$color-contrast-light: $white !default;
|
104
|
+
|
105
|
+
// fusv-disable
|
106
|
+
$blue-100: tint-color($blue, 80%) !default;
|
107
|
+
$blue-200: tint-color($blue, 60%) !default;
|
108
|
+
$blue-300: tint-color($blue, 40%) !default;
|
109
|
+
$blue-400: tint-color($blue, 20%) !default;
|
110
|
+
$blue-500: $blue !default;
|
111
|
+
$blue-600: shade-color($blue, 20%) !default;
|
112
|
+
$blue-700: shade-color($blue, 40%) !default;
|
113
|
+
$blue-800: shade-color($blue, 60%) !default;
|
114
|
+
$blue-900: shade-color($blue, 80%) !default;
|
115
|
+
|
116
|
+
$indigo-100: tint-color($indigo, 80%) !default;
|
117
|
+
$indigo-200: tint-color($indigo, 60%) !default;
|
118
|
+
$indigo-300: tint-color($indigo, 40%) !default;
|
119
|
+
$indigo-400: tint-color($indigo, 20%) !default;
|
120
|
+
$indigo-500: $indigo !default;
|
121
|
+
$indigo-600: shade-color($indigo, 20%) !default;
|
122
|
+
$indigo-700: shade-color($indigo, 40%) !default;
|
123
|
+
$indigo-800: shade-color($indigo, 60%) !default;
|
124
|
+
$indigo-900: shade-color($indigo, 80%) !default;
|
125
|
+
|
126
|
+
$purple-100: tint-color($purple, 80%) !default;
|
127
|
+
$purple-200: tint-color($purple, 60%) !default;
|
128
|
+
$purple-300: tint-color($purple, 40%) !default;
|
129
|
+
$purple-400: tint-color($purple, 20%) !default;
|
130
|
+
$purple-500: $purple !default;
|
131
|
+
$purple-600: shade-color($purple, 20%) !default;
|
132
|
+
$purple-700: shade-color($purple, 40%) !default;
|
133
|
+
$purple-800: shade-color($purple, 60%) !default;
|
134
|
+
$purple-900: shade-color($purple, 80%) !default;
|
135
|
+
|
136
|
+
$pink-100: tint-color($pink, 80%) !default;
|
137
|
+
$pink-200: tint-color($pink, 60%) !default;
|
138
|
+
$pink-300: tint-color($pink, 40%) !default;
|
139
|
+
$pink-400: tint-color($pink, 20%) !default;
|
140
|
+
$pink-500: $pink !default;
|
141
|
+
$pink-600: shade-color($pink, 20%) !default;
|
142
|
+
$pink-700: shade-color($pink, 40%) !default;
|
143
|
+
$pink-800: shade-color($pink, 60%) !default;
|
144
|
+
$pink-900: shade-color($pink, 80%) !default;
|
145
|
+
|
146
|
+
$red-100: tint-color($red, 80%) !default;
|
147
|
+
$red-200: tint-color($red, 60%) !default;
|
148
|
+
$red-300: tint-color($red, 40%) !default;
|
149
|
+
$red-400: tint-color($red, 20%) !default;
|
150
|
+
$red-500: $red !default;
|
151
|
+
$red-600: shade-color($red, 20%) !default;
|
152
|
+
$red-700: shade-color($red, 40%) !default;
|
153
|
+
$red-800: shade-color($red, 60%) !default;
|
154
|
+
$red-900: shade-color($red, 80%) !default;
|
155
|
+
|
156
|
+
$orange-100: tint-color($orange, 80%) !default;
|
157
|
+
$orange-200: tint-color($orange, 60%) !default;
|
158
|
+
$orange-300: tint-color($orange, 40%) !default;
|
159
|
+
$orange-400: tint-color($orange, 20%) !default;
|
160
|
+
$orange-500: $orange !default;
|
161
|
+
$orange-600: shade-color($orange, 20%) !default;
|
162
|
+
$orange-700: shade-color($orange, 40%) !default;
|
163
|
+
$orange-800: shade-color($orange, 60%) !default;
|
164
|
+
$orange-900: shade-color($orange, 80%) !default;
|
165
|
+
|
166
|
+
$yellow-100: tint-color($yellow, 80%) !default;
|
167
|
+
$yellow-200: tint-color($yellow, 60%) !default;
|
168
|
+
$yellow-300: tint-color($yellow, 40%) !default;
|
169
|
+
$yellow-400: tint-color($yellow, 20%) !default;
|
170
|
+
$yellow-500: $yellow !default;
|
171
|
+
$yellow-600: shade-color($yellow, 20%) !default;
|
172
|
+
$yellow-700: shade-color($yellow, 40%) !default;
|
173
|
+
$yellow-800: shade-color($yellow, 60%) !default;
|
174
|
+
$yellow-900: shade-color($yellow, 80%) !default;
|
175
|
+
|
176
|
+
$green-100: tint-color($green, 80%) !default;
|
177
|
+
$green-200: tint-color($green, 60%) !default;
|
178
|
+
$green-300: tint-color($green, 40%) !default;
|
179
|
+
$green-400: tint-color($green, 20%) !default;
|
180
|
+
$green-500: $green !default;
|
181
|
+
$green-600: shade-color($green, 20%) !default;
|
182
|
+
$green-700: shade-color($green, 40%) !default;
|
183
|
+
$green-800: shade-color($green, 60%) !default;
|
184
|
+
$green-900: shade-color($green, 80%) !default;
|
185
|
+
|
186
|
+
$teal-100: tint-color($teal, 80%) !default;
|
187
|
+
$teal-200: tint-color($teal, 60%) !default;
|
188
|
+
$teal-300: tint-color($teal, 40%) !default;
|
189
|
+
$teal-400: tint-color($teal, 20%) !default;
|
190
|
+
$teal-500: $teal !default;
|
191
|
+
$teal-600: shade-color($teal, 20%) !default;
|
192
|
+
$teal-700: shade-color($teal, 40%) !default;
|
193
|
+
$teal-800: shade-color($teal, 60%) !default;
|
194
|
+
$teal-900: shade-color($teal, 80%) !default;
|
195
|
+
|
196
|
+
$cyan-100: tint-color($cyan, 80%) !default;
|
197
|
+
$cyan-200: tint-color($cyan, 60%) !default;
|
198
|
+
$cyan-300: tint-color($cyan, 40%) !default;
|
199
|
+
$cyan-400: tint-color($cyan, 20%) !default;
|
200
|
+
$cyan-500: $cyan !default;
|
201
|
+
$cyan-600: shade-color($cyan, 20%) !default;
|
202
|
+
$cyan-700: shade-color($cyan, 40%) !default;
|
203
|
+
$cyan-800: shade-color($cyan, 60%) !default;
|
204
|
+
$cyan-900: shade-color($cyan, 80%) !default;
|
205
|
+
|
206
|
+
$blues: (
|
207
|
+
"blue-100": $blue-100,
|
208
|
+
"blue-200": $blue-200,
|
209
|
+
"blue-300": $blue-300,
|
210
|
+
"blue-400": $blue-400,
|
211
|
+
"blue-500": $blue-500,
|
212
|
+
"blue-600": $blue-600,
|
213
|
+
"blue-700": $blue-700,
|
214
|
+
"blue-800": $blue-800,
|
215
|
+
"blue-900": $blue-900
|
216
|
+
) !default;
|
77
217
|
|
78
|
-
$
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
"dark": $dark
|
90
|
-
),
|
91
|
-
$theme-colors
|
92
|
-
);
|
218
|
+
$indigos: (
|
219
|
+
"indigo-100": $indigo-100,
|
220
|
+
"indigo-200": $indigo-200,
|
221
|
+
"indigo-300": $indigo-300,
|
222
|
+
"indigo-400": $indigo-400,
|
223
|
+
"indigo-500": $indigo-500,
|
224
|
+
"indigo-600": $indigo-600,
|
225
|
+
"indigo-700": $indigo-700,
|
226
|
+
"indigo-800": $indigo-800,
|
227
|
+
"indigo-900": $indigo-900
|
228
|
+
) !default;
|
93
229
|
|
94
|
-
|
95
|
-
|
230
|
+
$purples: (
|
231
|
+
"purple-100": $purple-200,
|
232
|
+
"purple-200": $purple-100,
|
233
|
+
"purple-300": $purple-300,
|
234
|
+
"purple-400": $purple-400,
|
235
|
+
"purple-500": $purple-500,
|
236
|
+
"purple-600": $purple-600,
|
237
|
+
"purple-700": $purple-700,
|
238
|
+
"purple-800": $purple-800,
|
239
|
+
"purple-900": $purple-900
|
240
|
+
) !default;
|
96
241
|
|
97
|
-
|
98
|
-
|
242
|
+
$pinks: (
|
243
|
+
"pink-100": $pink-100,
|
244
|
+
"pink-200": $pink-200,
|
245
|
+
"pink-300": $pink-300,
|
246
|
+
"pink-400": $pink-400,
|
247
|
+
"pink-500": $pink-500,
|
248
|
+
"pink-600": $pink-600,
|
249
|
+
"pink-700": $pink-700,
|
250
|
+
"pink-800": $pink-800,
|
251
|
+
"pink-900": $pink-900
|
252
|
+
) !default;
|
99
253
|
|
100
|
-
|
101
|
-
|
102
|
-
|
254
|
+
$reds: (
|
255
|
+
"red-100": $red-100,
|
256
|
+
"red-200": $red-200,
|
257
|
+
"red-300": $red-300,
|
258
|
+
"red-400": $red-400,
|
259
|
+
"red-500": $red-500,
|
260
|
+
"red-600": $red-600,
|
261
|
+
"red-700": $red-700,
|
262
|
+
"red-800": $red-800,
|
263
|
+
"red-900": $red-900
|
264
|
+
) !default;
|
103
265
|
|
266
|
+
$oranges: (
|
267
|
+
"orange-100": $orange-100,
|
268
|
+
"orange-200": $orange-200,
|
269
|
+
"orange-300": $orange-300,
|
270
|
+
"orange-400": $orange-400,
|
271
|
+
"orange-500": $orange-500,
|
272
|
+
"orange-600": $orange-600,
|
273
|
+
"orange-700": $orange-700,
|
274
|
+
"orange-800": $orange-800,
|
275
|
+
"orange-900": $orange-900
|
276
|
+
) !default;
|
277
|
+
|
278
|
+
$yellows: (
|
279
|
+
"yellow-100": $yellow-100,
|
280
|
+
"yellow-200": $yellow-200,
|
281
|
+
"yellow-300": $yellow-300,
|
282
|
+
"yellow-400": $yellow-400,
|
283
|
+
"yellow-500": $yellow-500,
|
284
|
+
"yellow-600": $yellow-600,
|
285
|
+
"yellow-700": $yellow-700,
|
286
|
+
"yellow-800": $yellow-800,
|
287
|
+
"yellow-900": $yellow-900
|
288
|
+
) !default;
|
289
|
+
|
290
|
+
$greens: (
|
291
|
+
"green-100": $green-100,
|
292
|
+
"green-200": $green-200,
|
293
|
+
"green-300": $green-300,
|
294
|
+
"green-400": $green-400,
|
295
|
+
"green-500": $green-500,
|
296
|
+
"green-600": $green-600,
|
297
|
+
"green-700": $green-700,
|
298
|
+
"green-800": $green-800,
|
299
|
+
"green-900": $green-900
|
300
|
+
) !default;
|
301
|
+
|
302
|
+
$teals: (
|
303
|
+
"teal-100": $teal-100,
|
304
|
+
"teal-200": $teal-200,
|
305
|
+
"teal-300": $teal-300,
|
306
|
+
"teal-400": $teal-400,
|
307
|
+
"teal-500": $teal-500,
|
308
|
+
"teal-600": $teal-600,
|
309
|
+
"teal-700": $teal-700,
|
310
|
+
"teal-800": $teal-800,
|
311
|
+
"teal-900": $teal-900
|
312
|
+
) !default;
|
313
|
+
|
314
|
+
$cyans: (
|
315
|
+
"cyan-100": $cyan-100,
|
316
|
+
"cyan-200": $cyan-200,
|
317
|
+
"cyan-300": $cyan-300,
|
318
|
+
"cyan-400": $cyan-400,
|
319
|
+
"cyan-500": $cyan-500,
|
320
|
+
"cyan-600": $cyan-600,
|
321
|
+
"cyan-700": $cyan-700,
|
322
|
+
"cyan-800": $cyan-800,
|
323
|
+
"cyan-900": $cyan-900
|
324
|
+
) !default;
|
325
|
+
// fusv-enable
|
326
|
+
|
327
|
+
// Characters which are escaped by the escape-svg function
|
328
|
+
$escaped-characters: (
|
329
|
+
("<", "%3c"),
|
330
|
+
(">", "%3e"),
|
331
|
+
("#", "%23"),
|
332
|
+
("(", "%28"),
|
333
|
+
(")", "%29"),
|
334
|
+
) !default;
|
104
335
|
|
105
336
|
// Options
|
106
337
|
//
|
107
338
|
// Quickly modify global styling by enabling or disabling optional features.
|
108
339
|
|
109
|
-
$enable-caret:
|
110
|
-
$enable-rounded:
|
111
|
-
$enable-shadows:
|
112
|
-
$enable-gradients:
|
113
|
-
$enable-transitions:
|
114
|
-
$enable-
|
115
|
-
$enable-
|
116
|
-
$enable-grid-classes:
|
117
|
-
$enable-
|
118
|
-
$enable-
|
119
|
-
$enable-
|
120
|
-
$enable-validation-icons:
|
121
|
-
$enable-
|
122
|
-
|
340
|
+
$enable-caret: true !default;
|
341
|
+
$enable-rounded: true !default;
|
342
|
+
$enable-shadows: false !default;
|
343
|
+
$enable-gradients: false !default;
|
344
|
+
$enable-transitions: true !default;
|
345
|
+
$enable-reduced-motion: true !default;
|
346
|
+
$enable-smooth-scroll: true !default;
|
347
|
+
$enable-grid-classes: true !default;
|
348
|
+
$enable-cssgrid: false !default;
|
349
|
+
$enable-button-pointers: true !default;
|
350
|
+
$enable-rfs: true !default;
|
351
|
+
$enable-validation-icons: true !default;
|
352
|
+
$enable-negative-margins: false !default;
|
353
|
+
$enable-deprecation-messages: true !default;
|
354
|
+
$enable-important-utilities: true !default;
|
355
|
+
|
356
|
+
// Prefix for :root CSS variables
|
357
|
+
|
358
|
+
$variable-prefix: bs- !default;
|
359
|
+
|
360
|
+
// Gradient
|
361
|
+
//
|
362
|
+
// The gradient which is added to components if `$enable-gradients` is `true`
|
363
|
+
// This gradient is also added to elements with `.bg-gradient`
|
364
|
+
// scss-docs-start variable-gradient
|
365
|
+
$gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
|
366
|
+
// scss-docs-end variable-gradient
|
123
367
|
|
124
368
|
// Spacing
|
125
369
|
//
|
@@ -127,35 +371,31 @@ $enable-deprecation-messages: true !default;
|
|
127
371
|
// variables. Mostly focused on spacing.
|
128
372
|
// You can add more entries to the $spacers map, should you need more variation.
|
129
373
|
|
374
|
+
// scss-docs-start spacer-variables-maps
|
130
375
|
$spacer: 1rem !default;
|
131
|
-
$spacers: (
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
4: ($spacer * 1.5),
|
140
|
-
5: ($spacer * 3)
|
141
|
-
),
|
142
|
-
$spacers
|
143
|
-
);
|
376
|
+
$spacers: (
|
377
|
+
0: 0,
|
378
|
+
1: $spacer * .25,
|
379
|
+
2: $spacer * .5,
|
380
|
+
3: $spacer,
|
381
|
+
4: $spacer * 1.5,
|
382
|
+
5: $spacer * 3,
|
383
|
+
) !default;
|
144
384
|
|
145
|
-
|
146
|
-
|
147
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
148
|
-
$sizes: map-merge(
|
149
|
-
(
|
150
|
-
25: 25%,
|
151
|
-
50: 50%,
|
152
|
-
75: 75%,
|
153
|
-
100: 100%,
|
154
|
-
auto: auto
|
155
|
-
),
|
156
|
-
$sizes
|
157
|
-
);
|
385
|
+
$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
|
386
|
+
// scss-docs-end spacer-variables-maps
|
158
387
|
|
388
|
+
// Position
|
389
|
+
//
|
390
|
+
// Define the edge positioning anchors of the position utilities.
|
391
|
+
|
392
|
+
// scss-docs-start position-map
|
393
|
+
$position-values: (
|
394
|
+
0: 0,
|
395
|
+
50: 50%,
|
396
|
+
100: 100%
|
397
|
+
) !default;
|
398
|
+
// scss-docs-end position-map
|
159
399
|
|
160
400
|
// Body
|
161
401
|
//
|
@@ -163,18 +403,53 @@ $sizes: map-merge(
|
|
163
403
|
|
164
404
|
$body-bg: $white !default;
|
165
405
|
$body-color: $gray-900 !default;
|
406
|
+
$body-text-align: null !default;
|
407
|
+
|
408
|
+
// Utilities maps
|
409
|
+
//
|
410
|
+
// Extends the default `$theme-colors` maps to help create our utilities.
|
411
|
+
|
412
|
+
// Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
|
413
|
+
// scss-docs-start utilities-colors
|
414
|
+
$utilities-colors: $theme-colors-rgb !default;
|
415
|
+
// scss-docs-end utilities-colors
|
416
|
+
|
417
|
+
// scss-docs-start utilities-text-colors
|
418
|
+
$utilities-text: map-merge(
|
419
|
+
$utilities-colors,
|
420
|
+
(
|
421
|
+
"black": to-rgb($black),
|
422
|
+
"white": to-rgb($white),
|
423
|
+
"body": to-rgb($body-color)
|
424
|
+
)
|
425
|
+
) !default;
|
426
|
+
$utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
|
427
|
+
// scss-docs-end utilities-text-colors
|
166
428
|
|
429
|
+
// scss-docs-start utilities-bg-colors
|
430
|
+
$utilities-bg: map-merge(
|
431
|
+
$utilities-colors,
|
432
|
+
(
|
433
|
+
"black": to-rgb($black),
|
434
|
+
"white": to-rgb($white),
|
435
|
+
"body": to-rgb($body-bg)
|
436
|
+
)
|
437
|
+
) !default;
|
438
|
+
$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
|
439
|
+
// scss-docs-end utilities-bg-colors
|
167
440
|
|
168
441
|
// Links
|
169
442
|
//
|
170
443
|
// Style anchor elements.
|
171
444
|
|
172
|
-
$link-color:
|
173
|
-
$link-decoration:
|
174
|
-
$link-
|
175
|
-
$link-hover-
|
176
|
-
|
177
|
-
|
445
|
+
$link-color: $primary !default;
|
446
|
+
$link-decoration: underline !default;
|
447
|
+
$link-shade-percentage: 20% !default;
|
448
|
+
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
449
|
+
$link-hover-decoration: null !default;
|
450
|
+
|
451
|
+
$stretched-link-pseudo-element: after !default;
|
452
|
+
$stretched-link-z-index: 1 !default;
|
178
453
|
|
179
454
|
// Paragraphs
|
180
455
|
//
|
@@ -188,13 +463,16 @@ $paragraph-margin-bottom: 1rem !default;
|
|
188
463
|
// Define the minimum dimensions at which your layout will change,
|
189
464
|
// adapting to different screen sizes, for use in media queries.
|
190
465
|
|
466
|
+
// scss-docs-start grid-breakpoints
|
191
467
|
$grid-breakpoints: (
|
192
468
|
xs: 0,
|
193
469
|
sm: 576px,
|
194
470
|
md: 768px,
|
195
471
|
lg: 992px,
|
196
|
-
xl: 1200px
|
472
|
+
xl: 1200px,
|
473
|
+
xxl: 1400px
|
197
474
|
) !default;
|
475
|
+
// scss-docs-end grid-breakpoints
|
198
476
|
|
199
477
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
200
478
|
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
@@ -204,12 +482,15 @@ $grid-breakpoints: (
|
|
204
482
|
//
|
205
483
|
// Define the maximum width of `.container` for different screen sizes.
|
206
484
|
|
485
|
+
// scss-docs-start container-max-widths
|
207
486
|
$container-max-widths: (
|
208
487
|
sm: 540px,
|
209
488
|
md: 720px,
|
210
489
|
lg: 960px,
|
211
|
-
xl: 1140px
|
490
|
+
xl: 1140px,
|
491
|
+
xxl: 1320px
|
212
492
|
) !default;
|
493
|
+
// scss-docs-end container-max-widths
|
213
494
|
|
214
495
|
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
215
496
|
|
@@ -219,65 +500,92 @@ $container-max-widths: (
|
|
219
500
|
// Set the number of columns and specify the width of the gutters.
|
220
501
|
|
221
502
|
$grid-columns: 12 !default;
|
222
|
-
$grid-gutter-width:
|
503
|
+
$grid-gutter-width: 1.5rem !default;
|
504
|
+
$grid-row-columns: 6 !default;
|
505
|
+
|
506
|
+
$gutters: $spacers !default;
|
507
|
+
|
508
|
+
// Container padding
|
509
|
+
|
510
|
+
$container-padding-x: $grid-gutter-width * .5 !default;
|
223
511
|
|
224
512
|
|
225
513
|
// Components
|
226
514
|
//
|
227
515
|
// Define common padding and border radius sizes and more.
|
228
516
|
|
229
|
-
|
230
|
-
$line-height-sm: 1.5 !default;
|
231
|
-
|
517
|
+
// scss-docs-start border-variables
|
232
518
|
$border-width: 1px !default;
|
519
|
+
$border-widths: (
|
520
|
+
1: 1px,
|
521
|
+
2: 2px,
|
522
|
+
3: 3px,
|
523
|
+
4: 4px,
|
524
|
+
5: 5px
|
525
|
+
) !default;
|
526
|
+
|
233
527
|
$border-color: $gray-300 !default;
|
528
|
+
// scss-docs-end border-variables
|
234
529
|
|
530
|
+
// scss-docs-start border-radius-variables
|
235
531
|
$border-radius: .25rem !default;
|
236
|
-
$border-radius-lg: .3rem !default;
|
237
532
|
$border-radius-sm: .2rem !default;
|
533
|
+
$border-radius-lg: .3rem !default;
|
534
|
+
$border-radius-pill: 50rem !default;
|
535
|
+
// scss-docs-end border-radius-variables
|
238
536
|
|
239
|
-
|
240
|
-
|
241
|
-
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
537
|
+
// scss-docs-start box-shadow-variables
|
242
538
|
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
539
|
+
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
243
540
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
541
|
+
$box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
|
542
|
+
// scss-docs-end box-shadow-variables
|
244
543
|
|
245
544
|
$component-active-color: $white !default;
|
246
|
-
$component-active-bg:
|
545
|
+
$component-active-bg: $primary !default;
|
247
546
|
|
547
|
+
// scss-docs-start caret-variables
|
248
548
|
$caret-width: .3em !default;
|
249
549
|
$caret-vertical-align: $caret-width * .85 !default;
|
250
550
|
$caret-spacing: $caret-width * .85 !default;
|
551
|
+
// scss-docs-end caret-variables
|
251
552
|
|
252
553
|
$transition-base: all .2s ease-in-out !default;
|
253
554
|
$transition-fade: opacity .15s linear !default;
|
555
|
+
// scss-docs-start collapse-transition
|
254
556
|
$transition-collapse: height .35s ease !default;
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
)
|
265
|
-
|
266
|
-
|
557
|
+
$transition-collapse-width: width .35s ease !default;
|
558
|
+
// scss-docs-end collapse-transition
|
559
|
+
|
560
|
+
// stylelint-disable function-disallowed-list
|
561
|
+
// scss-docs-start aspect-ratios
|
562
|
+
$aspect-ratios: (
|
563
|
+
"1x1": 100%,
|
564
|
+
"4x3": calc(3 / 4 * 100%),
|
565
|
+
"16x9": calc(9 / 16 * 100%),
|
566
|
+
"21x9": calc(9 / 21 * 100%)
|
567
|
+
) !default;
|
568
|
+
// scss-docs-end aspect-ratios
|
569
|
+
// stylelint-enable function-disallowed-list
|
267
570
|
|
268
571
|
// Typography
|
269
572
|
//
|
270
573
|
// Font, line-height, and color for body text, headings, and more.
|
271
574
|
|
575
|
+
// scss-docs-start font-variables
|
272
576
|
// stylelint-disable value-keyword-case
|
273
|
-
$font-family-sans-serif: -apple-system,
|
577
|
+
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
274
578
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
275
|
-
$font-family-base: $font-family-sans-serif !default;
|
276
579
|
// stylelint-enable value-keyword-case
|
580
|
+
$font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
|
581
|
+
$font-family-code: var(--#{$variable-prefix}font-monospace) !default;
|
277
582
|
|
583
|
+
// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
|
584
|
+
// $font-size-base affects the font size of the body text
|
585
|
+
$font-size-root: null !default;
|
278
586
|
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
279
|
-
$font-size-lg: $font-size-base * 1.25 !default;
|
280
587
|
$font-size-sm: $font-size-base * .875 !default;
|
588
|
+
$font-size-lg: $font-size-base * 1.25 !default;
|
281
589
|
|
282
590
|
$font-weight-lighter: lighter !default;
|
283
591
|
$font-weight-light: 300 !default;
|
@@ -286,7 +594,10 @@ $font-weight-bold: 700 !default;
|
|
286
594
|
$font-weight-bolder: bolder !default;
|
287
595
|
|
288
596
|
$font-weight-base: $font-weight-normal !default;
|
597
|
+
|
289
598
|
$line-height-base: 1.5 !default;
|
599
|
+
$line-height-sm: 1.25 !default;
|
600
|
+
$line-height-lg: 2 !default;
|
290
601
|
|
291
602
|
$h1-font-size: $font-size-base * 2.5 !default;
|
292
603
|
$h2-font-size: $font-size-base * 2 !default;
|
@@ -294,134 +605,185 @@ $h3-font-size: $font-size-base * 1.75 !default;
|
|
294
605
|
$h4-font-size: $font-size-base * 1.5 !default;
|
295
606
|
$h5-font-size: $font-size-base * 1.25 !default;
|
296
607
|
$h6-font-size: $font-size-base !default;
|
608
|
+
// scss-docs-end font-variables
|
609
|
+
|
610
|
+
// scss-docs-start font-sizes
|
611
|
+
$font-sizes: (
|
612
|
+
1: $h1-font-size,
|
613
|
+
2: $h2-font-size,
|
614
|
+
3: $h3-font-size,
|
615
|
+
4: $h4-font-size,
|
616
|
+
5: $h5-font-size,
|
617
|
+
6: $h6-font-size
|
618
|
+
) !default;
|
619
|
+
// scss-docs-end font-sizes
|
297
620
|
|
298
|
-
|
621
|
+
// scss-docs-start headings-variables
|
622
|
+
$headings-margin-bottom: $spacer * .5 !default;
|
299
623
|
$headings-font-family: null !default;
|
624
|
+
$headings-font-style: null !default;
|
300
625
|
$headings-font-weight: 500 !default;
|
301
626
|
$headings-line-height: 1.2 !default;
|
302
627
|
$headings-color: null !default;
|
628
|
+
// scss-docs-end headings-variables
|
629
|
+
|
630
|
+
// scss-docs-start display-headings
|
631
|
+
$display-font-sizes: (
|
632
|
+
1: 5rem,
|
633
|
+
2: 4.5rem,
|
634
|
+
3: 4rem,
|
635
|
+
4: 3.5rem,
|
636
|
+
5: 3rem,
|
637
|
+
6: 2.5rem
|
638
|
+
) !default;
|
303
639
|
|
304
|
-
$
|
305
|
-
$
|
306
|
-
|
307
|
-
$display4-size: 3.5rem !default;
|
308
|
-
|
309
|
-
$display1-weight: 300 !default;
|
310
|
-
$display2-weight: 300 !default;
|
311
|
-
$display3-weight: 300 !default;
|
312
|
-
$display4-weight: 300 !default;
|
313
|
-
$display-line-height: $headings-line-height !default;
|
640
|
+
$display-font-weight: 300 !default;
|
641
|
+
$display-line-height: $headings-line-height !default;
|
642
|
+
// scss-docs-end display-headings
|
314
643
|
|
644
|
+
// scss-docs-start type-variables
|
315
645
|
$lead-font-size: $font-size-base * 1.25 !default;
|
316
646
|
$lead-font-weight: 300 !default;
|
317
647
|
|
318
|
-
$small-font-size:
|
648
|
+
$small-font-size: .875em !default;
|
649
|
+
|
650
|
+
$sub-sup-font-size: .75em !default;
|
319
651
|
|
320
652
|
$text-muted: $gray-600 !default;
|
321
653
|
|
322
|
-
$
|
323
|
-
|
654
|
+
$initialism-font-size: $small-font-size !default;
|
655
|
+
|
656
|
+
$blockquote-margin-y: $spacer !default;
|
324
657
|
$blockquote-font-size: $font-size-base * 1.25 !default;
|
658
|
+
$blockquote-footer-color: $gray-600 !default;
|
659
|
+
$blockquote-footer-font-size: $small-font-size !default;
|
660
|
+
|
661
|
+
$hr-margin-y: $spacer !default;
|
662
|
+
$hr-color: inherit !default;
|
663
|
+
$hr-height: $border-width !default;
|
664
|
+
$hr-opacity: .25 !default;
|
325
665
|
|
326
|
-
$
|
327
|
-
$
|
666
|
+
$legend-margin-bottom: .5rem !default;
|
667
|
+
$legend-font-size: 1.5rem !default;
|
668
|
+
$legend-font-weight: null !default;
|
328
669
|
|
329
670
|
$mark-padding: .2em !default;
|
330
671
|
|
331
672
|
$dt-font-weight: $font-weight-bold !default;
|
332
673
|
|
333
|
-
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
|
334
674
|
$nested-kbd-font-weight: $font-weight-bold !default;
|
335
675
|
|
336
676
|
$list-inline-padding: .5rem !default;
|
337
677
|
|
338
678
|
$mark-bg: #fcf8e3 !default;
|
339
|
-
|
340
|
-
$hr-margin-y: $spacer !default;
|
679
|
+
// scss-docs-end type-variables
|
341
680
|
|
342
681
|
|
343
682
|
// Tables
|
344
683
|
//
|
345
684
|
// Customizes the `.table` component with basic values, each used across all table variations.
|
346
685
|
|
347
|
-
|
348
|
-
$table-cell-padding-
|
686
|
+
// scss-docs-start table-variables
|
687
|
+
$table-cell-padding-y: .5rem !default;
|
688
|
+
$table-cell-padding-x: .5rem !default;
|
689
|
+
$table-cell-padding-y-sm: .25rem !default;
|
690
|
+
$table-cell-padding-x-sm: .25rem !default;
|
691
|
+
|
692
|
+
$table-cell-vertical-align: top !default;
|
349
693
|
|
350
694
|
$table-color: $body-color !default;
|
351
|
-
$table-bg:
|
352
|
-
$table-accent-bg:
|
695
|
+
$table-bg: transparent !default;
|
696
|
+
$table-accent-bg: transparent !default;
|
697
|
+
|
698
|
+
$table-th-font-weight: null !default;
|
699
|
+
|
700
|
+
$table-striped-color: $table-color !default;
|
701
|
+
$table-striped-bg-factor: .05 !default;
|
702
|
+
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
|
703
|
+
|
704
|
+
$table-active-color: $table-color !default;
|
705
|
+
$table-active-bg-factor: .1 !default;
|
706
|
+
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
|
707
|
+
|
353
708
|
$table-hover-color: $table-color !default;
|
354
|
-
$table-hover-bg:
|
355
|
-
$table-
|
709
|
+
$table-hover-bg-factor: .075 !default;
|
710
|
+
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
|
356
711
|
|
712
|
+
$table-border-factor: .1 !default;
|
357
713
|
$table-border-width: $border-width !default;
|
358
714
|
$table-border-color: $border-color !default;
|
359
715
|
|
360
|
-
$table-head-bg: $gray-200 !default;
|
361
|
-
$table-head-color: $gray-700 !default;
|
362
|
-
|
363
|
-
$table-dark-color: $white !default;
|
364
|
-
$table-dark-bg: $gray-800 !default;
|
365
|
-
$table-dark-accent-bg: rgba($white, .05) !default;
|
366
|
-
$table-dark-hover-color: $table-dark-color !default;
|
367
|
-
$table-dark-hover-bg: rgba($white, .075) !default;
|
368
|
-
$table-dark-border-color: lighten($table-dark-bg, 7.5%) !default;
|
369
|
-
$table-dark-color: $white !default;
|
370
|
-
|
371
716
|
$table-striped-order: odd !default;
|
372
717
|
|
718
|
+
$table-group-separator-color: currentColor !default;
|
719
|
+
|
373
720
|
$table-caption-color: $text-muted !default;
|
374
721
|
|
375
|
-
$table-bg-
|
376
|
-
|
722
|
+
$table-bg-scale: -80% !default;
|
723
|
+
// scss-docs-end table-variables
|
724
|
+
|
725
|
+
// scss-docs-start table-loop
|
726
|
+
$table-variants: (
|
727
|
+
"primary": shift-color($primary, $table-bg-scale),
|
728
|
+
"secondary": shift-color($secondary, $table-bg-scale),
|
729
|
+
"success": shift-color($success, $table-bg-scale),
|
730
|
+
"info": shift-color($info, $table-bg-scale),
|
731
|
+
"warning": shift-color($warning, $table-bg-scale),
|
732
|
+
"danger": shift-color($danger, $table-bg-scale),
|
733
|
+
"light": $light,
|
734
|
+
"dark": $dark,
|
735
|
+
) !default;
|
736
|
+
// scss-docs-end table-loop
|
377
737
|
|
378
738
|
|
379
739
|
// Buttons + Forms
|
380
740
|
//
|
381
741
|
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
382
742
|
|
743
|
+
// scss-docs-start input-btn-variables
|
383
744
|
$input-btn-padding-y: .375rem !default;
|
384
745
|
$input-btn-padding-x: .75rem !default;
|
385
746
|
$input-btn-font-family: null !default;
|
386
747
|
$input-btn-font-size: $font-size-base !default;
|
387
748
|
$input-btn-line-height: $line-height-base !default;
|
388
749
|
|
389
|
-
$input-btn-focus-width:
|
390
|
-
$input-btn-focus-color:
|
391
|
-
$input-btn-focus-
|
750
|
+
$input-btn-focus-width: .25rem !default;
|
751
|
+
$input-btn-focus-color-opacity: .25 !default;
|
752
|
+
$input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
|
753
|
+
$input-btn-focus-blur: 0 !default;
|
754
|
+
$input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
|
392
755
|
|
393
756
|
$input-btn-padding-y-sm: .25rem !default;
|
394
757
|
$input-btn-padding-x-sm: .5rem !default;
|
395
758
|
$input-btn-font-size-sm: $font-size-sm !default;
|
396
|
-
$input-btn-line-height-sm: $line-height-sm !default;
|
397
759
|
|
398
760
|
$input-btn-padding-y-lg: .5rem !default;
|
399
761
|
$input-btn-padding-x-lg: 1rem !default;
|
400
762
|
$input-btn-font-size-lg: $font-size-lg !default;
|
401
|
-
$input-btn-line-height-lg: $line-height-lg !default;
|
402
763
|
|
403
764
|
$input-btn-border-width: $border-width !default;
|
765
|
+
// scss-docs-end input-btn-variables
|
404
766
|
|
405
767
|
|
406
768
|
// Buttons
|
407
769
|
//
|
408
770
|
// For each of Bootstrap's buttons, define text, background, and border color.
|
409
771
|
|
772
|
+
// scss-docs-start btn-variables
|
410
773
|
$btn-padding-y: $input-btn-padding-y !default;
|
411
774
|
$btn-padding-x: $input-btn-padding-x !default;
|
412
775
|
$btn-font-family: $input-btn-font-family !default;
|
413
776
|
$btn-font-size: $input-btn-font-size !default;
|
414
777
|
$btn-line-height: $input-btn-line-height !default;
|
778
|
+
$btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
|
415
779
|
|
416
780
|
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
417
781
|
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
418
782
|
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
419
|
-
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
420
783
|
|
421
784
|
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
422
785
|
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
423
786
|
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
424
|
-
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
425
787
|
|
426
788
|
$btn-border-width: $input-btn-border-width !default;
|
427
789
|
|
@@ -432,22 +794,47 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
432
794
|
$btn-disabled-opacity: .65 !default;
|
433
795
|
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
434
796
|
|
797
|
+
$btn-link-color: $link-color !default;
|
798
|
+
$btn-link-hover-color: $link-hover-color !default;
|
435
799
|
$btn-link-disabled-color: $gray-600 !default;
|
436
800
|
|
437
|
-
$btn-block-spacing-y: .5rem !default;
|
438
|
-
|
439
801
|
// Allows for customizing button radius independently from global border radius
|
440
802
|
$btn-border-radius: $border-radius !default;
|
441
|
-
$btn-border-radius-lg: $border-radius-lg !default;
|
442
803
|
$btn-border-radius-sm: $border-radius-sm !default;
|
804
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
443
805
|
|
444
806
|
$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
445
807
|
|
808
|
+
$btn-hover-bg-shade-amount: 15% !default;
|
809
|
+
$btn-hover-bg-tint-amount: 15% !default;
|
810
|
+
$btn-hover-border-shade-amount: 20% !default;
|
811
|
+
$btn-hover-border-tint-amount: 10% !default;
|
812
|
+
$btn-active-bg-shade-amount: 20% !default;
|
813
|
+
$btn-active-bg-tint-amount: 20% !default;
|
814
|
+
$btn-active-border-shade-amount: 25% !default;
|
815
|
+
$btn-active-border-tint-amount: 10% !default;
|
816
|
+
// scss-docs-end btn-variables
|
446
817
|
|
447
|
-
// Forms
|
448
818
|
|
449
|
-
|
819
|
+
// Forms
|
450
820
|
|
821
|
+
// scss-docs-start form-text-variables
|
822
|
+
$form-text-margin-top: .25rem !default;
|
823
|
+
$form-text-font-size: $small-font-size !default;
|
824
|
+
$form-text-font-style: null !default;
|
825
|
+
$form-text-font-weight: null !default;
|
826
|
+
$form-text-color: $text-muted !default;
|
827
|
+
// scss-docs-end form-text-variables
|
828
|
+
|
829
|
+
// scss-docs-start form-label-variables
|
830
|
+
$form-label-margin-bottom: .5rem !default;
|
831
|
+
$form-label-font-size: null !default;
|
832
|
+
$form-label-font-style: null !default;
|
833
|
+
$form-label-font-weight: null !default;
|
834
|
+
$form-label-color: null !default;
|
835
|
+
// scss-docs-end form-label-variables
|
836
|
+
|
837
|
+
// scss-docs-start form-input-variables
|
451
838
|
$input-padding-y: $input-btn-padding-y !default;
|
452
839
|
$input-padding-x: $input-btn-padding-x !default;
|
453
840
|
$input-font-family: $input-btn-font-family !default;
|
@@ -458,27 +845,26 @@ $input-line-height: $input-btn-line-height !default;
|
|
458
845
|
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
459
846
|
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
460
847
|
$input-font-size-sm: $input-btn-font-size-sm !default;
|
461
|
-
$input-line-height-sm: $input-btn-line-height-sm !default;
|
462
848
|
|
463
849
|
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
464
850
|
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
465
851
|
$input-font-size-lg: $input-btn-font-size-lg !default;
|
466
|
-
$input-line-height-lg: $input-btn-line-height-lg !default;
|
467
852
|
|
468
|
-
$input-bg: $
|
853
|
+
$input-bg: $body-bg !default;
|
469
854
|
$input-disabled-bg: $gray-200 !default;
|
855
|
+
$input-disabled-border-color: null !default;
|
470
856
|
|
471
|
-
$input-color: $
|
857
|
+
$input-color: $body-color !default;
|
472
858
|
$input-border-color: $gray-400 !default;
|
473
859
|
$input-border-width: $input-btn-border-width !default;
|
474
|
-
$input-box-shadow: inset
|
860
|
+
$input-box-shadow: $box-shadow-inset !default;
|
475
861
|
|
476
862
|
$input-border-radius: $border-radius !default;
|
477
|
-
$input-border-radius-lg: $border-radius-lg !default;
|
478
863
|
$input-border-radius-sm: $border-radius-sm !default;
|
864
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
479
865
|
|
480
866
|
$input-focus-bg: $input-bg !default;
|
481
|
-
$input-focus-border-color:
|
867
|
+
$input-focus-border-color: tint-color($component-active-bg, 50%) !default;
|
482
868
|
$input-focus-color: $input-color !default;
|
483
869
|
$input-focus-width: $input-btn-focus-width !default;
|
484
870
|
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
@@ -488,206 +874,219 @@ $input-plaintext-color: $body-color !default;
|
|
488
874
|
|
489
875
|
$input-height-border: $input-border-width * 2 !default;
|
490
876
|
|
491
|
-
$input-height-inner:
|
492
|
-
$input-height-inner-half:
|
493
|
-
$input-height-inner-quarter:
|
877
|
+
$input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
|
878
|
+
$input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
|
879
|
+
$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
|
494
880
|
|
495
|
-
$input-height:
|
496
|
-
$input-height-sm:
|
497
|
-
$input-height-lg:
|
881
|
+
$input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
|
882
|
+
$input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
|
883
|
+
$input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
|
498
884
|
|
499
885
|
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
500
886
|
|
501
|
-
$form-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
$form-check-input-
|
506
|
-
|
507
|
-
$form-check-
|
508
|
-
$form-check-
|
509
|
-
|
510
|
-
$form-
|
511
|
-
$form-
|
512
|
-
|
887
|
+
$form-color-width: 3rem !default;
|
888
|
+
// scss-docs-end form-input-variables
|
889
|
+
|
890
|
+
// scss-docs-start form-check-variables
|
891
|
+
$form-check-input-width: 1em !default;
|
892
|
+
$form-check-min-height: $font-size-base * $line-height-base !default;
|
893
|
+
$form-check-padding-start: $form-check-input-width + .5em !default;
|
894
|
+
$form-check-margin-bottom: .125rem !default;
|
895
|
+
$form-check-label-color: null !default;
|
896
|
+
$form-check-label-cursor: null !default;
|
897
|
+
$form-check-transition: null !default;
|
898
|
+
|
899
|
+
$form-check-input-active-filter: brightness(90%) !default;
|
900
|
+
|
901
|
+
$form-check-input-bg: $input-bg !default;
|
902
|
+
$form-check-input-border: 1px solid rgba($black, .25) !default;
|
903
|
+
$form-check-input-border-radius: .25em !default;
|
904
|
+
$form-check-radio-border-radius: 50% !default;
|
905
|
+
$form-check-input-focus-border: $input-focus-border-color !default;
|
906
|
+
$form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
907
|
+
|
908
|
+
$form-check-input-checked-color: $component-active-color !default;
|
909
|
+
$form-check-input-checked-bg-color: $component-active-bg !default;
|
910
|
+
$form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
911
|
+
$form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") !default;
|
912
|
+
$form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
|
913
|
+
|
914
|
+
$form-check-input-indeterminate-color: $component-active-color !default;
|
915
|
+
$form-check-input-indeterminate-bg-color: $component-active-bg !default;
|
916
|
+
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
|
917
|
+
$form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") !default;
|
918
|
+
|
919
|
+
$form-check-input-disabled-opacity: .5 !default;
|
920
|
+
$form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
|
921
|
+
$form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
|
922
|
+
|
923
|
+
$form-check-inline-margin-end: 1rem !default;
|
924
|
+
// scss-docs-end form-check-variables
|
925
|
+
|
926
|
+
// scss-docs-start form-switch-variables
|
927
|
+
$form-switch-color: rgba($black, .25) !default;
|
928
|
+
$form-switch-width: 2em !default;
|
929
|
+
$form-switch-padding-start: $form-switch-width + .5em !default;
|
930
|
+
$form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
|
931
|
+
$form-switch-border-radius: $form-switch-width !default;
|
932
|
+
$form-switch-transition: background-position .15s ease-in-out !default;
|
933
|
+
|
934
|
+
$form-switch-focus-color: $input-focus-border-color !default;
|
935
|
+
$form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
|
936
|
+
|
937
|
+
$form-switch-checked-color: $component-active-color !default;
|
938
|
+
$form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
|
939
|
+
$form-switch-checked-bg-position: right center !default;
|
940
|
+
// scss-docs-end form-switch-variables
|
941
|
+
|
942
|
+
// scss-docs-start input-group-variables
|
943
|
+
$input-group-addon-padding-y: $input-padding-y !default;
|
944
|
+
$input-group-addon-padding-x: $input-padding-x !default;
|
945
|
+
$input-group-addon-font-weight: $input-font-weight !default;
|
513
946
|
$input-group-addon-color: $input-color !default;
|
514
947
|
$input-group-addon-bg: $gray-200 !default;
|
515
948
|
$input-group-addon-border-color: $input-border-color !default;
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
$
|
520
|
-
$
|
521
|
-
|
522
|
-
$
|
523
|
-
$
|
524
|
-
|
525
|
-
$
|
526
|
-
$
|
527
|
-
$
|
528
|
-
$
|
529
|
-
|
530
|
-
$
|
531
|
-
$
|
532
|
-
|
533
|
-
$
|
534
|
-
$
|
535
|
-
|
536
|
-
$
|
537
|
-
$
|
538
|
-
|
539
|
-
|
540
|
-
$
|
541
|
-
|
542
|
-
$
|
543
|
-
$
|
544
|
-
|
545
|
-
$
|
546
|
-
|
547
|
-
$
|
548
|
-
|
549
|
-
|
550
|
-
$
|
551
|
-
$
|
552
|
-
$
|
553
|
-
|
554
|
-
$
|
555
|
-
|
556
|
-
$
|
557
|
-
$
|
558
|
-
|
559
|
-
$
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
$
|
564
|
-
$
|
565
|
-
$
|
566
|
-
$
|
567
|
-
$
|
568
|
-
$
|
569
|
-
|
570
|
-
$
|
571
|
-
$
|
572
|
-
$
|
573
|
-
$
|
574
|
-
$
|
575
|
-
$
|
576
|
-
$
|
577
|
-
$
|
578
|
-
$
|
579
|
-
|
580
|
-
$
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
$
|
585
|
-
$
|
586
|
-
$
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
$
|
591
|
-
$
|
592
|
-
|
593
|
-
$
|
594
|
-
$
|
595
|
-
$
|
596
|
-
$
|
597
|
-
|
598
|
-
$
|
599
|
-
|
600
|
-
$custom-select-font-size-lg: $input-font-size-lg !default;
|
601
|
-
$custom-select-height-lg: $input-height-lg !default;
|
602
|
-
|
603
|
-
$custom-range-track-width: 100% !default;
|
604
|
-
$custom-range-track-height: .5rem !default;
|
605
|
-
$custom-range-track-cursor: pointer !default;
|
606
|
-
$custom-range-track-bg: $gray-300 !default;
|
607
|
-
$custom-range-track-border-radius: 1rem !default;
|
608
|
-
$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
609
|
-
|
610
|
-
$custom-range-thumb-width: 1rem !default;
|
611
|
-
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
612
|
-
$custom-range-thumb-bg: $component-active-bg !default;
|
613
|
-
$custom-range-thumb-border: 0 !default;
|
614
|
-
$custom-range-thumb-border-radius: 1rem !default;
|
615
|
-
$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
616
|
-
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
617
|
-
$custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
|
618
|
-
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
619
|
-
$custom-range-thumb-disabled-bg: $gray-500 !default;
|
620
|
-
|
621
|
-
$custom-file-height: $input-height !default;
|
622
|
-
$custom-file-height-inner: $input-height-inner !default;
|
623
|
-
$custom-file-focus-border-color: $input-focus-border-color !default;
|
624
|
-
$custom-file-focus-box-shadow: $input-focus-box-shadow !default;
|
625
|
-
$custom-file-disabled-bg: $input-disabled-bg !default;
|
626
|
-
|
627
|
-
$custom-file-padding-y: $input-padding-y !default;
|
628
|
-
$custom-file-padding-x: $input-padding-x !default;
|
629
|
-
$custom-file-line-height: $input-line-height !default;
|
630
|
-
$custom-file-font-family: $input-font-family !default;
|
631
|
-
$custom-file-font-weight: $input-font-weight !default;
|
632
|
-
$custom-file-color: $input-color !default;
|
633
|
-
$custom-file-bg: $input-bg !default;
|
634
|
-
$custom-file-border-width: $input-border-width !default;
|
635
|
-
$custom-file-border-color: $input-border-color !default;
|
636
|
-
$custom-file-border-radius: $input-border-radius !default;
|
637
|
-
$custom-file-box-shadow: $input-box-shadow !default;
|
638
|
-
$custom-file-button-color: $custom-file-color !default;
|
639
|
-
$custom-file-button-bg: $input-group-addon-bg !default;
|
640
|
-
$custom-file-text: (
|
641
|
-
en: "Browse"
|
642
|
-
) !default;
|
643
|
-
|
949
|
+
// scss-docs-end input-group-variables
|
950
|
+
|
951
|
+
// scss-docs-start form-select-variables
|
952
|
+
$form-select-padding-y: $input-padding-y !default;
|
953
|
+
$form-select-padding-x: $input-padding-x !default;
|
954
|
+
$form-select-font-family: $input-font-family !default;
|
955
|
+
$form-select-font-size: $input-font-size !default;
|
956
|
+
$form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
|
957
|
+
$form-select-font-weight: $input-font-weight !default;
|
958
|
+
$form-select-line-height: $input-line-height !default;
|
959
|
+
$form-select-color: $input-color !default;
|
960
|
+
$form-select-bg: $input-bg !default;
|
961
|
+
$form-select-disabled-color: null !default;
|
962
|
+
$form-select-disabled-bg: $gray-200 !default;
|
963
|
+
$form-select-disabled-border-color: $input-disabled-border-color !default;
|
964
|
+
$form-select-bg-position: right $form-select-padding-x center !default;
|
965
|
+
$form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
966
|
+
$form-select-indicator-color: $gray-800 !default;
|
967
|
+
$form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
|
968
|
+
|
969
|
+
$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
|
970
|
+
$form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
|
971
|
+
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
972
|
+
|
973
|
+
$form-select-border-width: $input-border-width !default;
|
974
|
+
$form-select-border-color: $input-border-color !default;
|
975
|
+
$form-select-border-radius: $input-border-radius !default;
|
976
|
+
$form-select-box-shadow: $box-shadow-inset !default;
|
977
|
+
|
978
|
+
$form-select-focus-border-color: $input-focus-border-color !default;
|
979
|
+
$form-select-focus-width: $input-focus-width !default;
|
980
|
+
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
|
981
|
+
|
982
|
+
$form-select-padding-y-sm: $input-padding-y-sm !default;
|
983
|
+
$form-select-padding-x-sm: $input-padding-x-sm !default;
|
984
|
+
$form-select-font-size-sm: $input-font-size-sm !default;
|
985
|
+
$form-select-border-radius-sm: $input-border-radius-sm !default;
|
986
|
+
|
987
|
+
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
988
|
+
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
989
|
+
$form-select-font-size-lg: $input-font-size-lg !default;
|
990
|
+
$form-select-border-radius-lg: $input-border-radius-lg !default;
|
991
|
+
|
992
|
+
$form-select-transition: $input-transition !default;
|
993
|
+
// scss-docs-end form-select-variables
|
994
|
+
|
995
|
+
// scss-docs-start form-range-variables
|
996
|
+
$form-range-track-width: 100% !default;
|
997
|
+
$form-range-track-height: .5rem !default;
|
998
|
+
$form-range-track-cursor: pointer !default;
|
999
|
+
$form-range-track-bg: $gray-300 !default;
|
1000
|
+
$form-range-track-border-radius: 1rem !default;
|
1001
|
+
$form-range-track-box-shadow: $box-shadow-inset !default;
|
1002
|
+
|
1003
|
+
$form-range-thumb-width: 1rem !default;
|
1004
|
+
$form-range-thumb-height: $form-range-thumb-width !default;
|
1005
|
+
$form-range-thumb-bg: $component-active-bg !default;
|
1006
|
+
$form-range-thumb-border: 0 !default;
|
1007
|
+
$form-range-thumb-border-radius: 1rem !default;
|
1008
|
+
$form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
1009
|
+
$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
1010
|
+
$form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
|
1011
|
+
$form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
|
1012
|
+
$form-range-thumb-disabled-bg: $gray-500 !default;
|
1013
|
+
$form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
1014
|
+
// scss-docs-end form-range-variables
|
1015
|
+
|
1016
|
+
// scss-docs-start form-file-variables
|
1017
|
+
$form-file-button-color: $input-color !default;
|
1018
|
+
$form-file-button-bg: $input-group-addon-bg !default;
|
1019
|
+
$form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
|
1020
|
+
// scss-docs-end form-file-variables
|
1021
|
+
|
1022
|
+
// scss-docs-start form-floating-variables
|
1023
|
+
$form-floating-height: add(3.5rem, $input-height-border) !default;
|
1024
|
+
$form-floating-line-height: 1.25 !default;
|
1025
|
+
$form-floating-padding-x: $input-padding-x !default;
|
1026
|
+
$form-floating-padding-y: 1rem !default;
|
1027
|
+
$form-floating-input-padding-t: 1.625rem !default;
|
1028
|
+
$form-floating-input-padding-b: .625rem !default;
|
1029
|
+
$form-floating-label-opacity: .65 !default;
|
1030
|
+
$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
|
1031
|
+
$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
|
1032
|
+
// scss-docs-end form-floating-variables
|
644
1033
|
|
645
1034
|
// Form validation
|
646
1035
|
|
1036
|
+
// scss-docs-start form-feedback-variables
|
647
1037
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
648
|
-
$form-feedback-font-size: $
|
649
|
-
$form-feedback-
|
650
|
-
$form-feedback-
|
1038
|
+
$form-feedback-font-size: $form-text-font-size !default;
|
1039
|
+
$form-feedback-font-style: $form-text-font-style !default;
|
1040
|
+
$form-feedback-valid-color: $success !default;
|
1041
|
+
$form-feedback-invalid-color: $danger !default;
|
651
1042
|
|
652
1043
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
653
|
-
$form-feedback-icon-valid:
|
1044
|
+
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
|
654
1045
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
655
|
-
$form-feedback-icon-invalid:
|
656
|
-
|
657
|
-
|
658
|
-
//
|
659
|
-
$form-validation-states:
|
660
|
-
(
|
661
|
-
"
|
662
|
-
|
663
|
-
"icon": $form-feedback-icon-valid
|
664
|
-
),
|
665
|
-
"invalid": (
|
666
|
-
"color": $form-feedback-invalid-color,
|
667
|
-
"icon": $form-feedback-icon-invalid
|
668
|
-
),
|
1046
|
+
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
|
1047
|
+
// scss-docs-end form-feedback-variables
|
1048
|
+
|
1049
|
+
// scss-docs-start form-validation-states
|
1050
|
+
$form-validation-states: (
|
1051
|
+
"valid": (
|
1052
|
+
"color": $form-feedback-valid-color,
|
1053
|
+
"icon": $form-feedback-icon-valid
|
669
1054
|
),
|
670
|
-
|
671
|
-
|
1055
|
+
"invalid": (
|
1056
|
+
"color": $form-feedback-invalid-color,
|
1057
|
+
"icon": $form-feedback-icon-invalid
|
1058
|
+
)
|
1059
|
+
) !default;
|
1060
|
+
// scss-docs-end form-validation-states
|
672
1061
|
|
673
1062
|
// Z-index master list
|
674
1063
|
//
|
675
1064
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
676
1065
|
// of components dependent on the z-axis and are designed to all work together.
|
677
1066
|
|
1067
|
+
// scss-docs-start zindex-stack
|
678
1068
|
$zindex-dropdown: 1000 !default;
|
679
1069
|
$zindex-sticky: 1020 !default;
|
680
1070
|
$zindex-fixed: 1030 !default;
|
681
|
-
$zindex-
|
682
|
-
$zindex-
|
683
|
-
$zindex-
|
684
|
-
$zindex-
|
1071
|
+
$zindex-offcanvas-backdrop: 1040 !default;
|
1072
|
+
$zindex-offcanvas: 1045 !default;
|
1073
|
+
$zindex-modal-backdrop: 1050 !default;
|
1074
|
+
$zindex-modal: 1055 !default;
|
1075
|
+
$zindex-popover: 1070 !default;
|
1076
|
+
$zindex-tooltip: 1080 !default;
|
1077
|
+
// scss-docs-end zindex-stack
|
685
1078
|
|
686
1079
|
|
687
1080
|
// Navs
|
688
1081
|
|
1082
|
+
// scss-docs-start nav-variables
|
689
1083
|
$nav-link-padding-y: .5rem !default;
|
690
1084
|
$nav-link-padding-x: 1rem !default;
|
1085
|
+
$nav-link-font-size: null !default;
|
1086
|
+
$nav-link-font-weight: null !default;
|
1087
|
+
$nav-link-color: $link-color !default;
|
1088
|
+
$nav-link-hover-color: $link-hover-color !default;
|
1089
|
+
$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
|
691
1090
|
$nav-link-disabled-color: $gray-600 !default;
|
692
1091
|
|
693
1092
|
$nav-tabs-border-color: $gray-300 !default;
|
@@ -701,15 +1100,14 @@ $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg
|
|
701
1100
|
$nav-pills-border-radius: $border-radius !default;
|
702
1101
|
$nav-pills-link-active-color: $component-active-color !default;
|
703
1102
|
$nav-pills-link-active-bg: $component-active-bg !default;
|
704
|
-
|
705
|
-
$nav-divider-color: $gray-200 !default;
|
706
|
-
$nav-divider-margin-y: $spacer / 2 !default;
|
1103
|
+
// scss-docs-end nav-variables
|
707
1104
|
|
708
1105
|
|
709
1106
|
// Navbar
|
710
1107
|
|
711
|
-
|
712
|
-
$navbar-padding-
|
1108
|
+
// scss-docs-start navbar-variables
|
1109
|
+
$navbar-padding-y: $spacer * .5 !default;
|
1110
|
+
$navbar-padding-x: null !default;
|
713
1111
|
|
714
1112
|
$navbar-nav-link-padding-x: .5rem !default;
|
715
1113
|
|
@@ -717,38 +1115,46 @@ $navbar-brand-font-size: $font-size-lg !default;
|
|
717
1115
|
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
718
1116
|
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
719
1117
|
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
720
|
-
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height)
|
1118
|
+
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
|
1119
|
+
$navbar-brand-margin-end: 1rem !default;
|
721
1120
|
|
722
1121
|
$navbar-toggler-padding-y: .25rem !default;
|
723
1122
|
$navbar-toggler-padding-x: .75rem !default;
|
724
1123
|
$navbar-toggler-font-size: $font-size-lg !default;
|
725
1124
|
$navbar-toggler-border-radius: $btn-border-radius !default;
|
1125
|
+
$navbar-toggler-focus-width: $btn-focus-width !default;
|
1126
|
+
$navbar-toggler-transition: box-shadow .15s ease-in-out !default;
|
1127
|
+
// scss-docs-end navbar-variables
|
726
1128
|
|
727
|
-
|
1129
|
+
// scss-docs-start navbar-theme-variables
|
1130
|
+
$navbar-dark-color: rgba($white, .55) !default;
|
728
1131
|
$navbar-dark-hover-color: rgba($white, .75) !default;
|
729
1132
|
$navbar-dark-active-color: $white !default;
|
730
1133
|
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
731
|
-
$navbar-dark-toggler-icon-bg:
|
1134
|
+
$navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
732
1135
|
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
733
1136
|
|
734
|
-
$navbar-light-color: rgba($black, .
|
1137
|
+
$navbar-light-color: rgba($black, .55) !default;
|
735
1138
|
$navbar-light-hover-color: rgba($black, .7) !default;
|
736
1139
|
$navbar-light-active-color: rgba($black, .9) !default;
|
737
1140
|
$navbar-light-disabled-color: rgba($black, .3) !default;
|
738
|
-
$navbar-light-toggler-icon-bg:
|
1141
|
+
$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
739
1142
|
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
740
1143
|
|
741
1144
|
$navbar-light-brand-color: $navbar-light-active-color !default;
|
742
1145
|
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
743
1146
|
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
744
1147
|
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
1148
|
+
// scss-docs-end navbar-theme-variables
|
745
1149
|
|
746
1150
|
|
747
1151
|
// Dropdowns
|
748
1152
|
//
|
749
1153
|
// Dropdown menu container and contents.
|
750
1154
|
|
1155
|
+
// scss-docs-start dropdown-variables
|
751
1156
|
$dropdown-min-width: 10rem !default;
|
1157
|
+
$dropdown-padding-x: 0 !default;
|
752
1158
|
$dropdown-padding-y: .5rem !default;
|
753
1159
|
$dropdown-spacer: .125rem !default;
|
754
1160
|
$dropdown-font-size: $font-size-base !default;
|
@@ -757,41 +1163,62 @@ $dropdown-bg: $white !default;
|
|
757
1163
|
$dropdown-border-color: rgba($black, .15) !default;
|
758
1164
|
$dropdown-border-radius: $border-radius !default;
|
759
1165
|
$dropdown-border-width: $border-width !default;
|
760
|
-
$dropdown-inner-border-radius:
|
761
|
-
$dropdown-divider-bg: $
|
762
|
-
$dropdown-divider-margin-y: $
|
763
|
-
$dropdown-box-shadow:
|
1166
|
+
$dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
|
1167
|
+
$dropdown-divider-bg: $dropdown-border-color !default;
|
1168
|
+
$dropdown-divider-margin-y: $spacer * .5 !default;
|
1169
|
+
$dropdown-box-shadow: $box-shadow !default;
|
764
1170
|
|
765
1171
|
$dropdown-link-color: $gray-900 !default;
|
766
|
-
$dropdown-link-hover-color:
|
767
|
-
$dropdown-link-hover-bg: $gray-
|
1172
|
+
$dropdown-link-hover-color: shade-color($dropdown-link-color, 10%) !default;
|
1173
|
+
$dropdown-link-hover-bg: $gray-200 !default;
|
768
1174
|
|
769
1175
|
$dropdown-link-active-color: $component-active-color !default;
|
770
1176
|
$dropdown-link-active-bg: $component-active-bg !default;
|
771
1177
|
|
772
|
-
$dropdown-link-disabled-color: $gray-
|
1178
|
+
$dropdown-link-disabled-color: $gray-500 !default;
|
773
1179
|
|
774
|
-
$dropdown-item-padding-y: .
|
775
|
-
$dropdown-item-padding-x:
|
1180
|
+
$dropdown-item-padding-y: $spacer * .25 !default;
|
1181
|
+
$dropdown-item-padding-x: $spacer !default;
|
776
1182
|
|
777
1183
|
$dropdown-header-color: $gray-600 !default;
|
1184
|
+
$dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
|
1185
|
+
// scss-docs-end dropdown-variables
|
1186
|
+
|
1187
|
+
// scss-docs-start dropdown-dark-variables
|
1188
|
+
$dropdown-dark-color: $gray-300 !default;
|
1189
|
+
$dropdown-dark-bg: $gray-800 !default;
|
1190
|
+
$dropdown-dark-border-color: $dropdown-border-color !default;
|
1191
|
+
$dropdown-dark-divider-bg: $dropdown-divider-bg !default;
|
1192
|
+
$dropdown-dark-box-shadow: null !default;
|
1193
|
+
$dropdown-dark-link-color: $dropdown-dark-color !default;
|
1194
|
+
$dropdown-dark-link-hover-color: $white !default;
|
1195
|
+
$dropdown-dark-link-hover-bg: rgba($white, .15) !default;
|
1196
|
+
$dropdown-dark-link-active-color: $dropdown-link-active-color !default;
|
1197
|
+
$dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
|
1198
|
+
$dropdown-dark-link-disabled-color: $gray-500 !default;
|
1199
|
+
$dropdown-dark-header-color: $gray-500 !default;
|
1200
|
+
// scss-docs-end dropdown-dark-variables
|
778
1201
|
|
779
1202
|
|
780
1203
|
// Pagination
|
781
1204
|
|
782
|
-
|
1205
|
+
// scss-docs-start pagination-variables
|
1206
|
+
$pagination-padding-y: .375rem !default;
|
783
1207
|
$pagination-padding-x: .75rem !default;
|
784
1208
|
$pagination-padding-y-sm: .25rem !default;
|
785
1209
|
$pagination-padding-x-sm: .5rem !default;
|
786
1210
|
$pagination-padding-y-lg: .75rem !default;
|
787
1211
|
$pagination-padding-x-lg: 1.5rem !default;
|
788
|
-
$pagination-line-height: 1.25 !default;
|
789
1212
|
|
790
1213
|
$pagination-color: $link-color !default;
|
791
1214
|
$pagination-bg: $white !default;
|
792
1215
|
$pagination-border-width: $border-width !default;
|
1216
|
+
$pagination-border-radius: $border-radius !default;
|
1217
|
+
$pagination-margin-start: -$pagination-border-width !default;
|
793
1218
|
$pagination-border-color: $gray-300 !default;
|
794
1219
|
|
1220
|
+
$pagination-focus-color: $link-hover-color !default;
|
1221
|
+
$pagination-focus-bg: $gray-200 !default;
|
795
1222
|
$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
796
1223
|
$pagination-focus-outline: 0 !default;
|
797
1224
|
|
@@ -807,127 +1234,175 @@ $pagination-disabled-color: $gray-600 !default;
|
|
807
1234
|
$pagination-disabled-bg: $white !default;
|
808
1235
|
$pagination-disabled-border-color: $gray-300 !default;
|
809
1236
|
|
1237
|
+
$pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
1238
|
+
|
1239
|
+
$pagination-border-radius-sm: $border-radius-sm !default;
|
1240
|
+
$pagination-border-radius-lg: $border-radius-lg !default;
|
1241
|
+
// scss-docs-end pagination-variables
|
810
1242
|
|
811
|
-
// Jumbotron
|
812
1243
|
|
813
|
-
|
814
|
-
$jumbotron-color: null !default;
|
815
|
-
$jumbotron-bg: $gray-200 !default;
|
1244
|
+
// Placeholders
|
816
1245
|
|
1246
|
+
// scss-docs-start placeholders
|
1247
|
+
$placeholder-opacity-max: .5 !default;
|
1248
|
+
$placeholder-opacity-min: .2 !default;
|
1249
|
+
// scss-docs-end placeholders
|
817
1250
|
|
818
1251
|
// Cards
|
819
1252
|
|
820
|
-
|
821
|
-
$card-spacer-
|
1253
|
+
// scss-docs-start card-variables
|
1254
|
+
$card-spacer-y: $spacer !default;
|
1255
|
+
$card-spacer-x: $spacer !default;
|
1256
|
+
$card-title-spacer-y: $spacer * .5 !default;
|
822
1257
|
$card-border-width: $border-width !default;
|
823
|
-
$card-border-radius: $border-radius !default;
|
824
1258
|
$card-border-color: rgba($black, .125) !default;
|
825
|
-
$card-
|
1259
|
+
$card-border-radius: $border-radius !default;
|
1260
|
+
$card-box-shadow: null !default;
|
1261
|
+
$card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
|
1262
|
+
$card-cap-padding-y: $card-spacer-y * .5 !default;
|
1263
|
+
$card-cap-padding-x: $card-spacer-x !default;
|
826
1264
|
$card-cap-bg: rgba($black, .03) !default;
|
827
1265
|
$card-cap-color: null !default;
|
1266
|
+
$card-height: null !default;
|
828
1267
|
$card-color: null !default;
|
829
1268
|
$card-bg: $white !default;
|
830
|
-
|
831
|
-
$card-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
$
|
838
|
-
$
|
839
|
-
|
1269
|
+
$card-img-overlay-padding: $spacer !default;
|
1270
|
+
$card-group-margin: $grid-gutter-width * .5 !default;
|
1271
|
+
// scss-docs-end card-variables
|
1272
|
+
|
1273
|
+
// Accordion
|
1274
|
+
|
1275
|
+
// scss-docs-start accordion-variables
|
1276
|
+
$accordion-padding-y: 1rem !default;
|
1277
|
+
$accordion-padding-x: 1.25rem !default;
|
1278
|
+
$accordion-color: $body-color !default;
|
1279
|
+
$accordion-bg: $body-bg !default;
|
1280
|
+
$accordion-border-width: $border-width !default;
|
1281
|
+
$accordion-border-color: rgba($black, .125) !default;
|
1282
|
+
$accordion-border-radius: $border-radius !default;
|
1283
|
+
$accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
|
1284
|
+
|
1285
|
+
$accordion-body-padding-y: $accordion-padding-y !default;
|
1286
|
+
$accordion-body-padding-x: $accordion-padding-x !default;
|
1287
|
+
|
1288
|
+
$accordion-button-padding-y: $accordion-padding-y !default;
|
1289
|
+
$accordion-button-padding-x: $accordion-padding-x !default;
|
1290
|
+
$accordion-button-color: $accordion-color !default;
|
1291
|
+
$accordion-button-bg: $accordion-bg !default;
|
1292
|
+
$accordion-transition: $btn-transition, border-radius .15s ease !default;
|
1293
|
+
$accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
|
1294
|
+
$accordion-button-active-color: shade-color($primary, 10%) !default;
|
1295
|
+
|
1296
|
+
$accordion-button-focus-border-color: $input-focus-border-color !default;
|
1297
|
+
$accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
|
1298
|
+
|
1299
|
+
$accordion-icon-width: 1.25rem !default;
|
1300
|
+
$accordion-icon-color: $accordion-button-color !default;
|
1301
|
+
$accordion-icon-active-color: $accordion-button-active-color !default;
|
1302
|
+
$accordion-icon-transition: transform .2s ease-in-out !default;
|
1303
|
+
$accordion-icon-transform: rotate(-180deg) !default;
|
1304
|
+
|
1305
|
+
$accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
1306
|
+
$accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
1307
|
+
// scss-docs-end accordion-variables
|
840
1308
|
|
841
1309
|
// Tooltips
|
842
1310
|
|
1311
|
+
// scss-docs-start tooltip-variables
|
843
1312
|
$tooltip-font-size: $font-size-sm !default;
|
844
1313
|
$tooltip-max-width: 200px !default;
|
845
1314
|
$tooltip-color: $white !default;
|
846
1315
|
$tooltip-bg: $black !default;
|
847
1316
|
$tooltip-border-radius: $border-radius !default;
|
848
1317
|
$tooltip-opacity: .9 !default;
|
849
|
-
$tooltip-padding-y: .
|
850
|
-
$tooltip-padding-x: .
|
1318
|
+
$tooltip-padding-y: $spacer * .25 !default;
|
1319
|
+
$tooltip-padding-x: $spacer * .5 !default;
|
851
1320
|
$tooltip-margin: 0 !default;
|
852
1321
|
|
853
1322
|
$tooltip-arrow-width: .8rem !default;
|
854
1323
|
$tooltip-arrow-height: .4rem !default;
|
855
1324
|
$tooltip-arrow-color: $tooltip-bg !default;
|
1325
|
+
// scss-docs-end tooltip-variables
|
856
1326
|
|
857
1327
|
// Form tooltips must come after regular tooltips
|
1328
|
+
// scss-docs-start tooltip-feedback-variables
|
858
1329
|
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
859
1330
|
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
860
1331
|
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
861
|
-
$form-feedback-tooltip-line-height:
|
1332
|
+
$form-feedback-tooltip-line-height: null !default;
|
862
1333
|
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
863
1334
|
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
1335
|
+
// scss-docs-end tooltip-feedback-variables
|
864
1336
|
|
865
1337
|
|
866
1338
|
// Popovers
|
867
1339
|
|
1340
|
+
// scss-docs-start popover-variables
|
868
1341
|
$popover-font-size: $font-size-sm !default;
|
869
1342
|
$popover-bg: $white !default;
|
870
1343
|
$popover-max-width: 276px !default;
|
871
1344
|
$popover-border-width: $border-width !default;
|
872
1345
|
$popover-border-color: rgba($black, .2) !default;
|
873
1346
|
$popover-border-radius: $border-radius-lg !default;
|
874
|
-
$popover-
|
1347
|
+
$popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
|
1348
|
+
$popover-box-shadow: $box-shadow !default;
|
875
1349
|
|
876
|
-
$popover-header-bg:
|
1350
|
+
$popover-header-bg: shade-color($popover-bg, 6%) !default;
|
877
1351
|
$popover-header-color: $headings-color !default;
|
878
1352
|
$popover-header-padding-y: .5rem !default;
|
879
|
-
$popover-header-padding-x:
|
1353
|
+
$popover-header-padding-x: $spacer !default;
|
880
1354
|
|
881
1355
|
$popover-body-color: $body-color !default;
|
882
|
-
$popover-body-padding-y: $
|
883
|
-
$popover-body-padding-x: $
|
1356
|
+
$popover-body-padding-y: $spacer !default;
|
1357
|
+
$popover-body-padding-x: $spacer !default;
|
884
1358
|
|
885
1359
|
$popover-arrow-width: 1rem !default;
|
886
1360
|
$popover-arrow-height: .5rem !default;
|
887
1361
|
$popover-arrow-color: $popover-bg !default;
|
888
1362
|
|
889
1363
|
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
1364
|
+
// scss-docs-end popover-variables
|
890
1365
|
|
891
1366
|
|
892
1367
|
// Toasts
|
893
1368
|
|
1369
|
+
// scss-docs-start toast-variables
|
894
1370
|
$toast-max-width: 350px !default;
|
895
1371
|
$toast-padding-x: .75rem !default;
|
896
|
-
$toast-padding-y: .
|
1372
|
+
$toast-padding-y: .5rem !default;
|
897
1373
|
$toast-font-size: .875rem !default;
|
898
1374
|
$toast-color: null !default;
|
899
1375
|
$toast-background-color: rgba($white, .85) !default;
|
900
1376
|
$toast-border-width: 1px !default;
|
901
|
-
$toast-border-color: rgba(
|
902
|
-
$toast-border-radius:
|
903
|
-
$toast-box-shadow:
|
1377
|
+
$toast-border-color: rgba($black, .1) !default;
|
1378
|
+
$toast-border-radius: $border-radius !default;
|
1379
|
+
$toast-box-shadow: $box-shadow !default;
|
1380
|
+
$toast-spacing: $container-padding-x !default;
|
904
1381
|
|
905
1382
|
$toast-header-color: $gray-600 !default;
|
906
1383
|
$toast-header-background-color: rgba($white, .85) !default;
|
907
|
-
$toast-header-border-color: rgba(
|
1384
|
+
$toast-header-border-color: rgba($black, .05) !default;
|
1385
|
+
// scss-docs-end toast-variables
|
908
1386
|
|
909
1387
|
|
910
1388
|
// Badges
|
911
1389
|
|
912
|
-
|
1390
|
+
// scss-docs-start badge-variables
|
1391
|
+
$badge-font-size: .75em !default;
|
913
1392
|
$badge-font-weight: $font-weight-bold !default;
|
914
|
-
$badge-
|
915
|
-
$badge-padding-
|
1393
|
+
$badge-color: $white !default;
|
1394
|
+
$badge-padding-y: .35em !default;
|
1395
|
+
$badge-padding-x: .65em !default;
|
916
1396
|
$badge-border-radius: $border-radius !default;
|
917
|
-
|
918
|
-
$badge-transition: $btn-transition !default;
|
919
|
-
$badge-focus-width: $input-btn-focus-width !default;
|
920
|
-
|
921
|
-
$badge-pill-padding-x: .6em !default;
|
922
|
-
// Use a higher than normal value to ensure completely rounded edges when
|
923
|
-
// customizing padding or font-size on labels.
|
924
|
-
$badge-pill-border-radius: 10rem !default;
|
1397
|
+
// scss-docs-end badge-variables
|
925
1398
|
|
926
1399
|
|
927
1400
|
// Modals
|
928
1401
|
|
929
|
-
//
|
930
|
-
$modal-inner-padding:
|
1402
|
+
// scss-docs-start modal-variables
|
1403
|
+
$modal-inner-padding: $spacer !default;
|
1404
|
+
|
1405
|
+
$modal-footer-margin-between: .5rem !default;
|
931
1406
|
|
932
1407
|
$modal-dialog-margin: .5rem !default;
|
933
1408
|
$modal-dialog-margin-y-sm-up: 1.75rem !default;
|
@@ -939,8 +1414,9 @@ $modal-content-bg: $white !default;
|
|
939
1414
|
$modal-content-border-color: rgba($black, .2) !default;
|
940
1415
|
$modal-content-border-width: $border-width !default;
|
941
1416
|
$modal-content-border-radius: $border-radius-lg !default;
|
942
|
-
$modal-content-
|
943
|
-
$modal-content-box-shadow-
|
1417
|
+
$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
|
1418
|
+
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
1419
|
+
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
944
1420
|
|
945
1421
|
$modal-backdrop-bg: $black !default;
|
946
1422
|
$modal-backdrop-opacity: .5 !default;
|
@@ -948,59 +1424,68 @@ $modal-header-border-color: $border-color !default;
|
|
948
1424
|
$modal-footer-border-color: $modal-header-border-color !default;
|
949
1425
|
$modal-header-border-width: $modal-content-border-width !default;
|
950
1426
|
$modal-footer-border-width: $modal-header-border-width !default;
|
951
|
-
$modal-header-padding-y:
|
952
|
-
$modal-header-padding-x:
|
1427
|
+
$modal-header-padding-y: $modal-inner-padding !default;
|
1428
|
+
$modal-header-padding-x: $modal-inner-padding !default;
|
953
1429
|
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
954
1430
|
|
955
|
-
$modal-xl: 1140px !default;
|
956
|
-
$modal-lg: 800px !default;
|
957
|
-
$modal-md: 500px !default;
|
958
1431
|
$modal-sm: 300px !default;
|
1432
|
+
$modal-md: 500px !default;
|
1433
|
+
$modal-lg: 800px !default;
|
1434
|
+
$modal-xl: 1140px !default;
|
959
1435
|
|
960
1436
|
$modal-fade-transform: translate(0, -50px) !default;
|
961
1437
|
$modal-show-transform: none !default;
|
962
1438
|
$modal-transition: transform .3s ease-out !default;
|
1439
|
+
$modal-scale-transform: scale(1.02) !default;
|
1440
|
+
// scss-docs-end modal-variables
|
963
1441
|
|
964
1442
|
|
965
1443
|
// Alerts
|
966
1444
|
//
|
967
1445
|
// Define alert colors, border radius, and padding.
|
968
1446
|
|
969
|
-
|
970
|
-
$alert-padding-
|
971
|
-
$alert-
|
972
|
-
$alert-
|
973
|
-
$alert-
|
974
|
-
$alert-
|
975
|
-
|
976
|
-
$alert-bg-
|
977
|
-
$alert-border-
|
978
|
-
$alert-color-
|
1447
|
+
// scss-docs-start alert-variables
|
1448
|
+
$alert-padding-y: $spacer !default;
|
1449
|
+
$alert-padding-x: $spacer !default;
|
1450
|
+
$alert-margin-bottom: 1rem !default;
|
1451
|
+
$alert-border-radius: $border-radius !default;
|
1452
|
+
$alert-link-font-weight: $font-weight-bold !default;
|
1453
|
+
$alert-border-width: $border-width !default;
|
1454
|
+
$alert-bg-scale: -80% !default;
|
1455
|
+
$alert-border-scale: -70% !default;
|
1456
|
+
$alert-color-scale: 40% !default;
|
1457
|
+
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
1458
|
+
// scss-docs-end alert-variables
|
979
1459
|
|
980
1460
|
|
981
1461
|
// Progress bars
|
982
1462
|
|
1463
|
+
// scss-docs-start progress-variables
|
983
1464
|
$progress-height: 1rem !default;
|
984
1465
|
$progress-font-size: $font-size-base * .75 !default;
|
985
1466
|
$progress-bg: $gray-200 !default;
|
986
1467
|
$progress-border-radius: $border-radius !default;
|
987
|
-
$progress-box-shadow: inset
|
1468
|
+
$progress-box-shadow: $box-shadow-inset !default;
|
988
1469
|
$progress-bar-color: $white !default;
|
989
|
-
$progress-bar-bg:
|
1470
|
+
$progress-bar-bg: $primary !default;
|
990
1471
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
991
1472
|
$progress-bar-transition: width .6s ease !default;
|
1473
|
+
// scss-docs-end progress-variables
|
992
1474
|
|
993
1475
|
|
994
1476
|
// List group
|
995
1477
|
|
996
|
-
|
1478
|
+
// scss-docs-start list-group-variables
|
1479
|
+
$list-group-color: $gray-900 !default;
|
997
1480
|
$list-group-bg: $white !default;
|
998
1481
|
$list-group-border-color: rgba($black, .125) !default;
|
999
1482
|
$list-group-border-width: $border-width !default;
|
1000
1483
|
$list-group-border-radius: $border-radius !default;
|
1001
1484
|
|
1002
|
-
$list-group-item-padding-y: .
|
1003
|
-
$list-group-item-padding-x:
|
1485
|
+
$list-group-item-padding-y: $spacer * .5 !default;
|
1486
|
+
$list-group-item-padding-x: $spacer !default;
|
1487
|
+
$list-group-item-bg-scale: -80% !default;
|
1488
|
+
$list-group-item-color-scale: 40% !default;
|
1004
1489
|
|
1005
1490
|
$list-group-hover-bg: $gray-100 !default;
|
1006
1491
|
$list-group-active-color: $component-active-color !default;
|
@@ -1015,42 +1500,48 @@ $list-group-action-hover-color: $list-group-action-color !default;
|
|
1015
1500
|
|
1016
1501
|
$list-group-action-active-color: $body-color !default;
|
1017
1502
|
$list-group-action-active-bg: $gray-200 !default;
|
1503
|
+
// scss-docs-end list-group-variables
|
1018
1504
|
|
1019
1505
|
|
1020
1506
|
// Image thumbnails
|
1021
1507
|
|
1508
|
+
// scss-docs-start thumbnail-variables
|
1022
1509
|
$thumbnail-padding: .25rem !default;
|
1023
1510
|
$thumbnail-bg: $body-bg !default;
|
1024
1511
|
$thumbnail-border-width: $border-width !default;
|
1025
1512
|
$thumbnail-border-color: $gray-300 !default;
|
1026
1513
|
$thumbnail-border-radius: $border-radius !default;
|
1027
|
-
$thumbnail-box-shadow:
|
1514
|
+
$thumbnail-box-shadow: $box-shadow-sm !default;
|
1515
|
+
// scss-docs-end thumbnail-variables
|
1028
1516
|
|
1029
1517
|
|
1030
1518
|
// Figures
|
1031
1519
|
|
1032
|
-
|
1520
|
+
// scss-docs-start figure-variables
|
1521
|
+
$figure-caption-font-size: $small-font-size !default;
|
1033
1522
|
$figure-caption-color: $gray-600 !default;
|
1523
|
+
// scss-docs-end figure-variables
|
1034
1524
|
|
1035
1525
|
|
1036
1526
|
// Breadcrumbs
|
1037
1527
|
|
1038
|
-
|
1039
|
-
$breadcrumb-
|
1040
|
-
$breadcrumb-
|
1041
|
-
|
1528
|
+
// scss-docs-start breadcrumb-variables
|
1529
|
+
$breadcrumb-font-size: null !default;
|
1530
|
+
$breadcrumb-padding-y: 0 !default;
|
1531
|
+
$breadcrumb-padding-x: 0 !default;
|
1532
|
+
$breadcrumb-item-padding-x: .5rem !default;
|
1042
1533
|
$breadcrumb-margin-bottom: 1rem !default;
|
1043
|
-
|
1044
|
-
$breadcrumb-bg: $gray-200 !default;
|
1534
|
+
$breadcrumb-bg: null !default;
|
1045
1535
|
$breadcrumb-divider-color: $gray-600 !default;
|
1046
1536
|
$breadcrumb-active-color: $gray-600 !default;
|
1047
1537
|
$breadcrumb-divider: quote("/") !default;
|
1048
|
-
|
1049
|
-
$breadcrumb-border-radius:
|
1050
|
-
|
1538
|
+
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
1539
|
+
$breadcrumb-border-radius: null !default;
|
1540
|
+
// scss-docs-end breadcrumb-variables
|
1051
1541
|
|
1052
1542
|
// Carousel
|
1053
1543
|
|
1544
|
+
// scss-docs-start carousel-variables
|
1054
1545
|
$carousel-control-color: $white !default;
|
1055
1546
|
$carousel-control-width: 15% !default;
|
1056
1547
|
$carousel-control-opacity: .5 !default;
|
@@ -1061,43 +1552,84 @@ $carousel-indicator-width: 30px !default;
|
|
1061
1552
|
$carousel-indicator-height: 3px !default;
|
1062
1553
|
$carousel-indicator-hit-area-height: 10px !default;
|
1063
1554
|
$carousel-indicator-spacer: 3px !default;
|
1555
|
+
$carousel-indicator-opacity: .5 !default;
|
1064
1556
|
$carousel-indicator-active-bg: $white !default;
|
1557
|
+
$carousel-indicator-active-opacity: 1 !default;
|
1065
1558
|
$carousel-indicator-transition: opacity .6s ease !default;
|
1066
1559
|
|
1067
1560
|
$carousel-caption-width: 70% !default;
|
1068
1561
|
$carousel-caption-color: $white !default;
|
1562
|
+
$carousel-caption-padding-y: 1.25rem !default;
|
1563
|
+
$carousel-caption-spacer: 1.25rem !default;
|
1069
1564
|
|
1070
|
-
$carousel-control-icon-width:
|
1565
|
+
$carousel-control-icon-width: 2rem !default;
|
1071
1566
|
|
1072
|
-
$carousel-control-prev-icon-bg:
|
1073
|
-
$carousel-control-next-icon-bg:
|
1567
|
+
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>") !default;
|
1568
|
+
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
1074
1569
|
|
1075
1570
|
$carousel-transition-duration: .6s !default;
|
1076
1571
|
$carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
1077
1572
|
|
1573
|
+
$carousel-dark-indicator-active-bg: $black !default;
|
1574
|
+
$carousel-dark-caption-color: $black !default;
|
1575
|
+
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
1576
|
+
// scss-docs-end carousel-variables
|
1577
|
+
|
1078
1578
|
|
1079
1579
|
// Spinners
|
1080
1580
|
|
1081
|
-
|
1082
|
-
$spinner-
|
1083
|
-
$spinner-
|
1581
|
+
// scss-docs-start spinner-variables
|
1582
|
+
$spinner-width: 2rem !default;
|
1583
|
+
$spinner-height: $spinner-width !default;
|
1584
|
+
$spinner-vertical-align: -.125em !default;
|
1585
|
+
$spinner-border-width: .25em !default;
|
1586
|
+
$spinner-animation-speed: .75s !default;
|
1084
1587
|
|
1085
1588
|
$spinner-width-sm: 1rem !default;
|
1086
1589
|
$spinner-height-sm: $spinner-width-sm !default;
|
1087
1590
|
$spinner-border-width-sm: .2em !default;
|
1591
|
+
// scss-docs-end spinner-variables
|
1088
1592
|
|
1089
1593
|
|
1090
1594
|
// Close
|
1091
1595
|
|
1092
|
-
|
1093
|
-
$close-
|
1094
|
-
$close-
|
1095
|
-
$close-
|
1096
|
-
|
1596
|
+
// scss-docs-start close-variables
|
1597
|
+
$btn-close-width: 1em !default;
|
1598
|
+
$btn-close-height: $btn-close-width !default;
|
1599
|
+
$btn-close-padding-x: .25em !default;
|
1600
|
+
$btn-close-padding-y: $btn-close-padding-x !default;
|
1601
|
+
$btn-close-color: $black !default;
|
1602
|
+
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
|
1603
|
+
$btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
|
1604
|
+
$btn-close-opacity: .5 !default;
|
1605
|
+
$btn-close-hover-opacity: .75 !default;
|
1606
|
+
$btn-close-focus-opacity: 1 !default;
|
1607
|
+
$btn-close-disabled-opacity: .25 !default;
|
1608
|
+
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
1609
|
+
// scss-docs-end close-variables
|
1610
|
+
|
1611
|
+
|
1612
|
+
// Offcanvas
|
1613
|
+
|
1614
|
+
// scss-docs-start offcanvas-variables
|
1615
|
+
$offcanvas-padding-y: $modal-inner-padding !default;
|
1616
|
+
$offcanvas-padding-x: $modal-inner-padding !default;
|
1617
|
+
$offcanvas-horizontal-width: 400px !default;
|
1618
|
+
$offcanvas-vertical-height: 30vh !default;
|
1619
|
+
$offcanvas-transition-duration: .3s !default;
|
1620
|
+
$offcanvas-border-color: $modal-content-border-color !default;
|
1621
|
+
$offcanvas-border-width: $modal-content-border-width !default;
|
1622
|
+
$offcanvas-title-line-height: $modal-title-line-height !default;
|
1623
|
+
$offcanvas-bg-color: $modal-content-bg !default;
|
1624
|
+
$offcanvas-color: $modal-content-color !default;
|
1625
|
+
$offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
|
1626
|
+
$offcanvas-backdrop-bg: $modal-backdrop-bg !default;
|
1627
|
+
$offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
|
1628
|
+
// scss-docs-end offcanvas-variables
|
1097
1629
|
|
1098
1630
|
// Code
|
1099
1631
|
|
1100
|
-
$code-font-size:
|
1632
|
+
$code-font-size: $small-font-size !default;
|
1101
1633
|
$code-color: $pink !default;
|
1102
1634
|
|
1103
1635
|
$kbd-padding-y: .2rem !default;
|
@@ -1106,18 +1638,4 @@ $kbd-font-size: $code-font-size !default;
|
|
1106
1638
|
$kbd-color: $white !default;
|
1107
1639
|
$kbd-bg: $gray-900 !default;
|
1108
1640
|
|
1109
|
-
$pre-color:
|
1110
|
-
$pre-scrollable-max-height: 340px !default;
|
1111
|
-
|
1112
|
-
|
1113
|
-
// Utilities
|
1114
|
-
|
1115
|
-
$displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
|
1116
|
-
$overflows: auto, hidden !default;
|
1117
|
-
$positions: static, relative, absolute, fixed, sticky !default;
|
1118
|
-
|
1119
|
-
|
1120
|
-
// Printing
|
1121
|
-
|
1122
|
-
$print-page-size: a3 !default;
|
1123
|
-
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|
1641
|
+
$pre-color: null !default;
|