bootstrap 4.0.0.beta → 4.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bootstrap might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +10 -43
- data/Rakefile +1 -1
- data/assets/javascripts/bootstrap-sprockets.js +5 -5
- data/assets/javascripts/bootstrap.js +1561 -1542
- data/assets/javascripts/bootstrap.min.js +6 -5
- data/assets/javascripts/bootstrap/alert.js +31 -38
- data/assets/javascripts/bootstrap/button.js +23 -30
- data/assets/javascripts/bootstrap/carousel.js +72 -81
- data/assets/javascripts/bootstrap/collapse.js +72 -68
- data/assets/javascripts/bootstrap/dropdown.js +97 -85
- data/assets/javascripts/bootstrap/modal.js +104 -101
- data/assets/javascripts/bootstrap/popover.js +55 -68
- data/assets/javascripts/bootstrap/scrollspy.js +63 -68
- data/assets/javascripts/bootstrap/tab.js +54 -49
- data/assets/javascripts/bootstrap/tooltip.js +102 -116
- data/assets/javascripts/bootstrap/util.js +20 -30
- data/assets/stylesheets/_bootstrap-grid.scss +7 -9
- data/assets/stylesheets/_bootstrap-reboot.scss +7 -4
- data/assets/stylesheets/_bootstrap.scss +2 -1
- data/assets/stylesheets/bootstrap/_alert.scss +4 -3
- data/assets/stylesheets/bootstrap/_badge.scss +1 -2
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +4 -4
- data/assets/stylesheets/bootstrap/_button-group.scss +33 -24
- data/assets/stylesheets/bootstrap/_buttons.scss +24 -29
- data/assets/stylesheets/bootstrap/_card.scss +58 -22
- data/assets/stylesheets/bootstrap/_carousel.scss +6 -0
- data/assets/stylesheets/bootstrap/_close.scss +2 -2
- data/assets/stylesheets/bootstrap/_custom-forms.scss +11 -8
- data/assets/stylesheets/bootstrap/_dropdown.scss +16 -41
- data/assets/stylesheets/bootstrap/_forms.scss +12 -44
- data/assets/stylesheets/bootstrap/_functions.scss +6 -10
- data/assets/stylesheets/bootstrap/_grid.scss +0 -1
- data/assets/stylesheets/bootstrap/_input-group.scss +17 -7
- data/assets/stylesheets/bootstrap/_mixins.scss +1 -0
- data/assets/stylesheets/bootstrap/_modal.scss +12 -1
- data/assets/stylesheets/bootstrap/_nav.scss +5 -5
- data/assets/stylesheets/bootstrap/_navbar.scss +27 -5
- data/assets/stylesheets/bootstrap/_pagination.scss +2 -4
- data/assets/stylesheets/bootstrap/_popover.scss +16 -17
- data/assets/stylesheets/bootstrap/_print.scss +2 -3
- data/assets/stylesheets/bootstrap/_progress.scss +4 -6
- data/assets/stylesheets/bootstrap/_reboot.scss +39 -16
- data/assets/stylesheets/bootstrap/_root.scss +19 -0
- data/assets/stylesheets/bootstrap/_tables.scss +40 -28
- data/assets/stylesheets/bootstrap/_tooltip.scss +6 -6
- data/assets/stylesheets/bootstrap/_transitions.scss +2 -0
- data/assets/stylesheets/bootstrap/_type.scss +2 -0
- data/assets/stylesheets/bootstrap/_variables.scss +467 -476
- data/assets/stylesheets/bootstrap/mixins/_alert.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +8 -0
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +18 -4
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +27 -16
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +35 -0
- data/assets/stylesheets/bootstrap/mixins/_float.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +31 -4
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +8 -0
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +14 -1
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +10 -5
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +13 -12
- data/assets/stylesheets/bootstrap/mixins/_image.scss +3 -3
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -2
- data/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +2 -1
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +1 -2
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +2 -0
- data/assets/stylesheets/bootstrap/utilities/_align.scss +2 -0
- data/assets/stylesheets/bootstrap/utilities/_background.scss +16 -3
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +5 -3
- data/assets/stylesheets/bootstrap/utilities/_display.scss +3 -0
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +2 -0
- data/assets/stylesheets/bootstrap/utilities/_position.scss +12 -1
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +2 -0
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +24 -14
- data/assets/stylesheets/bootstrap/utilities/_text.scss +7 -4
- data/bootstrap.gemspec +2 -3
- data/lib/bootstrap.rb +0 -16
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +31 -4
- data/tasks/updater/scss.rb +0 -12
- data/test/dummy_rails/config/application.rb +0 -1
- metadata +16 -27
- data/templates/project/_bootstrap-variables.scss +0 -834
- data/templates/project/manifest.rb +0 -18
- data/templates/project/styles.scss +0 -10
- data/test/compass_test.rb +0 -14
@@ -0,0 +1,19 @@
|
|
1
|
+
:root {
|
2
|
+
// Custom variable values only support SassScript inside `#{}`.
|
3
|
+
@each $color, $value in $colors {
|
4
|
+
--#{$color}: #{$value};
|
5
|
+
}
|
6
|
+
|
7
|
+
@each $color, $value in $theme-colors {
|
8
|
+
--#{$color}: #{$value};
|
9
|
+
}
|
10
|
+
|
11
|
+
@each $bp, $value in $grid-breakpoints {
|
12
|
+
--breakpoint-#{$bp}: #{$value};
|
13
|
+
}
|
14
|
+
|
15
|
+
// Use `inspect` for lists so that quoted items keep the quotes.
|
16
|
+
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
17
|
+
--font-family-sans-serif: #{inspect($font-family-sans-serif)};
|
18
|
+
--font-family-monospace: #{inspect($font-family-monospace)};
|
19
|
+
}
|
@@ -99,32 +99,37 @@
|
|
99
99
|
@include table-row-variant(active, $table-active-bg);
|
100
100
|
|
101
101
|
|
102
|
-
//
|
102
|
+
// Dark styles
|
103
103
|
//
|
104
104
|
// Same table markup, but inverted color scheme: dark background and light text.
|
105
105
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
106
|
+
// stylelint-disable-next-line no-duplicate-selectors
|
107
|
+
.table {
|
108
|
+
.thead-dark {
|
109
|
+
th {
|
110
|
+
color: $table-dark-color;
|
111
|
+
background-color: $table-dark-bg;
|
112
|
+
border-color: $table-dark-border-color;
|
113
|
+
}
|
110
114
|
}
|
111
|
-
}
|
112
115
|
|
113
|
-
.thead-
|
114
|
-
|
115
|
-
|
116
|
-
|
116
|
+
.thead-light {
|
117
|
+
th {
|
118
|
+
color: $table-head-color;
|
119
|
+
background-color: $table-head-bg;
|
120
|
+
border-color: $table-border-color;
|
121
|
+
}
|
117
122
|
}
|
118
123
|
}
|
119
124
|
|
120
|
-
.table-
|
121
|
-
color: $table-
|
122
|
-
background-color: $table-
|
125
|
+
.table-dark {
|
126
|
+
color: $table-dark-color;
|
127
|
+
background-color: $table-dark-bg;
|
123
128
|
|
124
129
|
th,
|
125
130
|
td,
|
126
131
|
thead th {
|
127
|
-
border-color: $table-
|
132
|
+
border-color: $table-dark-border-color;
|
128
133
|
}
|
129
134
|
|
130
135
|
&.table-bordered {
|
@@ -133,14 +138,14 @@
|
|
133
138
|
|
134
139
|
&.table-striped {
|
135
140
|
tbody tr:nth-of-type(odd) {
|
136
|
-
background-color: $table-
|
141
|
+
background-color: $table-dark-accent-bg;
|
137
142
|
}
|
138
143
|
}
|
139
144
|
|
140
145
|
&.table-hover {
|
141
146
|
tbody tr {
|
142
147
|
@include hover {
|
143
|
-
background-color: $table-
|
148
|
+
background-color: $table-dark-hover-bg;
|
144
149
|
}
|
145
150
|
}
|
146
151
|
}
|
@@ -149,20 +154,27 @@
|
|
149
154
|
|
150
155
|
// Responsive tables
|
151
156
|
//
|
152
|
-
//
|
153
|
-
//
|
154
|
-
// will display normally.
|
157
|
+
// Generate series of `.table-responsive-*` classes for configuring the screen
|
158
|
+
// size of where your table will overflow.
|
155
159
|
|
156
160
|
.table-responsive {
|
157
|
-
@
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
161
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
162
|
+
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
163
|
+
$infix: breakpoint-infix($next, $grid-breakpoints);
|
164
|
+
|
165
|
+
&#{$infix} {
|
166
|
+
@include media-breakpoint-down($breakpoint) {
|
167
|
+
display: block;
|
168
|
+
width: 100%;
|
169
|
+
overflow-x: auto;
|
170
|
+
-webkit-overflow-scrolling: touch;
|
171
|
+
-ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
|
172
|
+
|
173
|
+
// Prevent double border on horizontal scroll due to use of `display: block;`
|
174
|
+
&.table-bordered {
|
175
|
+
border: 0;
|
176
|
+
}
|
177
|
+
}
|
166
178
|
}
|
167
179
|
}
|
168
180
|
}
|
@@ -21,6 +21,12 @@
|
|
21
21
|
height: $tooltip-arrow-height;
|
22
22
|
}
|
23
23
|
|
24
|
+
.arrow::before {
|
25
|
+
position: absolute;
|
26
|
+
border-color: transparent;
|
27
|
+
border-style: solid;
|
28
|
+
}
|
29
|
+
|
24
30
|
&.bs-tooltip-top {
|
25
31
|
padding: $tooltip-arrow-width 0;
|
26
32
|
.arrow {
|
@@ -88,12 +94,6 @@
|
|
88
94
|
@extend .bs-tooltip-left;
|
89
95
|
}
|
90
96
|
}
|
91
|
-
|
92
|
-
.arrow::before {
|
93
|
-
position: absolute;
|
94
|
-
border-color: transparent;
|
95
|
-
border-style: solid;
|
96
|
-
}
|
97
97
|
}
|
98
98
|
|
99
99
|
// Wrapper for the tooltip content
|
@@ -1,54 +1,15 @@
|
|
1
1
|
// Variables
|
2
2
|
//
|
3
|
-
// Copy settings from this file into the provided `_custom.scss` to override
|
4
|
-
// the Bootstrap defaults without modifying key, versioned files.
|
5
|
-
//
|
6
3
|
// Variables should follow the `$component-state-property-size` formula for
|
7
4
|
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
8
5
|
|
9
|
-
// Table of Contents
|
10
|
-
//
|
11
|
-
// Color system
|
12
|
-
// Options
|
13
|
-
// Spacing
|
14
|
-
// Body
|
15
|
-
// Links
|
16
|
-
// Grid breakpoints
|
17
|
-
// Grid containers
|
18
|
-
// Grid columns
|
19
|
-
// Fonts
|
20
|
-
// Components
|
21
|
-
// Tables
|
22
|
-
// Buttons
|
23
|
-
// Forms
|
24
|
-
// Dropdowns
|
25
|
-
// Z-index master list
|
26
|
-
// Navs
|
27
|
-
// Navbar
|
28
|
-
// Pagination
|
29
|
-
// Jumbotron
|
30
|
-
// Form states and alerts
|
31
|
-
// Cards
|
32
|
-
// Tooltips
|
33
|
-
// Popovers
|
34
|
-
// Badges
|
35
|
-
// Modals
|
36
|
-
// Alerts
|
37
|
-
// Progress bars
|
38
|
-
// List group
|
39
|
-
// Image thumbnails
|
40
|
-
// Figures
|
41
|
-
// Breadcrumbs
|
42
|
-
// Carousel
|
43
|
-
// Close
|
44
|
-
// Code
|
45
|
-
|
46
6
|
|
47
7
|
//
|
48
8
|
// Color system
|
49
9
|
//
|
50
10
|
|
51
|
-
|
11
|
+
// stylelint-disable
|
12
|
+
$white: #fff !default;
|
52
13
|
$gray-100: #f8f9fa !default;
|
53
14
|
$gray-200: #e9ecef !default;
|
54
15
|
$gray-300: #dee2e6 !default;
|
@@ -58,19 +19,20 @@ $gray-600: #868e96 !default;
|
|
58
19
|
$gray-700: #495057 !default;
|
59
20
|
$gray-800: #343a40 !default;
|
60
21
|
$gray-900: #212529 !default;
|
61
|
-
$black:
|
62
|
-
|
63
|
-
$grays: (
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
22
|
+
$black: #000 !default;
|
23
|
+
|
24
|
+
$grays: () !default;
|
25
|
+
$grays: map-merge((
|
26
|
+
"100": $gray-100,
|
27
|
+
"200": $gray-200,
|
28
|
+
"300": $gray-300,
|
29
|
+
"400": $gray-400,
|
30
|
+
"500": $gray-500,
|
31
|
+
"600": $gray-600,
|
32
|
+
"700": $gray-700,
|
33
|
+
"800": $gray-800,
|
34
|
+
"900": $gray-900
|
35
|
+
), $grays);
|
74
36
|
|
75
37
|
$blue: #007bff !default;
|
76
38
|
$indigo: #6610f2 !default;
|
@@ -83,41 +45,54 @@ $green: #28a745 !default;
|
|
83
45
|
$teal: #20c997 !default;
|
84
46
|
$cyan: #17a2b8 !default;
|
85
47
|
|
86
|
-
$colors: (
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
gray
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
48
|
+
$colors: () !default;
|
49
|
+
$colors: map-merge((
|
50
|
+
"blue": $blue,
|
51
|
+
"indigo": $indigo,
|
52
|
+
"purple": $purple,
|
53
|
+
"pink": $pink,
|
54
|
+
"red": $red,
|
55
|
+
"orange": $orange,
|
56
|
+
"yellow": $yellow,
|
57
|
+
"green": $green,
|
58
|
+
"teal": $teal,
|
59
|
+
"cyan": $cyan,
|
60
|
+
"white": $white,
|
61
|
+
"gray": $gray-600,
|
62
|
+
"gray-dark": $gray-800
|
63
|
+
), $colors);
|
64
|
+
|
65
|
+
$primary: $blue !default;
|
66
|
+
$secondary: $gray-600 !default;
|
67
|
+
$success: $green !default;
|
68
|
+
$info: $cyan !default;
|
69
|
+
$warning: $yellow !default;
|
70
|
+
$danger: $red !default;
|
71
|
+
$light: $gray-100 !default;
|
72
|
+
$dark: $gray-800 !default;
|
73
|
+
|
74
|
+
$theme-colors: () !default;
|
75
|
+
$theme-colors: map-merge((
|
76
|
+
"primary": $primary,
|
77
|
+
"secondary": $secondary,
|
78
|
+
"success": $success,
|
79
|
+
"info": $info,
|
80
|
+
"warning": $warning,
|
81
|
+
"danger": $danger,
|
82
|
+
"light": $light,
|
83
|
+
"dark": $dark
|
84
|
+
), $theme-colors);
|
85
|
+
// stylelint-enable
|
112
86
|
|
113
87
|
// Set a specific jump point for requesting color jumps
|
114
|
-
$theme-color-interval:
|
88
|
+
$theme-color-interval: 8% !default;
|
115
89
|
|
116
90
|
|
117
91
|
// Options
|
118
92
|
//
|
119
93
|
// Quickly modify global styling by enabling or disabling optional features.
|
120
94
|
|
95
|
+
$enable-caret: true !default;
|
121
96
|
$enable-rounded: true !default;
|
122
97
|
$enable-shadows: false !default;
|
123
98
|
$enable-gradients: false !default;
|
@@ -155,17 +130,23 @@ $sizes: (
|
|
155
130
|
//
|
156
131
|
// Settings for the `<body>` element.
|
157
132
|
|
158
|
-
$body-bg:
|
159
|
-
$body-color:
|
133
|
+
$body-bg: $white !default;
|
134
|
+
$body-color: $gray-900 !default;
|
160
135
|
|
161
136
|
// Links
|
162
137
|
//
|
163
138
|
// Style anchor elements.
|
164
139
|
|
165
|
-
$link-color:
|
166
|
-
$link-decoration:
|
167
|
-
$link-hover-color:
|
168
|
-
$link-hover-decoration:
|
140
|
+
$link-color: theme-color("primary") !default;
|
141
|
+
$link-decoration: none !default;
|
142
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
143
|
+
$link-hover-decoration: underline !default;
|
144
|
+
|
145
|
+
// Paragraphs
|
146
|
+
//
|
147
|
+
// Style p element.
|
148
|
+
|
149
|
+
$paragraph-margin-bottom: 1rem !default;
|
169
150
|
|
170
151
|
|
171
152
|
// Grid breakpoints
|
@@ -180,6 +161,7 @@ $grid-breakpoints: (
|
|
180
161
|
lg: 992px,
|
181
162
|
xl: 1200px
|
182
163
|
) !default;
|
164
|
+
|
183
165
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
184
166
|
@include _assert-starts-at-zero($grid-breakpoints);
|
185
167
|
|
@@ -194,6 +176,7 @@ $container-max-widths: (
|
|
194
176
|
lg: 960px,
|
195
177
|
xl: 1140px
|
196
178
|
) !default;
|
179
|
+
|
197
180
|
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
198
181
|
|
199
182
|
|
@@ -201,95 +184,99 @@ $container-max-widths: (
|
|
201
184
|
//
|
202
185
|
// Set the number of columns and specify the width of the gutters.
|
203
186
|
|
204
|
-
$grid-columns:
|
205
|
-
$grid-gutter-width:
|
187
|
+
$grid-columns: 12 !default;
|
188
|
+
$grid-gutter-width: 30px !default;
|
206
189
|
|
207
190
|
// Components
|
208
191
|
//
|
209
192
|
// Define common padding and border radius sizes and more.
|
210
193
|
|
211
|
-
$line-height-lg:
|
212
|
-
$line-height-sm:
|
194
|
+
$line-height-lg: 1.5 !default;
|
195
|
+
$line-height-sm: 1.5 !default;
|
213
196
|
|
214
|
-
$border-width:
|
197
|
+
$border-width: 1px !default;
|
198
|
+
$border-color: $gray-200 !default;
|
215
199
|
|
216
|
-
$border-radius:
|
217
|
-
$border-radius-lg:
|
218
|
-
$border-radius-sm:
|
200
|
+
$border-radius: .25rem !default;
|
201
|
+
$border-radius-lg: .3rem !default;
|
202
|
+
$border-radius-sm: .2rem !default;
|
219
203
|
|
220
|
-
$component-active-color:
|
221
|
-
$component-active-bg:
|
204
|
+
$component-active-color: $white !default;
|
205
|
+
$component-active-bg: theme-color("primary") !default;
|
222
206
|
|
223
|
-
$caret-width:
|
207
|
+
$caret-width: .3em !default;
|
224
208
|
|
225
|
-
$transition-base:
|
226
|
-
$transition-fade:
|
227
|
-
$transition-collapse:
|
209
|
+
$transition-base: all .2s ease-in-out !default;
|
210
|
+
$transition-fade: opacity .15s linear !default;
|
211
|
+
$transition-collapse: height .35s ease !default;
|
228
212
|
|
229
213
|
|
230
214
|
// Fonts
|
231
215
|
//
|
232
216
|
// Font, line-height, and color for body text, headings, and more.
|
233
217
|
|
234
|
-
|
235
|
-
$font-family-
|
236
|
-
$font-family-
|
218
|
+
// stylelint-disable value-keyword-case
|
219
|
+
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
220
|
+
$font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
221
|
+
$font-family-base: $font-family-sans-serif !default;
|
222
|
+
// stylelint-enable value-keyword-case
|
237
223
|
|
238
|
-
$font-size-base:
|
239
|
-
$font-size-lg:
|
240
|
-
$font-size-sm:
|
224
|
+
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
225
|
+
$font-size-lg: ($font-size-base * 1.25) !default;
|
226
|
+
$font-size-sm: ($font-size-base * .875) !default;
|
241
227
|
|
242
|
-
$font-weight-
|
243
|
-
$font-weight-
|
228
|
+
$font-weight-light: 300 !default;
|
229
|
+
$font-weight-normal: 400 !default;
|
230
|
+
$font-weight-bold: 700 !default;
|
244
231
|
|
245
|
-
$font-weight-base:
|
246
|
-
$line-height-base:
|
232
|
+
$font-weight-base: $font-weight-normal !default;
|
233
|
+
$line-height-base: 1.5 !default;
|
247
234
|
|
248
|
-
$h1-font-size: 2.
|
249
|
-
$h2-font-size:
|
250
|
-
$h3-font-size: 1.
|
251
|
-
$h4-font-size: 1.
|
252
|
-
$h5-font-size: 1.
|
253
|
-
$h6-font-size:
|
235
|
+
$h1-font-size: $font-size-base * 2.5 !default;
|
236
|
+
$h2-font-size: $font-size-base * 2 !default;
|
237
|
+
$h3-font-size: $font-size-base * 1.75 !default;
|
238
|
+
$h4-font-size: $font-size-base * 1.5 !default;
|
239
|
+
$h5-font-size: $font-size-base * 1.25 !default;
|
240
|
+
$h6-font-size: $font-size-base !default;
|
254
241
|
|
255
|
-
$headings-margin-bottom:
|
256
|
-
$headings-font-family:
|
257
|
-
$headings-font-weight:
|
258
|
-
$headings-line-height:
|
259
|
-
$headings-color:
|
242
|
+
$headings-margin-bottom: ($spacer / 2) !default;
|
243
|
+
$headings-font-family: inherit !default;
|
244
|
+
$headings-font-weight: 500 !default;
|
245
|
+
$headings-line-height: 1.2 !default;
|
246
|
+
$headings-color: inherit !default;
|
260
247
|
|
261
|
-
$display1-size:
|
262
|
-
$display2-size:
|
263
|
-
$display3-size:
|
264
|
-
$display4-size:
|
248
|
+
$display1-size: 6rem !default;
|
249
|
+
$display2-size: 5.5rem !default;
|
250
|
+
$display3-size: 4.5rem !default;
|
251
|
+
$display4-size: 3.5rem !default;
|
265
252
|
|
266
|
-
$display1-weight:
|
267
|
-
$display2-weight:
|
268
|
-
$display3-weight:
|
269
|
-
$display4-weight:
|
270
|
-
$display-line-height:
|
253
|
+
$display1-weight: 300 !default;
|
254
|
+
$display2-weight: 300 !default;
|
255
|
+
$display3-weight: 300 !default;
|
256
|
+
$display4-weight: 300 !default;
|
257
|
+
$display-line-height: $headings-line-height !default;
|
271
258
|
|
272
|
-
$lead-font-size:
|
273
|
-
$lead-font-weight:
|
259
|
+
$lead-font-size: ($font-size-base * 1.25) !default;
|
260
|
+
$lead-font-weight: 300 !default;
|
274
261
|
|
275
|
-
$small-font-size:
|
262
|
+
$small-font-size: 80% !default;
|
276
263
|
|
277
|
-
$text-muted:
|
264
|
+
$text-muted: $gray-600 !default;
|
278
265
|
|
279
|
-
$blockquote-small-color:
|
280
|
-
$blockquote-font-size:
|
266
|
+
$blockquote-small-color: $gray-600 !default;
|
267
|
+
$blockquote-font-size: ($font-size-base * 1.25) !default;
|
281
268
|
|
282
|
-
$hr-border-color:
|
283
|
-
$hr-border-width:
|
269
|
+
$hr-border-color: rgba($black,.1) !default;
|
270
|
+
$hr-border-width: $border-width !default;
|
284
271
|
|
285
|
-
$mark-padding:
|
272
|
+
$mark-padding: .2em !default;
|
286
273
|
|
287
|
-
$dt-font-weight:
|
274
|
+
$dt-font-weight: $font-weight-bold !default;
|
288
275
|
|
289
|
-
$kbd-box-shadow:
|
290
|
-
$nested-kbd-font-weight:
|
276
|
+
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
|
277
|
+
$nested-kbd-font-weight: $font-weight-bold !default;
|
291
278
|
|
292
|
-
$list-inline-padding:
|
279
|
+
$list-inline-padding: 5px !default;
|
293
280
|
|
294
281
|
$mark-bg: #fcf8e3 !default;
|
295
282
|
|
@@ -298,178 +285,181 @@ $mark-bg: #fcf8e3 !default;
|
|
298
285
|
//
|
299
286
|
// Customizes the `.table` component with basic values, each used across all table variations.
|
300
287
|
|
301
|
-
$table-cell-padding:
|
302
|
-
$table-cell-padding-sm:
|
288
|
+
$table-cell-padding: .75rem !default;
|
289
|
+
$table-cell-padding-sm: .3rem !default;
|
303
290
|
|
304
|
-
$table-bg:
|
305
|
-
$table-accent-bg:
|
306
|
-
$table-hover-bg:
|
307
|
-
$table-active-bg:
|
291
|
+
$table-bg: transparent !default;
|
292
|
+
$table-accent-bg: rgba($black,.05) !default;
|
293
|
+
$table-hover-bg: rgba($black,.075) !default;
|
294
|
+
$table-active-bg: $table-hover-bg !default;
|
308
295
|
|
309
|
-
$table-border-width:
|
310
|
-
$table-border-color:
|
296
|
+
$table-border-width: $border-width !default;
|
297
|
+
$table-border-color: $gray-200 !default;
|
311
298
|
|
312
|
-
$table-head-bg:
|
313
|
-
$table-head-color:
|
299
|
+
$table-head-bg: $gray-200 !default;
|
300
|
+
$table-head-color: $gray-700 !default;
|
314
301
|
|
315
|
-
$table-
|
316
|
-
$table-
|
317
|
-
$table-
|
318
|
-
$table-
|
319
|
-
$table-
|
302
|
+
$table-dark-bg: $gray-900 !default;
|
303
|
+
$table-dark-accent-bg: rgba($white, .05) !default;
|
304
|
+
$table-dark-hover-bg: rgba($white, .075) !default;
|
305
|
+
$table-dark-border-color: lighten($gray-900, 7.5%) !default;
|
306
|
+
$table-dark-color: $body-bg !default;
|
320
307
|
|
321
308
|
|
322
309
|
// Buttons
|
323
310
|
//
|
324
311
|
// For each of Bootstrap's buttons, define text, background and border color.
|
325
312
|
|
326
|
-
$input-btn-padding-y:
|
327
|
-
$input-btn-padding-x:
|
328
|
-
$input-btn-line-height:
|
313
|
+
$input-btn-padding-y: .375rem !default;
|
314
|
+
$input-btn-padding-x: .75rem !default;
|
315
|
+
$input-btn-line-height: $line-height-base !default;
|
329
316
|
|
330
|
-
$input-btn-
|
331
|
-
$input-btn-
|
332
|
-
$input-btn-
|
317
|
+
$input-btn-focus-width: .2rem !default;
|
318
|
+
$input-btn-focus-color: rgba(theme-color("primary"), .25) !default;
|
319
|
+
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
|
333
320
|
|
334
|
-
$input-btn-padding-y-
|
335
|
-
$input-btn-padding-x-
|
336
|
-
$input-btn-line-height-
|
321
|
+
$input-btn-padding-y-sm: .25rem !default;
|
322
|
+
$input-btn-padding-x-sm: .5rem !default;
|
323
|
+
$input-btn-line-height-sm: $line-height-sm !default;
|
337
324
|
|
338
|
-
$btn-
|
339
|
-
$btn-
|
340
|
-
$btn-
|
341
|
-
$btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
|
325
|
+
$input-btn-padding-y-lg: .5rem !default;
|
326
|
+
$input-btn-padding-x-lg: 1rem !default;
|
327
|
+
$input-btn-line-height-lg: $line-height-lg !default;
|
342
328
|
|
343
|
-
$btn-
|
329
|
+
$btn-font-weight: $font-weight-normal !default;
|
330
|
+
$btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
|
331
|
+
$btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
|
344
332
|
|
345
|
-
$btn-
|
333
|
+
$btn-link-disabled-color: $gray-600 !default;
|
334
|
+
|
335
|
+
$btn-block-spacing-y: .5rem !default;
|
346
336
|
|
347
337
|
// Allows for customizing button radius independently from global border radius
|
348
|
-
$btn-border-radius:
|
349
|
-
$btn-border-radius-lg:
|
350
|
-
$btn-border-radius-sm:
|
338
|
+
$btn-border-radius: $border-radius !default;
|
339
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
340
|
+
$btn-border-radius-sm: $border-radius-sm !default;
|
351
341
|
|
352
|
-
$btn-transition:
|
342
|
+
$btn-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
353
343
|
|
354
344
|
|
355
345
|
// Forms
|
356
346
|
|
357
|
-
$input-bg:
|
358
|
-
$input-disabled-bg:
|
347
|
+
$input-bg: $white !default;
|
348
|
+
$input-disabled-bg: $gray-200 !default;
|
359
349
|
|
360
|
-
$input-color:
|
361
|
-
$input-border-color:
|
362
|
-
$input-btn-border-width:
|
363
|
-
$input-box-shadow:
|
350
|
+
$input-color: $gray-700 !default;
|
351
|
+
$input-border-color: $gray-400 !default;
|
352
|
+
$input-btn-border-width: $border-width !default; // For form controls and buttons
|
353
|
+
$input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;
|
364
354
|
|
365
|
-
$input-border-radius:
|
366
|
-
$input-border-radius-lg:
|
367
|
-
$input-border-radius-sm:
|
355
|
+
$input-border-radius: $border-radius !default;
|
356
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
357
|
+
$input-border-radius-sm: $border-radius-sm !default;
|
368
358
|
|
369
|
-
$input-focus-bg:
|
370
|
-
$input-focus-border-color:
|
371
|
-
$input-focus-
|
372
|
-
$input-focus-color: $input-color !default;
|
359
|
+
$input-focus-bg: $input-bg !default;
|
360
|
+
$input-focus-border-color: lighten(theme-color("primary"), 25%) !default;
|
361
|
+
$input-focus-color: $input-color !default;
|
373
362
|
|
374
|
-
$input-placeholder-color:
|
363
|
+
$input-placeholder-color: $gray-600 !default;
|
375
364
|
|
376
|
-
$input-height-border:
|
365
|
+
$input-height-border: $input-btn-border-width * 2 !default;
|
377
366
|
|
378
|
-
$input-height-inner:
|
379
|
-
$input-height:
|
367
|
+
$input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
|
368
|
+
$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
|
380
369
|
|
381
|
-
$input-height-inner-sm:
|
382
|
-
$input-height-sm:
|
370
|
+
$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
|
371
|
+
$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
|
383
372
|
|
384
|
-
$input-height-inner-lg:
|
385
|
-
$input-height-lg:
|
373
|
+
$input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
|
374
|
+
$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
|
386
375
|
|
387
|
-
$input-transition:
|
376
|
+
$input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
|
388
377
|
|
389
|
-
$form-text-margin-top:
|
378
|
+
$form-text-margin-top: .25rem !default;
|
390
379
|
|
391
|
-
$form-check-margin-bottom:
|
392
|
-
$form-check-input-gutter:
|
393
|
-
$form-check-input-margin-y:
|
394
|
-
$form-check-input-margin-x:
|
380
|
+
$form-check-margin-bottom: .5rem !default;
|
381
|
+
$form-check-input-gutter: 1.25rem !default;
|
382
|
+
$form-check-input-margin-y: .25rem !default;
|
383
|
+
$form-check-input-margin-x: .25rem !default;
|
395
384
|
|
396
|
-
$form-check-inline-margin-x:
|
385
|
+
$form-check-inline-margin-x: .75rem !default;
|
397
386
|
|
398
|
-
$form-group-margin-bottom:
|
387
|
+
$form-group-margin-bottom: 1rem !default;
|
399
388
|
|
400
|
-
$input-group-addon-
|
401
|
-
$input-group-addon-
|
389
|
+
$input-group-addon-color: $input-color !default;
|
390
|
+
$input-group-addon-bg: $gray-200 !default;
|
391
|
+
$input-group-addon-border-color: $input-border-color !default;
|
402
392
|
|
403
|
-
$custom-control-gutter:
|
404
|
-
$custom-control-spacer-y:
|
405
|
-
$custom-control-spacer-x:
|
393
|
+
$custom-control-gutter: 1.5rem !default;
|
394
|
+
$custom-control-spacer-y: .25rem !default;
|
395
|
+
$custom-control-spacer-x: 1rem !default;
|
406
396
|
|
407
|
-
$custom-control-indicator-size:
|
408
|
-
$custom-control-indicator-bg:
|
409
|
-
$custom-control-indicator-bg-size:
|
410
|
-
$custom-control-indicator-box-shadow:
|
397
|
+
$custom-control-indicator-size: 1rem !default;
|
398
|
+
$custom-control-indicator-bg: #ddd !default;
|
399
|
+
$custom-control-indicator-bg-size: 50% 50% !default;
|
400
|
+
$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
|
411
401
|
|
412
|
-
$custom-control-indicator-disabled-bg:
|
413
|
-
$custom-control-description-disabled-color:
|
402
|
+
$custom-control-indicator-disabled-bg: $gray-200 !default;
|
403
|
+
$custom-control-description-disabled-color: $gray-600 !default;
|
414
404
|
|
415
|
-
$custom-control-indicator-checked-color:
|
416
|
-
$custom-control-indicator-checked-bg:
|
417
|
-
$custom-control-indicator-checked-box-shadow:
|
405
|
+
$custom-control-indicator-checked-color: $white !default;
|
406
|
+
$custom-control-indicator-checked-bg: theme-color("primary") !default;
|
407
|
+
$custom-control-indicator-checked-box-shadow: none !default;
|
418
408
|
|
419
|
-
$custom-control-indicator-focus-box-shadow:
|
409
|
+
$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
|
420
410
|
|
421
|
-
$custom-control-indicator-active-color:
|
422
|
-
$custom-control-indicator-active-bg:
|
423
|
-
$custom-control-indicator-active-box-shadow:
|
411
|
+
$custom-control-indicator-active-color: $white !default;
|
412
|
+
$custom-control-indicator-active-bg: lighten(theme-color("primary"), 35%) !default;
|
413
|
+
$custom-control-indicator-active-box-shadow: none !default;
|
424
414
|
|
425
|
-
$custom-checkbox-indicator-border-radius:
|
426
|
-
$custom-checkbox-indicator-icon-checked:
|
415
|
+
$custom-checkbox-indicator-border-radius: $border-radius !default;
|
416
|
+
$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
427
417
|
|
428
|
-
$custom-checkbox-indicator-indeterminate-bg:
|
418
|
+
$custom-checkbox-indicator-indeterminate-bg: theme-color("primary") !default;
|
429
419
|
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
|
430
|
-
$custom-checkbox-indicator-icon-indeterminate:
|
420
|
+
$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
|
431
421
|
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
|
432
422
|
|
433
|
-
$custom-radio-indicator-border-radius:
|
434
|
-
$custom-radio-indicator-icon-checked:
|
423
|
+
$custom-radio-indicator-border-radius: 50% !default;
|
424
|
+
$custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
|
435
425
|
|
436
|
-
$custom-select-padding-y:
|
437
|
-
$custom-select-padding-x: .75rem
|
438
|
-
$custom-select-height: $input-height
|
426
|
+
$custom-select-padding-y: .375rem !default;
|
427
|
+
$custom-select-padding-x: .75rem !default;
|
428
|
+
$custom-select-height: $input-height !default;
|
439
429
|
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
|
440
430
|
$custom-select-line-height: $input-btn-line-height !default;
|
441
431
|
$custom-select-color: $input-color !default;
|
442
432
|
$custom-select-disabled-color: $gray-600 !default;
|
443
|
-
$custom-select-bg:
|
444
|
-
$custom-select-disabled-bg:
|
445
|
-
$custom-select-bg-size:
|
446
|
-
$custom-select-indicator-color:
|
447
|
-
$custom-select-indicator:
|
448
|
-
$custom-select-border-width:
|
449
|
-
$custom-select-border-color:
|
450
|
-
$custom-select-border-radius:
|
451
|
-
|
452
|
-
$custom-select-focus-border-color:
|
453
|
-
$custom-select-focus-box-shadow:
|
454
|
-
|
455
|
-
$custom-select-font-size-sm:
|
456
|
-
$custom-select-height-sm:
|
457
|
-
|
458
|
-
$custom-file-height:
|
459
|
-
$custom-file-width:
|
460
|
-
$custom-file-focus-box-shadow:
|
461
|
-
|
462
|
-
$custom-file-padding-y:
|
463
|
-
$custom-file-padding-x:
|
464
|
-
$custom-file-line-height:
|
465
|
-
$custom-file-color:
|
466
|
-
$custom-file-bg:
|
467
|
-
$custom-file-border-width:
|
468
|
-
$custom-file-border-color:
|
469
|
-
$custom-file-border-radius:
|
470
|
-
$custom-file-box-shadow:
|
471
|
-
$custom-file-button-color:
|
472
|
-
$custom-file-button-bg:
|
433
|
+
$custom-select-bg: $white !default;
|
434
|
+
$custom-select-disabled-bg: $gray-200 !default;
|
435
|
+
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
|
436
|
+
$custom-select-indicator-color: #333 !default;
|
437
|
+
$custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
438
|
+
$custom-select-border-width: $input-btn-border-width !default;
|
439
|
+
$custom-select-border-color: $input-border-color !default;
|
440
|
+
$custom-select-border-radius: $border-radius !default;
|
441
|
+
|
442
|
+
$custom-select-focus-border-color: lighten(theme-color("primary"), 25%) !default;
|
443
|
+
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
|
444
|
+
|
445
|
+
$custom-select-font-size-sm: 75% !default;
|
446
|
+
$custom-select-height-sm: $input-height-sm !default;
|
447
|
+
|
448
|
+
$custom-file-height: $input-height !default;
|
449
|
+
$custom-file-width: 14rem !default;
|
450
|
+
$custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem theme-color("primary") !default;
|
451
|
+
|
452
|
+
$custom-file-padding-y: $input-btn-padding-y !default;
|
453
|
+
$custom-file-padding-x: $input-btn-padding-x !default;
|
454
|
+
$custom-file-line-height: $input-btn-line-height !default;
|
455
|
+
$custom-file-color: $input-color !default;
|
456
|
+
$custom-file-bg: $input-bg !default;
|
457
|
+
$custom-file-border-width: $input-btn-border-width !default;
|
458
|
+
$custom-file-border-color: $input-border-color !default;
|
459
|
+
$custom-file-border-radius: $input-border-radius !default;
|
460
|
+
$custom-file-box-shadow: $input-box-shadow !default;
|
461
|
+
$custom-file-button-color: $custom-file-color !default;
|
462
|
+
$custom-file-button-bg: $input-group-addon-bg !default;
|
473
463
|
$custom-file-text: (
|
474
464
|
placeholder: (
|
475
465
|
en: "Choose file..."
|
@@ -481,36 +471,36 @@ $custom-file-text: (
|
|
481
471
|
|
482
472
|
|
483
473
|
// Form validation
|
484
|
-
$form-feedback-valid-color:
|
485
|
-
$form-feedback-invalid-color:
|
474
|
+
$form-feedback-valid-color: theme-color("success") !default;
|
475
|
+
$form-feedback-invalid-color: theme-color("danger") !default;
|
486
476
|
|
487
477
|
|
488
478
|
// Dropdowns
|
489
479
|
//
|
490
480
|
// Dropdown menu container and contents.
|
491
481
|
|
492
|
-
$dropdown-min-width:
|
493
|
-
$dropdown-padding-y:
|
494
|
-
$dropdown-spacer:
|
495
|
-
$dropdown-bg:
|
496
|
-
$dropdown-border-color:
|
497
|
-
$dropdown-border-width:
|
498
|
-
$dropdown-divider-bg:
|
499
|
-
$dropdown-box-shadow:
|
482
|
+
$dropdown-min-width: 10rem !default;
|
483
|
+
$dropdown-padding-y: .5rem !default;
|
484
|
+
$dropdown-spacer: .125rem !default;
|
485
|
+
$dropdown-bg: $white !default;
|
486
|
+
$dropdown-border-color: rgba($black,.15) !default;
|
487
|
+
$dropdown-border-width: $border-width !default;
|
488
|
+
$dropdown-divider-bg: $gray-200 !default;
|
489
|
+
$dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
|
500
490
|
|
501
|
-
$dropdown-link-color:
|
502
|
-
$dropdown-link-hover-color:
|
503
|
-
$dropdown-link-hover-bg:
|
491
|
+
$dropdown-link-color: $gray-900 !default;
|
492
|
+
$dropdown-link-hover-color: darken($gray-900, 5%) !default;
|
493
|
+
$dropdown-link-hover-bg: $gray-100 !default;
|
504
494
|
|
505
|
-
$dropdown-link-active-color:
|
506
|
-
$dropdown-link-active-bg:
|
495
|
+
$dropdown-link-active-color: $component-active-color !default;
|
496
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
507
497
|
|
508
|
-
$dropdown-link-disabled-color:
|
498
|
+
$dropdown-link-disabled-color: $gray-600 !default;
|
509
499
|
|
510
|
-
$dropdown-item-padding-y:
|
511
|
-
$dropdown-item-padding-x:
|
500
|
+
$dropdown-item-padding-y: .25rem !default;
|
501
|
+
$dropdown-item-padding-x: 1.5rem !default;
|
512
502
|
|
513
|
-
$dropdown-header-color:
|
503
|
+
$dropdown-header-color: $gray-600 !default;
|
514
504
|
|
515
505
|
|
516
506
|
// Z-index master list
|
@@ -518,31 +508,31 @@ $dropdown-header-color: $gray-600 !default;
|
|
518
508
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
519
509
|
// of components dependent on the z-axis and are designed to all work together.
|
520
510
|
|
521
|
-
$zindex-dropdown:
|
522
|
-
$zindex-sticky:
|
523
|
-
$zindex-fixed:
|
524
|
-
$zindex-modal-backdrop:
|
525
|
-
$zindex-modal:
|
526
|
-
$zindex-popover:
|
527
|
-
$zindex-tooltip:
|
511
|
+
$zindex-dropdown: 1000 !default;
|
512
|
+
$zindex-sticky: 1020 !default;
|
513
|
+
$zindex-fixed: 1030 !default;
|
514
|
+
$zindex-modal-backdrop: 1040 !default;
|
515
|
+
$zindex-modal: 1050 !default;
|
516
|
+
$zindex-popover: 1060 !default;
|
517
|
+
$zindex-tooltip: 1070 !default;
|
528
518
|
|
529
519
|
// Navs
|
530
520
|
|
531
|
-
$nav-link-padding-y:
|
532
|
-
$nav-link-padding-x:
|
533
|
-
$nav-link-disabled-color:
|
521
|
+
$nav-link-padding-y: .5rem !default;
|
522
|
+
$nav-link-padding-x: 1rem !default;
|
523
|
+
$nav-link-disabled-color: $gray-600 !default;
|
534
524
|
|
535
|
-
$nav-tabs-border-color:
|
536
|
-
$nav-tabs-border-width:
|
537
|
-
$nav-tabs-border-radius:
|
538
|
-
$nav-tabs-link-hover-border-color:
|
539
|
-
$nav-tabs-link-active-color:
|
540
|
-
$nav-tabs-link-active-bg:
|
541
|
-
$nav-tabs-link-active-border-color:
|
525
|
+
$nav-tabs-border-color: #ddd !default;
|
526
|
+
$nav-tabs-border-width: $border-width !default;
|
527
|
+
$nav-tabs-border-radius: $border-radius !default;
|
528
|
+
$nav-tabs-link-hover-border-color: $gray-200 !default;
|
529
|
+
$nav-tabs-link-active-color: $gray-700 !default;
|
530
|
+
$nav-tabs-link-active-bg: $body-bg !default;
|
531
|
+
$nav-tabs-link-active-border-color: #ddd !default;
|
542
532
|
|
543
|
-
$nav-pills-border-radius:
|
544
|
-
$nav-pills-link-active-color:
|
545
|
-
$nav-pills-link-active-bg:
|
533
|
+
$nav-pills-border-radius: $border-radius !default;
|
534
|
+
$nav-pills-link-active-color: $component-active-color !default;
|
535
|
+
$nav-pills-link-active-bg: $component-active-bg !default;
|
546
536
|
|
547
537
|
// Navbar
|
548
538
|
|
@@ -551,287 +541,288 @@ $navbar-padding-x: $spacer !default;
|
|
551
541
|
|
552
542
|
$navbar-brand-font-size: $font-size-lg !default;
|
553
543
|
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
554
|
-
$nav-link-height: $
|
555
|
-
$navbar-brand-height:
|
556
|
-
$navbar-brand-padding-y: ($
|
544
|
+
$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
|
545
|
+
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
546
|
+
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
557
547
|
|
558
|
-
$navbar-toggler-padding-y:
|
559
|
-
$navbar-toggler-padding-x:
|
560
|
-
$navbar-toggler-font-size:
|
561
|
-
$navbar-toggler-border-radius:
|
548
|
+
$navbar-toggler-padding-y: .25rem !default;
|
549
|
+
$navbar-toggler-padding-x: .75rem !default;
|
550
|
+
$navbar-toggler-font-size: $font-size-lg !default;
|
551
|
+
$navbar-toggler-border-radius: $btn-border-radius !default;
|
562
552
|
|
563
553
|
$navbar-dark-color: rgba($white,.5) !default;
|
564
554
|
$navbar-dark-hover-color: rgba($white,.75) !default;
|
565
|
-
$navbar-dark-active-color:
|
555
|
+
$navbar-dark-active-color: $white !default;
|
566
556
|
$navbar-dark-disabled-color: rgba($white,.25) !default;
|
567
|
-
$navbar-dark-toggler-icon-bg:
|
557
|
+
$navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
|
568
558
|
$navbar-dark-toggler-border-color: rgba($white,.1) !default;
|
569
559
|
|
570
560
|
$navbar-light-color: rgba($black,.5) !default;
|
571
561
|
$navbar-light-hover-color: rgba($black,.7) !default;
|
572
562
|
$navbar-light-active-color: rgba($black,.9) !default;
|
573
563
|
$navbar-light-disabled-color: rgba($black,.3) !default;
|
574
|
-
$navbar-light-toggler-icon-bg:
|
564
|
+
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
|
575
565
|
$navbar-light-toggler-border-color: rgba($black,.1) !default;
|
576
566
|
|
577
567
|
// Pagination
|
578
568
|
|
579
|
-
$pagination-padding-y:
|
580
|
-
$pagination-padding-x:
|
581
|
-
$pagination-padding-y-sm:
|
582
|
-
$pagination-padding-x-sm:
|
583
|
-
$pagination-padding-y-lg:
|
584
|
-
$pagination-padding-x-lg:
|
585
|
-
$pagination-line-height:
|
569
|
+
$pagination-padding-y: .5rem !default;
|
570
|
+
$pagination-padding-x: .75rem !default;
|
571
|
+
$pagination-padding-y-sm: .25rem !default;
|
572
|
+
$pagination-padding-x-sm: .5rem !default;
|
573
|
+
$pagination-padding-y-lg: .75rem !default;
|
574
|
+
$pagination-padding-x-lg: 1.5rem !default;
|
575
|
+
$pagination-line-height: 1.25 !default;
|
586
576
|
|
587
|
-
$pagination-color:
|
588
|
-
$pagination-bg:
|
589
|
-
$pagination-border-width:
|
590
|
-
$pagination-border-color:
|
577
|
+
$pagination-color: $link-color !default;
|
578
|
+
$pagination-bg: $white !default;
|
579
|
+
$pagination-border-width: $border-width !default;
|
580
|
+
$pagination-border-color: #ddd !default;
|
591
581
|
|
592
|
-
$pagination-hover-color:
|
593
|
-
$pagination-hover-bg:
|
594
|
-
$pagination-hover-border-color:
|
582
|
+
$pagination-hover-color: $link-hover-color !default;
|
583
|
+
$pagination-hover-bg: $gray-200 !default;
|
584
|
+
$pagination-hover-border-color: #ddd !default;
|
595
585
|
|
596
|
-
$pagination-active-color:
|
597
|
-
$pagination-active-bg:
|
598
|
-
$pagination-active-border-color:
|
586
|
+
$pagination-active-color: $white !default;
|
587
|
+
$pagination-active-bg: theme-color("primary") !default;
|
588
|
+
$pagination-active-border-color: theme-color("primary") !default;
|
599
589
|
|
600
|
-
$pagination-disabled-color:
|
601
|
-
$pagination-disabled-bg:
|
602
|
-
$pagination-disabled-border-color:
|
590
|
+
$pagination-disabled-color: $gray-600 !default;
|
591
|
+
$pagination-disabled-bg: $white !default;
|
592
|
+
$pagination-disabled-border-color: #ddd !default;
|
603
593
|
|
604
594
|
|
605
595
|
// Jumbotron
|
606
596
|
|
607
|
-
$jumbotron-padding:
|
608
|
-
$jumbotron-bg:
|
597
|
+
$jumbotron-padding: 2rem !default;
|
598
|
+
$jumbotron-bg: $gray-200 !default;
|
609
599
|
|
610
600
|
|
611
601
|
// Cards
|
612
602
|
|
613
|
-
$card-spacer-y:
|
614
|
-
$card-spacer-x:
|
615
|
-
$card-border-width:
|
616
|
-
$card-border-radius:
|
617
|
-
$card-border-color:
|
618
|
-
$card-inner-border-radius:
|
619
|
-
$card-cap-bg:
|
620
|
-
$card-bg:
|
603
|
+
$card-spacer-y: .75rem !default;
|
604
|
+
$card-spacer-x: 1.25rem !default;
|
605
|
+
$card-border-width: $border-width !default;
|
606
|
+
$card-border-radius: $border-radius !default;
|
607
|
+
$card-border-color: rgba($black,.125) !default;
|
608
|
+
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
|
609
|
+
$card-cap-bg: rgba($black, .03) !default;
|
610
|
+
$card-bg: $white !default;
|
621
611
|
|
622
|
-
$card-img-overlay-padding:
|
612
|
+
$card-img-overlay-padding: 1.25rem !default;
|
623
613
|
|
624
|
-
$card-
|
614
|
+
$card-group-margin: ($grid-gutter-width / 2) !default;
|
615
|
+
$card-deck-margin: $card-group-margin !default;
|
625
616
|
|
626
|
-
$card-columns-count:
|
627
|
-
$card-columns-gap:
|
628
|
-
$card-columns-margin:
|
617
|
+
$card-columns-count: 3 !default;
|
618
|
+
$card-columns-gap: 1.25rem !default;
|
619
|
+
$card-columns-margin: $card-spacer-y !default;
|
629
620
|
|
630
621
|
|
631
622
|
// Tooltips
|
632
623
|
|
633
|
-
$tooltip-max-width:
|
634
|
-
$tooltip-color:
|
635
|
-
$tooltip-bg:
|
636
|
-
$tooltip-opacity:
|
637
|
-
$tooltip-padding-y:
|
638
|
-
$tooltip-padding-x:
|
639
|
-
$tooltip-margin:
|
624
|
+
$tooltip-max-width: 200px !default;
|
625
|
+
$tooltip-color: $white !default;
|
626
|
+
$tooltip-bg: $black !default;
|
627
|
+
$tooltip-opacity: .9 !default;
|
628
|
+
$tooltip-padding-y: 3px !default;
|
629
|
+
$tooltip-padding-x: 8px !default;
|
630
|
+
$tooltip-margin: 0 !default;
|
640
631
|
|
641
632
|
|
642
|
-
$tooltip-arrow-width:
|
643
|
-
$tooltip-arrow-height:
|
644
|
-
$tooltip-arrow-color:
|
633
|
+
$tooltip-arrow-width: 5px !default;
|
634
|
+
$tooltip-arrow-height: 5px !default;
|
635
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
645
636
|
|
646
637
|
|
647
638
|
// Popovers
|
648
639
|
|
649
|
-
$popover-
|
650
|
-
$popover-
|
651
|
-
$popover-
|
652
|
-
$popover-border-
|
653
|
-
$popover-
|
654
|
-
$popover-box-shadow: 0 5px 10px rgba($black,.2) !default;
|
640
|
+
$popover-bg: $white !default;
|
641
|
+
$popover-max-width: 276px !default;
|
642
|
+
$popover-border-width: $border-width !default;
|
643
|
+
$popover-border-color: rgba($black,.2) !default;
|
644
|
+
$popover-box-shadow: 0 .25rem .5rem rgba($black,.2) !default;
|
655
645
|
|
656
|
-
$popover-header-bg:
|
657
|
-
$popover-header-color:
|
658
|
-
$popover-header-padding-y:
|
659
|
-
$popover-header-padding-x:
|
646
|
+
$popover-header-bg: darken($popover-bg, 3%) !default;
|
647
|
+
$popover-header-color: $headings-color !default;
|
648
|
+
$popover-header-padding-y: .5rem !default;
|
649
|
+
$popover-header-padding-x: .75rem !default;
|
660
650
|
|
661
|
-
$popover-body-color:
|
662
|
-
$popover-body-padding-y:
|
663
|
-
$popover-body-padding-x:
|
651
|
+
$popover-body-color: $body-color !default;
|
652
|
+
$popover-body-padding-y: $popover-header-padding-y !default;
|
653
|
+
$popover-body-padding-x: $popover-header-padding-x !default;
|
664
654
|
|
665
|
-
$popover-arrow-width:
|
666
|
-
$popover-arrow-height:
|
667
|
-
$popover-arrow-color:
|
655
|
+
$popover-arrow-width: .8rem !default;
|
656
|
+
$popover-arrow-height: .4rem !default;
|
657
|
+
$popover-arrow-color: $popover-bg !default;
|
668
658
|
|
669
|
-
$popover-arrow-outer-
|
670
|
-
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
659
|
+
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
671
660
|
|
672
661
|
|
673
662
|
// Badges
|
674
663
|
|
675
|
-
$badge-
|
676
|
-
$badge-font-
|
677
|
-
$badge-
|
678
|
-
$badge-padding-
|
679
|
-
$badge-
|
664
|
+
$badge-font-size: 75% !default;
|
665
|
+
$badge-font-weight: $font-weight-bold !default;
|
666
|
+
$badge-padding-y: .25em !default;
|
667
|
+
$badge-padding-x: .4em !default;
|
668
|
+
$badge-border-radius: $border-radius !default;
|
680
669
|
|
681
|
-
$badge-pill-padding-x:
|
670
|
+
$badge-pill-padding-x: .6em !default;
|
682
671
|
// Use a higher than normal value to ensure completely rounded edges when
|
683
672
|
// customizing padding or font-size on labels.
|
684
|
-
$badge-pill-border-radius:
|
673
|
+
$badge-pill-border-radius: 10rem !default;
|
685
674
|
|
686
675
|
|
687
676
|
// Modals
|
688
677
|
|
689
678
|
// Padding applied to the modal body
|
690
|
-
$modal-inner-padding:
|
679
|
+
$modal-inner-padding: 15px !default;
|
691
680
|
|
692
|
-
$modal-dialog-margin:
|
693
|
-
$modal-dialog-margin-y-sm-up:
|
681
|
+
$modal-dialog-margin: 10px !default;
|
682
|
+
$modal-dialog-margin-y-sm-up: 30px !default;
|
694
683
|
|
695
|
-
$modal-title-line-height:
|
684
|
+
$modal-title-line-height: $line-height-base !default;
|
696
685
|
|
697
|
-
$modal-content-bg:
|
698
|
-
$modal-content-border-color:
|
699
|
-
$modal-content-border-width:
|
700
|
-
$modal-content-box-shadow-xs:
|
701
|
-
$modal-content-box-shadow-sm-up:
|
686
|
+
$modal-content-bg: $white !default;
|
687
|
+
$modal-content-border-color: rgba($black,.2) !default;
|
688
|
+
$modal-content-border-width: $border-width !default;
|
689
|
+
$modal-content-box-shadow-xs: 0 3px 9px rgba($black,.5) !default;
|
690
|
+
$modal-content-box-shadow-sm-up: 0 5px 15px rgba($black,.5) !default;
|
702
691
|
|
703
|
-
$modal-backdrop-bg:
|
704
|
-
$modal-backdrop-opacity:
|
705
|
-
$modal-header-border-color:
|
706
|
-
$modal-footer-border-color:
|
707
|
-
$modal-header-border-width:
|
708
|
-
$modal-footer-border-width:
|
709
|
-
$modal-header-padding:
|
692
|
+
$modal-backdrop-bg: $black !default;
|
693
|
+
$modal-backdrop-opacity: .5 !default;
|
694
|
+
$modal-header-border-color: $gray-200 !default;
|
695
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
696
|
+
$modal-header-border-width: $modal-content-border-width !default;
|
697
|
+
$modal-footer-border-width: $modal-header-border-width !default;
|
698
|
+
$modal-header-padding: 15px !default;
|
710
699
|
|
711
|
-
$modal-lg:
|
712
|
-
$modal-md:
|
713
|
-
$modal-sm:
|
700
|
+
$modal-lg: 800px !default;
|
701
|
+
$modal-md: 500px !default;
|
702
|
+
$modal-sm: 300px !default;
|
714
703
|
|
715
|
-
$modal-transition:
|
704
|
+
$modal-transition: transform .3s ease-out !default;
|
716
705
|
|
717
706
|
|
718
707
|
// Alerts
|
719
708
|
//
|
720
709
|
// Define alert colors, border radius, and padding.
|
721
710
|
|
722
|
-
$alert-padding-y:
|
723
|
-
$alert-padding-x:
|
724
|
-
$alert-margin-bottom:
|
725
|
-
$alert-border-radius:
|
726
|
-
$alert-link-font-weight:
|
727
|
-
$alert-border-width:
|
711
|
+
$alert-padding-y: .75rem !default;
|
712
|
+
$alert-padding-x: 1.25rem !default;
|
713
|
+
$alert-margin-bottom: 1rem !default;
|
714
|
+
$alert-border-radius: $border-radius !default;
|
715
|
+
$alert-link-font-weight: $font-weight-bold !default;
|
716
|
+
$alert-border-width: $border-width !default;
|
728
717
|
|
729
718
|
|
730
719
|
// Progress bars
|
731
720
|
|
732
|
-
$progress-height:
|
733
|
-
$progress-font-size:
|
734
|
-
$progress-bg:
|
735
|
-
$progress-border-radius:
|
736
|
-
$progress-box-shadow:
|
737
|
-
$progress-bar-color:
|
738
|
-
$progress-bar-bg:
|
739
|
-
$progress-bar-animation-timing:
|
740
|
-
$progress-bar-transition:
|
721
|
+
$progress-height: 1rem !default;
|
722
|
+
$progress-font-size: ($font-size-base * .75) !default;
|
723
|
+
$progress-bg: $gray-200 !default;
|
724
|
+
$progress-border-radius: $border-radius !default;
|
725
|
+
$progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
|
726
|
+
$progress-bar-color: $white !default;
|
727
|
+
$progress-bar-bg: theme-color("primary") !default;
|
728
|
+
$progress-bar-animation-timing: 1s linear infinite !default;
|
729
|
+
$progress-bar-transition: width .6s ease !default;
|
741
730
|
|
742
731
|
// List group
|
743
732
|
|
744
|
-
$list-group-bg:
|
745
|
-
$list-group-border-color:
|
746
|
-
$list-group-border-width:
|
747
|
-
$list-group-border-radius:
|
733
|
+
$list-group-bg: $white !default;
|
734
|
+
$list-group-border-color: rgba($black,.125) !default;
|
735
|
+
$list-group-border-width: $border-width !default;
|
736
|
+
$list-group-border-radius: $border-radius !default;
|
748
737
|
|
749
|
-
$list-group-item-padding-y:
|
750
|
-
$list-group-item-padding-x:
|
738
|
+
$list-group-item-padding-y: .75rem !default;
|
739
|
+
$list-group-item-padding-x: 1.25rem !default;
|
751
740
|
|
752
|
-
$list-group-hover-bg:
|
753
|
-
$list-group-active-color:
|
754
|
-
$list-group-active-bg:
|
755
|
-
$list-group-active-border-color:
|
741
|
+
$list-group-hover-bg: $gray-100 !default;
|
742
|
+
$list-group-active-color: $component-active-color !default;
|
743
|
+
$list-group-active-bg: $component-active-bg !default;
|
744
|
+
$list-group-active-border-color: $list-group-active-bg !default;
|
756
745
|
|
757
|
-
$list-group-disabled-color:
|
758
|
-
$list-group-disabled-bg:
|
746
|
+
$list-group-disabled-color: $gray-600 !default;
|
747
|
+
$list-group-disabled-bg: $list-group-bg !default;
|
759
748
|
|
760
|
-
$list-group-action-color:
|
761
|
-
$list-group-action-hover-color:
|
749
|
+
$list-group-action-color: $gray-700 !default;
|
750
|
+
$list-group-action-hover-color: $list-group-action-color !default;
|
762
751
|
|
763
|
-
$list-group-action-active-color:
|
764
|
-
$list-group-action-active-bg:
|
752
|
+
$list-group-action-active-color: $body-color !default;
|
753
|
+
$list-group-action-active-bg: $gray-200 !default;
|
765
754
|
|
766
755
|
|
767
756
|
// Image thumbnails
|
768
757
|
|
769
|
-
$thumbnail-padding:
|
770
|
-
$thumbnail-bg:
|
771
|
-
$thumbnail-border-width:
|
772
|
-
$thumbnail-border-color:
|
773
|
-
$thumbnail-border-radius:
|
774
|
-
$thumbnail-box-shadow:
|
775
|
-
$thumbnail-transition:
|
758
|
+
$thumbnail-padding: .25rem !default;
|
759
|
+
$thumbnail-bg: $body-bg !default;
|
760
|
+
$thumbnail-border-width: $border-width !default;
|
761
|
+
$thumbnail-border-color: #ddd !default;
|
762
|
+
$thumbnail-border-radius: $border-radius !default;
|
763
|
+
$thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
|
764
|
+
$thumbnail-transition: all .2s ease-in-out !default;
|
776
765
|
|
777
766
|
|
778
767
|
// Figures
|
779
768
|
|
780
|
-
$figure-caption-font-size:
|
781
|
-
$figure-caption-color:
|
769
|
+
$figure-caption-font-size: 90% !default;
|
770
|
+
$figure-caption-color: $gray-600 !default;
|
782
771
|
|
783
772
|
|
784
773
|
// Breadcrumbs
|
785
774
|
|
786
|
-
$breadcrumb-padding-y:
|
787
|
-
$breadcrumb-padding-x:
|
788
|
-
$breadcrumb-item-padding:
|
775
|
+
$breadcrumb-padding-y: .75rem !default;
|
776
|
+
$breadcrumb-padding-x: 1rem !default;
|
777
|
+
$breadcrumb-item-padding: .5rem !default;
|
778
|
+
|
779
|
+
$breadcrumb-margin-bottom: 1rem !default;
|
789
780
|
|
790
|
-
$breadcrumb-bg:
|
791
|
-
$breadcrumb-divider-color:
|
792
|
-
$breadcrumb-active-color:
|
793
|
-
$breadcrumb-divider:
|
781
|
+
$breadcrumb-bg: $gray-200 !default;
|
782
|
+
$breadcrumb-divider-color: $gray-600 !default;
|
783
|
+
$breadcrumb-active-color: $gray-600 !default;
|
784
|
+
$breadcrumb-divider: "/" !default;
|
794
785
|
|
795
786
|
|
796
787
|
// Carousel
|
797
788
|
|
798
|
-
$carousel-control-color:
|
799
|
-
$carousel-control-width:
|
800
|
-
$carousel-control-opacity:
|
789
|
+
$carousel-control-color: $white !default;
|
790
|
+
$carousel-control-width: 15% !default;
|
791
|
+
$carousel-control-opacity: .5 !default;
|
801
792
|
|
802
|
-
$carousel-indicator-width:
|
803
|
-
$carousel-indicator-height:
|
804
|
-
$carousel-indicator-spacer:
|
805
|
-
$carousel-indicator-active-bg:
|
793
|
+
$carousel-indicator-width: 30px !default;
|
794
|
+
$carousel-indicator-height: 3px !default;
|
795
|
+
$carousel-indicator-spacer: 3px !default;
|
796
|
+
$carousel-indicator-active-bg: $white !default;
|
806
797
|
|
807
|
-
$carousel-caption-width:
|
808
|
-
$carousel-caption-color:
|
798
|
+
$carousel-caption-width: 70% !default;
|
799
|
+
$carousel-caption-color: $white !default;
|
809
800
|
|
810
|
-
$carousel-control-icon-width:
|
801
|
+
$carousel-control-icon-width: 20px !default;
|
811
802
|
|
812
|
-
$carousel-control-prev-icon-bg:
|
813
|
-
$carousel-control-next-icon-bg:
|
803
|
+
$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
804
|
+
$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
814
805
|
|
815
|
-
$carousel-transition:
|
806
|
+
$carousel-transition: transform .6s ease !default;
|
816
807
|
|
817
808
|
|
818
809
|
// Close
|
819
810
|
|
820
|
-
$close-font-size:
|
821
|
-
$close-font-weight:
|
822
|
-
$close-color:
|
823
|
-
$close-text-shadow:
|
811
|
+
$close-font-size: $font-size-base * 1.5 !default;
|
812
|
+
$close-font-weight: $font-weight-bold !default;
|
813
|
+
$close-color: $black !default;
|
814
|
+
$close-text-shadow: 0 1px 0 $white !default;
|
824
815
|
|
825
816
|
// Code
|
826
817
|
|
827
|
-
$code-font-size:
|
828
|
-
$code-padding-y:
|
829
|
-
$code-padding-x:
|
830
|
-
$code-color:
|
831
|
-
$code-bg:
|
818
|
+
$code-font-size: 90% !default;
|
819
|
+
$code-padding-y: .2rem !default;
|
820
|
+
$code-padding-x: .4rem !default;
|
821
|
+
$code-color: #bd4147 !default;
|
822
|
+
$code-bg: $gray-100 !default;
|
832
823
|
|
833
|
-
$kbd-color:
|
834
|
-
$kbd-bg:
|
824
|
+
$kbd-color: $white !default;
|
825
|
+
$kbd-bg: $gray-900 !default;
|
835
826
|
|
836
|
-
$pre-color:
|
837
|
-
$pre-scrollable-max-height:
|
827
|
+
$pre-color: $gray-900 !default;
|
828
|
+
$pre-scrollable-max-height: 340px !default;
|