bootstrap 4.0.0.alpha5 → 4.0.0.alpha6
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/README.md +7 -4
- data/assets/javascripts/bootstrap.js +312 -207
- data/assets/javascripts/bootstrap.min.js +4 -4
- data/assets/javascripts/bootstrap/alert.js +9 -5
- data/assets/javascripts/bootstrap/button.js +5 -5
- data/assets/javascripts/bootstrap/carousel.js +52 -28
- data/assets/javascripts/bootstrap/collapse.js +19 -11
- data/assets/javascripts/bootstrap/dropdown.js +21 -19
- data/assets/javascripts/bootstrap/modal.js +69 -43
- data/assets/javascripts/bootstrap/popover.js +4 -4
- data/assets/javascripts/bootstrap/scrollspy.js +20 -11
- data/assets/javascripts/bootstrap/tab.js +19 -14
- data/assets/javascripts/bootstrap/tooltip.js +54 -22
- data/assets/javascripts/bootstrap/util.js +7 -12
- data/assets/stylesheets/_bootstrap-grid.scss +23 -3
- data/assets/stylesheets/_bootstrap-reboot.scss +2 -3
- data/assets/stylesheets/_bootstrap.scss +6 -6
- data/assets/stylesheets/bootstrap/_alert.scss +3 -4
- data/assets/stylesheets/bootstrap/_badge.scss +77 -0
- data/assets/stylesheets/bootstrap/_button-group.scss +18 -51
- data/assets/stylesheets/bootstrap/_buttons.scss +14 -20
- data/assets/stylesheets/bootstrap/_card.scss +30 -76
- data/assets/stylesheets/bootstrap/_carousel.scss +96 -171
- data/assets/stylesheets/bootstrap/_close.scss +3 -3
- data/assets/stylesheets/bootstrap/_code.scss +7 -0
- data/assets/stylesheets/bootstrap/_custom-forms.scss +13 -12
- data/assets/stylesheets/bootstrap/_dropdown.scss +17 -36
- data/assets/stylesheets/bootstrap/_forms.scss +61 -47
- data/assets/stylesheets/bootstrap/_grid.scss +13 -0
- data/assets/stylesheets/bootstrap/_images.scss +2 -2
- data/assets/stylesheets/bootstrap/_input-group.scss +17 -27
- data/assets/stylesheets/bootstrap/_list-group.scss +79 -63
- data/assets/stylesheets/bootstrap/_media.scss +5 -78
- data/assets/stylesheets/bootstrap/_mixins.scss +8 -5
- data/assets/stylesheets/bootstrap/_modal.scss +21 -13
- data/assets/stylesheets/bootstrap/_nav.scss +30 -68
- data/assets/stylesheets/bootstrap/_navbar.scss +131 -178
- data/assets/stylesheets/bootstrap/_normalize.scss +133 -94
- data/assets/stylesheets/bootstrap/_pagination.scss +16 -22
- data/assets/stylesheets/bootstrap/_popover.scss +3 -3
- data/assets/stylesheets/bootstrap/_print.scss +5 -8
- data/assets/stylesheets/bootstrap/_progress.scss +14 -127
- data/assets/stylesheets/bootstrap/_reboot.scss +16 -15
- data/assets/stylesheets/bootstrap/_responsive-embed.scss +18 -5
- data/assets/stylesheets/bootstrap/_tables.scss +13 -56
- data/assets/stylesheets/bootstrap/_tooltip.scss +1 -1
- data/assets/stylesheets/bootstrap/{_animation.scss → _transitions.scss} +6 -8
- data/assets/stylesheets/bootstrap/_type.scss +5 -12
- data/assets/stylesheets/bootstrap/_utilities.scss +2 -0
- data/assets/stylesheets/bootstrap/_variables.scss +320 -216
- data/assets/stylesheets/bootstrap/mixins/{_tag.scss → _badge.scss} +2 -2
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +25 -16
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +31 -58
- data/assets/stylesheets/bootstrap/mixins/_cards.scss +3 -0
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_float.scss +3 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +3 -5
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +1 -7
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +19 -23
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +19 -26
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +3 -5
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_transforms.scss +14 -0
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +5 -0
- data/assets/stylesheets/bootstrap/utilities/_align.scss +5 -5
- data/assets/stylesheets/bootstrap/utilities/_background.scss +1 -1
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +10 -3
- data/assets/stylesheets/bootstrap/utilities/_display.scss +13 -8
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +42 -31
- data/assets/stylesheets/bootstrap/utilities/_float.scss +5 -9
- data/assets/stylesheets/bootstrap/utilities/_position.scss +23 -0
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +10 -0
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +36 -37
- data/assets/stylesheets/bootstrap/utilities/_text.scss +14 -12
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +1 -1
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/scss.rb +3 -5
- data/templates/project/_bootstrap-variables.scss +321 -217
- metadata +10 -10
- data/assets/stylesheets/_bootstrap-flex.scss +0 -8
- data/assets/stylesheets/bootstrap/_tags.scss +0 -77
- data/assets/stylesheets/bootstrap/mixins/_progress.scss +0 -23
- data/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
- data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
@@ -0,0 +1,14 @@
|
|
1
|
+
// Applies the given styles only when the browser support CSS3 3D transforms.
|
2
|
+
@mixin if-supports-3d-transforms() {
|
3
|
+
@media (-webkit-transform-3d) {
|
4
|
+
// Old Safari, Old Android
|
5
|
+
// http://caniuse.com/#feat=css-featurequeries
|
6
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-webkit-transform-3d
|
7
|
+
@content;
|
8
|
+
}
|
9
|
+
|
10
|
+
@supports (transform: translate3d(0,0,0)) {
|
11
|
+
// The Proper Way: Using a CSS feature query
|
12
|
+
@content;
|
13
|
+
}
|
14
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.align-baseline
|
2
|
-
.align-top
|
3
|
-
.align-middle
|
4
|
-
.align-bottom
|
1
|
+
.align-baseline { vertical-align: baseline !important; } // Browser default
|
2
|
+
.align-top { vertical-align: top !important; }
|
3
|
+
.align-middle { vertical-align: middle !important; }
|
4
|
+
.align-bottom { vertical-align: bottom !important; }
|
5
5
|
.align-text-bottom { vertical-align: text-bottom !important; }
|
6
|
-
.align-text-top
|
6
|
+
.align-text-top { vertical-align: text-top !important; }
|
@@ -1,9 +1,12 @@
|
|
1
1
|
//
|
2
|
-
// Border
|
2
|
+
// Border
|
3
3
|
//
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
.border-0 { border: 0 !important; }
|
6
|
+
.border-top-0 { border-top: 0 !important; }
|
7
|
+
.border-right-0 { border-right: 0 !important; }
|
8
|
+
.border-bottom-0 { border-bottom: 0 !important; }
|
9
|
+
.border-left-0 { border-left: 0 !important; }
|
7
10
|
|
8
11
|
//
|
9
12
|
// Border-radius
|
@@ -28,3 +31,7 @@
|
|
28
31
|
.rounded-circle {
|
29
32
|
border-radius: 50%;
|
30
33
|
}
|
34
|
+
|
35
|
+
.rounded-0 {
|
36
|
+
border-radius: 0;
|
37
|
+
}
|
@@ -2,12 +2,17 @@
|
|
2
2
|
// Display utilities
|
3
3
|
//
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
}
|
11
|
-
.d-inline {
|
12
|
-
|
5
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
6
|
+
@include media-breakpoint-up($breakpoint) {
|
7
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
8
|
+
|
9
|
+
.d#{$infix}-none { display: none !important; }
|
10
|
+
.d#{$infix}-inline { display: inline !important; }
|
11
|
+
.d#{$infix}-inline-block { display: inline-block !important; }
|
12
|
+
.d#{$infix}-block { display: block !important; }
|
13
|
+
.d#{$infix}-table { display: table !important; }
|
14
|
+
.d#{$infix}-table-cell { display: table-cell !important; }
|
15
|
+
.d#{$infix}-flex { display: flex !important; }
|
16
|
+
.d#{$infix}-inline-flex { display: inline-flex !important; }
|
17
|
+
}
|
13
18
|
}
|
@@ -2,36 +2,47 @@
|
|
2
2
|
//
|
3
3
|
// Custom styles for additional flex alignment options.
|
4
4
|
|
5
|
-
@
|
6
|
-
@
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
}
|
5
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
6
|
+
@include media-breakpoint-up($breakpoint) {
|
7
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
8
|
+
|
9
|
+
.flex#{$infix}-first { order: -1; }
|
10
|
+
.flex#{$infix}-last { order: 1; }
|
11
|
+
.flex#{$infix}-unordered { order: 0; }
|
12
|
+
|
13
|
+
.flex#{$infix}-row { flex-direction: row !important; }
|
14
|
+
.flex#{$infix}-column { flex-direction: column !important; }
|
15
|
+
.flex#{$infix}-row-reverse { flex-direction: row-reverse !important; }
|
16
|
+
.flex#{$infix}-column-reverse { flex-direction: column-reverse !important; }
|
17
|
+
|
18
|
+
.flex#{$infix}-wrap { flex-wrap: wrap !important; }
|
19
|
+
.flex#{$infix}-nowrap { flex-wrap: nowrap !important; }
|
20
|
+
.flex#{$infix}-wrap-reverse { flex-wrap: wrap-reverse !important; }
|
21
|
+
|
22
|
+
.justify-content#{$infix}-start { justify-content: flex-start !important; }
|
23
|
+
.justify-content#{$infix}-end { justify-content: flex-end !important; }
|
24
|
+
.justify-content#{$infix}-center { justify-content: center !important; }
|
25
|
+
.justify-content#{$infix}-between { justify-content: space-between !important; }
|
26
|
+
.justify-content#{$infix}-around { justify-content: space-around !important; }
|
27
|
+
|
28
|
+
.align-items#{$infix}-start { align-items: flex-start !important; }
|
29
|
+
.align-items#{$infix}-end { align-items: flex-end !important; }
|
30
|
+
.align-items#{$infix}-center { align-items: center !important; }
|
31
|
+
.align-items#{$infix}-baseline { align-items: baseline !important; }
|
32
|
+
.align-items#{$infix}-stretch { align-items: stretch !important; }
|
33
|
+
|
34
|
+
.align-content#{$infix}-start { align-content: flex-start !important; }
|
35
|
+
.align-content#{$infix}-end { align-content: flex-end !important; }
|
36
|
+
.align-content#{$infix}-center { align-content: center !important; }
|
37
|
+
.align-content#{$infix}-between { align-content: space-between !important; }
|
38
|
+
.align-content#{$infix}-around { align-content: space-around !important; }
|
39
|
+
.align-content#{$infix}-stretch { align-content: stretch !important; }
|
40
|
+
|
41
|
+
.align-self#{$infix}-auto { align-self: auto !important; }
|
42
|
+
.align-self#{$infix}-start { align-self: flex-start !important; }
|
43
|
+
.align-self#{$infix}-end { align-self: flex-end !important; }
|
44
|
+
.align-self#{$infix}-center { align-self: center !important; }
|
45
|
+
.align-self#{$infix}-baseline { align-self: baseline !important; }
|
46
|
+
.align-self#{$infix}-stretch { align-self: stretch !important; }
|
36
47
|
}
|
37
48
|
}
|
@@ -1,13 +1,9 @@
|
|
1
1
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
2
2
|
@include media-breakpoint-up($breakpoint) {
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
.float
|
7
|
-
|
8
|
-
}
|
9
|
-
.float-#{$breakpoint}-none {
|
10
|
-
float: none !important;
|
11
|
-
}
|
3
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
4
|
+
|
5
|
+
.float#{$infix}-left { @include float-left; }
|
6
|
+
.float#{$infix}-right { @include float-right; }
|
7
|
+
.float#{$infix}-none { @include float-none; }
|
12
8
|
}
|
13
9
|
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Positioning
|
2
|
+
|
3
|
+
.fixed-top {
|
4
|
+
position: fixed;
|
5
|
+
top: 0;
|
6
|
+
right: 0;
|
7
|
+
left: 0;
|
8
|
+
z-index: $zindex-fixed;
|
9
|
+
}
|
10
|
+
|
11
|
+
.fixed-bottom {
|
12
|
+
position: fixed;
|
13
|
+
right: 0;
|
14
|
+
bottom: 0;
|
15
|
+
left: 0;
|
16
|
+
z-index: $zindex-fixed;
|
17
|
+
}
|
18
|
+
|
19
|
+
.sticky-top {
|
20
|
+
position: sticky;
|
21
|
+
top: 0;
|
22
|
+
z-index: $zindex-sticky;
|
23
|
+
}
|
@@ -1,44 +1,43 @@
|
|
1
|
-
// Width and height
|
2
|
-
|
3
|
-
.w-100 { width: 100% !important; }
|
4
|
-
.h-100 { height: 100% !important; }
|
5
|
-
|
6
1
|
// Margin and Padding
|
7
2
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
@each $
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
3
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
4
|
+
@include media-breakpoint-up($breakpoint) {
|
5
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
6
|
+
|
7
|
+
@each $prop, $abbrev in (margin: m, padding: p) {
|
8
|
+
@each $size, $lengths in $spacers {
|
9
|
+
$length-x: map-get($lengths, x);
|
10
|
+
$length-y: map-get($lengths, y);
|
11
|
+
|
12
|
+
.#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length-y $length-x !important; }
|
13
|
+
.#{$abbrev}t#{$infix}-#{$size} { #{$prop}-top: $length-y !important; }
|
14
|
+
.#{$abbrev}r#{$infix}-#{$size} { #{$prop}-right: $length-x !important; }
|
15
|
+
.#{$abbrev}b#{$infix}-#{$size} { #{$prop}-bottom: $length-y !important; }
|
16
|
+
.#{$abbrev}l#{$infix}-#{$size} { #{$prop}-left: $length-x !important; }
|
17
|
+
.#{$abbrev}x#{$infix}-#{$size} {
|
18
|
+
#{$prop}-right: $length-x !important;
|
19
|
+
#{$prop}-left: $length-x !important;
|
20
|
+
}
|
21
|
+
.#{$abbrev}y#{$infix}-#{$size} {
|
22
|
+
#{$prop}-top: $length-y !important;
|
23
|
+
#{$prop}-bottom: $length-y !important;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
23
27
|
|
24
|
-
//
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
+
// Some special margin utils
|
29
|
+
.m#{$infix}-auto { margin: auto !important; }
|
30
|
+
.mt#{$infix}-auto { margin-top: auto !important; }
|
31
|
+
.mr#{$infix}-auto { margin-right: auto !important; }
|
32
|
+
.mb#{$infix}-auto { margin-bottom: auto !important; }
|
33
|
+
.ml#{$infix}-auto { margin-left: auto !important; }
|
34
|
+
.mx#{$infix}-auto {
|
35
|
+
margin-right: auto !important;
|
36
|
+
margin-left: auto !important;
|
28
37
|
}
|
29
|
-
|
30
|
-
|
31
|
-
|
38
|
+
.my#{$infix}-auto {
|
39
|
+
margin-top: auto !important;
|
40
|
+
margin-bottom: auto !important;
|
32
41
|
}
|
33
42
|
}
|
34
43
|
}
|
35
|
-
|
36
|
-
// Positioning
|
37
|
-
|
38
|
-
.pos-f-t {
|
39
|
-
position: fixed;
|
40
|
-
top: 0;
|
41
|
-
right: 0;
|
42
|
-
left: 0;
|
43
|
-
z-index: $zindex-navbar-fixed;
|
44
|
-
}
|
@@ -4,31 +4,33 @@
|
|
4
4
|
|
5
5
|
// Alignment
|
6
6
|
|
7
|
-
.text-justify
|
8
|
-
.text-nowrap
|
9
|
-
.text-truncate
|
7
|
+
.text-justify { text-align: justify !important; }
|
8
|
+
.text-nowrap { white-space: nowrap !important; }
|
9
|
+
.text-truncate { @include text-truncate; }
|
10
10
|
|
11
11
|
// Responsive alignment
|
12
12
|
|
13
13
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
14
14
|
@include media-breakpoint-up($breakpoint) {
|
15
|
-
|
16
|
-
|
17
|
-
.text
|
15
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
16
|
+
|
17
|
+
.text#{$infix}-left { text-align: left !important; }
|
18
|
+
.text#{$infix}-right { text-align: right !important; }
|
19
|
+
.text#{$infix}-center { text-align: center !important; }
|
18
20
|
}
|
19
21
|
}
|
20
22
|
|
21
23
|
// Transformation
|
22
24
|
|
23
|
-
.text-lowercase
|
24
|
-
.text-uppercase
|
25
|
-
.text-capitalize
|
25
|
+
.text-lowercase { text-transform: lowercase !important; }
|
26
|
+
.text-uppercase { text-transform: uppercase !important; }
|
27
|
+
.text-capitalize { text-transform: capitalize !important; }
|
26
28
|
|
27
29
|
// Weight and italics
|
28
30
|
|
29
|
-
.font-weight-normal
|
30
|
-
.font-weight-bold
|
31
|
-
.font-italic
|
31
|
+
.font-weight-normal { font-weight: $font-weight-normal; }
|
32
|
+
.font-weight-bold { font-weight: $font-weight-bold; }
|
33
|
+
.font-italic { font-style: italic; }
|
32
34
|
|
33
35
|
// Contextual colors
|
34
36
|
|
data/lib/bootstrap/version.rb
CHANGED
data/tasks/updater/scss.rb
CHANGED
@@ -12,16 +12,14 @@ class Updater
|
|
12
12
|
log_processed "#{bootstrap_scss_files * ' '}"
|
13
13
|
|
14
14
|
log_status 'Updating scss main files'
|
15
|
-
%w(bootstrap bootstrap-
|
15
|
+
%w(bootstrap bootstrap-grid bootstrap-reboot).each do |name|
|
16
16
|
# Compass treats non-partials as targets to copy into the main project, so make them partials.
|
17
17
|
# Also move them up a level to clearly indicate entry points.
|
18
18
|
from = "#{save_to}/#{name}.scss"
|
19
19
|
to = "#{save_to}/../_#{name}.scss"
|
20
20
|
FileUtils.mv from, to
|
21
|
-
# As we moved the files, adjust imports accordingly
|
22
|
-
|
23
|
-
File.write to, File.read(to).gsub(/ "/, ' "bootstrap/')
|
24
|
-
end
|
21
|
+
# As we moved the files, adjust imports accordingly.
|
22
|
+
File.write to, File.read(to).gsub(/ "/, ' "bootstrap/')
|
25
23
|
end
|
26
24
|
|
27
25
|
log_status 'Generating variable template file'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Override Bootstrap variables here (defaults from bootstrap v4.0.0-alpha.
|
1
|
+
// Override Bootstrap variables here (defaults from bootstrap v4.0.0-alpha.6):
|
2
2
|
|
3
3
|
|
4
4
|
// Table of Contents
|
@@ -13,6 +13,55 @@
|
|
13
13
|
// Grid columns
|
14
14
|
// Fonts
|
15
15
|
// Components
|
16
|
+
// Tables
|
17
|
+
// Buttons
|
18
|
+
// Forms
|
19
|
+
// Dropdowns
|
20
|
+
// Z-index master list
|
21
|
+
// Navbar
|
22
|
+
// Navs
|
23
|
+
// Pagination
|
24
|
+
// Jumbotron
|
25
|
+
// Form states and alerts
|
26
|
+
// Cards
|
27
|
+
// Tooltips
|
28
|
+
// Popovers
|
29
|
+
// Badges
|
30
|
+
// Modals
|
31
|
+
// Alerts
|
32
|
+
// Progress bars
|
33
|
+
// List group
|
34
|
+
// Image thumbnails
|
35
|
+
// Figures
|
36
|
+
// Breadcrumbs
|
37
|
+
// Carousel
|
38
|
+
// Close
|
39
|
+
// Code
|
40
|
+
|
41
|
+
|
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
|
+
}
|
16
65
|
|
17
66
|
|
18
67
|
// General variable structure
|
@@ -24,17 +73,31 @@
|
|
24
73
|
//
|
25
74
|
// Grayscale and brand colors for use across Bootstrap.
|
26
75
|
|
27
|
-
//
|
28
|
-
// $
|
29
|
-
// $
|
76
|
+
// Start with assigning color names to specific hex values.
|
77
|
+
// $white: #fff;
|
78
|
+
// $black: #000;
|
79
|
+
// $red: #d9534f;
|
80
|
+
// $orange: #f0ad4e;
|
81
|
+
// $yellow: #ffd500;
|
82
|
+
// $green: #5cb85c;
|
83
|
+
// $blue: #0275d8;
|
84
|
+
// $teal: #5bc0de;
|
85
|
+
// $pink: #ff5b77;
|
86
|
+
// $purple: #613d7c;
|
87
|
+
|
88
|
+
// Create grayscale
|
89
|
+
// $gray-dark: #292b2c;
|
90
|
+
// $gray: #464a4c;
|
91
|
+
// $gray-light: #636c72;
|
30
92
|
// $gray-lighter: #eceeef;
|
31
93
|
// $gray-lightest: #f7f7f9;
|
32
94
|
|
33
|
-
//
|
34
|
-
// $brand-
|
35
|
-
// $brand-
|
36
|
-
// $brand-
|
37
|
-
// $brand-
|
95
|
+
// Reassign color vars to semantic color scheme
|
96
|
+
// $brand-primary: $blue;
|
97
|
+
// $brand-success: $green;
|
98
|
+
// $brand-info: $teal;
|
99
|
+
// $brand-warning: $orange;
|
100
|
+
// $brand-danger: $red;
|
38
101
|
// $brand-inverse: $gray-dark;
|
39
102
|
|
40
103
|
|
@@ -42,11 +105,10 @@
|
|
42
105
|
//
|
43
106
|
// Quickly modify global styling by enabling or disabling optional features.
|
44
107
|
|
45
|
-
// $enable-flex: false;
|
46
108
|
// $enable-rounded: true;
|
47
109
|
// $enable-shadows: false;
|
48
110
|
// $enable-gradients: false;
|
49
|
-
// $enable-transitions:
|
111
|
+
// $enable-transitions: true;
|
50
112
|
// $enable-hover-media-query: false;
|
51
113
|
// $enable-grid-classes: true;
|
52
114
|
// $enable-print-styles: true;
|
@@ -67,27 +129,44 @@
|
|
67
129
|
// y: 0
|
68
130
|
// ),
|
69
131
|
// 1: (
|
132
|
+
// x: ($spacer-x * .25),
|
133
|
+
// y: ($spacer-y * .25)
|
134
|
+
// ),
|
135
|
+
// 2: (
|
136
|
+
// x: ($spacer-x * .5),
|
137
|
+
// y: ($spacer-y * .5)
|
138
|
+
// ),
|
139
|
+
// 3: (
|
70
140
|
// x: $spacer-x,
|
71
141
|
// y: $spacer-y
|
72
142
|
// ),
|
73
|
-
//
|
143
|
+
// 4: (
|
74
144
|
// x: ($spacer-x * 1.5),
|
75
145
|
// y: ($spacer-y * 1.5)
|
76
146
|
// ),
|
77
|
-
//
|
147
|
+
// 5: (
|
78
148
|
// x: ($spacer-x * 3),
|
79
149
|
// y: ($spacer-y * 3)
|
80
150
|
// )
|
81
151
|
// );
|
82
152
|
// $border-width: 1px;
|
83
153
|
|
154
|
+
// This variable affects the `.h-*` and `.w-*` classes.
|
155
|
+
// $sizes: (
|
156
|
+
// 25: 25%,
|
157
|
+
// 50: 50%,
|
158
|
+
// 75: 75%,
|
159
|
+
// 100: 100%
|
160
|
+
// );
|
84
161
|
|
85
162
|
// Body
|
86
163
|
//
|
87
164
|
// Settings for the `<body>` element.
|
88
165
|
|
89
|
-
// $body-bg:
|
90
|
-
// $body-color:
|
166
|
+
// $body-bg: $white;
|
167
|
+
// $body-color: $gray-dark;
|
168
|
+
// $inverse-bg: $gray-dark;
|
169
|
+
// $inverse-color: $gray-lighter;
|
91
170
|
|
92
171
|
|
93
172
|
// Links
|
@@ -112,6 +191,7 @@
|
|
112
191
|
// lg: 992px,
|
113
192
|
// xl: 1200px
|
114
193
|
// );
|
194
|
+
@include _assert-starts-at-zero($grid-breakpoints);
|
115
195
|
|
116
196
|
|
117
197
|
// Grid containers
|
@@ -140,23 +220,24 @@
|
|
140
220
|
// xl: $grid-gutter-width-base
|
141
221
|
// );
|
142
222
|
|
143
|
-
//
|
223
|
+
// Fonts
|
144
224
|
//
|
145
225
|
// Font, line-height, and color for body text, headings, and more.
|
146
226
|
|
147
|
-
// $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
227
|
+
// $font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
148
228
|
// $font-family-serif: Georgia, "Times New Roman", Times, serif;
|
149
229
|
// $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
150
230
|
// $font-family-base: $font-family-sans-serif;
|
151
231
|
|
152
|
-
//
|
153
|
-
// $font-size-root: 16px;
|
154
|
-
|
155
|
-
// $font-size-base: 1rem;
|
232
|
+
// $font-size-base: 1rem; // Assumes the browser default, typically `16px`
|
156
233
|
// $font-size-lg: 1.25rem;
|
157
234
|
// $font-size-sm: .875rem;
|
158
235
|
// $font-size-xs: .75rem;
|
159
236
|
|
237
|
+
// $font-weight-normal: normal;
|
238
|
+
// $font-weight-bold: bold;
|
239
|
+
|
240
|
+
// $font-weight-base: $font-weight-normal;
|
160
241
|
// $line-height-base: 1.5;
|
161
242
|
|
162
243
|
// $font-size-h1: 2.5rem;
|
@@ -166,22 +247,23 @@
|
|
166
247
|
// $font-size-h5: 1.25rem;
|
167
248
|
// $font-size-h6: 1rem;
|
168
249
|
|
169
|
-
// $display1-size: 6rem;
|
170
|
-
// $display2-size: 5.5rem;
|
171
|
-
// $display3-size: 4.5rem;
|
172
|
-
// $display4-size: 3.5rem;
|
173
|
-
|
174
|
-
// $display1-weight: 300;
|
175
|
-
// $display2-weight: 300;
|
176
|
-
// $display3-weight: 300;
|
177
|
-
// $display4-weight: 300;
|
178
|
-
|
179
250
|
// $headings-margin-bottom: ($spacer / 2);
|
180
251
|
// $headings-font-family: inherit;
|
181
252
|
// $headings-font-weight: 500;
|
182
253
|
// $headings-line-height: 1.1;
|
183
254
|
// $headings-color: inherit;
|
184
255
|
|
256
|
+
// $display1-size: 6rem;
|
257
|
+
// $display2-size: 5.5rem;
|
258
|
+
// $display3-size: 4.5rem;
|
259
|
+
// $display4-size: 3.5rem;
|
260
|
+
|
261
|
+
// $display1-weight: 300;
|
262
|
+
// $display2-weight: 300;
|
263
|
+
// $display3-weight: 300;
|
264
|
+
// $display4-weight: 300;
|
265
|
+
// $display-line-height: $headings-line-height;
|
266
|
+
|
185
267
|
// $lead-font-size: 1.25rem;
|
186
268
|
// $lead-font-weight: 300;
|
187
269
|
|
@@ -196,15 +278,15 @@
|
|
196
278
|
// $blockquote-border-color: $gray-lighter;
|
197
279
|
// $blockquote-border-width: .25rem;
|
198
280
|
|
199
|
-
// $hr-border-color: rgba(
|
281
|
+
// $hr-border-color: rgba($black,.1);
|
200
282
|
// $hr-border-width: $border-width;
|
201
283
|
|
202
284
|
// $mark-padding: .2em;
|
203
285
|
|
204
|
-
// $dt-font-weight: bold;
|
286
|
+
// $dt-font-weight: $font-weight-bold;
|
205
287
|
|
206
|
-
// $kbd-box-shadow: inset 0 -.1rem 0 rgba(
|
207
|
-
// $nested-kbd-font-weight: bold;
|
288
|
+
// $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25);
|
289
|
+
// $nested-kbd-font-weight: $font-weight-bold;
|
208
290
|
|
209
291
|
// $list-inline-padding: 5px;
|
210
292
|
|
@@ -220,11 +302,14 @@
|
|
220
302
|
// $border-radius-lg: .3rem;
|
221
303
|
// $border-radius-sm: .2rem;
|
222
304
|
|
223
|
-
// $component-active-color:
|
305
|
+
// $component-active-color: $white;
|
224
306
|
// $component-active-bg: $brand-primary;
|
225
307
|
|
226
308
|
// $caret-width: .3em;
|
227
|
-
|
309
|
+
|
310
|
+
// $transition-base: all .2s ease-in-out;
|
311
|
+
// $transition-fade: opacity .15s linear;
|
312
|
+
// $transition-collapse: height .35s ease;
|
228
313
|
|
229
314
|
|
230
315
|
// Tables
|
@@ -235,10 +320,17 @@
|
|
235
320
|
// $table-sm-cell-padding: .3rem;
|
236
321
|
|
237
322
|
// $table-bg: transparent;
|
238
|
-
|
239
|
-
// $table-bg-
|
323
|
+
|
324
|
+
// $table-inverse-bg: $gray-dark;
|
325
|
+
// $table-inverse-color: $body-bg;
|
326
|
+
|
327
|
+
// $table-bg-accent: rgba($black,.05);
|
328
|
+
// $table-bg-hover: rgba($black,.075);
|
240
329
|
// $table-bg-active: $table-bg-hover;
|
241
330
|
|
331
|
+
// $table-head-bg: $gray-lighter;
|
332
|
+
// $table-head-color: $gray;
|
333
|
+
|
242
334
|
// $table-border-width: $border-width;
|
243
335
|
// $table-border-color: $gray-lighter;
|
244
336
|
|
@@ -250,31 +342,32 @@
|
|
250
342
|
// $btn-padding-x: 1rem;
|
251
343
|
// $btn-padding-y: .5rem;
|
252
344
|
// $btn-line-height: 1.25;
|
253
|
-
// $btn-font-weight: normal;
|
254
|
-
// $btn-box-shadow: inset 0 1px 0 rgba(
|
255
|
-
// $btn-
|
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);
|
256
349
|
|
257
|
-
// $btn-primary-color:
|
350
|
+
// $btn-primary-color: $white;
|
258
351
|
// $btn-primary-bg: $brand-primary;
|
259
352
|
// $btn-primary-border: $btn-primary-bg;
|
260
353
|
|
261
354
|
// $btn-secondary-color: $gray-dark;
|
262
|
-
// $btn-secondary-bg:
|
355
|
+
// $btn-secondary-bg: $white;
|
263
356
|
// $btn-secondary-border: #ccc;
|
264
357
|
|
265
|
-
// $btn-info-color:
|
358
|
+
// $btn-info-color: $white;
|
266
359
|
// $btn-info-bg: $brand-info;
|
267
360
|
// $btn-info-border: $btn-info-bg;
|
268
361
|
|
269
|
-
// $btn-success-color:
|
362
|
+
// $btn-success-color: $white;
|
270
363
|
// $btn-success-bg: $brand-success;
|
271
364
|
// $btn-success-border: $btn-success-bg;
|
272
365
|
|
273
|
-
// $btn-warning-color:
|
366
|
+
// $btn-warning-color: $white;
|
274
367
|
// $btn-warning-bg: $brand-warning;
|
275
368
|
// $btn-warning-border: $btn-warning-bg;
|
276
369
|
|
277
|
-
// $btn-danger-color:
|
370
|
+
// $btn-danger-color: $white;
|
278
371
|
// $btn-danger-bg: $brand-danger;
|
279
372
|
// $btn-danger-border: $btn-danger-bg;
|
280
373
|
|
@@ -294,6 +387,8 @@
|
|
294
387
|
// $btn-border-radius-lg: $border-radius-lg;
|
295
388
|
// $btn-border-radius-sm: $border-radius-sm;
|
296
389
|
|
390
|
+
// $btn-transition: all .2s ease-in-out;
|
391
|
+
|
297
392
|
|
298
393
|
// Forms
|
299
394
|
|
@@ -301,24 +396,24 @@
|
|
301
396
|
// $input-padding-y: .5rem;
|
302
397
|
// $input-line-height: 1.25;
|
303
398
|
|
304
|
-
// $input-bg:
|
399
|
+
// $input-bg: $white;
|
305
400
|
// $input-bg-disabled: $gray-lighter;
|
306
401
|
|
307
402
|
// $input-color: $gray;
|
308
|
-
// $input-border-color: rgba(
|
403
|
+
// $input-border-color: rgba($black,.15);
|
309
404
|
// $input-btn-border-width: $border-width; // For form controls and buttons
|
310
|
-
// $input-box-shadow: inset 0 1px 1px rgba(
|
405
|
+
// $input-box-shadow: inset 0 1px 1px rgba($black,.075);
|
311
406
|
|
312
407
|
// $input-border-radius: $border-radius;
|
313
408
|
// $input-border-radius-lg: $border-radius-lg;
|
314
409
|
// $input-border-radius-sm: $border-radius-sm;
|
315
410
|
|
316
411
|
// $input-bg-focus: $input-bg;
|
317
|
-
// $input-border-focus:
|
318
|
-
// $input-box-shadow-focus: $input-box-shadow,
|
412
|
+
// $input-border-focus: lighten($brand-primary, 25%);
|
413
|
+
// $input-box-shadow-focus: $input-box-shadow, rgba($input-border-focus, .6);
|
319
414
|
// $input-color-focus: $input-color;
|
320
415
|
|
321
|
-
// $input-color-placeholder:
|
416
|
+
// $input-color-placeholder: $gray-light;
|
322
417
|
|
323
418
|
// $input-padding-x-sm: .5rem;
|
324
419
|
// $input-padding-y-sm: .25rem;
|
@@ -326,10 +421,22 @@
|
|
326
421
|
// $input-padding-x-lg: 1.5rem;
|
327
422
|
// $input-padding-y-lg: .75rem;
|
328
423
|
|
329
|
-
// $input-height: (($font-size-base * $line-height
|
424
|
+
// $input-height: (($font-size-base * $input-line-height) + ($input-padding-y * 2));
|
330
425
|
// $input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2));
|
331
426
|
// $input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2));
|
332
427
|
|
428
|
+
// $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
429
|
+
|
430
|
+
// $form-text-margin-top: .25rem;
|
431
|
+
// $form-feedback-margin-top: $form-text-margin-top;
|
432
|
+
|
433
|
+
// $form-check-margin-bottom: .5rem;
|
434
|
+
// $form-check-input-gutter: 1.25rem;
|
435
|
+
// $form-check-input-margin-y: .25rem;
|
436
|
+
// $form-check-input-margin-x: .25rem;
|
437
|
+
|
438
|
+
// $form-check-inline-margin-x: .75rem;
|
439
|
+
|
333
440
|
// $form-group-margin-bottom: $spacer-y;
|
334
441
|
|
335
442
|
// $input-group-addon-bg: $gray-lighter;
|
@@ -342,70 +449,72 @@
|
|
342
449
|
// $custom-control-spacer-y: .25rem;
|
343
450
|
|
344
451
|
// $custom-control-indicator-size: 1rem;
|
452
|
+
// $custom-control-indicator-margin-y: (($line-height-base * 1rem) - $custom-control-indicator-size) / -2;
|
345
453
|
// $custom-control-indicator-bg: #ddd;
|
346
454
|
// $custom-control-indicator-bg-size: 50% 50%;
|
347
|
-
// $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba(
|
455
|
+
// $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1);
|
348
456
|
|
349
457
|
// $custom-control-disabled-cursor: $cursor-disabled;
|
350
|
-
// $custom-control-disabled-indicator-bg:
|
351
|
-
// $custom-control-disabled-description-color:
|
458
|
+
// $custom-control-disabled-indicator-bg: $gray-lighter;
|
459
|
+
// $custom-control-disabled-description-color: $gray-light;
|
352
460
|
|
353
|
-
// $custom-control-checked-indicator-color:
|
354
|
-
// $custom-control-checked-indicator-bg:
|
461
|
+
// $custom-control-checked-indicator-color: $white;
|
462
|
+
// $custom-control-checked-indicator-bg: $brand-primary;
|
355
463
|
// $custom-control-checked-indicator-box-shadow: none;
|
356
464
|
|
357
|
-
// $custom-control-focus-indicator-box-shadow: 0 0 0
|
465
|
+
// $custom-control-focus-indicator-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $brand-primary;
|
358
466
|
|
359
|
-
// $custom-control-active-indicator-color:
|
360
|
-
// $custom-control-active-indicator-bg:
|
467
|
+
// $custom-control-active-indicator-color: $white;
|
468
|
+
// $custom-control-active-indicator-bg: lighten($brand-primary, 35%);
|
361
469
|
// $custom-control-active-indicator-box-shadow: none;
|
362
470
|
|
363
471
|
// $custom-checkbox-radius: $border-radius;
|
364
|
-
// $custom-checkbox-checked-icon: 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-checked-indicator-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");
|
472
|
+
// $custom-checkbox-checked-icon: 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-checked-indicator-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");
|
365
473
|
|
366
|
-
// $custom-checkbox-indeterminate-bg:
|
474
|
+
// $custom-checkbox-indeterminate-bg: $brand-primary;
|
367
475
|
// $custom-checkbox-indeterminate-indicator-color: $custom-control-checked-indicator-color;
|
368
|
-
// $custom-checkbox-indeterminate-icon: 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-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E");
|
476
|
+
// $custom-checkbox-indeterminate-icon: 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-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23");
|
369
477
|
// $custom-checkbox-indeterminate-box-shadow: none;
|
370
478
|
|
371
479
|
// $custom-radio-radius: 50%;
|
372
|
-
// $custom-radio-checked-icon: 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-checked-indicator-color}'/%3E%3C/svg%3E");
|
480
|
+
// $custom-radio-checked-icon: 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-checked-indicator-color}'/%3E%3C/svg%3E"), "#", "%23");
|
373
481
|
|
374
482
|
// $custom-select-padding-x: .75rem ;
|
375
483
|
// $custom-select-padding-y: .375rem;
|
376
|
-
// $custom-select-indicator-padding:
|
377
|
-
// $custom-select-
|
378
|
-
// $custom-select-
|
379
|
-
// $custom-select-
|
484
|
+
// $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;
|
486
|
+
// $custom-select-color: $input-color;
|
487
|
+
// $custom-select-disabled-color: $gray-light;
|
488
|
+
// $custom-select-bg: $white;
|
380
489
|
// $custom-select-disabled-bg: $gray-lighter;
|
381
490
|
// $custom-select-bg-size: 8px 10px; // In pixels because image dimensions
|
382
491
|
// $custom-select-indicator-color: #333;
|
383
|
-
// $custom-select-indicator: 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");
|
492
|
+
// $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");
|
384
493
|
// $custom-select-border-width: $input-btn-border-width;
|
385
494
|
// $custom-select-border-color: $input-border-color;
|
386
495
|
// $custom-select-border-radius: $border-radius;
|
387
496
|
|
388
|
-
// $custom-select-focus-border-color:
|
389
|
-
// $custom-select-focus-box-shadow: inset 0 1px 2px rgba(
|
497
|
+
// $custom-select-focus-border-color: lighten($brand-primary, 25%);
|
498
|
+
// $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5);
|
390
499
|
|
391
|
-
// $custom-select-sm-padding-y:
|
392
|
-
// $custom-select-sm-font-size:
|
500
|
+
// $custom-select-sm-padding-y: .2rem;
|
501
|
+
// $custom-select-sm-font-size: 75%;
|
393
502
|
|
394
503
|
// $custom-file-height: 2.5rem;
|
395
504
|
// $custom-file-width: 14rem;
|
396
|
-
// $custom-file-focus-box-shadow: 0 0 0 .075rem
|
505
|
+
// $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem $brand-primary;
|
397
506
|
|
398
507
|
// $custom-file-padding-x: .5rem;
|
399
508
|
// $custom-file-padding-y: 1rem;
|
400
509
|
// $custom-file-line-height: 1.5;
|
401
|
-
// $custom-file-color:
|
402
|
-
// $custom-file-bg:
|
510
|
+
// $custom-file-color: $gray;
|
511
|
+
// $custom-file-bg: $white;
|
403
512
|
// $custom-file-border-width: $border-width;
|
404
|
-
// $custom-file-border-color:
|
513
|
+
// $custom-file-border-color: $input-border-color;
|
405
514
|
// $custom-file-border-radius: $border-radius;
|
406
|
-
// $custom-file-box-shadow: inset 0 .2rem .4rem rgba(
|
515
|
+
// $custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05);
|
407
516
|
// $custom-file-button-color: $custom-file-color;
|
408
|
-
// $custom-file-button-bg:
|
517
|
+
// $custom-file-button-bg: $gray-lighter;
|
409
518
|
// $custom-file-text: (
|
410
519
|
// placeholder: (
|
411
520
|
// en: "Choose file..."
|
@@ -418,13 +527,13 @@
|
|
418
527
|
|
419
528
|
// Form validation icons
|
420
529
|
// $form-icon-success-color: $brand-success;
|
421
|
-
// $form-icon-success: 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-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
|
530
|
+
// $form-icon-success: 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-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E"), "#", "%23");
|
422
531
|
|
423
532
|
// $form-icon-warning-color: $brand-warning;
|
424
|
-
// $form-icon-warning: 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");
|
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");
|
425
534
|
|
426
535
|
// $form-icon-danger-color: $brand-danger;
|
427
|
-
// $form-icon-danger: 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");
|
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");
|
428
537
|
|
429
538
|
|
430
539
|
// Dropdowns
|
@@ -434,15 +543,15 @@
|
|
434
543
|
// $dropdown-min-width: 10rem;
|
435
544
|
// $dropdown-padding-y: .5rem;
|
436
545
|
// $dropdown-margin-top: .125rem;
|
437
|
-
// $dropdown-bg:
|
438
|
-
// $dropdown-border-color: rgba(
|
546
|
+
// $dropdown-bg: $white;
|
547
|
+
// $dropdown-border-color: rgba($black,.15);
|
439
548
|
// $dropdown-border-width: $border-width;
|
440
|
-
// $dropdown-divider-bg:
|
441
|
-
// $dropdown-box-shadow: 0 .5rem 1rem rgba(
|
549
|
+
// $dropdown-divider-bg: $gray-lighter;
|
550
|
+
// $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175);
|
442
551
|
|
443
552
|
// $dropdown-link-color: $gray-dark;
|
444
553
|
// $dropdown-link-hover-color: darken($gray-dark, 5%);
|
445
|
-
// $dropdown-link-hover-bg:
|
554
|
+
// $dropdown-link-hover-bg: $gray-lightest;
|
446
555
|
|
447
556
|
// $dropdown-link-active-color: $component-active-color;
|
448
557
|
// $dropdown-link-active-bg: $component-active-bg;
|
@@ -460,14 +569,14 @@
|
|
460
569
|
// of components dependent on the z-axis and are designed to all work together.
|
461
570
|
|
462
571
|
// $zindex-dropdown-backdrop: 990;
|
463
|
-
// $zindex-navbar:
|
464
|
-
// $zindex-dropdown:
|
465
|
-
// $zindex-
|
466
|
-
// $zindex-
|
467
|
-
// $zindex-
|
468
|
-
// $zindex-
|
469
|
-
// $zindex-
|
470
|
-
// $zindex-
|
572
|
+
// $zindex-navbar: 1000;
|
573
|
+
// $zindex-dropdown: 1000;
|
574
|
+
// $zindex-fixed: 1030;
|
575
|
+
// $zindex-sticky: 1030;
|
576
|
+
// $zindex-modal-backdrop: 1040;
|
577
|
+
// $zindex-modal: 1050;
|
578
|
+
// $zindex-popover: 1060;
|
579
|
+
// $zindex-tooltip: 1070;
|
471
580
|
|
472
581
|
|
473
582
|
// Navbar
|
@@ -478,28 +587,24 @@
|
|
478
587
|
|
479
588
|
// $navbar-brand-padding-y: .25rem;
|
480
589
|
|
481
|
-
// $navbar-divider-padding-y: .425rem;
|
482
|
-
|
483
590
|
// $navbar-toggler-padding-x: .75rem;
|
484
|
-
// $navbar-toggler-padding-y: .
|
591
|
+
// $navbar-toggler-padding-y: .25rem;
|
485
592
|
// $navbar-toggler-font-size: $font-size-lg;
|
486
593
|
// $navbar-toggler-border-radius: $btn-border-radius;
|
487
|
-
|
488
|
-
// $navbar-
|
489
|
-
|
490
|
-
// $navbar-
|
491
|
-
// $navbar-
|
492
|
-
// $navbar-
|
493
|
-
// $navbar-
|
494
|
-
|
495
|
-
// $navbar-
|
496
|
-
|
497
|
-
// $navbar-light-color:
|
498
|
-
// $navbar-light-
|
499
|
-
// $navbar-light-
|
500
|
-
// $navbar-light-
|
501
|
-
// $navbar-light-toggler-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
|
502
|
-
// $navbar-light-toggler-border: rgba(0,0,0,.1);
|
594
|
+
|
595
|
+
// $navbar-inverse-color: rgba($white,.5);
|
596
|
+
// $navbar-inverse-hover-color: rgba($white,.75);
|
597
|
+
// $navbar-inverse-active-color: rgba($white,1);
|
598
|
+
// $navbar-inverse-disabled-color: rgba($white,.25);
|
599
|
+
// $navbar-inverse-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-inverse-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"), "#", "%23");
|
600
|
+
// $navbar-inverse-toggler-border: rgba($white,.1);
|
601
|
+
|
602
|
+
// $navbar-light-color: rgba($black,.5);
|
603
|
+
// $navbar-light-hover-color: rgba($black,.7);
|
604
|
+
// $navbar-light-active-color: rgba($black,.9);
|
605
|
+
// $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 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"), "#", "%23");
|
607
|
+
// $navbar-light-toggler-border: rgba($black,.1);
|
503
608
|
|
504
609
|
// Navs
|
505
610
|
|
@@ -508,8 +613,6 @@
|
|
508
613
|
// $nav-link-padding: .5em 1em;
|
509
614
|
// $nav-link-hover-bg: $gray-lighter;
|
510
615
|
// $nav-disabled-link-color: $gray-light;
|
511
|
-
// $nav-disabled-link-hover-color: $gray-light;
|
512
|
-
// $nav-disabled-link-hover-bg: transparent;
|
513
616
|
|
514
617
|
// $nav-tabs-border-color: #ddd;
|
515
618
|
// $nav-tabs-border-width: $border-width;
|
@@ -530,14 +633,14 @@
|
|
530
633
|
|
531
634
|
// $pagination-padding-x: .75rem;
|
532
635
|
// $pagination-padding-y: .5rem;
|
533
|
-
// $pagination-padding-x-sm: .
|
534
|
-
// $pagination-padding-y-sm: .
|
636
|
+
// $pagination-padding-x-sm: .5rem;
|
637
|
+
// $pagination-padding-y-sm: .25rem;
|
535
638
|
// $pagination-padding-x-lg: 1.5rem;
|
536
639
|
// $pagination-padding-y-lg: .75rem;
|
537
|
-
|
640
|
+
// $pagination-line-height: 1.25;
|
538
641
|
|
539
642
|
// $pagination-color: $link-color;
|
540
|
-
// $pagination-bg:
|
643
|
+
// $pagination-bg: $white;
|
541
644
|
// $pagination-border-width: $border-width;
|
542
645
|
// $pagination-border-color: #ddd;
|
543
646
|
|
@@ -545,12 +648,12 @@
|
|
545
648
|
// $pagination-hover-bg: $gray-lighter;
|
546
649
|
// $pagination-hover-border: #ddd;
|
547
650
|
|
548
|
-
// $pagination-active-color:
|
651
|
+
// $pagination-active-color: $white;
|
549
652
|
// $pagination-active-bg: $brand-primary;
|
550
653
|
// $pagination-active-border: $brand-primary;
|
551
654
|
|
552
655
|
// $pagination-disabled-color: $gray-light;
|
553
|
-
// $pagination-disabled-bg:
|
656
|
+
// $pagination-disabled-bg: $white;
|
554
657
|
// $pagination-disabled-border: #ddd;
|
555
658
|
|
556
659
|
|
@@ -583,29 +686,32 @@
|
|
583
686
|
|
584
687
|
|
585
688
|
// Cards
|
689
|
+
|
586
690
|
// $card-spacer-x: 1.25rem;
|
587
691
|
// $card-spacer-y: .75rem;
|
588
692
|
// $card-border-width: 1px;
|
589
693
|
// $card-border-radius: $border-radius;
|
590
|
-
// $card-border-color: rgba(
|
694
|
+
// $card-border-color: rgba($black,.125);
|
591
695
|
// $card-border-radius-inner: calc(#{$card-border-radius} - #{$card-border-width});
|
592
|
-
// $card-cap-bg:
|
593
|
-
// $card-bg:
|
696
|
+
// $card-cap-bg: $gray-lightest;
|
697
|
+
// $card-bg: $white;
|
594
698
|
|
595
|
-
// $card-link-hover-color:
|
699
|
+
// $card-link-hover-color: $white;
|
596
700
|
|
597
701
|
// $card-img-overlay-padding: 1.25rem;
|
598
702
|
|
599
|
-
// $card-deck-margin:
|
703
|
+
// $card-deck-margin: ($grid-gutter-width-base / 2);
|
600
704
|
|
601
|
-
// $card-columns-
|
705
|
+
// $card-columns-count: 3;
|
706
|
+
// $card-columns-gap: 1.25rem;
|
707
|
+
// $card-columns-margin: $card-spacer-y;
|
602
708
|
|
603
709
|
|
604
710
|
// Tooltips
|
605
711
|
|
606
712
|
// $tooltip-max-width: 200px;
|
607
|
-
// $tooltip-color:
|
608
|
-
// $tooltip-bg:
|
713
|
+
// $tooltip-color: $white;
|
714
|
+
// $tooltip-bg: $black;
|
609
715
|
// $tooltip-opacity: .9;
|
610
716
|
// $tooltip-padding-y: 3px;
|
611
717
|
// $tooltip-padding-x: 8px;
|
@@ -618,11 +724,11 @@
|
|
618
724
|
// Popovers
|
619
725
|
|
620
726
|
// $popover-inner-padding: 1px;
|
621
|
-
// $popover-bg:
|
727
|
+
// $popover-bg: $white;
|
622
728
|
// $popover-max-width: 276px;
|
623
729
|
// $popover-border-width: $border-width;
|
624
|
-
// $popover-border-color: rgba(
|
625
|
-
// $popover-box-shadow: 0 5px 10px rgba(
|
730
|
+
// $popover-border-color: rgba($black,.2);
|
731
|
+
// $popover-box-shadow: 0 5px 10px rgba($black,.2);
|
626
732
|
|
627
733
|
// $popover-title-bg: darken($popover-bg, 3%);
|
628
734
|
// $popover-title-padding-x: 14px;
|
@@ -638,26 +744,27 @@
|
|
638
744
|
// $popover-arrow-outer-color: fade-in($popover-border-color, .05);
|
639
745
|
|
640
746
|
|
641
|
-
//
|
747
|
+
// Badges
|
642
748
|
|
643
|
-
// $
|
644
|
-
// $
|
645
|
-
// $
|
646
|
-
// $
|
647
|
-
// $
|
648
|
-
// $
|
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;
|
649
755
|
|
650
|
-
// $
|
651
|
-
// $
|
652
|
-
// $
|
653
|
-
// $
|
654
|
-
// $
|
655
|
-
// $
|
756
|
+
// $badge-color: $white;
|
757
|
+
// $badge-link-hover-color: $white;
|
758
|
+
// $badge-font-size: 75%;
|
759
|
+
// $badge-font-weight: $font-weight-bold;
|
760
|
+
// $badge-padding-x: .4em;
|
761
|
+
// $badge-padding-y: .25em;
|
656
762
|
|
657
|
-
// $
|
763
|
+
// $badge-pill-padding-x: .6em;
|
658
764
|
// Use a higher than normal value to ensure completely rounded edges when
|
659
765
|
// customizing padding or font-size on labels.
|
660
|
-
// $
|
766
|
+
// $badge-pill-border-radius: 10rem;
|
767
|
+
|
661
768
|
|
662
769
|
// Modals
|
663
770
|
|
@@ -667,26 +774,28 @@
|
|
667
774
|
// $modal-dialog-margin: 10px;
|
668
775
|
// $modal-dialog-sm-up-margin-y: 30px;
|
669
776
|
|
670
|
-
// $modal-title-padding: 15px;
|
671
777
|
// $modal-title-line-height: $line-height-base;
|
672
778
|
|
673
|
-
// $modal-content-bg:
|
674
|
-
// $modal-content-border-color: rgba(
|
779
|
+
// $modal-content-bg: $white;
|
780
|
+
// $modal-content-border-color: rgba($black,.2);
|
675
781
|
// $modal-content-border-width: $border-width;
|
676
|
-
// $modal-content-xs-box-shadow: 0 3px 9px rgba(
|
677
|
-
// $modal-content-sm-up-box-shadow: 0 5px 15px rgba(
|
782
|
+
// $modal-content-xs-box-shadow: 0 3px 9px rgba($black,.5);
|
783
|
+
// $modal-content-sm-up-box-shadow: 0 5px 15px rgba($black,.5);
|
678
784
|
|
679
|
-
// $modal-backdrop-bg:
|
785
|
+
// $modal-backdrop-bg: $black;
|
680
786
|
// $modal-backdrop-opacity: .5;
|
681
|
-
// $modal-header-border-color:
|
787
|
+
// $modal-header-border-color: $gray-lighter;
|
682
788
|
// $modal-footer-border-color: $modal-header-border-color;
|
683
789
|
// $modal-header-border-width: $modal-content-border-width;
|
684
790
|
// $modal-footer-border-width: $modal-header-border-width;
|
791
|
+
// $modal-header-padding: 15px;
|
685
792
|
|
686
|
-
// $modal-lg:
|
687
|
-
// $modal-md:
|
793
|
+
// $modal-lg: 800px;
|
794
|
+
// $modal-md: 500px;
|
688
795
|
// $modal-sm: 300px;
|
689
796
|
|
797
|
+
// $modal-transition: transform .3s ease-out;
|
798
|
+
|
690
799
|
|
691
800
|
// Alerts
|
692
801
|
//
|
@@ -694,8 +803,9 @@
|
|
694
803
|
|
695
804
|
// $alert-padding-x: 1.25rem;
|
696
805
|
// $alert-padding-y: .75rem;
|
806
|
+
// $alert-margin-bottom: $spacer-y;
|
697
807
|
// $alert-border-radius: $border-radius;
|
698
|
-
// $alert-link-font-weight: bold;
|
808
|
+
// $alert-link-font-weight: $font-weight-bold;
|
699
809
|
// $alert-border-width: $border-width;
|
700
810
|
|
701
811
|
// $alert-success-bg: $state-success-bg;
|
@@ -717,42 +827,42 @@
|
|
717
827
|
|
718
828
|
// Progress bars
|
719
829
|
|
720
|
-
// $progress-
|
721
|
-
// $progress-
|
722
|
-
// $progress-
|
723
|
-
// $progress-
|
724
|
-
|
725
|
-
// $progress-bar-
|
726
|
-
// $progress-bar-
|
727
|
-
// $progress-bar-
|
728
|
-
// $progress-bar-danger-bg: $brand-danger;
|
729
|
-
// $progress-bar-info-bg: $brand-info;
|
730
|
-
|
830
|
+
// $progress-height: 1rem;
|
831
|
+
// $progress-font-size: .75rem;
|
832
|
+
// $progress-bg: $gray-lighter;
|
833
|
+
// $progress-border-radius: $border-radius;
|
834
|
+
// $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1);
|
835
|
+
// $progress-bar-color: $white;
|
836
|
+
// $progress-bar-bg: $brand-primary;
|
837
|
+
// $progress-bar-animation-timing: 1s linear infinite;
|
731
838
|
|
732
839
|
// List group
|
733
840
|
|
734
|
-
// $list-group-
|
735
|
-
// $list-group-
|
736
|
-
// $list-group-border-
|
737
|
-
// $list-group-border-
|
841
|
+
// $list-group-color: $body-color;
|
842
|
+
// $list-group-bg: $white;
|
843
|
+
// $list-group-border-color: rgba($black,.125);
|
844
|
+
// $list-group-border-width: $border-width;
|
845
|
+
// $list-group-border-radius: $border-radius;
|
846
|
+
|
847
|
+
// $list-group-item-padding-x: 1.25rem;
|
848
|
+
// $list-group-item-padding-y: .75rem;
|
738
849
|
|
739
|
-
// $list-group-hover-bg:
|
740
|
-
// $list-group-active-color:
|
741
|
-
// $list-group-active-bg:
|
742
|
-
// $list-group-active-border:
|
743
|
-
// $list-group-active-text-color:
|
850
|
+
// $list-group-hover-bg: $gray-lightest;
|
851
|
+
// $list-group-active-color: $component-active-color;
|
852
|
+
// $list-group-active-bg: $component-active-bg;
|
853
|
+
// $list-group-active-border: $list-group-active-bg;
|
854
|
+
// $list-group-active-text-color: lighten($list-group-active-bg, 50%);
|
744
855
|
|
745
856
|
// $list-group-disabled-color: $gray-light;
|
746
|
-
// $list-group-disabled-bg: $
|
857
|
+
// $list-group-disabled-bg: $list-group-bg;
|
747
858
|
// $list-group-disabled-text-color: $list-group-disabled-color;
|
748
859
|
|
749
|
-
// $list-group-link-color:
|
750
|
-
// $list-group-link-
|
751
|
-
// $list-group-link-
|
860
|
+
// $list-group-link-color: $gray;
|
861
|
+
// $list-group-link-heading-color: $gray-dark;
|
862
|
+
// $list-group-link-hover-color: $list-group-link-color;
|
752
863
|
|
753
|
-
// $list-group-
|
754
|
-
// $list-group-
|
755
|
-
// $list-group-item-heading-margin-bottom: 5px;
|
864
|
+
// $list-group-link-active-color: $list-group-color;
|
865
|
+
// $list-group-link-active-bg: $gray-lighter;
|
756
866
|
|
757
867
|
|
758
868
|
// Image thumbnails
|
@@ -762,12 +872,14 @@
|
|
762
872
|
// $thumbnail-border-width: $border-width;
|
763
873
|
// $thumbnail-border-color: #ddd;
|
764
874
|
// $thumbnail-border-radius: $border-radius;
|
765
|
-
// $thumbnail-box-shadow: 0 1px 2px rgba(
|
875
|
+
// $thumbnail-box-shadow: 0 1px 2px rgba($black,.075);
|
876
|
+
// $thumbnail-transition: all .2s ease-in-out;
|
766
877
|
|
767
878
|
|
768
879
|
// Figures
|
769
880
|
|
770
881
|
// $figure-caption-font-size: 90%;
|
882
|
+
// $figure-caption-color: $gray-light;
|
771
883
|
|
772
884
|
|
773
885
|
// Breadcrumbs
|
@@ -782,42 +894,34 @@
|
|
782
894
|
// $breadcrumb-divider: "/";
|
783
895
|
|
784
896
|
|
785
|
-
// Media objects
|
786
|
-
|
787
|
-
// $media-margin-top: 15px;
|
788
|
-
// $media-heading-margin-bottom: 5px;
|
789
|
-
// $media-alignment-padding-x: 10px;
|
790
|
-
|
791
|
-
|
792
897
|
// Carousel
|
793
898
|
|
794
|
-
// $carousel-
|
795
|
-
|
796
|
-
// $carousel-control-color: #fff;
|
899
|
+
// $carousel-control-color: $white;
|
797
900
|
// $carousel-control-width: 15%;
|
798
|
-
// $carousel-control-sm-up-size: 30px;
|
799
901
|
// $carousel-control-opacity: .5;
|
800
|
-
// $carousel-control-font-size: 20px;
|
801
|
-
|
802
|
-
// $carousel-indicators-width: 60%;
|
803
902
|
|
804
|
-
// $carousel-indicator-
|
805
|
-
// $carousel-indicator-
|
806
|
-
// $carousel-indicator-
|
807
|
-
// $carousel-indicator-
|
903
|
+
// $carousel-indicator-width: 30px;
|
904
|
+
// $carousel-indicator-height: 3px;
|
905
|
+
// $carousel-indicator-spacer: 3px;
|
906
|
+
// $carousel-indicator-active-bg: $white;
|
808
907
|
|
809
908
|
// $carousel-caption-width: 70%;
|
810
|
-
// $carousel-caption-
|
811
|
-
|
909
|
+
// $carousel-caption-color: $white;
|
910
|
+
|
911
|
+
// $carousel-control-icon-width: 20px;
|
912
|
+
|
913
|
+
// $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
|
+
// $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");
|
812
915
|
|
813
|
-
// $carousel-
|
916
|
+
// $carousel-transition: transform .6s ease-in-out;
|
814
917
|
|
815
918
|
|
816
919
|
// Close
|
817
920
|
|
818
|
-
// $close-font-
|
819
|
-
// $close-
|
820
|
-
// $close-
|
921
|
+
// $close-font-size: $font-size-base * 1.5;
|
922
|
+
// $close-font-weight: $font-weight-bold;
|
923
|
+
// $close-color: $black;
|
924
|
+
// $close-text-shadow: 0 1px 0 $white;
|
821
925
|
|
822
926
|
|
823
927
|
// Code
|
@@ -826,12 +930,12 @@
|
|
826
930
|
// $code-padding-x: .4rem;
|
827
931
|
// $code-padding-y: .2rem;
|
828
932
|
// $code-color: #bd4147;
|
829
|
-
// $code-bg:
|
933
|
+
// $code-bg: $gray-lightest;
|
830
934
|
|
831
|
-
// $kbd-color:
|
832
|
-
// $kbd-bg:
|
935
|
+
// $kbd-color: $white;
|
936
|
+
// $kbd-bg: $gray-dark;
|
833
937
|
|
834
|
-
// $pre-bg:
|
938
|
+
// $pre-bg: $gray-lightest;
|
835
939
|
// $pre-color: $gray-dark;
|
836
940
|
// $pre-border-color: #ccc;
|
837
941
|
// $pre-scrollable-max-height: 340px;
|