bootstrap 4.6.0 → 5.0.0.beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/README.md +7 -4
- 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 +14 -8
- data/assets/javascripts/bootstrap.js +2152 -1633
- data/assets/javascripts/bootstrap.min.js +2 -2
- data/assets/javascripts/bootstrap/alert.js +179 -64
- data/assets/javascripts/bootstrap/base-component.js +75 -0
- data/assets/javascripts/bootstrap/button.js +94 -143
- data/assets/javascripts/bootstrap/carousel.js +386 -202
- data/assets/javascripts/bootstrap/collapse.js +349 -132
- data/assets/javascripts/bootstrap/dom/data.js +81 -0
- data/assets/javascripts/bootstrap/dom/event-handler.js +310 -0
- data/assets/javascripts/bootstrap/dom/manipulator.js +86 -0
- data/assets/javascripts/bootstrap/dom/selector-engine.js +93 -0
- data/assets/javascripts/bootstrap/dropdown.js +387 -224
- data/assets/javascripts/bootstrap/modal.js +391 -220
- data/assets/javascripts/bootstrap/popover.js +94 -49
- data/assets/javascripts/bootstrap/scrollspy.js +212 -80
- data/assets/javascripts/bootstrap/tab.js +198 -79
- data/assets/javascripts/bootstrap/toast.js +211 -78
- data/assets/javascripts/bootstrap/tooltip.js +558 -300
- data/assets/stylesheets/_bootstrap-grid.scss +51 -16
- data/assets/stylesheets/_bootstrap-reboot.scss +4 -1
- data/assets/stylesheets/_bootstrap.scss +15 -8
- data/assets/stylesheets/bootstrap/_accordion.scss +126 -0
- data/assets/stylesheets/bootstrap/_alert.scss +15 -10
- data/assets/stylesheets/bootstrap/_badge.scss +2 -27
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +3 -17
- data/assets/stylesheets/bootstrap/_button-group.scss +21 -45
- data/assets/stylesheets/bootstrap/_buttons.scss +27 -60
- data/assets/stylesheets/bootstrap/_card.scss +21 -92
- data/assets/stylesheets/bootstrap/_carousel.scss +65 -33
- data/assets/stylesheets/bootstrap/_close.scss +30 -30
- data/assets/stylesheets/bootstrap/_containers.scss +41 -0
- data/assets/stylesheets/bootstrap/_dropdown.scss +95 -38
- data/assets/stylesheets/bootstrap/_forms.scss +9 -347
- data/assets/stylesheets/bootstrap/_functions.scss +84 -23
- data/assets/stylesheets/bootstrap/_grid.scss +3 -54
- data/assets/stylesheets/bootstrap/_helpers.scss +7 -0
- data/assets/stylesheets/bootstrap/_list-group.scss +17 -8
- data/assets/stylesheets/bootstrap/_mixins.scss +7 -13
- data/assets/stylesheets/bootstrap/_modal.scss +41 -46
- data/assets/stylesheets/bootstrap/_nav.scss +16 -4
- data/assets/stylesheets/bootstrap/_navbar.scss +43 -71
- data/assets/stylesheets/bootstrap/_pagination.scss +10 -20
- data/assets/stylesheets/bootstrap/_popover.scss +15 -27
- data/assets/stylesheets/bootstrap/_progress.scss +2 -4
- data/assets/stylesheets/bootstrap/_reboot.scss +314 -163
- data/assets/stylesheets/bootstrap/_root.scss +5 -8
- data/assets/stylesheets/bootstrap/_spinners.scss +5 -5
- data/assets/stylesheets/bootstrap/_tables.scss +79 -114
- data/assets/stylesheets/bootstrap/_toasts.scss +20 -15
- data/assets/stylesheets/bootstrap/_tooltip.scss +17 -17
- data/assets/stylesheets/bootstrap/_transitions.scss +0 -1
- data/assets/stylesheets/bootstrap/_type.scss +38 -59
- data/assets/stylesheets/bootstrap/_utilities.scss +566 -18
- data/assets/stylesheets/bootstrap/_variables.scss +673 -463
- data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +18 -0
- data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +61 -0
- data/assets/stylesheets/bootstrap/forms/_form-check.scss +152 -0
- data/assets/stylesheets/bootstrap/forms/_form-control.scss +223 -0
- data/assets/stylesheets/bootstrap/forms/_form-range.scss +91 -0
- data/assets/stylesheets/bootstrap/forms/_form-select.scss +67 -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/_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/mixins/_alert.scss +1 -5
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +8 -8
- 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 +65 -47
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +8 -8
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_container.scss +9 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +27 -88
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +13 -11
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +83 -32
- data/assets/stylesheets/bootstrap/mixins/_image.scss +1 -21
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +3 -2
- data/assets/stylesheets/bootstrap/mixins/_lists.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +15 -8
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +21 -0
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_utilities.scss +68 -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 +234 -126
- data/bootstrap.gemspec +1 -3
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +20 -5
- data/test/dummy_rails/app/assets/javascripts/application.js +4 -3
- 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_1.gemfile +7 -0
- metadata +44 -75
- data/assets/javascripts/bootstrap/util.js +0 -192
- data/assets/stylesheets/bootstrap/_code.scss +0 -48
- data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -526
- data/assets/stylesheets/bootstrap/_input-group.scss +0 -208
- 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 -23
- 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 -80
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -34
- 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 -17
- 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/_interactions.scss +0 -5
- 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,54 +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
|
-
(
|
|
23
|
-
"100": $gray-100,
|
|
24
|
-
"200": $gray-200,
|
|
25
|
-
"300": $gray-300,
|
|
26
|
-
"400": $gray-400,
|
|
27
|
-
"500": $gray-500,
|
|
28
|
-
"600": $gray-600,
|
|
29
|
-
"700": $gray-700,
|
|
30
|
-
"800": $gray-800,
|
|
31
|
-
"900": $gray-900
|
|
32
|
-
),
|
|
33
|
-
$grays
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
$blue: #007bff !default;
|
|
38
|
+
// scss-docs-start color-variables
|
|
39
|
+
$blue: #0d6efd !default;
|
|
37
40
|
$indigo: #6610f2 !default;
|
|
38
41
|
$purple: #6f42c1 !default;
|
|
39
|
-
$pink: #
|
|
42
|
+
$pink: #d63384 !default;
|
|
40
43
|
$red: #dc3545 !default;
|
|
41
44
|
$orange: #fd7e14 !default;
|
|
42
45
|
$yellow: #ffc107 !default;
|
|
43
|
-
$green: #
|
|
46
|
+
$green: #198754 !default;
|
|
44
47
|
$teal: #20c997 !default;
|
|
45
|
-
$cyan: #
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
);
|
|
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
|
|
66
68
|
|
|
69
|
+
// scss-docs-start theme-color-variables
|
|
67
70
|
$primary: $blue !default;
|
|
68
71
|
$secondary: $gray-600 !default;
|
|
69
72
|
$success: $green !default;
|
|
@@ -71,32 +74,131 @@ $info: $cyan !default;
|
|
|
71
74
|
$warning: $yellow !default;
|
|
72
75
|
$danger: $red !default;
|
|
73
76
|
$light: $gray-100 !default;
|
|
74
|
-
$dark: $gray-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
//
|
|
92
|
-
$
|
|
93
|
-
|
|
94
|
-
//
|
|
95
|
-
$
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
$
|
|
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
|
+
// 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.
|
|
94
|
+
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
|
95
|
+
$min-contrast-ratio: 4.5 !default;
|
|
96
|
+
|
|
97
|
+
// Customize the light and dark text colors for use in our color contrast function.
|
|
98
|
+
$color-contrast-dark: $black !default;
|
|
99
|
+
$color-contrast-light: $white !default;
|
|
100
|
+
|
|
101
|
+
// fusv-disable
|
|
102
|
+
$blue-100: tint-color($blue, 80%) !default;
|
|
103
|
+
$blue-200: tint-color($blue, 60%) !default;
|
|
104
|
+
$blue-300: tint-color($blue, 40%) !default;
|
|
105
|
+
$blue-400: tint-color($blue, 20%) !default;
|
|
106
|
+
$blue-500: $blue !default;
|
|
107
|
+
$blue-600: shade-color($blue, 20%) !default;
|
|
108
|
+
$blue-700: shade-color($blue, 40%) !default;
|
|
109
|
+
$blue-800: shade-color($blue, 60%) !default;
|
|
110
|
+
$blue-900: shade-color($blue, 80%) !default;
|
|
111
|
+
|
|
112
|
+
$indigo-100: tint-color($indigo, 80%) !default;
|
|
113
|
+
$indigo-200: tint-color($indigo, 60%) !default;
|
|
114
|
+
$indigo-300: tint-color($indigo, 40%) !default;
|
|
115
|
+
$indigo-400: tint-color($indigo, 20%) !default;
|
|
116
|
+
$indigo-500: $indigo !default;
|
|
117
|
+
$indigo-600: shade-color($indigo, 20%) !default;
|
|
118
|
+
$indigo-700: shade-color($indigo, 40%) !default;
|
|
119
|
+
$indigo-800: shade-color($indigo, 60%) !default;
|
|
120
|
+
$indigo-900: shade-color($indigo, 80%) !default;
|
|
121
|
+
|
|
122
|
+
$purple-100: tint-color($purple, 80%) !default;
|
|
123
|
+
$purple-200: tint-color($purple, 60%) !default;
|
|
124
|
+
$purple-300: tint-color($purple, 40%) !default;
|
|
125
|
+
$purple-400: tint-color($purple, 20%) !default;
|
|
126
|
+
$purple-500: $purple !default;
|
|
127
|
+
$purple-600: shade-color($purple, 20%) !default;
|
|
128
|
+
$purple-700: shade-color($purple, 40%) !default;
|
|
129
|
+
$purple-800: shade-color($purple, 60%) !default;
|
|
130
|
+
$purple-900: shade-color($purple, 80%) !default;
|
|
131
|
+
|
|
132
|
+
$pink-100: tint-color($pink, 80%) !default;
|
|
133
|
+
$pink-200: tint-color($pink, 60%) !default;
|
|
134
|
+
$pink-300: tint-color($pink, 40%) !default;
|
|
135
|
+
$pink-400: tint-color($pink, 20%) !default;
|
|
136
|
+
$pink-500: $pink !default;
|
|
137
|
+
$pink-600: shade-color($pink, 20%) !default;
|
|
138
|
+
$pink-700: shade-color($pink, 40%) !default;
|
|
139
|
+
$pink-800: shade-color($pink, 60%) !default;
|
|
140
|
+
$pink-900: shade-color($pink, 80%) !default;
|
|
141
|
+
|
|
142
|
+
$red-100: tint-color($red, 80%) !default;
|
|
143
|
+
$red-200: tint-color($red, 60%) !default;
|
|
144
|
+
$red-300: tint-color($red, 40%) !default;
|
|
145
|
+
$red-400: tint-color($red, 20%) !default;
|
|
146
|
+
$red-500: $red !default;
|
|
147
|
+
$red-600: shade-color($red, 20%) !default;
|
|
148
|
+
$red-700: shade-color($red, 40%) !default;
|
|
149
|
+
$red-800: shade-color($red, 60%) !default;
|
|
150
|
+
$red-900: shade-color($red, 80%) !default;
|
|
151
|
+
|
|
152
|
+
$orange-100: tint-color($orange, 80%) !default;
|
|
153
|
+
$orange-200: tint-color($orange, 60%) !default;
|
|
154
|
+
$orange-300: tint-color($orange, 40%) !default;
|
|
155
|
+
$orange-400: tint-color($orange, 20%) !default;
|
|
156
|
+
$orange-500: $orange !default;
|
|
157
|
+
$orange-600: shade-color($orange, 20%) !default;
|
|
158
|
+
$orange-700: shade-color($orange, 40%) !default;
|
|
159
|
+
$orange-800: shade-color($orange, 60%) !default;
|
|
160
|
+
$orange-900: shade-color($orange, 80%) !default;
|
|
161
|
+
|
|
162
|
+
$yellow-100: tint-color($yellow, 80%) !default;
|
|
163
|
+
$yellow-200: tint-color($yellow, 60%) !default;
|
|
164
|
+
$yellow-300: tint-color($yellow, 40%) !default;
|
|
165
|
+
$yellow-400: tint-color($yellow, 20%) !default;
|
|
166
|
+
$yellow-500: $yellow !default;
|
|
167
|
+
$yellow-600: shade-color($yellow, 20%) !default;
|
|
168
|
+
$yellow-700: shade-color($yellow, 40%) !default;
|
|
169
|
+
$yellow-800: shade-color($yellow, 60%) !default;
|
|
170
|
+
$yellow-900: shade-color($yellow, 80%) !default;
|
|
171
|
+
|
|
172
|
+
$green-100: tint-color($green, 80%) !default;
|
|
173
|
+
$green-200: tint-color($green, 60%) !default;
|
|
174
|
+
$green-300: tint-color($green, 40%) !default;
|
|
175
|
+
$green-400: tint-color($green, 20%) !default;
|
|
176
|
+
$green-500: $green !default;
|
|
177
|
+
$green-600: shade-color($green, 20%) !default;
|
|
178
|
+
$green-700: shade-color($green, 40%) !default;
|
|
179
|
+
$green-800: shade-color($green, 60%) !default;
|
|
180
|
+
$green-900: shade-color($green, 80%) !default;
|
|
181
|
+
|
|
182
|
+
$teal-100: tint-color($teal, 80%) !default;
|
|
183
|
+
$teal-200: tint-color($teal, 60%) !default;
|
|
184
|
+
$teal-300: tint-color($teal, 40%) !default;
|
|
185
|
+
$teal-400: tint-color($teal, 20%) !default;
|
|
186
|
+
$teal-500: $teal !default;
|
|
187
|
+
$teal-600: shade-color($teal, 20%) !default;
|
|
188
|
+
$teal-700: shade-color($teal, 40%) !default;
|
|
189
|
+
$teal-800: shade-color($teal, 60%) !default;
|
|
190
|
+
$teal-900: shade-color($teal, 80%) !default;
|
|
191
|
+
|
|
192
|
+
$cyan-100: tint-color($cyan, 80%) !default;
|
|
193
|
+
$cyan-200: tint-color($cyan, 60%) !default;
|
|
194
|
+
$cyan-300: tint-color($cyan, 40%) !default;
|
|
195
|
+
$cyan-400: tint-color($cyan, 20%) !default;
|
|
196
|
+
$cyan-500: $cyan !default;
|
|
197
|
+
$cyan-600: shade-color($cyan, 20%) !default;
|
|
198
|
+
$cyan-700: shade-color($cyan, 40%) !default;
|
|
199
|
+
$cyan-800: shade-color($cyan, 60%) !default;
|
|
200
|
+
$cyan-900: shade-color($cyan, 80%) !default;
|
|
201
|
+
// fusv-enable
|
|
100
202
|
|
|
101
203
|
// Characters which are escaped by the escape-svg function
|
|
102
204
|
$escaped-characters: (
|
|
@@ -107,25 +209,36 @@ $escaped-characters: (
|
|
|
107
209
|
(")", "%29"),
|
|
108
210
|
) !default;
|
|
109
211
|
|
|
110
|
-
|
|
111
212
|
// Options
|
|
112
213
|
//
|
|
113
214
|
// Quickly modify global styling by enabling or disabling optional features.
|
|
114
215
|
|
|
115
|
-
$enable-caret:
|
|
116
|
-
$enable-rounded:
|
|
117
|
-
$enable-shadows:
|
|
118
|
-
$enable-gradients:
|
|
119
|
-
$enable-transitions:
|
|
120
|
-
$enable-
|
|
121
|
-
$enable-
|
|
122
|
-
$enable-grid-classes:
|
|
123
|
-
$enable-
|
|
124
|
-
$enable-
|
|
125
|
-
$enable-
|
|
126
|
-
$enable-
|
|
127
|
-
$enable-deprecation-messages:
|
|
128
|
-
|
|
216
|
+
$enable-caret: true !default;
|
|
217
|
+
$enable-rounded: true !default;
|
|
218
|
+
$enable-shadows: false !default;
|
|
219
|
+
$enable-gradients: false !default;
|
|
220
|
+
$enable-transitions: true !default;
|
|
221
|
+
$enable-reduced-motion: true !default;
|
|
222
|
+
$enable-smooth-scroll: true !default;
|
|
223
|
+
$enable-grid-classes: true !default;
|
|
224
|
+
$enable-button-pointers: true !default;
|
|
225
|
+
$enable-rfs: true !default;
|
|
226
|
+
$enable-validation-icons: true !default;
|
|
227
|
+
$enable-negative-margins: false !default;
|
|
228
|
+
$enable-deprecation-messages: true !default;
|
|
229
|
+
$enable-important-utilities: true !default;
|
|
230
|
+
|
|
231
|
+
// Prefix for :root CSS variables
|
|
232
|
+
|
|
233
|
+
$variable-prefix: bs- !default;
|
|
234
|
+
|
|
235
|
+
// Gradient
|
|
236
|
+
//
|
|
237
|
+
// The gradient which is added to components if `$enable-gradients` is `true`
|
|
238
|
+
// This gradient is also added to elements with `.bg-gradient`
|
|
239
|
+
// scss-docs-start variable-gradient
|
|
240
|
+
$gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
|
|
241
|
+
// scss-docs-end variable-gradient
|
|
129
242
|
|
|
130
243
|
// Spacing
|
|
131
244
|
//
|
|
@@ -134,31 +247,26 @@ $enable-deprecation-messages: true !default;
|
|
|
134
247
|
// You can add more entries to the $spacers map, should you need more variation.
|
|
135
248
|
|
|
136
249
|
$spacer: 1rem !default;
|
|
137
|
-
$spacers: (
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
//
|
|
151
|
-
|
|
152
|
-
$
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
100: 100%,
|
|
158
|
-
auto: auto
|
|
159
|
-
),
|
|
160
|
-
$sizes
|
|
161
|
-
);
|
|
250
|
+
$spacers: (
|
|
251
|
+
0: 0,
|
|
252
|
+
1: $spacer / 4,
|
|
253
|
+
2: $spacer / 2,
|
|
254
|
+
3: $spacer,
|
|
255
|
+
4: $spacer * 1.5,
|
|
256
|
+
5: $spacer * 3,
|
|
257
|
+
) !default;
|
|
258
|
+
|
|
259
|
+
$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
|
|
260
|
+
|
|
261
|
+
// Position
|
|
262
|
+
//
|
|
263
|
+
// Define the edge positioning anchors of the position utilities.
|
|
264
|
+
|
|
265
|
+
$position-values: (
|
|
266
|
+
0: 0,
|
|
267
|
+
50: 50%,
|
|
268
|
+
100: 100%
|
|
269
|
+
) !default;
|
|
162
270
|
|
|
163
271
|
|
|
164
272
|
// Body
|
|
@@ -167,18 +275,21 @@ $sizes: map-merge(
|
|
|
167
275
|
|
|
168
276
|
$body-bg: $white !default;
|
|
169
277
|
$body-color: $gray-900 !default;
|
|
278
|
+
$body-text-align: null !default;
|
|
170
279
|
|
|
171
280
|
|
|
172
281
|
// Links
|
|
173
282
|
//
|
|
174
283
|
// Style anchor elements.
|
|
175
284
|
|
|
176
|
-
$link-color:
|
|
177
|
-
$link-decoration:
|
|
178
|
-
$link-
|
|
179
|
-
$link-hover-
|
|
180
|
-
|
|
181
|
-
|
|
285
|
+
$link-color: $primary !default;
|
|
286
|
+
$link-decoration: underline !default;
|
|
287
|
+
$link-shade-percentage: 20% !default;
|
|
288
|
+
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
|
289
|
+
$link-hover-decoration: null !default;
|
|
290
|
+
|
|
291
|
+
$stretched-link-pseudo-element: after !default;
|
|
292
|
+
$stretched-link-z-index: 1 !default;
|
|
182
293
|
|
|
183
294
|
// Paragraphs
|
|
184
295
|
//
|
|
@@ -192,13 +303,16 @@ $paragraph-margin-bottom: 1rem !default;
|
|
|
192
303
|
// Define the minimum dimensions at which your layout will change,
|
|
193
304
|
// adapting to different screen sizes, for use in media queries.
|
|
194
305
|
|
|
306
|
+
// scss-docs-start grid-breakpoints
|
|
195
307
|
$grid-breakpoints: (
|
|
196
308
|
xs: 0,
|
|
197
309
|
sm: 576px,
|
|
198
310
|
md: 768px,
|
|
199
311
|
lg: 992px,
|
|
200
|
-
xl: 1200px
|
|
312
|
+
xl: 1200px,
|
|
313
|
+
xxl: 1400px
|
|
201
314
|
) !default;
|
|
315
|
+
// scss-docs-end grid-breakpoints
|
|
202
316
|
|
|
203
317
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
|
204
318
|
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
|
@@ -208,12 +322,15 @@ $grid-breakpoints: (
|
|
|
208
322
|
//
|
|
209
323
|
// Define the maximum width of `.container` for different screen sizes.
|
|
210
324
|
|
|
325
|
+
// scss-docs-start container-max-widths
|
|
211
326
|
$container-max-widths: (
|
|
212
327
|
sm: 540px,
|
|
213
328
|
md: 720px,
|
|
214
329
|
lg: 960px,
|
|
215
|
-
xl: 1140px
|
|
330
|
+
xl: 1140px,
|
|
331
|
+
xxl: 1320px
|
|
216
332
|
) !default;
|
|
333
|
+
// scss-docs-end container-max-widths
|
|
217
334
|
|
|
218
335
|
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
|
219
336
|
|
|
@@ -223,32 +340,44 @@ $container-max-widths: (
|
|
|
223
340
|
// Set the number of columns and specify the width of the gutters.
|
|
224
341
|
|
|
225
342
|
$grid-columns: 12 !default;
|
|
226
|
-
$grid-gutter-width:
|
|
343
|
+
$grid-gutter-width: 1.5rem !default;
|
|
227
344
|
$grid-row-columns: 6 !default;
|
|
228
345
|
|
|
346
|
+
$gutters: $spacers !default;
|
|
347
|
+
|
|
348
|
+
// Container padding
|
|
349
|
+
|
|
350
|
+
$container-padding-x: $grid-gutter-width / 2 !default;
|
|
351
|
+
|
|
229
352
|
|
|
230
353
|
// Components
|
|
231
354
|
//
|
|
232
355
|
// Define common padding and border radius sizes and more.
|
|
233
356
|
|
|
234
|
-
$line-height-lg: 1.5 !default;
|
|
235
|
-
$line-height-sm: 1.5 !default;
|
|
236
|
-
|
|
237
357
|
$border-width: 1px !default;
|
|
358
|
+
$border-widths: (
|
|
359
|
+
0: 0,
|
|
360
|
+
1: 1px,
|
|
361
|
+
2: 2px,
|
|
362
|
+
3: 3px,
|
|
363
|
+
4: 4px,
|
|
364
|
+
5: 5px
|
|
365
|
+
) !default;
|
|
366
|
+
|
|
238
367
|
$border-color: $gray-300 !default;
|
|
239
368
|
|
|
240
369
|
$border-radius: .25rem !default;
|
|
241
|
-
$border-radius-lg: .3rem !default;
|
|
242
370
|
$border-radius-sm: .2rem !default;
|
|
371
|
+
$border-radius-lg: .3rem !default;
|
|
372
|
+
$border-radius-pill: 50rem !default;
|
|
243
373
|
|
|
244
|
-
$rounded-pill: 50rem !default;
|
|
245
|
-
|
|
246
|
-
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
|
247
374
|
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
|
375
|
+
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
|
248
376
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
|
377
|
+
$box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
|
|
249
378
|
|
|
250
379
|
$component-active-color: $white !default;
|
|
251
|
-
$component-active-bg:
|
|
380
|
+
$component-active-bg: $primary !default;
|
|
252
381
|
|
|
253
382
|
$caret-width: .3em !default;
|
|
254
383
|
$caret-vertical-align: $caret-width * .85 !default;
|
|
@@ -258,30 +387,34 @@ $transition-base: all .2s ease-in-out !default;
|
|
|
258
387
|
$transition-fade: opacity .15s linear !default;
|
|
259
388
|
$transition-collapse: height .35s ease !default;
|
|
260
389
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
390
|
+
// stylelint-disable function-disallowed-list
|
|
391
|
+
// scss-docs-start aspect-ratios
|
|
392
|
+
$aspect-ratios: (
|
|
393
|
+
"1x1": 100%,
|
|
394
|
+
"4x3": calc(3 / 4 * 100%),
|
|
395
|
+
"16x9": calc(9 / 16 * 100%),
|
|
396
|
+
"21x9": calc(9 / 21 * 100%)
|
|
397
|
+
) !default;
|
|
398
|
+
// scss-docs-end aspect-ratios
|
|
399
|
+
// stylelint-enable function-disallowed-list
|
|
271
400
|
|
|
272
401
|
// Typography
|
|
273
402
|
//
|
|
274
403
|
// Font, line-height, and color for body text, headings, and more.
|
|
275
404
|
|
|
276
405
|
// stylelint-disable value-keyword-case
|
|
277
|
-
$font-family-sans-serif: -apple-system,
|
|
406
|
+
$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;
|
|
278
407
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
|
279
|
-
$font-family-base: $font-family-sans-serif !default;
|
|
280
408
|
// stylelint-enable value-keyword-case
|
|
409
|
+
$font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
|
|
410
|
+
$font-family-code: var(--#{$variable-prefix}font-monospace) !default;
|
|
281
411
|
|
|
412
|
+
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
|
|
413
|
+
// $font-size-base effects the font size of the body text
|
|
414
|
+
$font-size-root: null !default;
|
|
282
415
|
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
|
283
|
-
$font-size-lg: $font-size-base * 1.25 !default;
|
|
284
416
|
$font-size-sm: $font-size-base * .875 !default;
|
|
417
|
+
$font-size-lg: $font-size-base * 1.25 !default;
|
|
285
418
|
|
|
286
419
|
$font-weight-lighter: lighter !default;
|
|
287
420
|
$font-weight-light: 300 !default;
|
|
@@ -290,7 +423,10 @@ $font-weight-bold: 700 !default;
|
|
|
290
423
|
$font-weight-bolder: bolder !default;
|
|
291
424
|
|
|
292
425
|
$font-weight-base: $font-weight-normal !default;
|
|
426
|
+
|
|
293
427
|
$line-height-base: 1.5 !default;
|
|
428
|
+
$line-height-sm: 1.25 !default;
|
|
429
|
+
$line-height-lg: 2 !default;
|
|
294
430
|
|
|
295
431
|
$h1-font-size: $font-size-base * 2.5 !default;
|
|
296
432
|
$h2-font-size: $font-size-base * 2 !default;
|
|
@@ -299,85 +435,126 @@ $h4-font-size: $font-size-base * 1.5 !default;
|
|
|
299
435
|
$h5-font-size: $font-size-base * 1.25 !default;
|
|
300
436
|
$h6-font-size: $font-size-base !default;
|
|
301
437
|
|
|
438
|
+
// scss-docs-start font-sizes
|
|
439
|
+
$font-sizes: (
|
|
440
|
+
1: $h1-font-size,
|
|
441
|
+
2: $h2-font-size,
|
|
442
|
+
3: $h3-font-size,
|
|
443
|
+
4: $h4-font-size,
|
|
444
|
+
5: $h5-font-size,
|
|
445
|
+
6: $h6-font-size
|
|
446
|
+
) !default;
|
|
447
|
+
// scss-docs-end font-sizes
|
|
448
|
+
|
|
302
449
|
$headings-margin-bottom: $spacer / 2 !default;
|
|
303
450
|
$headings-font-family: null !default;
|
|
451
|
+
$headings-font-style: null !default;
|
|
304
452
|
$headings-font-weight: 500 !default;
|
|
305
453
|
$headings-line-height: 1.2 !default;
|
|
306
454
|
$headings-color: null !default;
|
|
307
455
|
|
|
308
|
-
|
|
309
|
-
$
|
|
310
|
-
|
|
311
|
-
|
|
456
|
+
// scss-docs-start display-headings
|
|
457
|
+
$display-font-sizes: (
|
|
458
|
+
1: 5rem,
|
|
459
|
+
2: 4.5rem,
|
|
460
|
+
3: 4rem,
|
|
461
|
+
4: 3.5rem,
|
|
462
|
+
5: 3rem,
|
|
463
|
+
6: 2.5rem
|
|
464
|
+
) !default;
|
|
312
465
|
|
|
313
|
-
$
|
|
314
|
-
$
|
|
315
|
-
|
|
316
|
-
$display4-weight: 300 !default;
|
|
317
|
-
$display-line-height: $headings-line-height !default;
|
|
466
|
+
$display-font-weight: 300 !default;
|
|
467
|
+
$display-line-height: $headings-line-height !default;
|
|
468
|
+
// scss-docs-end display-headings
|
|
318
469
|
|
|
319
470
|
$lead-font-size: $font-size-base * 1.25 !default;
|
|
320
471
|
$lead-font-weight: 300 !default;
|
|
321
472
|
|
|
322
|
-
$small-font-size:
|
|
473
|
+
$small-font-size: .875em !default;
|
|
474
|
+
|
|
475
|
+
$sub-sup-font-size: .75em !default;
|
|
323
476
|
|
|
324
477
|
$text-muted: $gray-600 !default;
|
|
325
478
|
|
|
326
|
-
$
|
|
327
|
-
|
|
479
|
+
$initialism-font-size: $small-font-size !default;
|
|
480
|
+
|
|
481
|
+
$blockquote-margin-y: $spacer !default;
|
|
328
482
|
$blockquote-font-size: $font-size-base * 1.25 !default;
|
|
483
|
+
$blockquote-footer-color: $gray-600 !default;
|
|
484
|
+
$blockquote-footer-font-size: $small-font-size !default;
|
|
329
485
|
|
|
330
|
-
$hr-
|
|
331
|
-
$hr-
|
|
486
|
+
$hr-margin-y: $spacer !default;
|
|
487
|
+
$hr-color: inherit !default;
|
|
488
|
+
$hr-height: $border-width !default;
|
|
489
|
+
$hr-opacity: .25 !default;
|
|
490
|
+
|
|
491
|
+
$legend-margin-bottom: .5rem !default;
|
|
492
|
+
$legend-font-size: 1.5rem !default;
|
|
493
|
+
$legend-font-weight: null !default;
|
|
332
494
|
|
|
333
495
|
$mark-padding: .2em !default;
|
|
334
496
|
|
|
335
497
|
$dt-font-weight: $font-weight-bold !default;
|
|
336
498
|
|
|
337
|
-
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
|
|
338
499
|
$nested-kbd-font-weight: $font-weight-bold !default;
|
|
339
500
|
|
|
340
501
|
$list-inline-padding: .5rem !default;
|
|
341
502
|
|
|
342
503
|
$mark-bg: #fcf8e3 !default;
|
|
343
504
|
|
|
344
|
-
$hr-margin-y: $spacer !default;
|
|
345
|
-
|
|
346
505
|
|
|
347
506
|
// Tables
|
|
348
507
|
//
|
|
349
508
|
// Customizes the `.table` component with basic values, each used across all table variations.
|
|
350
509
|
|
|
351
|
-
|
|
352
|
-
$table-cell-padding-
|
|
510
|
+
// scss-docs-start table-variables
|
|
511
|
+
$table-cell-padding-y: .5rem !default;
|
|
512
|
+
$table-cell-padding-x: .5rem !default;
|
|
513
|
+
$table-cell-padding-y-sm: .25rem !default;
|
|
514
|
+
$table-cell-padding-x-sm: .25rem !default;
|
|
515
|
+
|
|
516
|
+
$table-cell-vertical-align: top !default;
|
|
353
517
|
|
|
354
518
|
$table-color: $body-color !default;
|
|
355
|
-
$table-bg:
|
|
356
|
-
|
|
519
|
+
$table-bg: transparent !default;
|
|
520
|
+
|
|
521
|
+
$table-th-font-weight: null !default;
|
|
522
|
+
|
|
523
|
+
$table-striped-color: $table-color !default;
|
|
524
|
+
$table-striped-bg-factor: .05 !default;
|
|
525
|
+
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
|
|
526
|
+
|
|
527
|
+
$table-active-color: $table-color !default;
|
|
528
|
+
$table-active-bg-factor: .1 !default;
|
|
529
|
+
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
|
|
530
|
+
|
|
357
531
|
$table-hover-color: $table-color !default;
|
|
358
|
-
$table-hover-bg:
|
|
359
|
-
$table-
|
|
532
|
+
$table-hover-bg-factor: .075 !default;
|
|
533
|
+
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
|
|
360
534
|
|
|
535
|
+
$table-border-factor: .1 !default;
|
|
361
536
|
$table-border-width: $border-width !default;
|
|
362
537
|
$table-border-color: $border-color !default;
|
|
363
538
|
|
|
364
|
-
$table-head-bg: $gray-200 !default;
|
|
365
|
-
$table-head-color: $gray-700 !default;
|
|
366
|
-
$table-th-font-weight: null !default;
|
|
367
|
-
|
|
368
|
-
$table-dark-color: $white !default;
|
|
369
|
-
$table-dark-bg: $gray-800 !default;
|
|
370
|
-
$table-dark-accent-bg: rgba($white, .05) !default;
|
|
371
|
-
$table-dark-hover-color: $table-dark-color !default;
|
|
372
|
-
$table-dark-hover-bg: rgba($white, .075) !default;
|
|
373
|
-
$table-dark-border-color: lighten($table-dark-bg, 7.5%) !default;
|
|
374
|
-
|
|
375
539
|
$table-striped-order: odd !default;
|
|
376
540
|
|
|
541
|
+
$table-group-separator-color: currentColor !default;
|
|
542
|
+
|
|
377
543
|
$table-caption-color: $text-muted !default;
|
|
378
544
|
|
|
379
|
-
$table-bg-
|
|
380
|
-
|
|
545
|
+
$table-bg-scale: -80% !default;
|
|
546
|
+
|
|
547
|
+
$table-variants: (
|
|
548
|
+
"primary": shift-color($primary, $table-bg-scale),
|
|
549
|
+
"secondary": shift-color($secondary, $table-bg-scale),
|
|
550
|
+
"success": shift-color($success, $table-bg-scale),
|
|
551
|
+
"info": shift-color($info, $table-bg-scale),
|
|
552
|
+
"warning": shift-color($warning, $table-bg-scale),
|
|
553
|
+
"danger": shift-color($danger, $table-bg-scale),
|
|
554
|
+
"light": $light,
|
|
555
|
+
"dark": $dark,
|
|
556
|
+
) !default;
|
|
557
|
+
// scss-docs-end table-variables
|
|
381
558
|
|
|
382
559
|
|
|
383
560
|
// Buttons + Forms
|
|
@@ -390,19 +567,18 @@ $input-btn-font-family: null !default;
|
|
|
390
567
|
$input-btn-font-size: $font-size-base !default;
|
|
391
568
|
$input-btn-line-height: $line-height-base !default;
|
|
392
569
|
|
|
393
|
-
$input-btn-focus-width:
|
|
394
|
-
$input-btn-focus-color:
|
|
395
|
-
$input-btn-focus-
|
|
570
|
+
$input-btn-focus-width: .25rem !default;
|
|
571
|
+
$input-btn-focus-color-opacity: .25 !default;
|
|
572
|
+
$input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
|
|
573
|
+
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
|
|
396
574
|
|
|
397
575
|
$input-btn-padding-y-sm: .25rem !default;
|
|
398
576
|
$input-btn-padding-x-sm: .5rem !default;
|
|
399
577
|
$input-btn-font-size-sm: $font-size-sm !default;
|
|
400
|
-
$input-btn-line-height-sm: $line-height-sm !default;
|
|
401
578
|
|
|
402
579
|
$input-btn-padding-y-lg: .5rem !default;
|
|
403
580
|
$input-btn-padding-x-lg: 1rem !default;
|
|
404
581
|
$input-btn-font-size-lg: $font-size-lg !default;
|
|
405
|
-
$input-btn-line-height-lg: $line-height-lg !default;
|
|
406
582
|
|
|
407
583
|
$input-btn-border-width: $border-width !default;
|
|
408
584
|
|
|
@@ -421,12 +597,10 @@ $btn-white-space: null !default; // Set to `nowrap` to prevent text
|
|
|
421
597
|
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
|
422
598
|
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
|
423
599
|
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
|
424
|
-
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
|
425
600
|
|
|
426
601
|
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
427
602
|
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
|
428
603
|
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
|
429
|
-
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
|
430
604
|
|
|
431
605
|
$btn-border-width: $input-btn-border-width !default;
|
|
432
606
|
|
|
@@ -437,21 +611,40 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
|
437
611
|
$btn-disabled-opacity: .65 !default;
|
|
438
612
|
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
|
439
613
|
|
|
614
|
+
$btn-link-color: $link-color !default;
|
|
615
|
+
$btn-link-hover-color: $link-hover-color !default;
|
|
440
616
|
$btn-link-disabled-color: $gray-600 !default;
|
|
441
617
|
|
|
442
|
-
$btn-block-spacing-y: .5rem !default;
|
|
443
|
-
|
|
444
618
|
// Allows for customizing button radius independently from global border radius
|
|
445
619
|
$btn-border-radius: $border-radius !default;
|
|
446
|
-
$btn-border-radius-lg: $border-radius-lg !default;
|
|
447
620
|
$btn-border-radius-sm: $border-radius-sm !default;
|
|
621
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
|
448
622
|
|
|
449
623
|
$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;
|
|
450
624
|
|
|
625
|
+
$btn-hover-bg-shade-amount: 15% !default;
|
|
626
|
+
$btn-hover-bg-tint-amount: 15% !default;
|
|
627
|
+
$btn-hover-border-shade-amount: 20% !default;
|
|
628
|
+
$btn-hover-border-tint-amount: 10% !default;
|
|
629
|
+
$btn-active-bg-shade-amount: 20% !default;
|
|
630
|
+
$btn-active-bg-tint-amount: 20% !default;
|
|
631
|
+
$btn-active-border-shade-amount: 25% !default;
|
|
632
|
+
$btn-active-border-tint-amount: 10% !default;
|
|
633
|
+
|
|
451
634
|
|
|
452
635
|
// Forms
|
|
453
636
|
|
|
454
|
-
$
|
|
637
|
+
$form-text-margin-top: .25rem !default;
|
|
638
|
+
$form-text-font-size: $small-font-size !default;
|
|
639
|
+
$form-text-font-style: null !default;
|
|
640
|
+
$form-text-font-weight: null !default;
|
|
641
|
+
$form-text-color: $text-muted !default;
|
|
642
|
+
|
|
643
|
+
$form-label-margin-bottom: .5rem !default;
|
|
644
|
+
$form-label-font-size: null !default;
|
|
645
|
+
$form-label-font-style: null !default;
|
|
646
|
+
$form-label-font-weight: null !default;
|
|
647
|
+
$form-label-color: null !default;
|
|
455
648
|
|
|
456
649
|
$input-padding-y: $input-btn-padding-y !default;
|
|
457
650
|
$input-padding-x: $input-btn-padding-x !default;
|
|
@@ -463,27 +656,26 @@ $input-line-height: $input-btn-line-height !default;
|
|
|
463
656
|
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
|
464
657
|
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
|
465
658
|
$input-font-size-sm: $input-btn-font-size-sm !default;
|
|
466
|
-
$input-line-height-sm: $input-btn-line-height-sm !default;
|
|
467
659
|
|
|
468
660
|
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
469
661
|
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
|
470
662
|
$input-font-size-lg: $input-btn-font-size-lg !default;
|
|
471
|
-
$input-line-height-lg: $input-btn-line-height-lg !default;
|
|
472
663
|
|
|
473
664
|
$input-bg: $white !default;
|
|
474
665
|
$input-disabled-bg: $gray-200 !default;
|
|
666
|
+
$input-disabled-border-color: null !default;
|
|
475
667
|
|
|
476
|
-
$input-color: $
|
|
668
|
+
$input-color: $body-color !default;
|
|
477
669
|
$input-border-color: $gray-400 !default;
|
|
478
670
|
$input-border-width: $input-btn-border-width !default;
|
|
479
|
-
$input-box-shadow: inset
|
|
671
|
+
$input-box-shadow: $box-shadow-inset !default;
|
|
480
672
|
|
|
481
673
|
$input-border-radius: $border-radius !default;
|
|
482
|
-
$input-border-radius-lg: $border-radius-lg !default;
|
|
483
674
|
$input-border-radius-sm: $border-radius-sm !default;
|
|
675
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
|
484
676
|
|
|
485
677
|
$input-focus-bg: $input-bg !default;
|
|
486
|
-
$input-focus-border-color:
|
|
678
|
+
$input-focus-border-color: tint-color($component-active-bg, 50%) !default;
|
|
487
679
|
$input-focus-color: $input-color !default;
|
|
488
680
|
$input-focus-width: $input-btn-focus-width !default;
|
|
489
681
|
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
@@ -498,190 +690,169 @@ $input-height-inner-half: add($input-line-height * .5em, $input-pa
|
|
|
498
690
|
$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y / 2) !default;
|
|
499
691
|
|
|
500
692
|
$input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
|
|
501
|
-
$input-height-sm: add($input-line-height
|
|
502
|
-
$input-height-lg: add($input-line-height
|
|
693
|
+
$input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
|
|
694
|
+
$input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
|
|
503
695
|
|
|
504
696
|
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
|
505
697
|
|
|
506
|
-
$form-text-margin-top: .25rem !default;
|
|
507
|
-
|
|
508
|
-
$form-check-input-gutter: 1.25rem !default;
|
|
509
|
-
$form-check-input-margin-y: .3rem !default;
|
|
510
|
-
$form-check-input-margin-x: .25rem !default;
|
|
511
|
-
|
|
512
|
-
$form-check-inline-margin-x: .75rem !default;
|
|
513
|
-
$form-check-inline-input-margin-x: .3125rem !default;
|
|
514
|
-
|
|
515
|
-
$form-grid-gutter-width: 10px !default;
|
|
516
|
-
$form-group-margin-bottom: 1rem !default;
|
|
517
698
|
|
|
699
|
+
$form-check-input-width: 1em !default;
|
|
700
|
+
$form-check-min-height: $font-size-base * $line-height-base !default;
|
|
701
|
+
$form-check-padding-start: $form-check-input-width + .5em !default;
|
|
702
|
+
$form-check-margin-bottom: .125rem !default;
|
|
703
|
+
$form-check-label-color: null !default;
|
|
704
|
+
$form-check-label-cursor: null !default;
|
|
705
|
+
$form-check-transition: null !default;
|
|
706
|
+
|
|
707
|
+
$form-check-input-active-filter: brightness(90%) !default;
|
|
708
|
+
|
|
709
|
+
$form-check-input-bg: $input-bg !default;
|
|
710
|
+
$form-check-input-border: 1px solid rgba(0, 0, 0, .25) !default;
|
|
711
|
+
$form-check-input-border-radius: .25em !default;
|
|
712
|
+
$form-check-radio-border-radius: 50% !default;
|
|
713
|
+
$form-check-input-focus-border: $input-focus-border-color !default;
|
|
714
|
+
$form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
715
|
+
|
|
716
|
+
$form-check-input-checked-color: $component-active-color !default;
|
|
717
|
+
$form-check-input-checked-bg-color: $component-active-bg !default;
|
|
718
|
+
$form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
|
719
|
+
$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;
|
|
720
|
+
$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;
|
|
721
|
+
|
|
722
|
+
$form-check-input-indeterminate-color: $component-active-color !default;
|
|
723
|
+
$form-check-input-indeterminate-bg-color: $component-active-bg !default;
|
|
724
|
+
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
|
|
725
|
+
$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;
|
|
726
|
+
|
|
727
|
+
$form-check-input-disabled-opacity: .5 !default;
|
|
728
|
+
$form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
|
|
729
|
+
$form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
|
|
730
|
+
|
|
731
|
+
$form-switch-color: rgba(0, 0, 0, .25) !default;
|
|
732
|
+
$form-switch-width: 2em !default;
|
|
733
|
+
$form-switch-padding-start: $form-switch-width + .5em !default;
|
|
734
|
+
$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;
|
|
735
|
+
$form-switch-border-radius: $form-switch-width !default;
|
|
736
|
+
$form-switch-transition: background-position .15s ease-in-out !default;
|
|
737
|
+
|
|
738
|
+
$form-switch-focus-color: $input-focus-border-color !default;
|
|
739
|
+
$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;
|
|
740
|
+
|
|
741
|
+
$form-switch-checked-color: $component-active-color !default;
|
|
742
|
+
$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;
|
|
743
|
+
$form-switch-checked-bg-position: right center !default;
|
|
744
|
+
|
|
745
|
+
$form-check-inline-margin-end: 1rem !default;
|
|
746
|
+
|
|
747
|
+
$input-group-addon-padding-y: $input-padding-y !default;
|
|
748
|
+
$input-group-addon-padding-x: $input-padding-x !default;
|
|
749
|
+
$input-group-addon-font-weight: $input-font-weight !default;
|
|
518
750
|
$input-group-addon-color: $input-color !default;
|
|
519
751
|
$input-group-addon-bg: $gray-200 !default;
|
|
520
752
|
$input-group-addon-border-color: $input-border-color !default;
|
|
521
753
|
|
|
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
|
-
$custom-select-border-width: $input-border-width !default;
|
|
593
|
-
$custom-select-border-color: $input-border-color !default;
|
|
594
|
-
$custom-select-border-radius: $border-radius !default;
|
|
595
|
-
$custom-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;
|
|
596
|
-
|
|
597
|
-
$custom-select-focus-border-color: $input-focus-border-color !default;
|
|
598
|
-
$custom-select-focus-width: $input-focus-width !default;
|
|
599
|
-
$custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width $input-btn-focus-color !default;
|
|
600
|
-
|
|
601
|
-
$custom-select-padding-y-sm: $input-padding-y-sm !default;
|
|
602
|
-
$custom-select-padding-x-sm: $input-padding-x-sm !default;
|
|
603
|
-
$custom-select-font-size-sm: $input-font-size-sm !default;
|
|
604
|
-
$custom-select-height-sm: $input-height-sm !default;
|
|
605
|
-
|
|
606
|
-
$custom-select-padding-y-lg: $input-padding-y-lg !default;
|
|
607
|
-
$custom-select-padding-x-lg: $input-padding-x-lg !default;
|
|
608
|
-
$custom-select-font-size-lg: $input-font-size-lg !default;
|
|
609
|
-
$custom-select-height-lg: $input-height-lg !default;
|
|
610
|
-
|
|
611
|
-
$custom-range-track-width: 100% !default;
|
|
612
|
-
$custom-range-track-height: .5rem !default;
|
|
613
|
-
$custom-range-track-cursor: pointer !default;
|
|
614
|
-
$custom-range-track-bg: $gray-300 !default;
|
|
615
|
-
$custom-range-track-border-radius: 1rem !default;
|
|
616
|
-
$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
|
617
|
-
|
|
618
|
-
$custom-range-thumb-width: 1rem !default;
|
|
619
|
-
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
|
620
|
-
$custom-range-thumb-bg: $component-active-bg !default;
|
|
621
|
-
$custom-range-thumb-border: 0 !default;
|
|
622
|
-
$custom-range-thumb-border-radius: 1rem !default;
|
|
623
|
-
$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
|
624
|
-
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
|
625
|
-
$custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
|
|
626
|
-
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
|
627
|
-
$custom-range-thumb-disabled-bg: $gray-500 !default;
|
|
628
|
-
|
|
629
|
-
$custom-file-height: $input-height !default;
|
|
630
|
-
$custom-file-height-inner: $input-height-inner !default;
|
|
631
|
-
$custom-file-focus-border-color: $input-focus-border-color !default;
|
|
632
|
-
$custom-file-focus-box-shadow: $input-focus-box-shadow !default;
|
|
633
|
-
$custom-file-disabled-bg: $input-disabled-bg !default;
|
|
634
|
-
|
|
635
|
-
$custom-file-padding-y: $input-padding-y !default;
|
|
636
|
-
$custom-file-padding-x: $input-padding-x !default;
|
|
637
|
-
$custom-file-line-height: $input-line-height !default;
|
|
638
|
-
$custom-file-font-family: $input-font-family !default;
|
|
639
|
-
$custom-file-font-weight: $input-font-weight !default;
|
|
640
|
-
$custom-file-color: $input-color !default;
|
|
641
|
-
$custom-file-bg: $input-bg !default;
|
|
642
|
-
$custom-file-border-width: $input-border-width !default;
|
|
643
|
-
$custom-file-border-color: $input-border-color !default;
|
|
644
|
-
$custom-file-border-radius: $input-border-radius !default;
|
|
645
|
-
$custom-file-box-shadow: $input-box-shadow !default;
|
|
646
|
-
$custom-file-button-color: $custom-file-color !default;
|
|
647
|
-
$custom-file-button-bg: $input-group-addon-bg !default;
|
|
648
|
-
$custom-file-text: (
|
|
649
|
-
en: "Browse"
|
|
650
|
-
) !default;
|
|
651
|
-
|
|
754
|
+
$form-select-padding-y: $input-padding-y !default;
|
|
755
|
+
$form-select-padding-x: $input-padding-x !default;
|
|
756
|
+
$form-select-font-family: $input-font-family !default;
|
|
757
|
+
$form-select-font-size: $input-font-size !default;
|
|
758
|
+
$form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
|
|
759
|
+
$form-select-font-weight: $input-font-weight !default;
|
|
760
|
+
$form-select-line-height: $input-line-height !default;
|
|
761
|
+
$form-select-color: $input-color !default;
|
|
762
|
+
$form-select-disabled-color: $gray-600 !default;
|
|
763
|
+
$form-select-bg: $input-bg !default;
|
|
764
|
+
$form-select-disabled-bg: $gray-200 !default;
|
|
765
|
+
$form-select-disabled-border-color: $input-disabled-border-color !default;
|
|
766
|
+
$form-select-bg-position: right $form-select-padding-x center !default;
|
|
767
|
+
$form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
|
768
|
+
$form-select-indicator-color: $gray-800 !default;
|
|
769
|
+
$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;
|
|
770
|
+
|
|
771
|
+
$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
|
|
772
|
+
$form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
|
|
773
|
+
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
|
774
|
+
|
|
775
|
+
$form-select-border-width: $input-border-width !default;
|
|
776
|
+
$form-select-border-color: $input-border-color !default;
|
|
777
|
+
$form-select-border-radius: $border-radius !default;
|
|
778
|
+
$form-select-box-shadow: $box-shadow-inset !default;
|
|
779
|
+
|
|
780
|
+
$form-select-focus-border-color: $input-focus-border-color !default;
|
|
781
|
+
$form-select-focus-width: $input-focus-width !default;
|
|
782
|
+
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
|
|
783
|
+
|
|
784
|
+
$form-select-padding-y-sm: $input-padding-y-sm !default;
|
|
785
|
+
$form-select-padding-x-sm: $input-padding-x-sm !default;
|
|
786
|
+
$form-select-font-size-sm: $input-font-size-sm !default;
|
|
787
|
+
|
|
788
|
+
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
|
789
|
+
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
|
790
|
+
$form-select-font-size-lg: $input-font-size-lg !default;
|
|
791
|
+
|
|
792
|
+
$form-range-track-width: 100% !default;
|
|
793
|
+
$form-range-track-height: .5rem !default;
|
|
794
|
+
$form-range-track-cursor: pointer !default;
|
|
795
|
+
$form-range-track-bg: $gray-300 !default;
|
|
796
|
+
$form-range-track-border-radius: 1rem !default;
|
|
797
|
+
$form-range-track-box-shadow: $box-shadow-inset !default;
|
|
798
|
+
|
|
799
|
+
$form-range-thumb-width: 1rem !default;
|
|
800
|
+
$form-range-thumb-height: $form-range-thumb-width !default;
|
|
801
|
+
$form-range-thumb-bg: $component-active-bg !default;
|
|
802
|
+
$form-range-thumb-border: 0 !default;
|
|
803
|
+
$form-range-thumb-border-radius: 1rem !default;
|
|
804
|
+
$form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
|
805
|
+
$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
|
806
|
+
$form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
|
|
807
|
+
$form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
|
|
808
|
+
$form-range-thumb-disabled-bg: $gray-500 !default;
|
|
809
|
+
$form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
|
810
|
+
|
|
811
|
+
$form-file-button-color: $input-color !default;
|
|
812
|
+
$form-file-button-bg: $input-group-addon-bg !default;
|
|
813
|
+
$form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
|
|
814
|
+
|
|
815
|
+
$form-floating-height: add(3.5rem, $input-height-border) !default;
|
|
816
|
+
$form-floating-padding-x: $input-padding-x !default;
|
|
817
|
+
$form-floating-padding-y: 1rem !default;
|
|
818
|
+
$form-floating-input-padding-t: 1.625rem !default;
|
|
819
|
+
$form-floating-input-padding-b: .625rem !default;
|
|
820
|
+
$form-floating-label-opacity: .65 !default;
|
|
821
|
+
$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
|
|
822
|
+
$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
|
|
652
823
|
|
|
653
824
|
// Form validation
|
|
654
825
|
|
|
655
826
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
|
656
|
-
$form-feedback-font-size: $
|
|
657
|
-
$form-feedback-
|
|
658
|
-
$form-feedback-
|
|
827
|
+
$form-feedback-font-size: $form-text-font-size !default;
|
|
828
|
+
$form-feedback-font-style: $form-text-font-style !default;
|
|
829
|
+
$form-feedback-valid-color: $success !default;
|
|
830
|
+
$form-feedback-invalid-color: $danger !default;
|
|
659
831
|
|
|
660
832
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
|
661
|
-
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
|
833
|
+
$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;
|
|
662
834
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
|
663
|
-
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
$form-validation-states:
|
|
667
|
-
(
|
|
668
|
-
"
|
|
669
|
-
|
|
670
|
-
"icon": $form-feedback-icon-valid
|
|
671
|
-
),
|
|
672
|
-
"invalid": (
|
|
673
|
-
"color": $form-feedback-invalid-color,
|
|
674
|
-
"icon": $form-feedback-icon-invalid
|
|
675
|
-
),
|
|
835
|
+
$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;
|
|
836
|
+
|
|
837
|
+
// scss-docs-start form-validation-states
|
|
838
|
+
$form-validation-states: (
|
|
839
|
+
"valid": (
|
|
840
|
+
"color": $form-feedback-valid-color,
|
|
841
|
+
"icon": $form-feedback-icon-valid
|
|
676
842
|
),
|
|
677
|
-
|
|
678
|
-
|
|
843
|
+
"invalid": (
|
|
844
|
+
"color": $form-feedback-invalid-color,
|
|
845
|
+
"icon": $form-feedback-icon-invalid
|
|
846
|
+
)
|
|
847
|
+
) !default;
|
|
848
|
+
// scss-docs-end form-validation-states
|
|
679
849
|
|
|
680
850
|
// Z-index master list
|
|
681
851
|
//
|
|
682
852
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
|
683
853
|
// of components dependent on the z-axis and are designed to all work together.
|
|
684
854
|
|
|
855
|
+
// scss-docs-start zindex-stack
|
|
685
856
|
$zindex-dropdown: 1000 !default;
|
|
686
857
|
$zindex-sticky: 1020 !default;
|
|
687
858
|
$zindex-fixed: 1030 !default;
|
|
@@ -689,12 +860,18 @@ $zindex-modal-backdrop: 1040 !default;
|
|
|
689
860
|
$zindex-modal: 1050 !default;
|
|
690
861
|
$zindex-popover: 1060 !default;
|
|
691
862
|
$zindex-tooltip: 1070 !default;
|
|
863
|
+
// scss-docs-end zindex-stack
|
|
692
864
|
|
|
693
865
|
|
|
694
866
|
// Navs
|
|
695
867
|
|
|
696
868
|
$nav-link-padding-y: .5rem !default;
|
|
697
869
|
$nav-link-padding-x: 1rem !default;
|
|
870
|
+
$nav-link-font-size: null !default;
|
|
871
|
+
$nav-link-font-weight: null !default;
|
|
872
|
+
$nav-link-color: null !default;
|
|
873
|
+
$nav-link-hover-color: null !default;
|
|
874
|
+
$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
|
|
698
875
|
$nav-link-disabled-color: $gray-600 !default;
|
|
699
876
|
|
|
700
877
|
$nav-tabs-border-color: $gray-300 !default;
|
|
@@ -709,14 +886,11 @@ $nav-pills-border-radius: $border-radius !default;
|
|
|
709
886
|
$nav-pills-link-active-color: $component-active-color !default;
|
|
710
887
|
$nav-pills-link-active-bg: $component-active-bg !default;
|
|
711
888
|
|
|
712
|
-
$nav-divider-color: $gray-200 !default;
|
|
713
|
-
$nav-divider-margin-y: $spacer / 2 !default;
|
|
714
|
-
|
|
715
889
|
|
|
716
890
|
// Navbar
|
|
717
891
|
|
|
718
892
|
$navbar-padding-y: $spacer / 2 !default;
|
|
719
|
-
$navbar-padding-x:
|
|
893
|
+
$navbar-padding-x: null !default;
|
|
720
894
|
|
|
721
895
|
$navbar-nav-link-padding-x: .5rem !default;
|
|
722
896
|
|
|
@@ -725,26 +899,27 @@ $navbar-brand-font-size: $font-size-lg !default;
|
|
|
725
899
|
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
|
726
900
|
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
|
727
901
|
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
|
902
|
+
$navbar-brand-margin-end: 1rem !default;
|
|
728
903
|
|
|
729
904
|
$navbar-toggler-padding-y: .25rem !default;
|
|
730
905
|
$navbar-toggler-padding-x: .75rem !default;
|
|
731
906
|
$navbar-toggler-font-size: $font-size-lg !default;
|
|
732
907
|
$navbar-toggler-border-radius: $btn-border-radius !default;
|
|
908
|
+
$navbar-toggler-focus-width: $btn-focus-width !default;
|
|
909
|
+
$navbar-toggler-transition: box-shadow .15s ease-in-out !default;
|
|
733
910
|
|
|
734
|
-
$navbar-
|
|
735
|
-
|
|
736
|
-
$navbar-dark-color: rgba($white, .5) !default;
|
|
911
|
+
$navbar-dark-color: rgba($white, .55) !default;
|
|
737
912
|
$navbar-dark-hover-color: rgba($white, .75) !default;
|
|
738
913
|
$navbar-dark-active-color: $white !default;
|
|
739
914
|
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
|
740
|
-
$navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
|
915
|
+
$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;
|
|
741
916
|
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
|
742
917
|
|
|
743
|
-
$navbar-light-color: rgba($black, .
|
|
918
|
+
$navbar-light-color: rgba($black, .55) !default;
|
|
744
919
|
$navbar-light-hover-color: rgba($black, .7) !default;
|
|
745
920
|
$navbar-light-active-color: rgba($black, .9) !default;
|
|
746
921
|
$navbar-light-disabled-color: rgba($black, .3) !default;
|
|
747
|
-
$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
|
922
|
+
$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;
|
|
748
923
|
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
|
749
924
|
|
|
750
925
|
$navbar-light-brand-color: $navbar-light-active-color !default;
|
|
@@ -768,12 +943,12 @@ $dropdown-border-color: rgba($black, .15) !default;
|
|
|
768
943
|
$dropdown-border-radius: $border-radius !default;
|
|
769
944
|
$dropdown-border-width: $border-width !default;
|
|
770
945
|
$dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
|
|
771
|
-
$dropdown-divider-bg: $
|
|
772
|
-
$dropdown-divider-margin-y: $
|
|
773
|
-
$dropdown-box-shadow:
|
|
946
|
+
$dropdown-divider-bg: $dropdown-border-color !default;
|
|
947
|
+
$dropdown-divider-margin-y: $spacer / 2 !default;
|
|
948
|
+
$dropdown-box-shadow: $box-shadow !default;
|
|
774
949
|
|
|
775
950
|
$dropdown-link-color: $gray-900 !default;
|
|
776
|
-
$dropdown-link-hover-color:
|
|
951
|
+
$dropdown-link-hover-color: shade-color($gray-900, 10%) !default;
|
|
777
952
|
$dropdown-link-hover-bg: $gray-200 !default;
|
|
778
953
|
|
|
779
954
|
$dropdown-link-active-color: $component-active-color !default;
|
|
@@ -781,28 +956,44 @@ $dropdown-link-active-bg: $component-active-bg !default;
|
|
|
781
956
|
|
|
782
957
|
$dropdown-link-disabled-color: $gray-500 !default;
|
|
783
958
|
|
|
784
|
-
$dropdown-item-padding-y:
|
|
785
|
-
$dropdown-item-padding-x:
|
|
959
|
+
$dropdown-item-padding-y: $spacer / 4 !default;
|
|
960
|
+
$dropdown-item-padding-x: $spacer !default;
|
|
786
961
|
|
|
787
962
|
$dropdown-header-color: $gray-600 !default;
|
|
788
963
|
$dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
|
|
789
964
|
|
|
965
|
+
$dropdown-dark-color: $gray-300 !default;
|
|
966
|
+
$dropdown-dark-bg: $gray-800 !default;
|
|
967
|
+
$dropdown-dark-border-color: $dropdown-border-color !default;
|
|
968
|
+
$dropdown-dark-divider-bg: $dropdown-divider-bg !default;
|
|
969
|
+
$dropdown-dark-box-shadow: null !default;
|
|
970
|
+
$dropdown-dark-link-color: $dropdown-dark-color !default;
|
|
971
|
+
$dropdown-dark-link-hover-color: $white !default;
|
|
972
|
+
$dropdown-dark-link-hover-bg: rgba($white, .15) !default;
|
|
973
|
+
$dropdown-dark-link-active-color: $dropdown-link-active-color !default;
|
|
974
|
+
$dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
|
|
975
|
+
$dropdown-dark-link-disabled-color: $gray-500 !default;
|
|
976
|
+
$dropdown-dark-header-color: $gray-500 !default;
|
|
977
|
+
|
|
790
978
|
|
|
791
979
|
// Pagination
|
|
792
980
|
|
|
793
|
-
$pagination-padding-y: .
|
|
981
|
+
$pagination-padding-y: .375rem !default;
|
|
794
982
|
$pagination-padding-x: .75rem !default;
|
|
795
983
|
$pagination-padding-y-sm: .25rem !default;
|
|
796
984
|
$pagination-padding-x-sm: .5rem !default;
|
|
797
985
|
$pagination-padding-y-lg: .75rem !default;
|
|
798
986
|
$pagination-padding-x-lg: 1.5rem !default;
|
|
799
|
-
$pagination-line-height: 1.25 !default;
|
|
800
987
|
|
|
801
988
|
$pagination-color: $link-color !default;
|
|
802
989
|
$pagination-bg: $white !default;
|
|
803
990
|
$pagination-border-width: $border-width !default;
|
|
991
|
+
$pagination-border-radius: $border-radius !default;
|
|
992
|
+
$pagination-margin-start: -$pagination-border-width !default;
|
|
804
993
|
$pagination-border-color: $gray-300 !default;
|
|
805
994
|
|
|
995
|
+
$pagination-focus-color: $link-hover-color !default;
|
|
996
|
+
$pagination-focus-bg: $gray-200 !default;
|
|
806
997
|
$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
807
998
|
$pagination-focus-outline: 0 !default;
|
|
808
999
|
|
|
@@ -818,39 +1009,63 @@ $pagination-disabled-color: $gray-600 !default;
|
|
|
818
1009
|
$pagination-disabled-bg: $white !default;
|
|
819
1010
|
$pagination-disabled-border-color: $gray-300 !default;
|
|
820
1011
|
|
|
1012
|
+
$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;
|
|
1013
|
+
|
|
821
1014
|
$pagination-border-radius-sm: $border-radius-sm !default;
|
|
822
1015
|
$pagination-border-radius-lg: $border-radius-lg !default;
|
|
823
1016
|
|
|
824
|
-
// Jumbotron
|
|
825
|
-
|
|
826
|
-
$jumbotron-padding: 2rem !default;
|
|
827
|
-
$jumbotron-color: null !default;
|
|
828
|
-
$jumbotron-bg: $gray-200 !default;
|
|
829
|
-
|
|
830
|
-
|
|
831
1017
|
// Cards
|
|
832
1018
|
|
|
833
|
-
$card-spacer-y:
|
|
834
|
-
$card-spacer-x:
|
|
1019
|
+
$card-spacer-y: $spacer !default;
|
|
1020
|
+
$card-spacer-x: $spacer !default;
|
|
1021
|
+
$card-title-spacer-y: $spacer / 2 !default;
|
|
835
1022
|
$card-border-width: $border-width !default;
|
|
836
1023
|
$card-border-radius: $border-radius !default;
|
|
837
1024
|
$card-border-color: rgba($black, .125) !default;
|
|
838
1025
|
$card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
|
|
1026
|
+
$card-cap-padding-y: $card-spacer-y / 2 !default;
|
|
1027
|
+
$card-cap-padding-x: $card-spacer-x !default;
|
|
839
1028
|
$card-cap-bg: rgba($black, .03) !default;
|
|
840
1029
|
$card-cap-color: null !default;
|
|
841
1030
|
$card-height: null !default;
|
|
842
1031
|
$card-color: null !default;
|
|
843
1032
|
$card-bg: $white !default;
|
|
844
1033
|
|
|
845
|
-
$card-img-overlay-padding:
|
|
1034
|
+
$card-img-overlay-padding: $spacer !default;
|
|
846
1035
|
|
|
847
1036
|
$card-group-margin: $grid-gutter-width / 2 !default;
|
|
848
|
-
$card-deck-margin: $card-group-margin !default;
|
|
849
|
-
|
|
850
|
-
$card-columns-count: 3 !default;
|
|
851
|
-
$card-columns-gap: 1.25rem !default;
|
|
852
|
-
$card-columns-margin: $card-spacer-y !default;
|
|
853
1037
|
|
|
1038
|
+
// Accordion
|
|
1039
|
+
$accordion-padding-y: 1rem !default;
|
|
1040
|
+
$accordion-padding-x: 1.25rem !default;
|
|
1041
|
+
$accordion-color: $body-color !default;
|
|
1042
|
+
$accordion-bg: transparent !default;
|
|
1043
|
+
$accordion-border-width: $border-width !default;
|
|
1044
|
+
$accordion-border-color: rgba($black, .125) !default;
|
|
1045
|
+
$accordion-border-radius: $border-radius !default;
|
|
1046
|
+
|
|
1047
|
+
$accordion-body-padding-y: $accordion-padding-y !default;
|
|
1048
|
+
$accordion-body-padding-x: $accordion-padding-x !default;
|
|
1049
|
+
|
|
1050
|
+
$accordion-button-padding-y: $accordion-padding-y !default;
|
|
1051
|
+
$accordion-button-padding-x: $accordion-padding-x !default;
|
|
1052
|
+
$accordion-button-color: $accordion-color !default;
|
|
1053
|
+
$accordion-button-bg: $accordion-bg !default;
|
|
1054
|
+
$accordion-transition: $btn-transition, border-radius .15s ease !default;
|
|
1055
|
+
$accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
|
|
1056
|
+
$accordion-button-active-color: shade-color($primary, 10%) !default;
|
|
1057
|
+
|
|
1058
|
+
$accordion-button-focus-border-color: $input-focus-border-color !default;
|
|
1059
|
+
$accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
|
|
1060
|
+
|
|
1061
|
+
$accordion-icon-width: 1.25rem !default;
|
|
1062
|
+
$accordion-icon-color: $accordion-color !default;
|
|
1063
|
+
$accordion-icon-active-color: $accordion-button-active-color !default;
|
|
1064
|
+
$accordion-icon-transition: transform .2s ease-in-out !default;
|
|
1065
|
+
$accordion-icon-transform: rotate(180deg) !default;
|
|
1066
|
+
|
|
1067
|
+
$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;
|
|
1068
|
+
$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;
|
|
854
1069
|
|
|
855
1070
|
// Tooltips
|
|
856
1071
|
|
|
@@ -860,8 +1075,8 @@ $tooltip-color: $white !default;
|
|
|
860
1075
|
$tooltip-bg: $black !default;
|
|
861
1076
|
$tooltip-border-radius: $border-radius !default;
|
|
862
1077
|
$tooltip-opacity: .9 !default;
|
|
863
|
-
$tooltip-padding-y:
|
|
864
|
-
$tooltip-padding-x:
|
|
1078
|
+
$tooltip-padding-y: $spacer / 4 !default;
|
|
1079
|
+
$tooltip-padding-x: $spacer / 2 !default;
|
|
865
1080
|
$tooltip-margin: 0 !default;
|
|
866
1081
|
|
|
867
1082
|
$tooltip-arrow-width: .8rem !default;
|
|
@@ -872,7 +1087,7 @@ $tooltip-arrow-color: $tooltip-bg !default;
|
|
|
872
1087
|
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
|
873
1088
|
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
|
874
1089
|
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
|
875
|
-
$form-feedback-tooltip-line-height:
|
|
1090
|
+
$form-feedback-tooltip-line-height: null !default;
|
|
876
1091
|
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
|
877
1092
|
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
|
878
1093
|
|
|
@@ -886,16 +1101,16 @@ $popover-border-width: $border-width !default;
|
|
|
886
1101
|
$popover-border-color: rgba($black, .2) !default;
|
|
887
1102
|
$popover-border-radius: $border-radius-lg !default;
|
|
888
1103
|
$popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
|
|
889
|
-
$popover-box-shadow:
|
|
1104
|
+
$popover-box-shadow: $box-shadow !default;
|
|
890
1105
|
|
|
891
|
-
$popover-header-bg:
|
|
1106
|
+
$popover-header-bg: shade-color($popover-bg, 6%) !default;
|
|
892
1107
|
$popover-header-color: $headings-color !default;
|
|
893
1108
|
$popover-header-padding-y: .5rem !default;
|
|
894
|
-
$popover-header-padding-x:
|
|
1109
|
+
$popover-header-padding-x: $spacer !default;
|
|
895
1110
|
|
|
896
1111
|
$popover-body-color: $body-color !default;
|
|
897
|
-
$popover-body-padding-y: $
|
|
898
|
-
$popover-body-padding-x: $
|
|
1112
|
+
$popover-body-padding-y: $spacer !default;
|
|
1113
|
+
$popover-body-padding-x: $spacer !default;
|
|
899
1114
|
|
|
900
1115
|
$popover-arrow-width: 1rem !default;
|
|
901
1116
|
$popover-arrow-height: .5rem !default;
|
|
@@ -908,14 +1123,15 @@ $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default
|
|
|
908
1123
|
|
|
909
1124
|
$toast-max-width: 350px !default;
|
|
910
1125
|
$toast-padding-x: .75rem !default;
|
|
911
|
-
$toast-padding-y: .
|
|
1126
|
+
$toast-padding-y: .5rem !default;
|
|
912
1127
|
$toast-font-size: .875rem !default;
|
|
913
1128
|
$toast-color: null !default;
|
|
914
1129
|
$toast-background-color: rgba($white, .85) !default;
|
|
915
1130
|
$toast-border-width: 1px !default;
|
|
916
1131
|
$toast-border-color: rgba(0, 0, 0, .1) !default;
|
|
917
|
-
$toast-border-radius:
|
|
918
|
-
$toast-box-shadow:
|
|
1132
|
+
$toast-border-radius: $border-radius !default;
|
|
1133
|
+
$toast-box-shadow: $box-shadow !default;
|
|
1134
|
+
$toast-spacing: $container-padding-x !default;
|
|
919
1135
|
|
|
920
1136
|
$toast-header-color: $gray-600 !default;
|
|
921
1137
|
$toast-header-background-color: rgba($white, .85) !default;
|
|
@@ -924,25 +1140,18 @@ $toast-header-border-color: rgba(0, 0, 0, .05) !default;
|
|
|
924
1140
|
|
|
925
1141
|
// Badges
|
|
926
1142
|
|
|
927
|
-
$badge-font-size:
|
|
1143
|
+
$badge-font-size: .75em !default;
|
|
928
1144
|
$badge-font-weight: $font-weight-bold !default;
|
|
929
|
-
$badge-
|
|
930
|
-
$badge-padding-
|
|
1145
|
+
$badge-color: $white !default;
|
|
1146
|
+
$badge-padding-y: .35em !default;
|
|
1147
|
+
$badge-padding-x: .65em !default;
|
|
931
1148
|
$badge-border-radius: $border-radius !default;
|
|
932
1149
|
|
|
933
|
-
$badge-transition: $btn-transition !default;
|
|
934
|
-
$badge-focus-width: $input-btn-focus-width !default;
|
|
935
|
-
|
|
936
|
-
$badge-pill-padding-x: .6em !default;
|
|
937
|
-
// Use a higher than normal value to ensure completely rounded edges when
|
|
938
|
-
// customizing padding or font-size on labels.
|
|
939
|
-
$badge-pill-border-radius: 10rem !default;
|
|
940
|
-
|
|
941
1150
|
|
|
942
1151
|
// Modals
|
|
943
1152
|
|
|
944
1153
|
// Padding applied to the modal body
|
|
945
|
-
$modal-inner-padding:
|
|
1154
|
+
$modal-inner-padding: $spacer !default;
|
|
946
1155
|
|
|
947
1156
|
// Margin between elements in footer, must be lower than or equal to 2 * $modal-inner-padding
|
|
948
1157
|
$modal-footer-margin-between: .5rem !default;
|
|
@@ -958,8 +1167,8 @@ $modal-content-border-color: rgba($black, .2) !default;
|
|
|
958
1167
|
$modal-content-border-width: $border-width !default;
|
|
959
1168
|
$modal-content-border-radius: $border-radius-lg !default;
|
|
960
1169
|
$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
|
|
961
|
-
$modal-content-box-shadow-xs:
|
|
962
|
-
$modal-content-box-shadow-sm-up:
|
|
1170
|
+
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
|
1171
|
+
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
|
963
1172
|
|
|
964
1173
|
$modal-backdrop-bg: $black !default;
|
|
965
1174
|
$modal-backdrop-opacity: .5 !default;
|
|
@@ -967,14 +1176,14 @@ $modal-header-border-color: $border-color !default;
|
|
|
967
1176
|
$modal-footer-border-color: $modal-header-border-color !default;
|
|
968
1177
|
$modal-header-border-width: $modal-content-border-width !default;
|
|
969
1178
|
$modal-footer-border-width: $modal-header-border-width !default;
|
|
970
|
-
$modal-header-padding-y:
|
|
971
|
-
$modal-header-padding-x:
|
|
1179
|
+
$modal-header-padding-y: $modal-inner-padding !default;
|
|
1180
|
+
$modal-header-padding-x: $modal-inner-padding !default;
|
|
972
1181
|
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
|
973
1182
|
|
|
974
|
-
$modal-xl: 1140px !default;
|
|
975
|
-
$modal-lg: 800px !default;
|
|
976
|
-
$modal-md: 500px !default;
|
|
977
1183
|
$modal-sm: 300px !default;
|
|
1184
|
+
$modal-md: 500px !default;
|
|
1185
|
+
$modal-lg: 800px !default;
|
|
1186
|
+
$modal-xl: 1140px !default;
|
|
978
1187
|
|
|
979
1188
|
$modal-fade-transform: translate(0, -50px) !default;
|
|
980
1189
|
$modal-show-transform: none !default;
|
|
@@ -986,16 +1195,18 @@ $modal-scale-transform: scale(1.02) !default;
|
|
|
986
1195
|
//
|
|
987
1196
|
// Define alert colors, border radius, and padding.
|
|
988
1197
|
|
|
989
|
-
$alert-padding-y:
|
|
990
|
-
$alert-padding-x:
|
|
1198
|
+
$alert-padding-y: $spacer !default;
|
|
1199
|
+
$alert-padding-x: $spacer !default;
|
|
991
1200
|
$alert-margin-bottom: 1rem !default;
|
|
992
1201
|
$alert-border-radius: $border-radius !default;
|
|
993
1202
|
$alert-link-font-weight: $font-weight-bold !default;
|
|
994
1203
|
$alert-border-width: $border-width !default;
|
|
995
1204
|
|
|
996
|
-
$alert-bg-
|
|
997
|
-
$alert-border-
|
|
998
|
-
$alert-color-
|
|
1205
|
+
$alert-bg-scale: -80% !default;
|
|
1206
|
+
$alert-border-scale: -70% !default;
|
|
1207
|
+
$alert-color-scale: 40% !default;
|
|
1208
|
+
|
|
1209
|
+
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
|
999
1210
|
|
|
1000
1211
|
|
|
1001
1212
|
// Progress bars
|
|
@@ -1004,9 +1215,9 @@ $progress-height: 1rem !default;
|
|
|
1004
1215
|
$progress-font-size: $font-size-base * .75 !default;
|
|
1005
1216
|
$progress-bg: $gray-200 !default;
|
|
1006
1217
|
$progress-border-radius: $border-radius !default;
|
|
1007
|
-
$progress-box-shadow: inset
|
|
1218
|
+
$progress-box-shadow: $box-shadow-inset !default;
|
|
1008
1219
|
$progress-bar-color: $white !default;
|
|
1009
|
-
$progress-bar-bg:
|
|
1220
|
+
$progress-bar-bg: $primary !default;
|
|
1010
1221
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
|
1011
1222
|
$progress-bar-transition: width .6s ease !default;
|
|
1012
1223
|
|
|
@@ -1019,8 +1230,10 @@ $list-group-border-color: rgba($black, .125) !default;
|
|
|
1019
1230
|
$list-group-border-width: $border-width !default;
|
|
1020
1231
|
$list-group-border-radius: $border-radius !default;
|
|
1021
1232
|
|
|
1022
|
-
$list-group-item-padding-y:
|
|
1023
|
-
$list-group-item-padding-x:
|
|
1233
|
+
$list-group-item-padding-y: $spacer / 2 !default;
|
|
1234
|
+
$list-group-item-padding-x: $spacer !default;
|
|
1235
|
+
$list-group-item-bg-scale: -80% !default;
|
|
1236
|
+
$list-group-item-color-scale: 40% !default;
|
|
1024
1237
|
|
|
1025
1238
|
$list-group-hover-bg: $gray-100 !default;
|
|
1026
1239
|
$list-group-active-color: $component-active-color !default;
|
|
@@ -1044,32 +1257,28 @@ $thumbnail-bg: $body-bg !default;
|
|
|
1044
1257
|
$thumbnail-border-width: $border-width !default;
|
|
1045
1258
|
$thumbnail-border-color: $gray-300 !default;
|
|
1046
1259
|
$thumbnail-border-radius: $border-radius !default;
|
|
1047
|
-
$thumbnail-box-shadow:
|
|
1260
|
+
$thumbnail-box-shadow: $box-shadow-sm !default;
|
|
1048
1261
|
|
|
1049
1262
|
|
|
1050
1263
|
// Figures
|
|
1051
1264
|
|
|
1052
|
-
$figure-caption-font-size:
|
|
1265
|
+
$figure-caption-font-size: $small-font-size !default;
|
|
1053
1266
|
$figure-caption-color: $gray-600 !default;
|
|
1054
1267
|
|
|
1055
1268
|
|
|
1056
1269
|
// Breadcrumbs
|
|
1057
1270
|
|
|
1058
1271
|
$breadcrumb-font-size: null !default;
|
|
1059
|
-
|
|
1060
|
-
$breadcrumb-padding-
|
|
1061
|
-
$breadcrumb-padding-x:
|
|
1062
|
-
$breadcrumb-item-padding: .5rem !default;
|
|
1063
|
-
|
|
1272
|
+
$breadcrumb-padding-y: 0 !default;
|
|
1273
|
+
$breadcrumb-padding-x: 0 !default;
|
|
1274
|
+
$breadcrumb-item-padding-x: .5rem !default;
|
|
1064
1275
|
$breadcrumb-margin-bottom: 1rem !default;
|
|
1065
|
-
|
|
1066
|
-
$breadcrumb-bg: $gray-200 !default;
|
|
1276
|
+
$breadcrumb-bg: null !default;
|
|
1067
1277
|
$breadcrumb-divider-color: $gray-600 !default;
|
|
1068
1278
|
$breadcrumb-active-color: $gray-600 !default;
|
|
1069
1279
|
$breadcrumb-divider: quote("/") !default;
|
|
1070
|
-
|
|
1071
|
-
$breadcrumb-border-radius:
|
|
1072
|
-
|
|
1280
|
+
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
|
1281
|
+
$breadcrumb-border-radius: null !default;
|
|
1073
1282
|
|
|
1074
1283
|
// Carousel
|
|
1075
1284
|
|
|
@@ -1083,26 +1292,35 @@ $carousel-indicator-width: 30px !default;
|
|
|
1083
1292
|
$carousel-indicator-height: 3px !default;
|
|
1084
1293
|
$carousel-indicator-hit-area-height: 10px !default;
|
|
1085
1294
|
$carousel-indicator-spacer: 3px !default;
|
|
1295
|
+
$carousel-indicator-opacity: .5 !default;
|
|
1086
1296
|
$carousel-indicator-active-bg: $white !default;
|
|
1297
|
+
$carousel-indicator-active-opacity: 1 !default;
|
|
1087
1298
|
$carousel-indicator-transition: opacity .6s ease !default;
|
|
1088
1299
|
|
|
1089
1300
|
$carousel-caption-width: 70% !default;
|
|
1090
1301
|
$carousel-caption-color: $white !default;
|
|
1302
|
+
$carousel-caption-padding-y: 1.25rem !default;
|
|
1303
|
+
$carousel-caption-spacer: 1.25rem !default;
|
|
1091
1304
|
|
|
1092
|
-
$carousel-control-icon-width:
|
|
1305
|
+
$carousel-control-icon-width: 2rem !default;
|
|
1093
1306
|
|
|
1094
|
-
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}'
|
|
1095
|
-
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}'
|
|
1307
|
+
$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;
|
|
1308
|
+
$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;
|
|
1096
1309
|
|
|
1097
1310
|
$carousel-transition-duration: .6s !default;
|
|
1098
1311
|
$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`)
|
|
1099
1312
|
|
|
1313
|
+
$carousel-dark-indicator-active-bg: $black !default;
|
|
1314
|
+
$carousel-dark-caption-color: $black !default;
|
|
1315
|
+
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
|
1316
|
+
|
|
1100
1317
|
|
|
1101
1318
|
// Spinners
|
|
1102
1319
|
|
|
1103
|
-
$spinner-width:
|
|
1104
|
-
$spinner-height:
|
|
1105
|
-
$spinner-border-width:
|
|
1320
|
+
$spinner-width: 2rem !default;
|
|
1321
|
+
$spinner-height: $spinner-width !default;
|
|
1322
|
+
$spinner-border-width: .25em !default;
|
|
1323
|
+
$spinner-animation-speed: .75s !default;
|
|
1106
1324
|
|
|
1107
1325
|
$spinner-width-sm: 1rem !default;
|
|
1108
1326
|
$spinner-height-sm: $spinner-width-sm !default;
|
|
@@ -1111,15 +1329,22 @@ $spinner-border-width-sm: .2em !default;
|
|
|
1111
1329
|
|
|
1112
1330
|
// Close
|
|
1113
1331
|
|
|
1114
|
-
$close-
|
|
1115
|
-
$close-
|
|
1116
|
-
$close-
|
|
1117
|
-
$close-
|
|
1118
|
-
|
|
1332
|
+
$btn-close-width: 1em !default;
|
|
1333
|
+
$btn-close-height: $btn-close-width !default;
|
|
1334
|
+
$btn-close-padding-x: .25em !default;
|
|
1335
|
+
$btn-close-padding-y: $btn-close-padding-x !default;
|
|
1336
|
+
$btn-close-color: $black !default;
|
|
1337
|
+
$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;
|
|
1338
|
+
$btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
|
|
1339
|
+
$btn-close-opacity: .5 !default;
|
|
1340
|
+
$btn-close-hover-opacity: .75 !default;
|
|
1341
|
+
$btn-close-focus-opacity: 1 !default;
|
|
1342
|
+
$btn-close-disabled-opacity: .25 !default;
|
|
1343
|
+
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
|
1119
1344
|
|
|
1120
1345
|
// Code
|
|
1121
1346
|
|
|
1122
|
-
$code-font-size:
|
|
1347
|
+
$code-font-size: $small-font-size !default;
|
|
1123
1348
|
$code-color: $pink !default;
|
|
1124
1349
|
|
|
1125
1350
|
$kbd-padding-y: .2rem !default;
|
|
@@ -1128,19 +1353,4 @@ $kbd-font-size: $code-font-size !default;
|
|
|
1128
1353
|
$kbd-color: $white !default;
|
|
1129
1354
|
$kbd-bg: $gray-900 !default;
|
|
1130
1355
|
|
|
1131
|
-
$pre-color:
|
|
1132
|
-
$pre-scrollable-max-height: 340px !default;
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
// Utilities
|
|
1136
|
-
|
|
1137
|
-
$displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
|
|
1138
|
-
$overflows: auto, hidden !default;
|
|
1139
|
-
$positions: static, relative, absolute, fixed, sticky !default;
|
|
1140
|
-
$user-selects: all, auto, none !default;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
// Printing
|
|
1144
|
-
|
|
1145
|
-
$print-page-size: a3 !default;
|
|
1146
|
-
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|
|
1356
|
+
$pre-color: null !default;
|