bootstrap 4.0.0.alpha6 → 4.0.0.beta
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/.travis.yml +1 -0
- data/Gemfile +2 -4
- data/README.md +20 -22
- data/assets/javascripts/bootstrap.js +657 -361
- data/assets/javascripts/bootstrap.min.js +2 -3
- data/assets/javascripts/bootstrap/alert.js +8 -8
- data/assets/javascripts/bootstrap/button.js +16 -9
- data/assets/javascripts/bootstrap/carousel.js +48 -21
- data/assets/javascripts/bootstrap/collapse.js +42 -33
- data/assets/javascripts/bootstrap/dropdown.js +196 -52
- data/assets/javascripts/bootstrap/modal.js +71 -29
- data/assets/javascripts/bootstrap/popover.js +25 -13
- data/assets/javascripts/bootstrap/scrollspy.js +23 -21
- data/assets/javascripts/bootstrap/tab.js +14 -18
- data/assets/javascripts/bootstrap/tooltip.js +139 -83
- data/assets/javascripts/bootstrap/util.js +10 -8
- data/assets/stylesheets/_bootstrap-grid.scss +2 -8
- data/assets/stylesheets/_bootstrap-reboot.scss +1 -2
- data/assets/stylesheets/_bootstrap.scss +2 -15
- data/assets/stylesheets/bootstrap/_alert.scss +4 -11
- data/assets/stylesheets/bootstrap/_badge.scss +4 -33
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +1 -1
- data/assets/stylesheets/bootstrap/_button-group.scss +11 -15
- data/assets/stylesheets/bootstrap/_buttons.scss +13 -42
- data/assets/stylesheets/bootstrap/_card.scss +27 -80
- data/assets/stylesheets/bootstrap/_carousel.scss +24 -17
- data/assets/stylesheets/bootstrap/_close.scss +0 -2
- data/assets/stylesheets/bootstrap/_custom-forms.scss +27 -36
- data/assets/stylesheets/bootstrap/_dropdown.scss +15 -48
- data/assets/stylesheets/bootstrap/_forms.scss +70 -68
- data/assets/stylesheets/bootstrap/_functions.scss +90 -0
- data/assets/stylesheets/bootstrap/_grid.scss +3 -2
- data/assets/stylesheets/bootstrap/_images.scss +1 -1
- data/assets/stylesheets/bootstrap/_input-group.scss +6 -8
- data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -4
- data/assets/stylesheets/bootstrap/_list-group.scss +9 -36
- data/assets/stylesheets/bootstrap/_mixins.scss +2 -18
- data/assets/stylesheets/bootstrap/_modal.scss +3 -3
- data/assets/stylesheets/bootstrap/_nav.scss +15 -16
- data/assets/stylesheets/bootstrap/_navbar.scss +70 -54
- data/assets/stylesheets/bootstrap/_pagination.scss +3 -4
- data/assets/stylesheets/bootstrap/_popover.scss +96 -72
- data/assets/stylesheets/bootstrap/_print.scss +1 -9
- data/assets/stylesheets/bootstrap/_progress.scss +4 -4
- data/assets/stylesheets/bootstrap/_reboot.scss +187 -95
- data/assets/stylesheets/bootstrap/_tables.scss +34 -19
- data/assets/stylesheets/bootstrap/_tooltip.scss +52 -35
- data/assets/stylesheets/bootstrap/_type.scss +8 -28
- data/assets/stylesheets/bootstrap/_utilities.scss +1 -0
- data/assets/stylesheets/bootstrap/_variables.scss +286 -410
- data/assets/stylesheets/bootstrap/mixins/_alert.scss +4 -5
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +6 -5
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +3 -3
- data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +5 -0
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +23 -13
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +11 -14
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +57 -55
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +9 -18
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +12 -65
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +6 -6
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +2 -4
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +3 -3
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +1 -0
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +4 -3
- data/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +5 -2
- data/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +9 -0
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +2 -2
- data/assets/stylesheets/bootstrap/utilities/_background.scss +4 -17
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +20 -5
- data/assets/stylesheets/bootstrap/utilities/_display.scss +36 -1
- data/assets/stylesheets/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +0 -0
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -4
- data/assets/stylesheets/bootstrap/utilities/_position.scss +5 -3
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +10 -12
- data/assets/stylesheets/bootstrap/utilities/_text.scss +5 -17
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +4 -48
- data/bootstrap.gemspec +2 -0
- data/lib/bootstrap.rb +2 -0
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +7 -9
- data/tasks/updater/scss.rb +1 -4
- data/templates/project/_bootstrap-variables.scss +289 -396
- data/test/dummy_rails/app/assets/javascripts/application.js +1 -1
- data/test/dummy_rails/config/application.rb +0 -1
- data/test/gemfiles/rails_4_2.gemfile +0 -4
- data/test/gemfiles/rails_5_0.gemfile +0 -4
- data/test/gemfiles/rails_5_1.gemfile +8 -0
- metadata +23 -8
- data/assets/stylesheets/bootstrap/_custom.scss +0 -4
- data/assets/stylesheets/bootstrap/_normalize.scss +0 -461
- data/assets/stylesheets/bootstrap/mixins/_cards.scss +0 -47
- data/assets/stylesheets/bootstrap/mixins/_transforms.scss +0 -14
data/bootstrap.gemspec
CHANGED
@@ -11,6 +11,8 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.homepage = 'https://github.com/twbs/bootstrap-rubygem'
|
12
12
|
s.license = 'MIT'
|
13
13
|
|
14
|
+
s.add_runtime_dependency 'popper_js', '~> 1.11.1'
|
15
|
+
|
14
16
|
s.add_runtime_dependency 'sass', '>= 3.4.19'
|
15
17
|
s.add_runtime_dependency 'autoprefixer-rails', '>= 6.0.3'
|
16
18
|
|
data/lib/bootstrap.rb
CHANGED
data/lib/bootstrap/version.rb
CHANGED
data/tasks/updater/js.rb
CHANGED
@@ -3,13 +3,9 @@ class Updater
|
|
3
3
|
def update_javascript_assets
|
4
4
|
log_status 'Updating javascripts...'
|
5
5
|
save_to = @save_to[:js]
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
# Remove the source mapping URL comment as this gem does not bundle source maps.
|
10
|
-
sub!(%r(^//# sourceMappingURL=#{name}.map\n\z), '') or
|
11
|
-
fail "Cannot find source mapping URL to remove in #{name}. Last line: #{file.lines.last.inspect}"
|
12
|
-
save_file("#{save_to}/#{name}", file)
|
6
|
+
read_files('js/dist', bootstrap_js_files).each do |name, content|
|
7
|
+
content = content.sub(%r{^//# sourceMappingURL=.*\n?\z}, '')
|
8
|
+
save_file("#{save_to}/#{name}", content)
|
13
9
|
end
|
14
10
|
log_processed "#{bootstrap_js_files * ' '}"
|
15
11
|
|
@@ -32,8 +28,10 @@ class Updater
|
|
32
28
|
|
33
29
|
def bootstrap_js_files
|
34
30
|
@bootstrap_js_files ||= begin
|
35
|
-
|
36
|
-
JSON.parse(
|
31
|
+
package_json = get_file(file_url 'package.json')
|
32
|
+
JSON.parse(package_json)['scripts']['js-compile-bundle']
|
33
|
+
.match(/shx cat (.*?) \|/)[1].split(/\s+/)
|
34
|
+
.map { |p| p.sub %r(\Ajs/src/), '' }
|
37
35
|
end
|
38
36
|
end
|
39
37
|
end
|
data/tasks/updater/scss.rb
CHANGED
@@ -28,12 +28,9 @@ class Updater
|
|
28
28
|
File.read("#{save_to}/_variables.scss").
|
29
29
|
# The instructions in the file header are replaced with the line above
|
30
30
|
lines[4..-1].
|
31
|
-
# Remove the _assert-ascending mixin definition and usages
|
32
|
-
reject { |line| line.start_with?('@include _assert-ascending') }.
|
33
31
|
join.
|
34
|
-
gsub(/@mixin _assert-ascending.*?\n}\n/m, '').
|
35
32
|
# Comment out the assignments
|
36
|
-
gsub(/^(
|
33
|
+
gsub(/^(?=[$@)}]|[ ]{2})/, '// ').
|
37
34
|
# Remove the !default modifier
|
38
35
|
gsub(/ !default/, '')
|
39
36
|
end
|
@@ -1,9 +1,11 @@
|
|
1
|
-
// Override Bootstrap variables here (defaults from bootstrap v4.0.0-
|
2
|
-
|
1
|
+
// Override Bootstrap variables here (defaults from bootstrap v4.0.0-beta):
|
2
|
+
//
|
3
|
+
// Variables should follow the `$component-state-property-size` formula for
|
4
|
+
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
3
5
|
|
4
6
|
// Table of Contents
|
5
7
|
//
|
6
|
-
//
|
8
|
+
// Color system
|
7
9
|
// Options
|
8
10
|
// Spacing
|
9
11
|
// Body
|
@@ -18,8 +20,8 @@
|
|
18
20
|
// Forms
|
19
21
|
// Dropdowns
|
20
22
|
// Z-index master list
|
21
|
-
// Navbar
|
22
23
|
// Navs
|
24
|
+
// Navbar
|
23
25
|
// Pagination
|
24
26
|
// Jumbotron
|
25
27
|
// Form states and alerts
|
@@ -39,66 +41,74 @@
|
|
39
41
|
// Code
|
40
42
|
|
41
43
|
|
42
|
-
// Replace `$search` with `$replace` in `$string`
|
43
|
-
// @author Hugo Giraudel
|
44
|
-
// @param {String} $string - Initial string
|
45
|
-
// @param {String} $search - Substring to replace
|
46
|
-
// @param {String} $replace ('') - New value
|
47
|
-
// @return {String} - Updated string
|
48
|
-
@function str-replace($string, $search, $replace: "") {
|
49
|
-
// $index: str-index($string, $search);
|
50
|
-
|
51
|
-
// @if $index {
|
52
|
-
// @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
53
|
-
// }
|
54
|
-
|
55
|
-
// @return $string;
|
56
|
-
}
|
57
|
-
|
58
|
-
@mixin _assert-starts-at-zero($map) {
|
59
|
-
// $values: map-values($map);
|
60
|
-
// $first-value: nth($values, 1);
|
61
|
-
// @if $first-value != 0 {
|
62
|
-
// @warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
|
63
|
-
// }
|
64
|
-
}
|
65
|
-
|
66
|
-
|
67
|
-
// General variable structure
|
68
44
|
//
|
69
|
-
//
|
70
|
-
|
71
|
-
|
72
|
-
// Colors
|
45
|
+
// Color system
|
73
46
|
//
|
74
|
-
// Grayscale and brand colors for use across Bootstrap.
|
75
47
|
|
76
|
-
// Start with assigning color names to specific hex values.
|
77
48
|
// $white: #fff;
|
49
|
+
// $gray-100: #f8f9fa;
|
50
|
+
// $gray-200: #e9ecef;
|
51
|
+
// $gray-300: #dee2e6;
|
52
|
+
// $gray-400: #ced4da;
|
53
|
+
// $gray-500: #adb5bd;
|
54
|
+
// $gray-600: #868e96;
|
55
|
+
// $gray-700: #495057;
|
56
|
+
// $gray-800: #343a40;
|
57
|
+
// $gray-900: #212529;
|
78
58
|
// $black: #000;
|
79
|
-
|
80
|
-
// $
|
81
|
-
// $
|
82
|
-
// $
|
83
|
-
// $
|
84
|
-
// $
|
85
|
-
// $
|
86
|
-
// $
|
87
|
-
|
88
|
-
//
|
89
|
-
// $gray-
|
90
|
-
//
|
91
|
-
|
92
|
-
// $
|
93
|
-
// $
|
94
|
-
|
95
|
-
//
|
96
|
-
// $
|
97
|
-
// $
|
98
|
-
// $
|
99
|
-
// $
|
100
|
-
// $
|
101
|
-
// $
|
59
|
+
|
60
|
+
// $grays: (
|
61
|
+
// 100: $gray-100,
|
62
|
+
// 200: $gray-200,
|
63
|
+
// 300: $gray-300,
|
64
|
+
// 400: $gray-400,
|
65
|
+
// 500: $gray-500,
|
66
|
+
// 600: $gray-600,
|
67
|
+
// 700: $gray-700,
|
68
|
+
// 800: $gray-800,
|
69
|
+
// 900: $gray-900
|
70
|
+
// );
|
71
|
+
|
72
|
+
// $blue: #007bff;
|
73
|
+
// $indigo: #6610f2;
|
74
|
+
// $purple: #6f42c1;
|
75
|
+
// $pink: #e83e8c;
|
76
|
+
// $red: #dc3545;
|
77
|
+
// $orange: #fd7e14;
|
78
|
+
// $yellow: #ffc107;
|
79
|
+
// $green: #28a745;
|
80
|
+
// $teal: #20c997;
|
81
|
+
// $cyan: #17a2b8;
|
82
|
+
|
83
|
+
// $colors: (
|
84
|
+
// blue: $blue,
|
85
|
+
// indigo: $indigo,
|
86
|
+
// purple: $purple,
|
87
|
+
// pink: $pink,
|
88
|
+
// red: $red,
|
89
|
+
// orange: $orange,
|
90
|
+
// yellow: $yellow,
|
91
|
+
// green: $green,
|
92
|
+
// teal: $teal,
|
93
|
+
// cyan: $cyan,
|
94
|
+
// white: $white,
|
95
|
+
// gray: $gray-600,
|
96
|
+
// gray-dark: $gray-800
|
97
|
+
// );
|
98
|
+
|
99
|
+
// $theme-colors: (
|
100
|
+
// primary: $blue,
|
101
|
+
// secondary: $gray-600,
|
102
|
+
// success: $green,
|
103
|
+
// info: $cyan,
|
104
|
+
// warning: $yellow,
|
105
|
+
// danger: $red,
|
106
|
+
// light: $gray-100,
|
107
|
+
// dark: $gray-800
|
108
|
+
// );
|
109
|
+
|
110
|
+
// Set a specific jump point for requesting color jumps
|
111
|
+
// $theme-color-interval: 8%;
|
102
112
|
|
103
113
|
|
104
114
|
// Options
|
@@ -120,36 +130,15 @@
|
|
120
130
|
// variables. Mostly focused on spacing.
|
121
131
|
// You can add more entries to the $spacers map, should you need more variation.
|
122
132
|
|
123
|
-
// $spacer:
|
124
|
-
// $spacer-x: $spacer;
|
125
|
-
// $spacer-y: $spacer;
|
133
|
+
// $spacer: 1rem;
|
126
134
|
// $spacers: (
|
127
|
-
// 0:
|
128
|
-
//
|
129
|
-
//
|
130
|
-
//
|
131
|
-
//
|
132
|
-
//
|
133
|
-
// y: ($spacer-y * .25)
|
134
|
-
// ),
|
135
|
-
// 2: (
|
136
|
-
// x: ($spacer-x * .5),
|
137
|
-
// y: ($spacer-y * .5)
|
138
|
-
// ),
|
139
|
-
// 3: (
|
140
|
-
// x: $spacer-x,
|
141
|
-
// y: $spacer-y
|
142
|
-
// ),
|
143
|
-
// 4: (
|
144
|
-
// x: ($spacer-x * 1.5),
|
145
|
-
// y: ($spacer-y * 1.5)
|
146
|
-
// ),
|
147
|
-
// 5: (
|
148
|
-
// x: ($spacer-x * 3),
|
149
|
-
// y: ($spacer-y * 3)
|
150
|
-
// )
|
135
|
+
// 0: 0,
|
136
|
+
// 1: ($spacer * .25),
|
137
|
+
// 2: ($spacer * .5),
|
138
|
+
// 3: $spacer,
|
139
|
+
// 4: ($spacer * 1.5),
|
140
|
+
// 5: ($spacer * 3)
|
151
141
|
// );
|
152
|
-
// $border-width: 1px;
|
153
142
|
|
154
143
|
// This variable affects the `.h-*` and `.w-*` classes.
|
155
144
|
// $sizes: (
|
@@ -164,16 +153,13 @@
|
|
164
153
|
// Settings for the `<body>` element.
|
165
154
|
|
166
155
|
// $body-bg: $white;
|
167
|
-
// $body-color: $gray-
|
168
|
-
// $inverse-bg: $gray-dark;
|
169
|
-
// $inverse-color: $gray-lighter;
|
170
|
-
|
156
|
+
// $body-color: $gray-900;
|
171
157
|
|
172
158
|
// Links
|
173
159
|
//
|
174
160
|
// Style anchor elements.
|
175
161
|
|
176
|
-
// $link-color:
|
162
|
+
// $link-color: theme-color("primary");
|
177
163
|
// $link-decoration: none;
|
178
164
|
// $link-hover-color: darken($link-color, 15%);
|
179
165
|
// $link-hover-decoration: underline;
|
@@ -191,7 +177,8 @@
|
|
191
177
|
// lg: 992px,
|
192
178
|
// xl: 1200px
|
193
179
|
// );
|
194
|
-
@include _assert-
|
180
|
+
// @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
181
|
+
// @include _assert-starts-at-zero($grid-breakpoints);
|
195
182
|
|
196
183
|
|
197
184
|
// Grid containers
|
@@ -204,35 +191,50 @@
|
|
204
191
|
// lg: 960px,
|
205
192
|
// xl: 1140px
|
206
193
|
// );
|
194
|
+
// @include _assert-ascending($container-max-widths, "$container-max-widths");
|
207
195
|
|
208
196
|
|
209
197
|
// Grid columns
|
210
198
|
//
|
211
199
|
// Set the number of columns and specify the width of the gutters.
|
212
200
|
|
213
|
-
// $grid-columns:
|
214
|
-
// $grid-gutter-width
|
215
|
-
|
216
|
-
//
|
217
|
-
//
|
218
|
-
//
|
219
|
-
|
220
|
-
//
|
221
|
-
//
|
201
|
+
// $grid-columns: 12;
|
202
|
+
// $grid-gutter-width: 30px;
|
203
|
+
|
204
|
+
// Components
|
205
|
+
//
|
206
|
+
// Define common padding and border radius sizes and more.
|
207
|
+
|
208
|
+
// $line-height-lg: 1.5;
|
209
|
+
// $line-height-sm: 1.5;
|
210
|
+
|
211
|
+
// $border-width: 1px;
|
212
|
+
|
213
|
+
// $border-radius: .25rem;
|
214
|
+
// $border-radius-lg: .3rem;
|
215
|
+
// $border-radius-sm: .2rem;
|
216
|
+
|
217
|
+
// $component-active-color: $white;
|
218
|
+
// $component-active-bg: theme-color("primary");
|
219
|
+
|
220
|
+
// $caret-width: .3em;
|
221
|
+
|
222
|
+
// $transition-base: all .2s ease-in-out;
|
223
|
+
// $transition-fade: opacity .15s linear;
|
224
|
+
// $transition-collapse: height .35s ease;
|
225
|
+
|
222
226
|
|
223
227
|
// Fonts
|
224
228
|
//
|
225
229
|
// Font, line-height, and color for body text, headings, and more.
|
226
230
|
|
227
|
-
// $font-family-sans-serif: -apple-system,
|
228
|
-
// $font-family-serif: Georgia, "Times New Roman", Times, serif;
|
231
|
+
// $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
229
232
|
// $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
230
233
|
// $font-family-base: $font-family-sans-serif;
|
231
234
|
|
232
235
|
// $font-size-base: 1rem; // Assumes the browser default, typically `16px`
|
233
236
|
// $font-size-lg: 1.25rem;
|
234
237
|
// $font-size-sm: .875rem;
|
235
|
-
// $font-size-xs: .75rem;
|
236
238
|
|
237
239
|
// $font-weight-normal: normal;
|
238
240
|
// $font-weight-bold: bold;
|
@@ -240,12 +242,12 @@
|
|
240
242
|
// $font-weight-base: $font-weight-normal;
|
241
243
|
// $line-height-base: 1.5;
|
242
244
|
|
243
|
-
// $font-size
|
244
|
-
// $font-size
|
245
|
-
// $font-size
|
246
|
-
// $font-size
|
247
|
-
// $font-size
|
248
|
-
// $font-size
|
245
|
+
// $h1-font-size: 2.5rem;
|
246
|
+
// $h2-font-size: 2rem;
|
247
|
+
// $h3-font-size: 1.75rem;
|
248
|
+
// $h4-font-size: 1.5rem;
|
249
|
+
// $h5-font-size: 1.25rem;
|
250
|
+
// $h6-font-size: 1rem;
|
249
251
|
|
250
252
|
// $headings-margin-bottom: ($spacer / 2);
|
251
253
|
// $headings-font-family: inherit;
|
@@ -269,14 +271,10 @@
|
|
269
271
|
|
270
272
|
// $small-font-size: 80%;
|
271
273
|
|
272
|
-
// $text-muted: $gray-
|
273
|
-
|
274
|
-
// $abbr-border-color: $gray-light;
|
274
|
+
// $text-muted: $gray-600;
|
275
275
|
|
276
|
-
// $blockquote-small-color: $gray-
|
276
|
+
// $blockquote-small-color: $gray-600;
|
277
277
|
// $blockquote-font-size: ($font-size-base * 1.25);
|
278
|
-
// $blockquote-border-color: $gray-lighter;
|
279
|
-
// $blockquote-border-width: .25rem;
|
280
278
|
|
281
279
|
// $hr-border-color: rgba($black,.1);
|
282
280
|
// $hr-border-width: $border-width;
|
@@ -290,26 +288,7 @@
|
|
290
288
|
|
291
289
|
// $list-inline-padding: 5px;
|
292
290
|
|
293
|
-
|
294
|
-
// Components
|
295
|
-
//
|
296
|
-
// Define common padding and border radius sizes and more.
|
297
|
-
|
298
|
-
// $line-height-lg: (4 / 3);
|
299
|
-
// $line-height-sm: 1.5;
|
300
|
-
|
301
|
-
// $border-radius: .25rem;
|
302
|
-
// $border-radius-lg: .3rem;
|
303
|
-
// $border-radius-sm: .2rem;
|
304
|
-
|
305
|
-
// $component-active-color: $white;
|
306
|
-
// $component-active-bg: $brand-primary;
|
307
|
-
|
308
|
-
// $caret-width: .3em;
|
309
|
-
|
310
|
-
// $transition-base: all .2s ease-in-out;
|
311
|
-
// $transition-fade: opacity .15s linear;
|
312
|
-
// $transition-collapse: height .35s ease;
|
291
|
+
// $mark-bg: #fcf8e3;
|
313
292
|
|
314
293
|
|
315
294
|
// Tables
|
@@ -317,89 +296,65 @@
|
|
317
296
|
// Customizes the `.table` component with basic values, each used across all table variations.
|
318
297
|
|
319
298
|
// $table-cell-padding: .75rem;
|
320
|
-
// $table-
|
299
|
+
// $table-cell-padding-sm: .3rem;
|
321
300
|
|
322
301
|
// $table-bg: transparent;
|
302
|
+
// $table-accent-bg: rgba($black,.05);
|
303
|
+
// $table-hover-bg: rgba($black,.075);
|
304
|
+
// $table-active-bg: $table-hover-bg;
|
323
305
|
|
324
|
-
// $table-
|
325
|
-
// $table-
|
326
|
-
|
327
|
-
// $table-bg-accent: rgba($black,.05);
|
328
|
-
// $table-bg-hover: rgba($black,.075);
|
329
|
-
// $table-bg-active: $table-bg-hover;
|
306
|
+
// $table-border-width: $border-width;
|
307
|
+
// $table-border-color: $gray-200;
|
330
308
|
|
331
|
-
// $table-head-bg: $gray-
|
332
|
-
// $table-head-color: $gray;
|
309
|
+
// $table-head-bg: $gray-200;
|
310
|
+
// $table-head-color: $gray-700;
|
333
311
|
|
334
|
-
// $table-
|
335
|
-
// $table-
|
312
|
+
// $table-inverse-bg: $gray-900;
|
313
|
+
// $table-inverse-accent-bg: rgba($white, .05);
|
314
|
+
// $table-inverse-hover-bg: rgba($white, .075);
|
315
|
+
// $table-inverse-border-color: lighten($gray-900, 7.5%);
|
316
|
+
// $table-inverse-color: $body-bg;
|
336
317
|
|
337
318
|
|
338
319
|
// Buttons
|
339
320
|
//
|
340
321
|
// For each of Bootstrap's buttons, define text, background and border color.
|
341
322
|
|
342
|
-
// $btn-padding-
|
343
|
-
// $btn-padding-
|
344
|
-
// $btn-line-height:
|
345
|
-
// $btn-font-weight: $font-weight-normal;
|
346
|
-
// $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075);
|
347
|
-
// $btn-focus-box-shadow: 0 0 0 2px rgba($brand-primary, .25);
|
348
|
-
// $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125);
|
349
|
-
|
350
|
-
// $btn-primary-color: $white;
|
351
|
-
// $btn-primary-bg: $brand-primary;
|
352
|
-
// $btn-primary-border: $btn-primary-bg;
|
353
|
-
|
354
|
-
// $btn-secondary-color: $gray-dark;
|
355
|
-
// $btn-secondary-bg: $white;
|
356
|
-
// $btn-secondary-border: #ccc;
|
357
|
-
|
358
|
-
// $btn-info-color: $white;
|
359
|
-
// $btn-info-bg: $brand-info;
|
360
|
-
// $btn-info-border: $btn-info-bg;
|
361
|
-
|
362
|
-
// $btn-success-color: $white;
|
363
|
-
// $btn-success-bg: $brand-success;
|
364
|
-
// $btn-success-border: $btn-success-bg;
|
323
|
+
// $input-btn-padding-y: .5rem;
|
324
|
+
// $input-btn-padding-x: .75rem;
|
325
|
+
// $input-btn-line-height: 1.25;
|
365
326
|
|
366
|
-
// $btn-
|
367
|
-
// $btn-
|
368
|
-
// $btn-
|
327
|
+
// $input-btn-padding-y-sm: .25rem;
|
328
|
+
// $input-btn-padding-x-sm: .5rem;
|
329
|
+
// $input-btn-line-height-sm: 1.5;
|
369
330
|
|
370
|
-
// $btn-
|
371
|
-
// $btn-
|
372
|
-
// $btn-
|
331
|
+
// $input-btn-padding-y-lg: .5rem;
|
332
|
+
// $input-btn-padding-x-lg: 1rem;
|
333
|
+
// $input-btn-line-height-lg: 1.5;
|
373
334
|
|
374
|
-
// $btn-
|
375
|
-
|
376
|
-
// $btn-
|
377
|
-
// $btn-
|
335
|
+
// $btn-font-weight: $font-weight-normal;
|
336
|
+
// $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075);
|
337
|
+
// $btn-focus-box-shadow: 0 0 0 3px rgba(theme-color("primary"), .25);
|
338
|
+
// $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125);
|
378
339
|
|
379
|
-
// $btn-
|
380
|
-
// $btn-padding-y-lg: .75rem;
|
340
|
+
// $btn-link-disabled-color: $gray-600;
|
381
341
|
|
382
342
|
// $btn-block-spacing-y: .5rem;
|
383
|
-
// $btn-toolbar-margin: .5rem;
|
384
343
|
|
385
344
|
// Allows for customizing button radius independently from global border radius
|
386
345
|
// $btn-border-radius: $border-radius;
|
387
346
|
// $btn-border-radius-lg: $border-radius-lg;
|
388
347
|
// $btn-border-radius-sm: $border-radius-sm;
|
389
348
|
|
390
|
-
// $btn-transition: all .
|
349
|
+
// $btn-transition: all .15s ease-in-out;
|
391
350
|
|
392
351
|
|
393
352
|
// Forms
|
394
353
|
|
395
|
-
// $input-padding-x: .75rem;
|
396
|
-
// $input-padding-y: .5rem;
|
397
|
-
// $input-line-height: 1.25;
|
398
|
-
|
399
354
|
// $input-bg: $white;
|
400
|
-
// $input-bg
|
355
|
+
// $input-disabled-bg: $gray-200;
|
401
356
|
|
402
|
-
// $input-color: $gray;
|
357
|
+
// $input-color: $gray-700;
|
403
358
|
// $input-border-color: rgba($black,.15);
|
404
359
|
// $input-btn-border-width: $border-width; // For form controls and buttons
|
405
360
|
// $input-box-shadow: inset 0 1px 1px rgba($black,.075);
|
@@ -408,27 +363,27 @@
|
|
408
363
|
// $input-border-radius-lg: $border-radius-lg;
|
409
364
|
// $input-border-radius-sm: $border-radius-sm;
|
410
365
|
|
411
|
-
// $input-bg
|
412
|
-
// $input-border-
|
413
|
-
// $input-box-shadow
|
414
|
-
// $input-color
|
366
|
+
// $input-focus-bg: $input-bg;
|
367
|
+
// $input-focus-border-color: lighten(theme-color("primary"), 25%);
|
368
|
+
// $input-focus-box-shadow: $input-box-shadow, $btn-focus-box-shadow;
|
369
|
+
// $input-focus-color: $input-color;
|
415
370
|
|
416
|
-
// $input-color
|
371
|
+
// $input-placeholder-color: $gray-600;
|
417
372
|
|
418
|
-
// $input-
|
419
|
-
// $input-padding-y-sm: .25rem;
|
373
|
+
// $input-height-border: $input-btn-border-width * 2;
|
420
374
|
|
421
|
-
// $input-padding-
|
422
|
-
// $input-
|
375
|
+
// $input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2);
|
376
|
+
// $input-height: calc(#{$input-height-inner} + #{$input-height-border});
|
423
377
|
|
424
|
-
// $input-height:
|
425
|
-
// $input-height-
|
426
|
-
|
378
|
+
// $input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2);
|
379
|
+
// $input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border});
|
380
|
+
|
381
|
+
// $input-height-inner-lg: ($font-size-sm * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2);
|
382
|
+
// $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border});
|
427
383
|
|
428
384
|
// $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
429
385
|
|
430
386
|
// $form-text-margin-top: .25rem;
|
431
|
-
// $form-feedback-margin-top: $form-text-margin-top;
|
432
387
|
|
433
388
|
// $form-check-margin-bottom: .5rem;
|
434
389
|
// $form-check-input-gutter: 1.25rem;
|
@@ -437,56 +392,53 @@
|
|
437
392
|
|
438
393
|
// $form-check-inline-margin-x: .75rem;
|
439
394
|
|
440
|
-
// $form-group-margin-bottom:
|
395
|
+
// $form-group-margin-bottom: 1rem;
|
441
396
|
|
442
|
-
// $input-group-addon-bg: $gray-
|
397
|
+
// $input-group-addon-bg: $gray-200;
|
443
398
|
// $input-group-addon-border-color: $input-border-color;
|
444
399
|
|
445
|
-
// $cursor-disabled: not-allowed;
|
446
|
-
|
447
400
|
// $custom-control-gutter: 1.5rem;
|
448
|
-
// $custom-control-spacer-x: 1rem;
|
449
401
|
// $custom-control-spacer-y: .25rem;
|
402
|
+
// $custom-control-spacer-x: 1rem;
|
450
403
|
|
451
404
|
// $custom-control-indicator-size: 1rem;
|
452
|
-
// $custom-control-indicator-margin-y: (($line-height-base * 1rem) - $custom-control-indicator-size) / -2;
|
453
405
|
// $custom-control-indicator-bg: #ddd;
|
454
406
|
// $custom-control-indicator-bg-size: 50% 50%;
|
455
407
|
// $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1);
|
456
408
|
|
457
|
-
// $custom-control-disabled-
|
458
|
-
// $custom-control-disabled-
|
459
|
-
// $custom-control-disabled-description-color: $gray-light;
|
409
|
+
// $custom-control-indicator-disabled-bg: $gray-200;
|
410
|
+
// $custom-control-description-disabled-color: $gray-600;
|
460
411
|
|
461
|
-
// $custom-control-checked-
|
462
|
-
// $custom-control-checked-
|
463
|
-
// $custom-control-checked-
|
412
|
+
// $custom-control-indicator-checked-color: $white;
|
413
|
+
// $custom-control-indicator-checked-bg: theme-color("primary");
|
414
|
+
// $custom-control-indicator-checked-box-shadow: none;
|
464
415
|
|
465
|
-
// $custom-control-focus-
|
416
|
+
// $custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px theme-color("primary");
|
466
417
|
|
467
|
-
// $custom-control-active-
|
468
|
-
// $custom-control-active-
|
469
|
-
// $custom-control-active-
|
418
|
+
// $custom-control-indicator-active-color: $white;
|
419
|
+
// $custom-control-indicator-active-bg: lighten(theme-color("primary"), 35%);
|
420
|
+
// $custom-control-indicator-active-box-shadow: none;
|
470
421
|
|
471
|
-
// $custom-checkbox-radius: $border-radius;
|
472
|
-
// $custom-checkbox-
|
422
|
+
// $custom-checkbox-indicator-border-radius: $border-radius;
|
423
|
+
// $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");
|
473
424
|
|
474
|
-
// $custom-checkbox-indeterminate-bg:
|
475
|
-
// $custom-checkbox-indeterminate-
|
476
|
-
// $custom-checkbox-
|
477
|
-
// $custom-checkbox-indeterminate-box-shadow: none;
|
425
|
+
// $custom-checkbox-indicator-indeterminate-bg: theme-color("primary");
|
426
|
+
// $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color;
|
427
|
+
// $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");
|
428
|
+
// $custom-checkbox-indicator-indeterminate-box-shadow: none;
|
478
429
|
|
479
|
-
// $custom-radio-radius: 50%;
|
480
|
-
// $custom-radio-
|
430
|
+
// $custom-radio-indicator-border-radius: 50%;
|
431
|
+
// $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");
|
481
432
|
|
482
|
-
// $custom-select-padding-x: .75rem ;
|
483
433
|
// $custom-select-padding-y: .375rem;
|
434
|
+
// $custom-select-padding-x: .75rem ;
|
435
|
+
// $custom-select-height: $input-height ;
|
484
436
|
// $custom-select-indicator-padding: 1rem; // Extra padding to account for the presence of the background-image based indicator
|
485
|
-
// $custom-select-line-height: $input-line-height;
|
437
|
+
// $custom-select-line-height: $input-btn-line-height;
|
486
438
|
// $custom-select-color: $input-color;
|
487
|
-
// $custom-select-disabled-color: $gray-
|
439
|
+
// $custom-select-disabled-color: $gray-600;
|
488
440
|
// $custom-select-bg: $white;
|
489
|
-
// $custom-select-disabled-bg: $gray-
|
441
|
+
// $custom-select-disabled-bg: $gray-200;
|
490
442
|
// $custom-select-bg-size: 8px 10px; // In pixels because image dimensions
|
491
443
|
// $custom-select-indicator-color: #333;
|
492
444
|
// $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");
|
@@ -494,27 +446,27 @@
|
|
494
446
|
// $custom-select-border-color: $input-border-color;
|
495
447
|
// $custom-select-border-radius: $border-radius;
|
496
448
|
|
497
|
-
// $custom-select-focus-border-color: lighten(
|
449
|
+
// $custom-select-focus-border-color: lighten(theme-color("primary"), 25%);
|
498
450
|
// $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5);
|
499
451
|
|
500
|
-
// $custom-select-
|
501
|
-
// $custom-select-sm-
|
452
|
+
// $custom-select-font-size-sm: 75%;
|
453
|
+
// $custom-select-height-sm: $input-height-sm;
|
502
454
|
|
503
455
|
// $custom-file-height: 2.5rem;
|
504
456
|
// $custom-file-width: 14rem;
|
505
|
-
// $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem
|
457
|
+
// $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem theme-color("primary");
|
506
458
|
|
507
|
-
// $custom-file-padding-x: .5rem;
|
508
459
|
// $custom-file-padding-y: 1rem;
|
460
|
+
// $custom-file-padding-x: .5rem;
|
509
461
|
// $custom-file-line-height: 1.5;
|
510
|
-
// $custom-file-color: $gray;
|
462
|
+
// $custom-file-color: $gray-700;
|
511
463
|
// $custom-file-bg: $white;
|
512
464
|
// $custom-file-border-width: $border-width;
|
513
465
|
// $custom-file-border-color: $input-border-color;
|
514
466
|
// $custom-file-border-radius: $border-radius;
|
515
467
|
// $custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05);
|
516
468
|
// $custom-file-button-color: $custom-file-color;
|
517
|
-
// $custom-file-button-bg: $gray-
|
469
|
+
// $custom-file-button-bg: $gray-200;
|
518
470
|
// $custom-file-text: (
|
519
471
|
// placeholder: (
|
520
472
|
// en: "Choose file..."
|
@@ -525,15 +477,9 @@
|
|
525
477
|
// );
|
526
478
|
|
527
479
|
|
528
|
-
// Form validation
|
529
|
-
// $form-
|
530
|
-
// $form-
|
531
|
-
|
532
|
-
// $form-icon-warning-color: $brand-warning;
|
533
|
-
// $form-icon-warning: 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='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E"), "#", "%23");
|
534
|
-
|
535
|
-
// $form-icon-danger-color: $brand-danger;
|
536
|
-
// $form-icon-danger: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E"), "#", "%23");
|
480
|
+
// Form validation
|
481
|
+
// $form-feedback-valid-color: theme-color("success");
|
482
|
+
// $form-feedback-invalid-color: theme-color("danger");
|
537
483
|
|
538
484
|
|
539
485
|
// Dropdowns
|
@@ -542,25 +488,26 @@
|
|
542
488
|
|
543
489
|
// $dropdown-min-width: 10rem;
|
544
490
|
// $dropdown-padding-y: .5rem;
|
545
|
-
// $dropdown-
|
491
|
+
// $dropdown-spacer: .125rem;
|
546
492
|
// $dropdown-bg: $white;
|
547
493
|
// $dropdown-border-color: rgba($black,.15);
|
548
494
|
// $dropdown-border-width: $border-width;
|
549
|
-
// $dropdown-divider-bg: $gray-
|
495
|
+
// $dropdown-divider-bg: $gray-200;
|
550
496
|
// $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175);
|
551
497
|
|
552
|
-
// $dropdown-link-color: $gray-
|
553
|
-
// $dropdown-link-hover-color: darken($gray-
|
554
|
-
// $dropdown-link-hover-bg: $gray-
|
498
|
+
// $dropdown-link-color: $gray-900;
|
499
|
+
// $dropdown-link-hover-color: darken($gray-900, 5%);
|
500
|
+
// $dropdown-link-hover-bg: $gray-100;
|
555
501
|
|
556
502
|
// $dropdown-link-active-color: $component-active-color;
|
557
503
|
// $dropdown-link-active-bg: $component-active-bg;
|
558
504
|
|
559
|
-
// $dropdown-link-disabled-color: $gray-
|
505
|
+
// $dropdown-link-disabled-color: $gray-600;
|
560
506
|
|
507
|
+
// $dropdown-item-padding-y: .25rem;
|
561
508
|
// $dropdown-item-padding-x: 1.5rem;
|
562
509
|
|
563
|
-
// $dropdown-header-color: $gray-
|
510
|
+
// $dropdown-header-color: $gray-600;
|
564
511
|
|
565
512
|
|
566
513
|
// Z-index master list
|
@@ -568,75 +515,70 @@
|
|
568
515
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
569
516
|
// of components dependent on the z-axis and are designed to all work together.
|
570
517
|
|
571
|
-
// $zindex-dropdown-backdrop: 990;
|
572
|
-
// $zindex-navbar: 1000;
|
573
518
|
// $zindex-dropdown: 1000;
|
519
|
+
// $zindex-sticky: 1020;
|
574
520
|
// $zindex-fixed: 1030;
|
575
|
-
// $zindex-sticky: 1030;
|
576
521
|
// $zindex-modal-backdrop: 1040;
|
577
522
|
// $zindex-modal: 1050;
|
578
523
|
// $zindex-popover: 1060;
|
579
524
|
// $zindex-tooltip: 1070;
|
580
525
|
|
526
|
+
// Navs
|
527
|
+
|
528
|
+
// $nav-link-padding-y: .5rem;
|
529
|
+
// $nav-link-padding-x: 1rem;
|
530
|
+
// $nav-link-disabled-color: $gray-600;
|
531
|
+
|
532
|
+
// $nav-tabs-border-color: #ddd;
|
533
|
+
// $nav-tabs-border-width: $border-width;
|
534
|
+
// $nav-tabs-border-radius: $border-radius;
|
535
|
+
// $nav-tabs-link-hover-border-color: $gray-200;
|
536
|
+
// $nav-tabs-link-active-color: $gray-700;
|
537
|
+
// $nav-tabs-link-active-bg: $body-bg;
|
538
|
+
// $nav-tabs-link-active-border-color: #ddd;
|
539
|
+
|
540
|
+
// $nav-pills-border-radius: $border-radius;
|
541
|
+
// $nav-pills-link-active-color: $component-active-color;
|
542
|
+
// $nav-pills-link-active-bg: $component-active-bg;
|
581
543
|
|
582
544
|
// Navbar
|
583
545
|
|
584
|
-
// $navbar-border-radius: $border-radius;
|
585
|
-
// $navbar-padding-x: $spacer;
|
586
546
|
// $navbar-padding-y: ($spacer / 2);
|
547
|
+
// $navbar-padding-x: $spacer;
|
587
548
|
|
588
|
-
// $navbar-brand-
|
549
|
+
// $navbar-brand-font-size: $font-size-lg;
|
550
|
+
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
551
|
+
// $nav-link-height: $navbar-brand-font-size * $line-height-base;
|
552
|
+
// $navbar-brand-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2);
|
553
|
+
// $navbar-brand-padding-y: ($navbar-brand-height - $nav-link-height) / 2;
|
589
554
|
|
590
|
-
// $navbar-toggler-padding-x: .75rem;
|
591
555
|
// $navbar-toggler-padding-y: .25rem;
|
556
|
+
// $navbar-toggler-padding-x: .75rem;
|
592
557
|
// $navbar-toggler-font-size: $font-size-lg;
|
593
558
|
// $navbar-toggler-border-radius: $btn-border-radius;
|
594
559
|
|
595
|
-
// $navbar-
|
596
|
-
// $navbar-
|
597
|
-
// $navbar-
|
598
|
-
// $navbar-
|
599
|
-
// $navbar-
|
600
|
-
// $navbar-
|
560
|
+
// $navbar-dark-color: rgba($white,.5);
|
561
|
+
// $navbar-dark-hover-color: rgba($white,.75);
|
562
|
+
// $navbar-dark-active-color: rgba($white,1);
|
563
|
+
// $navbar-dark-disabled-color: rgba($white,.25);
|
564
|
+
// $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");
|
565
|
+
// $navbar-dark-toggler-border-color: rgba($white,.1);
|
601
566
|
|
602
567
|
// $navbar-light-color: rgba($black,.5);
|
603
568
|
// $navbar-light-hover-color: rgba($black,.7);
|
604
569
|
// $navbar-light-active-color: rgba($black,.9);
|
605
570
|
// $navbar-light-disabled-color: rgba($black,.3);
|
606
|
-
// $navbar-light-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0
|
607
|
-
// $navbar-light-toggler-border:
|
608
|
-
|
609
|
-
// Navs
|
610
|
-
|
611
|
-
// $nav-item-margin: .2rem;
|
612
|
-
// $nav-item-inline-spacer: 1rem;
|
613
|
-
// $nav-link-padding: .5em 1em;
|
614
|
-
// $nav-link-hover-bg: $gray-lighter;
|
615
|
-
// $nav-disabled-link-color: $gray-light;
|
616
|
-
|
617
|
-
// $nav-tabs-border-color: #ddd;
|
618
|
-
// $nav-tabs-border-width: $border-width;
|
619
|
-
// $nav-tabs-border-radius: $border-radius;
|
620
|
-
// $nav-tabs-link-hover-border-color: $gray-lighter;
|
621
|
-
// $nav-tabs-active-link-hover-color: $gray;
|
622
|
-
// $nav-tabs-active-link-hover-bg: $body-bg;
|
623
|
-
// $nav-tabs-active-link-hover-border-color: #ddd;
|
624
|
-
// $nav-tabs-justified-link-border-color: #ddd;
|
625
|
-
// $nav-tabs-justified-active-link-border-color: $body-bg;
|
626
|
-
|
627
|
-
// $nav-pills-border-radius: $border-radius;
|
628
|
-
// $nav-pills-active-link-color: $component-active-color;
|
629
|
-
// $nav-pills-active-link-bg: $component-active-bg;
|
630
|
-
|
571
|
+
// $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");
|
572
|
+
// $navbar-light-toggler-border-color: rgba($black,.1);
|
631
573
|
|
632
574
|
// Pagination
|
633
575
|
|
634
|
-
// $pagination-padding-x: .75rem;
|
635
576
|
// $pagination-padding-y: .5rem;
|
636
|
-
// $pagination-padding-x
|
577
|
+
// $pagination-padding-x: .75rem;
|
637
578
|
// $pagination-padding-y-sm: .25rem;
|
638
|
-
// $pagination-padding-x-
|
579
|
+
// $pagination-padding-x-sm: .5rem;
|
639
580
|
// $pagination-padding-y-lg: .75rem;
|
581
|
+
// $pagination-padding-x-lg: 1.5rem;
|
640
582
|
// $pagination-line-height: 1.25;
|
641
583
|
|
642
584
|
// $pagination-color: $link-color;
|
@@ -645,62 +587,38 @@
|
|
645
587
|
// $pagination-border-color: #ddd;
|
646
588
|
|
647
589
|
// $pagination-hover-color: $link-hover-color;
|
648
|
-
// $pagination-hover-bg: $gray-
|
649
|
-
// $pagination-hover-border:
|
590
|
+
// $pagination-hover-bg: $gray-200;
|
591
|
+
// $pagination-hover-border-color: #ddd;
|
650
592
|
|
651
593
|
// $pagination-active-color: $white;
|
652
|
-
// $pagination-active-bg:
|
653
|
-
// $pagination-active-border:
|
594
|
+
// $pagination-active-bg: theme-color("primary");
|
595
|
+
// $pagination-active-border-color: theme-color("primary");
|
654
596
|
|
655
|
-
// $pagination-disabled-color: $gray-
|
597
|
+
// $pagination-disabled-color: $gray-600;
|
656
598
|
// $pagination-disabled-bg: $white;
|
657
|
-
// $pagination-disabled-border:
|
599
|
+
// $pagination-disabled-border-color: #ddd;
|
658
600
|
|
659
601
|
|
660
602
|
// Jumbotron
|
661
603
|
|
662
604
|
// $jumbotron-padding: 2rem;
|
663
|
-
// $jumbotron-bg: $gray-
|
664
|
-
|
665
|
-
|
666
|
-
// Form states and alerts
|
667
|
-
//
|
668
|
-
// Define colors for form feedback states and, by default, alerts.
|
669
|
-
|
670
|
-
// $state-success-text: #3c763d;
|
671
|
-
// $state-success-bg: #dff0d8;
|
672
|
-
// $state-success-border: darken($state-success-bg, 5%);
|
673
|
-
|
674
|
-
// $state-info-text: #31708f;
|
675
|
-
// $state-info-bg: #d9edf7;
|
676
|
-
// $state-info-border: darken($state-info-bg, 7%);
|
677
|
-
|
678
|
-
// $state-warning-text: #8a6d3b;
|
679
|
-
// $state-warning-bg: #fcf8e3;
|
680
|
-
// $mark-bg: $state-warning-bg;
|
681
|
-
// $state-warning-border: darken($state-warning-bg, 5%);
|
682
|
-
|
683
|
-
// $state-danger-text: #a94442;
|
684
|
-
// $state-danger-bg: #f2dede;
|
685
|
-
// $state-danger-border: darken($state-danger-bg, 5%);
|
605
|
+
// $jumbotron-bg: $gray-200;
|
686
606
|
|
687
607
|
|
688
608
|
// Cards
|
689
609
|
|
690
|
-
// $card-spacer-x: 1.25rem;
|
691
610
|
// $card-spacer-y: .75rem;
|
611
|
+
// $card-spacer-x: 1.25rem;
|
692
612
|
// $card-border-width: 1px;
|
693
613
|
// $card-border-radius: $border-radius;
|
694
614
|
// $card-border-color: rgba($black,.125);
|
695
|
-
// $card-border-radius
|
696
|
-
// $card-cap-bg: $
|
615
|
+
// $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width});
|
616
|
+
// $card-cap-bg: rgba($black, .03);
|
697
617
|
// $card-bg: $white;
|
698
618
|
|
699
|
-
// $card-link-hover-color: $white;
|
700
|
-
|
701
619
|
// $card-img-overlay-padding: 1.25rem;
|
702
620
|
|
703
|
-
// $card-deck-margin: ($grid-gutter-width
|
621
|
+
// $card-deck-margin: ($grid-gutter-width / 2);
|
704
622
|
|
705
623
|
// $card-columns-count: 3;
|
706
624
|
// $card-columns-gap: 1.25rem;
|
@@ -715,9 +633,11 @@
|
|
715
633
|
// $tooltip-opacity: .9;
|
716
634
|
// $tooltip-padding-y: 3px;
|
717
635
|
// $tooltip-padding-x: 8px;
|
718
|
-
// $tooltip-margin:
|
636
|
+
// $tooltip-margin: 0;
|
637
|
+
|
719
638
|
|
720
639
|
// $tooltip-arrow-width: 5px;
|
640
|
+
// $tooltip-arrow-height: 5px;
|
721
641
|
// $tooltip-arrow-color: $tooltip-bg;
|
722
642
|
|
723
643
|
|
@@ -730,14 +650,17 @@
|
|
730
650
|
// $popover-border-color: rgba($black,.2);
|
731
651
|
// $popover-box-shadow: 0 5px 10px rgba($black,.2);
|
732
652
|
|
733
|
-
// $popover-
|
734
|
-
// $popover-
|
735
|
-
// $popover-
|
653
|
+
// $popover-header-bg: darken($popover-bg, 3%);
|
654
|
+
// $popover-header-color: $headings-color;
|
655
|
+
// $popover-header-padding-y: 8px;
|
656
|
+
// $popover-header-padding-x: 14px;
|
736
657
|
|
737
|
-
// $popover-
|
738
|
-
// $popover-
|
658
|
+
// $popover-body-color: $body-color;
|
659
|
+
// $popover-body-padding-y: 9px;
|
660
|
+
// $popover-body-padding-x: 14px;
|
739
661
|
|
740
662
|
// $popover-arrow-width: 10px;
|
663
|
+
// $popover-arrow-height: 5px;
|
741
664
|
// $popover-arrow-color: $popover-bg;
|
742
665
|
|
743
666
|
// $popover-arrow-outer-width: ($popover-arrow-width + 1px);
|
@@ -746,19 +669,11 @@
|
|
746
669
|
|
747
670
|
// Badges
|
748
671
|
|
749
|
-
// $badge-default-bg: $gray-light;
|
750
|
-
// $badge-primary-bg: $brand-primary;
|
751
|
-
// $badge-success-bg: $brand-success;
|
752
|
-
// $badge-info-bg: $brand-info;
|
753
|
-
// $badge-warning-bg: $brand-warning;
|
754
|
-
// $badge-danger-bg: $brand-danger;
|
755
|
-
|
756
672
|
// $badge-color: $white;
|
757
|
-
// $badge-link-hover-color: $white;
|
758
673
|
// $badge-font-size: 75%;
|
759
674
|
// $badge-font-weight: $font-weight-bold;
|
760
|
-
// $badge-padding-x: .4em;
|
761
675
|
// $badge-padding-y: .25em;
|
676
|
+
// $badge-padding-x: .4em;
|
762
677
|
|
763
678
|
// $badge-pill-padding-x: .6em;
|
764
679
|
// Use a higher than normal value to ensure completely rounded edges when
|
@@ -772,19 +687,19 @@
|
|
772
687
|
// $modal-inner-padding: 15px;
|
773
688
|
|
774
689
|
// $modal-dialog-margin: 10px;
|
775
|
-
// $modal-dialog-sm-up
|
690
|
+
// $modal-dialog-margin-y-sm-up: 30px;
|
776
691
|
|
777
692
|
// $modal-title-line-height: $line-height-base;
|
778
693
|
|
779
694
|
// $modal-content-bg: $white;
|
780
695
|
// $modal-content-border-color: rgba($black,.2);
|
781
696
|
// $modal-content-border-width: $border-width;
|
782
|
-
// $modal-content-
|
783
|
-
// $modal-content-sm-up
|
697
|
+
// $modal-content-box-shadow-xs: 0 3px 9px rgba($black,.5);
|
698
|
+
// $modal-content-box-shadow-sm-up: 0 5px 15px rgba($black,.5);
|
784
699
|
|
785
700
|
// $modal-backdrop-bg: $black;
|
786
701
|
// $modal-backdrop-opacity: .5;
|
787
|
-
// $modal-header-border-color: $gray-
|
702
|
+
// $modal-header-border-color: $gray-200;
|
788
703
|
// $modal-footer-border-color: $modal-header-border-color;
|
789
704
|
// $modal-header-border-width: $modal-content-border-width;
|
790
705
|
// $modal-footer-border-width: $modal-header-border-width;
|
@@ -801,68 +716,49 @@
|
|
801
716
|
//
|
802
717
|
// Define alert colors, border radius, and padding.
|
803
718
|
|
804
|
-
// $alert-padding-x: 1.25rem;
|
805
719
|
// $alert-padding-y: .75rem;
|
806
|
-
// $alert-
|
720
|
+
// $alert-padding-x: 1.25rem;
|
721
|
+
// $alert-margin-bottom: 1rem;
|
807
722
|
// $alert-border-radius: $border-radius;
|
808
723
|
// $alert-link-font-weight: $font-weight-bold;
|
809
724
|
// $alert-border-width: $border-width;
|
810
725
|
|
811
|
-
// $alert-success-bg: $state-success-bg;
|
812
|
-
// $alert-success-text: $state-success-text;
|
813
|
-
// $alert-success-border: $state-success-border;
|
814
|
-
|
815
|
-
// $alert-info-bg: $state-info-bg;
|
816
|
-
// $alert-info-text: $state-info-text;
|
817
|
-
// $alert-info-border: $state-info-border;
|
818
|
-
|
819
|
-
// $alert-warning-bg: $state-warning-bg;
|
820
|
-
// $alert-warning-text: $state-warning-text;
|
821
|
-
// $alert-warning-border: $state-warning-border;
|
822
|
-
|
823
|
-
// $alert-danger-bg: $state-danger-bg;
|
824
|
-
// $alert-danger-text: $state-danger-text;
|
825
|
-
// $alert-danger-border: $state-danger-border;
|
826
|
-
|
827
726
|
|
828
727
|
// Progress bars
|
829
728
|
|
830
729
|
// $progress-height: 1rem;
|
831
730
|
// $progress-font-size: .75rem;
|
832
|
-
// $progress-bg: $gray-
|
731
|
+
// $progress-bg: $gray-200;
|
833
732
|
// $progress-border-radius: $border-radius;
|
834
733
|
// $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1);
|
835
734
|
// $progress-bar-color: $white;
|
836
|
-
// $progress-bar-bg:
|
735
|
+
// $progress-bar-bg: theme-color("primary");
|
837
736
|
// $progress-bar-animation-timing: 1s linear infinite;
|
737
|
+
// $progress-bar-transition: width .6s ease;
|
838
738
|
|
839
739
|
// List group
|
840
740
|
|
841
|
-
// $list-group-color: $body-color;
|
842
741
|
// $list-group-bg: $white;
|
843
742
|
// $list-group-border-color: rgba($black,.125);
|
844
743
|
// $list-group-border-width: $border-width;
|
845
744
|
// $list-group-border-radius: $border-radius;
|
846
745
|
|
847
|
-
// $list-group-item-padding-x: 1.25rem;
|
848
746
|
// $list-group-item-padding-y: .75rem;
|
747
|
+
// $list-group-item-padding-x: 1.25rem;
|
849
748
|
|
850
|
-
// $list-group-hover-bg:
|
851
|
-
// $list-group-active-color:
|
852
|
-
// $list-group-active-bg:
|
853
|
-
// $list-group-active-border:
|
854
|
-
// $list-group-active-text-color: lighten($list-group-active-bg, 50%);
|
749
|
+
// $list-group-hover-bg: $gray-100;
|
750
|
+
// $list-group-active-color: $component-active-color;
|
751
|
+
// $list-group-active-bg: $component-active-bg;
|
752
|
+
// $list-group-active-border-color: $list-group-active-bg;
|
855
753
|
|
856
|
-
// $list-group-disabled-color: $gray-
|
754
|
+
// $list-group-disabled-color: $gray-600;
|
857
755
|
// $list-group-disabled-bg: $list-group-bg;
|
858
|
-
// $list-group-disabled-text-color: $list-group-disabled-color;
|
859
756
|
|
860
|
-
// $list-group-
|
861
|
-
// $list-group-
|
862
|
-
// $list-group-link-hover-color: $list-group-link-color;
|
757
|
+
// $list-group-action-color: $gray-700;
|
758
|
+
// $list-group-action-hover-color: $list-group-action-color;
|
863
759
|
|
864
|
-
// $list-group-
|
865
|
-
// $list-group-
|
760
|
+
// $list-group-action-active-color: $body-color;
|
761
|
+
// $list-group-action-active-bg: $gray-200;
|
866
762
|
|
867
763
|
|
868
764
|
// Image thumbnails
|
@@ -879,7 +775,7 @@
|
|
879
775
|
// Figures
|
880
776
|
|
881
777
|
// $figure-caption-font-size: 90%;
|
882
|
-
// $figure-caption-color: $gray-
|
778
|
+
// $figure-caption-color: $gray-600;
|
883
779
|
|
884
780
|
|
885
781
|
// Breadcrumbs
|
@@ -888,9 +784,9 @@
|
|
888
784
|
// $breadcrumb-padding-x: 1rem;
|
889
785
|
// $breadcrumb-item-padding: .5rem;
|
890
786
|
|
891
|
-
// $breadcrumb-bg: $gray-
|
892
|
-
// $breadcrumb-divider-color: $gray-
|
893
|
-
// $breadcrumb-active-color: $gray-
|
787
|
+
// $breadcrumb-bg: $gray-200;
|
788
|
+
// $breadcrumb-divider-color: $gray-600;
|
789
|
+
// $breadcrumb-active-color: $gray-600;
|
894
790
|
// $breadcrumb-divider: "/";
|
895
791
|
|
896
792
|
|
@@ -913,7 +809,7 @@
|
|
913
809
|
// $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='M4 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");
|
914
810
|
// $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='M1.5 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");
|
915
811
|
|
916
|
-
// $carousel-transition: transform .6s ease
|
812
|
+
// $carousel-transition: transform .6s ease;
|
917
813
|
|
918
814
|
|
919
815
|
// Close
|
@@ -923,19 +819,16 @@
|
|
923
819
|
// $close-color: $black;
|
924
820
|
// $close-text-shadow: 0 1px 0 $white;
|
925
821
|
|
926
|
-
|
927
822
|
// Code
|
928
823
|
|
929
824
|
// $code-font-size: 90%;
|
930
|
-
// $code-padding-x: .4rem;
|
931
825
|
// $code-padding-y: .2rem;
|
826
|
+
// $code-padding-x: .4rem;
|
932
827
|
// $code-color: #bd4147;
|
933
|
-
// $code-bg: $gray-
|
828
|
+
// $code-bg: $gray-100;
|
934
829
|
|
935
830
|
// $kbd-color: $white;
|
936
|
-
// $kbd-bg: $gray-
|
831
|
+
// $kbd-bg: $gray-900;
|
937
832
|
|
938
|
-
// $pre-
|
939
|
-
// $pre-color: $gray-dark;
|
940
|
-
// $pre-border-color: #ccc;
|
833
|
+
// $pre-color: $gray-900;
|
941
834
|
// $pre-scrollable-max-height: 340px;
|