jekyll-applelike-theme 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/default.html +4 -1
- data/_sass/bootstrap/functions.scss +105 -0
- data/_sass/bootstrap/mixins/breakpoints.scss +126 -0
- data/_sass/bootstrap/variables.scss +1104 -0
- data/_sass/jekyll-applelike-theme.scss +28 -0
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec904ac35e65b7145725f366124872f6dbf85b3e
|
4
|
+
data.tar.gz: eff54101e4e143397682b5a51ca8ed26b9f62065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c1cb1feab467cf447f8729686f51b2e3b7d6798491911d8085f2616d2dd62d3f3076be66fed30ebfa3f4011e574a45aa97eaf2bb2af1e549ef11f7f41a8e697
|
7
|
+
data.tar.gz: 165d4fc680153ca897f7f019bc551c282beeb091b8c1752728f34bc9e53f81f052d4a039319f4ed6f7dfb27e6ca9a1344453c3022be86dbec4446474376bac4d
|
data/_layouts/default.html
CHANGED
@@ -9,7 +9,10 @@
|
|
9
9
|
</head>
|
10
10
|
<body>
|
11
11
|
{% include navigation.html %}
|
12
|
-
|
12
|
+
<!--main id="content" class="main-content" role="main"-->
|
13
|
+
<main class="content">
|
14
|
+
{{ content }}
|
15
|
+
</main>
|
13
16
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
14
17
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
15
18
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
@@ -0,0 +1,105 @@
|
|
1
|
+
// Bootstrap functions
|
2
|
+
//
|
3
|
+
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
|
4
|
+
|
5
|
+
// Ascending
|
6
|
+
// Used to evaluate Sass maps like our grid breakpoints.
|
7
|
+
@mixin _assert-ascending($map, $map-name) {
|
8
|
+
$prev-key: null;
|
9
|
+
$prev-num: null;
|
10
|
+
@each $key, $num in $map {
|
11
|
+
@if $prev-num == null or unit($num) == "%" or unit($prev-num) == "%" {
|
12
|
+
// Do nothing
|
13
|
+
} @else if not comparable($prev-num, $num) {
|
14
|
+
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
15
|
+
} @else if $prev-num >= $num {
|
16
|
+
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
17
|
+
}
|
18
|
+
$prev-key: $key;
|
19
|
+
$prev-num: $num;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Starts at zero
|
24
|
+
// Used to ensure the min-width of the lowest breakpoint starts at 0.
|
25
|
+
@mixin _assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
|
26
|
+
$values: map-values($map);
|
27
|
+
$first-value: nth($values, 1);
|
28
|
+
@if $first-value != 0 {
|
29
|
+
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Internal Bootstrap function to turn maps into its negative variant.
|
34
|
+
// It prefixes the keys with `n` and makes the value negative.
|
35
|
+
@function negativify-map($map) {
|
36
|
+
$result: ();
|
37
|
+
@each $key, $value in $map {
|
38
|
+
@if $key != 0 {
|
39
|
+
$result: map-merge($result, ("n" + $key: (-$value)));
|
40
|
+
}
|
41
|
+
}
|
42
|
+
@return $result;
|
43
|
+
}
|
44
|
+
|
45
|
+
// Get multiple keys from a sass map
|
46
|
+
@function map-get-multiple($map, $values) {
|
47
|
+
$result: ();
|
48
|
+
@each $key, $value in $map {
|
49
|
+
@if (index($values, $key) != null) {
|
50
|
+
$result: map-merge($result, ($key: $value));
|
51
|
+
}
|
52
|
+
}
|
53
|
+
@return $map;
|
54
|
+
}
|
55
|
+
|
56
|
+
// Replace `$search` with `$replace` in `$string`
|
57
|
+
// Used on our SVG icon backgrounds for custom forms.
|
58
|
+
//
|
59
|
+
// @author Hugo Giraudel
|
60
|
+
// @param {String} $string - Initial string
|
61
|
+
// @param {String} $search - Substring to replace
|
62
|
+
// @param {String} $replace ('') - New value
|
63
|
+
// @return {String} - Updated string
|
64
|
+
@function str-replace($string, $search, $replace: "") {
|
65
|
+
$index: str-index($string, $search);
|
66
|
+
|
67
|
+
@if $index {
|
68
|
+
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
69
|
+
}
|
70
|
+
|
71
|
+
@return $string;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Color contrast
|
75
|
+
@function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
|
76
|
+
$r: red($color);
|
77
|
+
$g: green($color);
|
78
|
+
$b: blue($color);
|
79
|
+
|
80
|
+
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
|
81
|
+
|
82
|
+
@return if($yiq >= $yiq-contrasted-threshold, $dark, $light);
|
83
|
+
}
|
84
|
+
|
85
|
+
// Retrieve color Sass maps
|
86
|
+
@function color($key: "blue") {
|
87
|
+
@return map-get($colors, $key);
|
88
|
+
}
|
89
|
+
|
90
|
+
@function theme-color($key: "primary") {
|
91
|
+
@return map-get($theme-colors, $key);
|
92
|
+
}
|
93
|
+
|
94
|
+
@function gray($key: "100") {
|
95
|
+
@return map-get($grays, $key);
|
96
|
+
}
|
97
|
+
|
98
|
+
// Request a theme color level
|
99
|
+
@function theme-color-level($color-name: "primary", $level: 0) {
|
100
|
+
$color: theme-color($color-name);
|
101
|
+
$color-base: if($level > 0, $black, $white);
|
102
|
+
$level: abs($level);
|
103
|
+
|
104
|
+
@return mix($color-base, $color, $level * $theme-color-interval);
|
105
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
// Breakpoint viewport sizes and media queries.
|
2
|
+
//
|
3
|
+
// Breakpoints are defined as a map of (name: minimum width), order from small to large:
|
4
|
+
//
|
5
|
+
// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)
|
6
|
+
//
|
7
|
+
// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
|
8
|
+
|
9
|
+
// Name of the next breakpoint, or null for the last breakpoint.
|
10
|
+
//
|
11
|
+
// >> breakpoint-next(sm)
|
12
|
+
// md
|
13
|
+
// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
14
|
+
// md
|
15
|
+
// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
|
16
|
+
// md
|
17
|
+
@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {
|
18
|
+
$n: index($breakpoint-names, $name);
|
19
|
+
@if not $n {
|
20
|
+
@error "breakpoint `#{$name}` not found in `#{$breakpoints}`";
|
21
|
+
}
|
22
|
+
@return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);
|
23
|
+
}
|
24
|
+
|
25
|
+
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
|
26
|
+
//
|
27
|
+
// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
28
|
+
// 576px
|
29
|
+
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
|
30
|
+
$min: map-get($breakpoints, $name);
|
31
|
+
@return if($min != 0, $min, null);
|
32
|
+
}
|
33
|
+
|
34
|
+
// Maximum breakpoint width. Null for the largest (last) breakpoint.
|
35
|
+
// The maximum value is calculated as the minimum of the next one less 0.02px
|
36
|
+
// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.
|
37
|
+
// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max
|
38
|
+
// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.
|
39
|
+
// See https://bugs.webkit.org/show_bug.cgi?id=178261
|
40
|
+
//
|
41
|
+
// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
42
|
+
// 767.98px
|
43
|
+
@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
|
44
|
+
$next: breakpoint-next($name, $breakpoints);
|
45
|
+
@return if($next, breakpoint-min($next, $breakpoints) - .02, null);
|
46
|
+
}
|
47
|
+
|
48
|
+
// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.
|
49
|
+
// Useful for making responsive utilities.
|
50
|
+
//
|
51
|
+
// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
52
|
+
// "" (Returns a blank string)
|
53
|
+
// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
54
|
+
// "-sm"
|
55
|
+
@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
|
56
|
+
@return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}");
|
57
|
+
}
|
58
|
+
|
59
|
+
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|
60
|
+
// Makes the @content apply to the given breakpoint and wider.
|
61
|
+
@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
|
62
|
+
$min: breakpoint-min($name, $breakpoints);
|
63
|
+
@if $min {
|
64
|
+
@media (min-width: $min) {
|
65
|
+
@content;
|
66
|
+
}
|
67
|
+
} @else {
|
68
|
+
@content;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
|
73
|
+
// Makes the @content apply to the given breakpoint and narrower.
|
74
|
+
@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
|
75
|
+
$max: breakpoint-max($name, $breakpoints);
|
76
|
+
@if $max {
|
77
|
+
@media (max-width: $max) {
|
78
|
+
@content;
|
79
|
+
}
|
80
|
+
} @else {
|
81
|
+
@content;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// Media that spans multiple breakpoint widths.
|
86
|
+
// Makes the @content apply between the min and max breakpoints
|
87
|
+
@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
|
88
|
+
$min: breakpoint-min($lower, $breakpoints);
|
89
|
+
$max: breakpoint-max($upper, $breakpoints);
|
90
|
+
|
91
|
+
@if $min != null and $max != null {
|
92
|
+
@media (min-width: $min) and (max-width: $max) {
|
93
|
+
@content;
|
94
|
+
}
|
95
|
+
} @else if $max == null {
|
96
|
+
@include media-breakpoint-up($lower, $breakpoints) {
|
97
|
+
@content;
|
98
|
+
}
|
99
|
+
} @else if $min == null {
|
100
|
+
@include media-breakpoint-down($upper, $breakpoints) {
|
101
|
+
@content;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Media between the breakpoint's minimum and maximum widths.
|
107
|
+
// No minimum for the smallest breakpoint, and no maximum for the largest one.
|
108
|
+
// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
|
109
|
+
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
110
|
+
$min: breakpoint-min($name, $breakpoints);
|
111
|
+
$max: breakpoint-max($name, $breakpoints);
|
112
|
+
|
113
|
+
@if $min != null and $max != null {
|
114
|
+
@media (min-width: $min) and (max-width: $max) {
|
115
|
+
@content;
|
116
|
+
}
|
117
|
+
} @else if $max == null {
|
118
|
+
@include media-breakpoint-up($name, $breakpoints) {
|
119
|
+
@content;
|
120
|
+
}
|
121
|
+
} @else if $min == null {
|
122
|
+
@include media-breakpoint-down($name, $breakpoints) {
|
123
|
+
@content;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
@@ -0,0 +1,1104 @@
|
|
1
|
+
// Variables
|
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.
|
5
|
+
|
6
|
+
// Color system
|
7
|
+
|
8
|
+
$white: #fff !default;
|
9
|
+
$gray-100: #f8f9fa !default;
|
10
|
+
$gray-200: #e9ecef !default;
|
11
|
+
$gray-300: #dee2e6 !default;
|
12
|
+
$gray-400: #ced4da !default;
|
13
|
+
$gray-500: #adb5bd !default;
|
14
|
+
$gray-600: #6c757d !default;
|
15
|
+
$gray-700: #495057 !default;
|
16
|
+
$gray-800: #343a40 !default;
|
17
|
+
$gray-900: #212529 !default;
|
18
|
+
$black: #000 !default;
|
19
|
+
|
20
|
+
$grays: () !default;
|
21
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
22
|
+
$grays: map-merge(
|
23
|
+
(
|
24
|
+
"100": $gray-100,
|
25
|
+
"200": $gray-200,
|
26
|
+
"300": $gray-300,
|
27
|
+
"400": $gray-400,
|
28
|
+
"500": $gray-500,
|
29
|
+
"600": $gray-600,
|
30
|
+
"700": $gray-700,
|
31
|
+
"800": $gray-800,
|
32
|
+
"900": $gray-900
|
33
|
+
),
|
34
|
+
$grays
|
35
|
+
);
|
36
|
+
|
37
|
+
$blue: #007bff !default;
|
38
|
+
$indigo: #6610f2 !default;
|
39
|
+
$purple: #6f42c1 !default;
|
40
|
+
$pink: #e83e8c !default;
|
41
|
+
$red: #dc3545 !default;
|
42
|
+
$orange: #fd7e14 !default;
|
43
|
+
$yellow: #ffc107 !default;
|
44
|
+
$green: #28a745 !default;
|
45
|
+
$teal: #20c997 !default;
|
46
|
+
$cyan: #17a2b8 !default;
|
47
|
+
|
48
|
+
$colors: () !default;
|
49
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
50
|
+
$colors: map-merge(
|
51
|
+
(
|
52
|
+
"blue": $blue,
|
53
|
+
"indigo": $indigo,
|
54
|
+
"purple": $purple,
|
55
|
+
"pink": $pink,
|
56
|
+
"red": $red,
|
57
|
+
"orange": $orange,
|
58
|
+
"yellow": $yellow,
|
59
|
+
"green": $green,
|
60
|
+
"teal": $teal,
|
61
|
+
"cyan": $cyan,
|
62
|
+
"white": $white,
|
63
|
+
"gray": $gray-600,
|
64
|
+
"gray-dark": $gray-800
|
65
|
+
),
|
66
|
+
$colors
|
67
|
+
);
|
68
|
+
|
69
|
+
$primary: $blue !default;
|
70
|
+
$secondary: $gray-600 !default;
|
71
|
+
$success: $green !default;
|
72
|
+
$info: $cyan !default;
|
73
|
+
$warning: $yellow !default;
|
74
|
+
$danger: $red !default;
|
75
|
+
$light: $gray-100 !default;
|
76
|
+
$dark: $gray-800 !default;
|
77
|
+
|
78
|
+
$theme-colors: () !default;
|
79
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
80
|
+
$theme-colors: map-merge(
|
81
|
+
(
|
82
|
+
"primary": $primary,
|
83
|
+
"secondary": $secondary,
|
84
|
+
"success": $success,
|
85
|
+
"info": $info,
|
86
|
+
"warning": $warning,
|
87
|
+
"danger": $danger,
|
88
|
+
"light": $light,
|
89
|
+
"dark": $dark
|
90
|
+
),
|
91
|
+
$theme-colors
|
92
|
+
);
|
93
|
+
|
94
|
+
// Set a specific jump point for requesting color jumps
|
95
|
+
$theme-color-interval: 8% !default;
|
96
|
+
|
97
|
+
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
|
98
|
+
$yiq-contrasted-threshold: 150 !default;
|
99
|
+
|
100
|
+
// Customize the light and dark text colors for use in our YIQ color contrast function.
|
101
|
+
$yiq-text-dark: $gray-900 !default;
|
102
|
+
$yiq-text-light: $white !default;
|
103
|
+
|
104
|
+
|
105
|
+
// Options
|
106
|
+
//
|
107
|
+
// Quickly modify global styling by enabling or disabling optional features.
|
108
|
+
|
109
|
+
$enable-caret: true !default;
|
110
|
+
$enable-rounded: true !default;
|
111
|
+
$enable-shadows: false !default;
|
112
|
+
$enable-gradients: false !default;
|
113
|
+
$enable-transitions: true !default;
|
114
|
+
$enable-prefers-reduced-motion-media-query: true !default;
|
115
|
+
$enable-grid-classes: true !default;
|
116
|
+
$enable-pointer-cursor-for-buttons: true !default;
|
117
|
+
$enable-responsive-font-sizes: false !default;
|
118
|
+
$enable-validation-icons: true !default;
|
119
|
+
$enable-deprecation-messages: true !default;
|
120
|
+
|
121
|
+
|
122
|
+
// Spacing
|
123
|
+
//
|
124
|
+
// Control the default styling of most Bootstrap elements by modifying these
|
125
|
+
// variables. Mostly focused on spacing.
|
126
|
+
// You can add more entries to the $spacers map, should you need more variation.
|
127
|
+
|
128
|
+
$spacer: 1rem !default;
|
129
|
+
$spacers: () !default;
|
130
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
131
|
+
$spacers: map-merge(
|
132
|
+
(
|
133
|
+
0: 0,
|
134
|
+
1: $spacer * .25,
|
135
|
+
2: $spacer * .5,
|
136
|
+
3: $spacer,
|
137
|
+
4: $spacer * 1.5,
|
138
|
+
5: $spacer * 3,
|
139
|
+
),
|
140
|
+
$spacers
|
141
|
+
);
|
142
|
+
|
143
|
+
$negative-spacers: negativify-map($spacers) !default;
|
144
|
+
|
145
|
+
// Body
|
146
|
+
//
|
147
|
+
// Settings for the `<body>` element.
|
148
|
+
|
149
|
+
$body-bg: $white !default;
|
150
|
+
$body-color: $gray-900 !default;
|
151
|
+
|
152
|
+
|
153
|
+
// Links
|
154
|
+
//
|
155
|
+
// Style anchor elements.
|
156
|
+
|
157
|
+
$link-color: theme-color("primary") !default;
|
158
|
+
$link-decoration: none !default;
|
159
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
160
|
+
$link-hover-decoration: underline !default;
|
161
|
+
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
|
162
|
+
$emphasized-link-hover-darken-percentage: 15% !default;
|
163
|
+
|
164
|
+
$stretched-link-pseudo-element: after !default;
|
165
|
+
$stretched-link-z-index: 1 !default;
|
166
|
+
|
167
|
+
// Paragraphs
|
168
|
+
//
|
169
|
+
// Style p element.
|
170
|
+
|
171
|
+
$paragraph-margin-bottom: 1rem !default;
|
172
|
+
|
173
|
+
|
174
|
+
// Grid breakpoints
|
175
|
+
//
|
176
|
+
// Define the minimum dimensions at which your layout will change,
|
177
|
+
// adapting to different screen sizes, for use in media queries.
|
178
|
+
|
179
|
+
$grid-breakpoints: (
|
180
|
+
xs: 0,
|
181
|
+
sm: 576px,
|
182
|
+
md: 768px,
|
183
|
+
lg: 992px,
|
184
|
+
xl: 1200px
|
185
|
+
) !default;
|
186
|
+
|
187
|
+
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
188
|
+
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
189
|
+
|
190
|
+
|
191
|
+
// Grid containers
|
192
|
+
//
|
193
|
+
// Define the maximum width of `.container` for different screen sizes.
|
194
|
+
|
195
|
+
$container-max-widths: (
|
196
|
+
sm: 540px,
|
197
|
+
md: 720px,
|
198
|
+
lg: 960px,
|
199
|
+
xl: 1140px
|
200
|
+
) !default;
|
201
|
+
|
202
|
+
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
203
|
+
|
204
|
+
|
205
|
+
// Grid columns
|
206
|
+
//
|
207
|
+
// Set the number of columns and specify the width of the gutters.
|
208
|
+
|
209
|
+
$grid-columns: 12 !default;
|
210
|
+
$grid-gutter-width: 30px !default;
|
211
|
+
|
212
|
+
|
213
|
+
// Container padding
|
214
|
+
|
215
|
+
$container-padding-x: $grid-gutter-width / 2 !default;
|
216
|
+
|
217
|
+
|
218
|
+
// Components
|
219
|
+
//
|
220
|
+
// Define common padding and border radius sizes and more.
|
221
|
+
|
222
|
+
$line-height-lg: 1.5 !default;
|
223
|
+
$line-height-sm: 1.5 !default;
|
224
|
+
|
225
|
+
$border-width: 1px !default;
|
226
|
+
$border-color: $gray-300 !default;
|
227
|
+
|
228
|
+
$border-radius: .25rem !default;
|
229
|
+
$border-radius-lg: .3rem !default;
|
230
|
+
$border-radius-sm: .2rem !default;
|
231
|
+
|
232
|
+
$rounded-pill: 50rem !default;
|
233
|
+
|
234
|
+
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
235
|
+
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
236
|
+
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
237
|
+
|
238
|
+
$component-active-color: $white !default;
|
239
|
+
$component-active-bg: theme-color("primary") !default;
|
240
|
+
|
241
|
+
$caret-width: .3em !default;
|
242
|
+
$caret-vertical-align: $caret-width * .85 !default;
|
243
|
+
$caret-spacing: $caret-width * .85 !default;
|
244
|
+
|
245
|
+
$transition-base: all .2s ease-in-out !default;
|
246
|
+
$transition-fade: opacity .15s linear !default;
|
247
|
+
$transition-collapse: height .35s ease !default;
|
248
|
+
|
249
|
+
$embed-responsive-aspect-ratios: () !default;
|
250
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
251
|
+
$embed-responsive-aspect-ratios: map-merge(
|
252
|
+
(
|
253
|
+
"21by9": (
|
254
|
+
x: 21,
|
255
|
+
y: 9
|
256
|
+
),
|
257
|
+
"16by9": (
|
258
|
+
x: 16,
|
259
|
+
y: 9
|
260
|
+
),
|
261
|
+
"4by3": (
|
262
|
+
x: 4,
|
263
|
+
y: 3
|
264
|
+
),
|
265
|
+
"1by1": (
|
266
|
+
x: 1,
|
267
|
+
y: 1
|
268
|
+
)
|
269
|
+
),
|
270
|
+
$embed-responsive-aspect-ratios
|
271
|
+
);
|
272
|
+
|
273
|
+
// Typography
|
274
|
+
//
|
275
|
+
// Font, line-height, and color for body text, headings, and more.
|
276
|
+
|
277
|
+
// stylelint-disable value-keyword-case
|
278
|
+
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
279
|
+
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
280
|
+
$font-family-base: $font-family-sans-serif !default;
|
281
|
+
// stylelint-enable value-keyword-case
|
282
|
+
|
283
|
+
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
284
|
+
$font-size-lg: $font-size-base * 1.25 !default;
|
285
|
+
$font-size-sm: $font-size-base * .875 !default;
|
286
|
+
|
287
|
+
$font-weight-lighter: lighter !default;
|
288
|
+
$font-weight-light: 300 !default;
|
289
|
+
$font-weight-normal: 400 !default;
|
290
|
+
$font-weight-bold: 700 !default;
|
291
|
+
$font-weight-bolder: bolder !default;
|
292
|
+
|
293
|
+
$font-weight-base: $font-weight-normal !default;
|
294
|
+
$line-height-base: 1.5 !default;
|
295
|
+
|
296
|
+
$h1-font-size: $font-size-base * 2.5 !default;
|
297
|
+
$h2-font-size: $font-size-base * 2 !default;
|
298
|
+
$h3-font-size: $font-size-base * 1.75 !default;
|
299
|
+
$h4-font-size: $font-size-base * 1.5 !default;
|
300
|
+
$h5-font-size: $font-size-base * 1.25 !default;
|
301
|
+
$h6-font-size: $font-size-base !default;
|
302
|
+
|
303
|
+
$headings-margin-bottom: $spacer / 2 !default;
|
304
|
+
$headings-font-family: null !default;
|
305
|
+
$headings-font-style: null !default;
|
306
|
+
$headings-font-weight: 500 !default;
|
307
|
+
$headings-line-height: 1.2 !default;
|
308
|
+
$headings-color: null !default;
|
309
|
+
|
310
|
+
$display1-size: 6rem !default;
|
311
|
+
$display2-size: 5.5rem !default;
|
312
|
+
$display3-size: 4.5rem !default;
|
313
|
+
$display4-size: 3.5rem !default;
|
314
|
+
|
315
|
+
$display1-weight: 300 !default;
|
316
|
+
$display2-weight: 300 !default;
|
317
|
+
$display3-weight: 300 !default;
|
318
|
+
$display4-weight: 300 !default;
|
319
|
+
$display-line-height: $headings-line-height !default;
|
320
|
+
|
321
|
+
$lead-font-size: $font-size-base * 1.25 !default;
|
322
|
+
$lead-font-weight: 300 !default;
|
323
|
+
|
324
|
+
$small-font-size: 80% !default;
|
325
|
+
|
326
|
+
$text-muted: $gray-600 !default;
|
327
|
+
|
328
|
+
$blockquote-small-color: $gray-600 !default;
|
329
|
+
$blockquote-small-font-size: $small-font-size !default;
|
330
|
+
$blockquote-font-size: $font-size-base * 1.25 !default;
|
331
|
+
|
332
|
+
$hr-color: inherit !default;
|
333
|
+
$hr-height: $border-width !default;
|
334
|
+
$hr-opacity: .25 !default;
|
335
|
+
|
336
|
+
$mark-padding: .2em !default;
|
337
|
+
|
338
|
+
$dt-font-weight: $font-weight-bold !default;
|
339
|
+
|
340
|
+
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
|
341
|
+
$nested-kbd-font-weight: $font-weight-bold !default;
|
342
|
+
|
343
|
+
$list-inline-padding: .5rem !default;
|
344
|
+
|
345
|
+
$mark-bg: #fcf8e3 !default;
|
346
|
+
|
347
|
+
$hr-margin-y: $spacer !default;
|
348
|
+
|
349
|
+
|
350
|
+
// Tables
|
351
|
+
//
|
352
|
+
// Customizes the `.table` component with basic values, each used across all table variations.
|
353
|
+
|
354
|
+
$table-cell-padding: .5rem !default;
|
355
|
+
$table-cell-padding-sm: .25rem !default;
|
356
|
+
|
357
|
+
$table-color: $body-color !default;
|
358
|
+
$table-bg: null !default;
|
359
|
+
$table-accent-bg: rgba($black, .05) !default;
|
360
|
+
$table-hover-color: $table-color !default;
|
361
|
+
$table-hover-bg: rgba($black, .075) !default;
|
362
|
+
$table-active-bg: $table-hover-bg !default;
|
363
|
+
|
364
|
+
$table-border-width: $border-width !default;
|
365
|
+
$table-border-color: $border-color !default;
|
366
|
+
|
367
|
+
$table-head-bg: $gray-200 !default;
|
368
|
+
$table-head-color: $gray-700 !default;
|
369
|
+
$table-head-border-color: $gray-700 !default;
|
370
|
+
|
371
|
+
$table-dark-color: $white !default;
|
372
|
+
$table-dark-bg: $gray-800 !default;
|
373
|
+
$table-dark-accent-bg: rgba($white, .05) !default;
|
374
|
+
$table-dark-hover-color: $table-dark-color !default;
|
375
|
+
$table-dark-hover-bg: rgba($white, .075) !default;
|
376
|
+
$table-dark-border-color: lighten($table-dark-bg, 7.5%) !default;
|
377
|
+
|
378
|
+
$table-striped-order: odd !default;
|
379
|
+
|
380
|
+
$table-caption-color: $text-muted !default;
|
381
|
+
|
382
|
+
$table-bg-level: -9 !default;
|
383
|
+
$table-border-level: -6 !default;
|
384
|
+
|
385
|
+
|
386
|
+
// Buttons + Forms
|
387
|
+
//
|
388
|
+
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
389
|
+
|
390
|
+
$input-btn-padding-y: .375rem !default;
|
391
|
+
$input-btn-padding-x: .75rem !default;
|
392
|
+
$input-btn-font-family: null !default;
|
393
|
+
$input-btn-font-size: $font-size-base !default;
|
394
|
+
$input-btn-line-height: $line-height-base !default;
|
395
|
+
|
396
|
+
$input-btn-focus-width: .2rem !default;
|
397
|
+
$input-btn-focus-color: rgba($component-active-bg, .25) !default;
|
398
|
+
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
|
399
|
+
|
400
|
+
$input-btn-padding-y-sm: .25rem !default;
|
401
|
+
$input-btn-padding-x-sm: .5rem !default;
|
402
|
+
$input-btn-font-size-sm: $font-size-sm !default;
|
403
|
+
$input-btn-line-height-sm: $line-height-sm !default;
|
404
|
+
|
405
|
+
$input-btn-padding-y-lg: .5rem !default;
|
406
|
+
$input-btn-padding-x-lg: 1rem !default;
|
407
|
+
$input-btn-font-size-lg: $font-size-lg !default;
|
408
|
+
$input-btn-line-height-lg: $line-height-lg !default;
|
409
|
+
|
410
|
+
$input-btn-border-width: $border-width !default;
|
411
|
+
|
412
|
+
|
413
|
+
// Buttons
|
414
|
+
//
|
415
|
+
// For each of Bootstrap's buttons, define text, background, and border color.
|
416
|
+
|
417
|
+
$btn-padding-y: $input-btn-padding-y !default;
|
418
|
+
$btn-padding-x: $input-btn-padding-x !default;
|
419
|
+
$btn-font-family: $input-btn-font-family !default;
|
420
|
+
$btn-font-size: $input-btn-font-size !default;
|
421
|
+
$btn-line-height: $input-btn-line-height !default;
|
422
|
+
|
423
|
+
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
424
|
+
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
425
|
+
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
426
|
+
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
427
|
+
|
428
|
+
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
429
|
+
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
430
|
+
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
431
|
+
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
432
|
+
|
433
|
+
$btn-border-width: $input-btn-border-width !default;
|
434
|
+
|
435
|
+
$btn-font-weight: $font-weight-normal !default;
|
436
|
+
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
|
437
|
+
$btn-focus-width: $input-btn-focus-width !default;
|
438
|
+
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
439
|
+
$btn-disabled-opacity: .65 !default;
|
440
|
+
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
441
|
+
|
442
|
+
$btn-link-color: $link-color !default;
|
443
|
+
$btn-link-hover-color: $link-hover-color !default;
|
444
|
+
$btn-link-disabled-color: $gray-600 !default;
|
445
|
+
|
446
|
+
$btn-block-spacing-y: .5rem !default;
|
447
|
+
|
448
|
+
// Allows for customizing button radius independently from global border radius
|
449
|
+
$btn-border-radius: $border-radius !default;
|
450
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
451
|
+
$btn-border-radius-sm: $border-radius-sm !default;
|
452
|
+
|
453
|
+
$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
454
|
+
|
455
|
+
|
456
|
+
// Forms
|
457
|
+
|
458
|
+
$label-margin-bottom: .5rem !default;
|
459
|
+
|
460
|
+
$input-padding-y: $input-btn-padding-y !default;
|
461
|
+
$input-padding-x: $input-btn-padding-x !default;
|
462
|
+
$input-font-family: $input-btn-font-family !default;
|
463
|
+
$input-font-size: $input-btn-font-size !default;
|
464
|
+
$input-font-weight: $font-weight-base !default;
|
465
|
+
$input-line-height: $input-btn-line-height !default;
|
466
|
+
|
467
|
+
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
468
|
+
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
469
|
+
$input-font-size-sm: $input-btn-font-size-sm !default;
|
470
|
+
$input-line-height-sm: $input-btn-line-height-sm !default;
|
471
|
+
|
472
|
+
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
473
|
+
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
474
|
+
$input-font-size-lg: $input-btn-font-size-lg !default;
|
475
|
+
$input-line-height-lg: $input-btn-line-height-lg !default;
|
476
|
+
|
477
|
+
$input-bg: $white !default;
|
478
|
+
$input-disabled-bg: $gray-200 !default;
|
479
|
+
|
480
|
+
$input-color: $gray-700 !default;
|
481
|
+
$input-border-color: $gray-400 !default;
|
482
|
+
$input-border-width: $input-btn-border-width !default;
|
483
|
+
$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
|
484
|
+
|
485
|
+
$input-border-radius: $border-radius !default;
|
486
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
487
|
+
$input-border-radius-sm: $border-radius-sm !default;
|
488
|
+
|
489
|
+
$input-focus-bg: $input-bg !default;
|
490
|
+
$input-focus-border-color: lighten($component-active-bg, 25%) !default;
|
491
|
+
$input-focus-color: $input-color !default;
|
492
|
+
$input-focus-width: $input-btn-focus-width !default;
|
493
|
+
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
494
|
+
|
495
|
+
$input-placeholder-color: $gray-600 !default;
|
496
|
+
$input-plaintext-color: $body-color !default;
|
497
|
+
|
498
|
+
$input-height-border: $input-border-width * 2 !default;
|
499
|
+
|
500
|
+
$input-height-inner: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2}) !default;
|
501
|
+
$input-height-inner-half: calc(#{$input-line-height * .5em} + #{$input-padding-y}) !default;
|
502
|
+
$input-height-inner-quarter: calc(#{$input-line-height * .25em} + #{$input-padding-y / 2}) !default;
|
503
|
+
|
504
|
+
$input-height: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2} + #{$input-height-border}) !default;
|
505
|
+
$input-height-sm: calc(#{$input-line-height-sm * 1em} + #{$input-btn-padding-y-sm * 2} + #{$input-height-border}) !default;
|
506
|
+
$input-height-lg: calc(#{$input-line-height-lg * 1em} + #{$input-btn-padding-y-lg * 2} + #{$input-height-border}) !default;
|
507
|
+
|
508
|
+
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
509
|
+
|
510
|
+
|
511
|
+
$form-check-input-width: 1.25em !default;
|
512
|
+
$form-check-min-height: $font-size-base * $line-height-base !default;
|
513
|
+
$form-check-padding-left: $form-check-input-width + .5em !default;
|
514
|
+
$form-check-margin-bottom: .125rem !default;
|
515
|
+
|
516
|
+
$form-check-input-active-filter: brightness(90%) !default;
|
517
|
+
|
518
|
+
$form-check-input-bg: $body-bg !default;
|
519
|
+
$form-check-input-border: 1px solid rgba(0, 0, 0, .25) !default;
|
520
|
+
$form-check-input-border-radius: .25em !default;
|
521
|
+
$form-check-radio-border-radius: 50% !default;
|
522
|
+
$form-check-input-focus-border: $input-focus-border-color !default;
|
523
|
+
$form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
524
|
+
|
525
|
+
$form-check-input-checked-color: $component-active-color !default;
|
526
|
+
$form-check-input-checked-bg-color: $component-active-bg !default;
|
527
|
+
$form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
528
|
+
$form-check-input-checked-bg-repeat: no-repeat !default;
|
529
|
+
$form-check-input-checked-bg-position: center center !default;
|
530
|
+
$form-check-input-checked-bg-size: 1em !default;
|
531
|
+
$form-check-input-checked-bg-image: str-replace(url('data:image/svg+xml;utf8,<svg viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="#{$form-check-input-checked-color}" stroke-width="3" d="M4 8.5L6.5 11l6-6" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg>'), "#", "%23") !default;
|
532
|
+
$form-check-radio-checked-bg-image: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$form-check-input-checked-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
|
533
|
+
|
534
|
+
$form-check-input-indeterminate-color: $component-active-color !default;
|
535
|
+
$form-check-input-indeterminate-bg-color: $component-active-bg !default;
|
536
|
+
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
|
537
|
+
$form-check-input-indeterminate-bg-repeat: no-repeat !default;
|
538
|
+
$form-check-input-indeterminate-bg-position: center center !default;
|
539
|
+
$form-check-input-indeterminate-bg-size: 1em !default;
|
540
|
+
$form-check-input-indeterminate-bg-image: str-replace(url('data:image/svg+xml;utf8,<svg viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5 8h6" stroke="#{$form-check-input-indeterminate-color}" stroke-width="3" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg>'), "#", "%23") !default;
|
541
|
+
|
542
|
+
$form-switch-color: rgba(0, 0, 0, .25) !default;
|
543
|
+
$form-switch-width: 2em !default;
|
544
|
+
$form-switch-height: $form-check-input-width !default;
|
545
|
+
$form-switch-padding-left: $form-switch-width + .5em !default;
|
546
|
+
$form-switch-bg-image: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$form-switch-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
|
547
|
+
$form-switch-border-radius: $form-switch-width !default;
|
548
|
+
$form-switch-transition: .2s ease-in-out !default;
|
549
|
+
$form-switch-transition-property: background-position, background-color !default;
|
550
|
+
|
551
|
+
$form-switch-focus-color: hsla(211, 100%, 75%, 1) !default;
|
552
|
+
$form-switch-focus-bg-image: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$form-switch-focus-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
|
553
|
+
|
554
|
+
$form-switch-checked-color: $component-active-color !default;
|
555
|
+
$form-switch-checked-bg-image: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$form-switch-checked-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
|
556
|
+
$form-switch-checked-bg-position: right center !default;
|
557
|
+
|
558
|
+
$form-text-margin-top: .25rem !default;
|
559
|
+
|
560
|
+
$form-check-inline-margin-right: 1rem !default;
|
561
|
+
|
562
|
+
$form-check-input-margin-x: .25rem !default;
|
563
|
+
|
564
|
+
$form-grid-gutter-width: 10px !default;
|
565
|
+
|
566
|
+
$input-group-addon-color: $input-color !default;
|
567
|
+
$input-group-addon-bg: $gray-200 !default;
|
568
|
+
$input-group-addon-border-color: $input-border-color !default;
|
569
|
+
|
570
|
+
$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
571
|
+
|
572
|
+
$form-select-padding-y: $input-padding-y !default;
|
573
|
+
$form-select-padding-x: $input-padding-x !default;
|
574
|
+
$form-select-font-family: $input-font-family !default;
|
575
|
+
$form-select-font-size: $input-font-size !default;
|
576
|
+
$form-select-height: $input-height !default;
|
577
|
+
$form-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
|
578
|
+
$form-select-font-weight: $input-font-weight !default;
|
579
|
+
$form-select-line-height: $input-line-height !default;
|
580
|
+
$form-select-color: $input-color !default;
|
581
|
+
$form-select-disabled-color: $gray-600 !default;
|
582
|
+
$form-select-bg: $input-bg !default;
|
583
|
+
$form-select-disabled-bg: $gray-200 !default;
|
584
|
+
$form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
585
|
+
$form-select-indicator-color: $gray-800 !default;
|
586
|
+
$form-select-indicator: str-replace(url('data:image/svg+xml;utf8,<svg viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="#{$form-select-indicator-color}" stroke-width="2px" d="M2 5l6 6 6-6" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg>'), "#", "%23") !default;
|
587
|
+
|
588
|
+
$form-select-background: $form-select-indicator no-repeat right $form-select-padding-x center / $form-select-bg-size !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
|
589
|
+
|
590
|
+
$form-select-feedback-icon-padding-right: calc((1em + #{2 * $form-select-padding-y}) * 3 / 4 + #{$form-select-padding-x + $form-select-indicator-padding}) !default;
|
591
|
+
$form-select-feedback-icon-position: center right ($form-select-padding-x + $form-select-indicator-padding) !default;
|
592
|
+
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
593
|
+
|
594
|
+
$form-select-border-width: $input-border-width !default;
|
595
|
+
$form-select-border-color: $input-border-color !default;
|
596
|
+
$form-select-border-radius: $border-radius !default;
|
597
|
+
$form-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;
|
598
|
+
|
599
|
+
$form-select-focus-border-color: $input-focus-border-color !default;
|
600
|
+
$form-select-focus-width: $input-focus-width !default;
|
601
|
+
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
|
602
|
+
|
603
|
+
$form-select-padding-y-sm: $input-padding-y-sm !default;
|
604
|
+
$form-select-padding-x-sm: $input-padding-x-sm !default;
|
605
|
+
$form-select-font-size-sm: $input-font-size-sm !default;
|
606
|
+
$form-select-height-sm: $input-height-sm !default;
|
607
|
+
|
608
|
+
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
609
|
+
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
610
|
+
$form-select-font-size-lg: $input-font-size-lg !default;
|
611
|
+
$form-select-height-lg: $input-height-lg !default;
|
612
|
+
|
613
|
+
$form-range-track-width: 100% !default;
|
614
|
+
$form-range-track-height: .5rem !default;
|
615
|
+
$form-range-track-cursor: pointer !default;
|
616
|
+
$form-range-track-bg: $gray-300 !default;
|
617
|
+
$form-range-track-border-radius: 1rem !default;
|
618
|
+
$form-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
619
|
+
|
620
|
+
$form-range-thumb-width: 1rem !default;
|
621
|
+
$form-range-thumb-height: $form-range-thumb-width !default;
|
622
|
+
$form-range-thumb-bg: $component-active-bg !default;
|
623
|
+
$form-range-thumb-border: 0 !default;
|
624
|
+
$form-range-thumb-border-radius: 1rem !default;
|
625
|
+
$form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
626
|
+
$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
627
|
+
$form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
|
628
|
+
$form-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
629
|
+
$form-range-thumb-disabled-bg: $gray-500 !default;
|
630
|
+
|
631
|
+
$form-file-height: $input-height !default;
|
632
|
+
$form-file-focus-border-color: $input-focus-border-color !default;
|
633
|
+
$form-file-focus-box-shadow: $input-focus-box-shadow !default;
|
634
|
+
$form-file-disabled-bg: $input-disabled-bg !default;
|
635
|
+
|
636
|
+
$form-file-padding-y: $input-padding-y !default;
|
637
|
+
$form-file-padding-x: $input-padding-x !default;
|
638
|
+
$form-file-line-height: $input-line-height !default;
|
639
|
+
$form-file-font-family: $input-font-family !default;
|
640
|
+
$form-file-font-weight: $input-font-weight !default;
|
641
|
+
$form-file-color: $input-color !default;
|
642
|
+
$form-file-bg: $input-bg !default;
|
643
|
+
$form-file-border-width: $input-border-width !default;
|
644
|
+
$form-file-border-color: $input-border-color !default;
|
645
|
+
$form-file-border-radius: $input-border-radius !default;
|
646
|
+
$form-file-box-shadow: $input-box-shadow !default;
|
647
|
+
$form-file-button-color: $form-file-color !default;
|
648
|
+
$form-file-button-bg: $input-group-addon-bg !default;
|
649
|
+
|
650
|
+
|
651
|
+
// Form validation
|
652
|
+
|
653
|
+
$form-feedback-margin-top: $form-text-margin-top !default;
|
654
|
+
$form-feedback-font-size: $small-font-size !default;
|
655
|
+
$form-feedback-valid-color: theme-color("success") !default;
|
656
|
+
$form-feedback-invalid-color: theme-color("danger") !default;
|
657
|
+
|
658
|
+
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
659
|
+
$form-feedback-icon-valid: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
660
|
+
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
661
|
+
$form-feedback-icon-invalid: str-replace(url("data:image/svg+xml,%3csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' stroke='#{$form-feedback-icon-invalid-color}' fill='none'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 3.6h.4L6 6.5z' stroke-linejoin='round'/%3e%3ccircle cx='6' cy='8.2' r='.1'/%3e%3c/svg%3e"), "#", "%23") !default;
|
662
|
+
|
663
|
+
$form-validation-states: () !default;
|
664
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
665
|
+
$form-validation-states: map-merge(
|
666
|
+
(
|
667
|
+
"valid": (
|
668
|
+
"color": $form-feedback-valid-color,
|
669
|
+
"icon": $form-feedback-icon-valid
|
670
|
+
),
|
671
|
+
"invalid": (
|
672
|
+
"color": $form-feedback-invalid-color,
|
673
|
+
"icon": $form-feedback-icon-invalid
|
674
|
+
),
|
675
|
+
),
|
676
|
+
$form-validation-states
|
677
|
+
);
|
678
|
+
|
679
|
+
// Z-index master list
|
680
|
+
//
|
681
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
682
|
+
// of components dependent on the z-axis and are designed to all work together.
|
683
|
+
|
684
|
+
$zindex-dropdown: 1000 !default;
|
685
|
+
$zindex-sticky: 1020 !default;
|
686
|
+
$zindex-fixed: 1030 !default;
|
687
|
+
$zindex-modal-backdrop: 1040 !default;
|
688
|
+
$zindex-modal: 1050 !default;
|
689
|
+
$zindex-popover: 1060 !default;
|
690
|
+
$zindex-tooltip: 1070 !default;
|
691
|
+
|
692
|
+
|
693
|
+
// Navs
|
694
|
+
|
695
|
+
$nav-link-padding-y: .5rem !default;
|
696
|
+
$nav-link-padding-x: 1rem !default;
|
697
|
+
$nav-link-disabled-color: $gray-600 !default;
|
698
|
+
|
699
|
+
$nav-tabs-border-color: $gray-300 !default;
|
700
|
+
$nav-tabs-border-width: $border-width !default;
|
701
|
+
$nav-tabs-border-radius: $border-radius !default;
|
702
|
+
$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
|
703
|
+
$nav-tabs-link-active-color: $gray-700 !default;
|
704
|
+
$nav-tabs-link-active-bg: $body-bg !default;
|
705
|
+
$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
|
706
|
+
|
707
|
+
$nav-pills-border-radius: $border-radius !default;
|
708
|
+
$nav-pills-link-active-color: $component-active-color !default;
|
709
|
+
$nav-pills-link-active-bg: $component-active-bg !default;
|
710
|
+
|
711
|
+
$nav-divider-color: $gray-200 !default;
|
712
|
+
$nav-divider-margin-y: $spacer / 2 !default;
|
713
|
+
|
714
|
+
|
715
|
+
// Navbar
|
716
|
+
|
717
|
+
$navbar-padding-y: $spacer / 2 !default;
|
718
|
+
$navbar-padding-x: $spacer !default;
|
719
|
+
|
720
|
+
$navbar-nav-link-padding-x: .5rem !default;
|
721
|
+
|
722
|
+
$navbar-brand-font-size: $font-size-lg !default;
|
723
|
+
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
724
|
+
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
725
|
+
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
726
|
+
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
727
|
+
|
728
|
+
$navbar-toggler-padding-y: .25rem !default;
|
729
|
+
$navbar-toggler-padding-x: .75rem !default;
|
730
|
+
$navbar-toggler-font-size: $font-size-lg !default;
|
731
|
+
$navbar-toggler-border-radius: $btn-border-radius !default;
|
732
|
+
|
733
|
+
$navbar-dark-color: rgba($white, .5) !default;
|
734
|
+
$navbar-dark-hover-color: rgba($white, .75) !default;
|
735
|
+
$navbar-dark-active-color: $white !default;
|
736
|
+
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
737
|
+
$navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"), "#", "%23") !default;
|
738
|
+
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
739
|
+
|
740
|
+
$navbar-light-color: rgba($black, .5) !default;
|
741
|
+
$navbar-light-hover-color: rgba($black, .7) !default;
|
742
|
+
$navbar-light-active-color: rgba($black, .9) !default;
|
743
|
+
$navbar-light-disabled-color: rgba($black, .3) !default;
|
744
|
+
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"), "#", "%23") !default;
|
745
|
+
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
746
|
+
|
747
|
+
$navbar-light-brand-color: $navbar-light-active-color !default;
|
748
|
+
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
749
|
+
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
750
|
+
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
751
|
+
|
752
|
+
|
753
|
+
// Dropdowns
|
754
|
+
//
|
755
|
+
// Dropdown menu container and contents.
|
756
|
+
|
757
|
+
$dropdown-min-width: 10rem !default;
|
758
|
+
$dropdown-padding-y: .5rem !default;
|
759
|
+
$dropdown-spacer: .125rem !default;
|
760
|
+
$dropdown-font-size: $font-size-base !default;
|
761
|
+
$dropdown-color: $body-color !default;
|
762
|
+
$dropdown-bg: $white !default;
|
763
|
+
$dropdown-border-color: rgba($black, .15) !default;
|
764
|
+
$dropdown-border-radius: $border-radius !default;
|
765
|
+
$dropdown-border-width: $border-width !default;
|
766
|
+
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default;
|
767
|
+
$dropdown-divider-bg: $gray-200 !default;
|
768
|
+
$dropdown-divider-margin-y: $nav-divider-margin-y !default;
|
769
|
+
$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;
|
770
|
+
|
771
|
+
$dropdown-link-color: $gray-900 !default;
|
772
|
+
$dropdown-link-hover-color: darken($gray-900, 5%) !default;
|
773
|
+
$dropdown-link-hover-bg: $gray-100 !default;
|
774
|
+
|
775
|
+
$dropdown-link-active-color: $component-active-color !default;
|
776
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
777
|
+
|
778
|
+
$dropdown-link-disabled-color: $gray-600 !default;
|
779
|
+
|
780
|
+
$dropdown-item-padding-y: .25rem !default;
|
781
|
+
$dropdown-item-padding-x: 1.5rem !default;
|
782
|
+
|
783
|
+
$dropdown-header-color: $gray-600 !default;
|
784
|
+
|
785
|
+
|
786
|
+
// Pagination
|
787
|
+
|
788
|
+
$pagination-padding-y: .5rem !default;
|
789
|
+
$pagination-padding-x: .75rem !default;
|
790
|
+
$pagination-padding-y-sm: .25rem !default;
|
791
|
+
$pagination-padding-x-sm: .5rem !default;
|
792
|
+
$pagination-padding-y-lg: .75rem !default;
|
793
|
+
$pagination-padding-x-lg: 1.5rem !default;
|
794
|
+
$pagination-line-height: 1.25 !default;
|
795
|
+
|
796
|
+
$pagination-color: $link-color !default;
|
797
|
+
$pagination-bg: $white !default;
|
798
|
+
$pagination-border-width: $border-width !default;
|
799
|
+
$pagination-border-color: $gray-300 !default;
|
800
|
+
|
801
|
+
$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
802
|
+
$pagination-focus-outline: 0 !default;
|
803
|
+
|
804
|
+
$pagination-hover-color: $link-hover-color !default;
|
805
|
+
$pagination-hover-bg: $gray-200 !default;
|
806
|
+
$pagination-hover-border-color: $gray-300 !default;
|
807
|
+
|
808
|
+
$pagination-active-color: $component-active-color !default;
|
809
|
+
$pagination-active-bg: $component-active-bg !default;
|
810
|
+
$pagination-active-border-color: $pagination-active-bg !default;
|
811
|
+
|
812
|
+
$pagination-disabled-color: $gray-600 !default;
|
813
|
+
$pagination-disabled-bg: $white !default;
|
814
|
+
$pagination-disabled-border-color: $gray-300 !default;
|
815
|
+
|
816
|
+
|
817
|
+
// Cards
|
818
|
+
|
819
|
+
$card-spacer-y: .75rem !default;
|
820
|
+
$card-spacer-x: 1.25rem !default;
|
821
|
+
$card-border-width: $border-width !default;
|
822
|
+
$card-border-radius: $border-radius !default;
|
823
|
+
$card-border-color: rgba($black, .125) !default;
|
824
|
+
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
|
825
|
+
$card-cap-bg: rgba($black, .03) !default;
|
826
|
+
$card-cap-color: null !default;
|
827
|
+
$card-color: null !default;
|
828
|
+
$card-bg: $white !default;
|
829
|
+
|
830
|
+
$card-img-overlay-padding: 1.25rem !default;
|
831
|
+
|
832
|
+
$card-group-margin: $grid-gutter-width / 2 !default;
|
833
|
+
$card-deck-margin: $card-group-margin !default;
|
834
|
+
|
835
|
+
$card-columns-count: 3 !default;
|
836
|
+
$card-columns-gap: 1.25rem !default;
|
837
|
+
$card-columns-margin: $card-spacer-y !default;
|
838
|
+
|
839
|
+
|
840
|
+
// Tooltips
|
841
|
+
|
842
|
+
$tooltip-font-size: $font-size-sm !default;
|
843
|
+
$tooltip-max-width: 200px !default;
|
844
|
+
$tooltip-color: $white !default;
|
845
|
+
$tooltip-bg: $black !default;
|
846
|
+
$tooltip-border-radius: $border-radius !default;
|
847
|
+
$tooltip-opacity: .9 !default;
|
848
|
+
$tooltip-padding-y: .25rem !default;
|
849
|
+
$tooltip-padding-x: .5rem !default;
|
850
|
+
$tooltip-margin: 0 !default;
|
851
|
+
|
852
|
+
$tooltip-arrow-width: .8rem !default;
|
853
|
+
$tooltip-arrow-height: .4rem !default;
|
854
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
855
|
+
|
856
|
+
// Form tooltips must come after regular tooltips
|
857
|
+
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
858
|
+
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
859
|
+
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
860
|
+
$form-feedback-tooltip-line-height: $line-height-base !default;
|
861
|
+
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
862
|
+
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
863
|
+
|
864
|
+
|
865
|
+
// Popovers
|
866
|
+
|
867
|
+
$popover-font-size: $font-size-sm !default;
|
868
|
+
$popover-bg: $white !default;
|
869
|
+
$popover-max-width: 276px !default;
|
870
|
+
$popover-border-width: $border-width !default;
|
871
|
+
$popover-border-color: rgba($black, .2) !default;
|
872
|
+
$popover-border-radius: $border-radius-lg !default;
|
873
|
+
$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default;
|
874
|
+
$popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;
|
875
|
+
|
876
|
+
$popover-header-bg: darken($popover-bg, 3%) !default;
|
877
|
+
$popover-header-color: $headings-color !default;
|
878
|
+
$popover-header-padding-y: .5rem !default;
|
879
|
+
$popover-header-padding-x: .75rem !default;
|
880
|
+
|
881
|
+
$popover-body-color: $body-color !default;
|
882
|
+
$popover-body-padding-y: $popover-header-padding-y !default;
|
883
|
+
$popover-body-padding-x: $popover-header-padding-x !default;
|
884
|
+
|
885
|
+
$popover-arrow-width: 1rem !default;
|
886
|
+
$popover-arrow-height: .5rem !default;
|
887
|
+
$popover-arrow-color: $popover-bg !default;
|
888
|
+
|
889
|
+
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
890
|
+
|
891
|
+
|
892
|
+
// Toasts
|
893
|
+
|
894
|
+
$toast-max-width: 350px !default;
|
895
|
+
$toast-padding-x: .75rem !default;
|
896
|
+
$toast-padding-y: .25rem !default;
|
897
|
+
$toast-font-size: .875rem !default;
|
898
|
+
$toast-color: null !default;
|
899
|
+
$toast-background-color: rgba($white, .85) !default;
|
900
|
+
$toast-border-width: 1px !default;
|
901
|
+
$toast-border-color: rgba(0, 0, 0, .1) !default;
|
902
|
+
$toast-border-radius: $border-radius !default;
|
903
|
+
$toast-box-shadow: 0 .25rem .75rem rgba($black, .1) !default;
|
904
|
+
|
905
|
+
$toast-header-color: $gray-600 !default;
|
906
|
+
$toast-header-background-color: rgba($white, .85) !default;
|
907
|
+
$toast-header-border-color: rgba(0, 0, 0, .05) !default;
|
908
|
+
|
909
|
+
|
910
|
+
// Badges
|
911
|
+
|
912
|
+
$badge-font-size: 75% !default;
|
913
|
+
$badge-font-weight: $font-weight-bold !default;
|
914
|
+
$badge-color: $white !default;
|
915
|
+
$badge-padding-y: .25em !default;
|
916
|
+
$badge-padding-x: .5em !default;
|
917
|
+
$badge-border-radius: $border-radius !default;
|
918
|
+
|
919
|
+
|
920
|
+
// Modals
|
921
|
+
|
922
|
+
// Padding applied to the modal body
|
923
|
+
$modal-inner-padding: 1rem !default;
|
924
|
+
|
925
|
+
$modal-dialog-margin: .5rem !default;
|
926
|
+
$modal-dialog-margin-y-sm-up: 1.75rem !default;
|
927
|
+
|
928
|
+
$modal-title-line-height: $line-height-base !default;
|
929
|
+
|
930
|
+
$modal-content-color: null !default;
|
931
|
+
$modal-content-bg: $white !default;
|
932
|
+
$modal-content-border-color: rgba($black, .2) !default;
|
933
|
+
$modal-content-border-width: $border-width !default;
|
934
|
+
$modal-content-border-radius: $border-radius-lg !default;
|
935
|
+
$modal-content-inner-border-radius: calc(#{$modal-content-border-radius} - #{$modal-content-border-width}) !default;
|
936
|
+
$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
|
937
|
+
$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
|
938
|
+
|
939
|
+
$modal-backdrop-bg: $black !default;
|
940
|
+
$modal-backdrop-opacity: .5 !default;
|
941
|
+
$modal-header-border-color: $border-color !default;
|
942
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
943
|
+
$modal-header-border-width: $modal-content-border-width !default;
|
944
|
+
$modal-footer-border-width: $modal-header-border-width !default;
|
945
|
+
$modal-header-padding-y: 1rem !default;
|
946
|
+
$modal-header-padding-x: 1rem !default;
|
947
|
+
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
948
|
+
|
949
|
+
$modal-xl: 1140px !default;
|
950
|
+
$modal-lg: 800px !default;
|
951
|
+
$modal-md: 500px !default;
|
952
|
+
$modal-sm: 300px !default;
|
953
|
+
|
954
|
+
$modal-fade-transform: translate(0, -50px) !default;
|
955
|
+
$modal-show-transform: none !default;
|
956
|
+
$modal-transition: transform .3s ease-out !default;
|
957
|
+
|
958
|
+
|
959
|
+
// Alerts
|
960
|
+
//
|
961
|
+
// Define alert colors, border radius, and padding.
|
962
|
+
|
963
|
+
$alert-padding-y: .75rem !default;
|
964
|
+
$alert-padding-x: 1.25rem !default;
|
965
|
+
$alert-margin-bottom: 1rem !default;
|
966
|
+
$alert-border-radius: $border-radius !default;
|
967
|
+
$alert-link-font-weight: $font-weight-bold !default;
|
968
|
+
$alert-border-width: $border-width !default;
|
969
|
+
|
970
|
+
$alert-bg-level: -10 !default;
|
971
|
+
$alert-border-level: -9 !default;
|
972
|
+
$alert-color-level: 6 !default;
|
973
|
+
|
974
|
+
|
975
|
+
// Progress bars
|
976
|
+
|
977
|
+
$progress-height: 1rem !default;
|
978
|
+
$progress-font-size: $font-size-base * .75 !default;
|
979
|
+
$progress-bg: $gray-200 !default;
|
980
|
+
$progress-border-radius: $border-radius !default;
|
981
|
+
$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
|
982
|
+
$progress-bar-color: $white !default;
|
983
|
+
$progress-bar-bg: theme-color("primary") !default;
|
984
|
+
$progress-bar-animation-timing: 1s linear infinite !default;
|
985
|
+
$progress-bar-transition: width .6s ease !default;
|
986
|
+
|
987
|
+
|
988
|
+
// List group
|
989
|
+
|
990
|
+
$list-group-color: null !default;
|
991
|
+
$list-group-bg: $white !default;
|
992
|
+
$list-group-border-color: rgba($black, .125) !default;
|
993
|
+
$list-group-border-width: $border-width !default;
|
994
|
+
$list-group-border-radius: $border-radius !default;
|
995
|
+
|
996
|
+
$list-group-item-padding-y: .75rem !default;
|
997
|
+
$list-group-item-padding-x: 1.25rem !default;
|
998
|
+
|
999
|
+
$list-group-hover-bg: $gray-100 !default;
|
1000
|
+
$list-group-active-color: $component-active-color !default;
|
1001
|
+
$list-group-active-bg: $component-active-bg !default;
|
1002
|
+
$list-group-active-border-color: $list-group-active-bg !default;
|
1003
|
+
|
1004
|
+
$list-group-disabled-color: $gray-600 !default;
|
1005
|
+
$list-group-disabled-bg: $list-group-bg !default;
|
1006
|
+
|
1007
|
+
$list-group-action-color: $gray-700 !default;
|
1008
|
+
$list-group-action-hover-color: $list-group-action-color !default;
|
1009
|
+
|
1010
|
+
$list-group-action-active-color: $body-color !default;
|
1011
|
+
$list-group-action-active-bg: $gray-200 !default;
|
1012
|
+
|
1013
|
+
|
1014
|
+
// Image thumbnails
|
1015
|
+
|
1016
|
+
$thumbnail-padding: .25rem !default;
|
1017
|
+
$thumbnail-bg: $body-bg !default;
|
1018
|
+
$thumbnail-border-width: $border-width !default;
|
1019
|
+
$thumbnail-border-color: $gray-300 !default;
|
1020
|
+
$thumbnail-border-radius: $border-radius !default;
|
1021
|
+
$thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;
|
1022
|
+
|
1023
|
+
|
1024
|
+
// Figures
|
1025
|
+
|
1026
|
+
$figure-caption-font-size: 90% !default;
|
1027
|
+
$figure-caption-color: $gray-600 !default;
|
1028
|
+
|
1029
|
+
|
1030
|
+
// Breadcrumbs
|
1031
|
+
|
1032
|
+
$breadcrumb-padding-y: .75rem !default;
|
1033
|
+
$breadcrumb-padding-x: 1rem !default;
|
1034
|
+
$breadcrumb-item-padding-x: .5rem !default;
|
1035
|
+
|
1036
|
+
$breadcrumb-margin-bottom: 1rem !default;
|
1037
|
+
|
1038
|
+
$breadcrumb-bg: $gray-200 !default;
|
1039
|
+
$breadcrumb-divider-color: $gray-600 !default;
|
1040
|
+
$breadcrumb-active-color: $gray-600 !default;
|
1041
|
+
$breadcrumb-divider: quote("/") !default;
|
1042
|
+
|
1043
|
+
$breadcrumb-border-radius: $border-radius !default;
|
1044
|
+
|
1045
|
+
|
1046
|
+
// Carousel
|
1047
|
+
|
1048
|
+
$carousel-control-color: $white !default;
|
1049
|
+
$carousel-control-width: 15% !default;
|
1050
|
+
$carousel-control-opacity: .5 !default;
|
1051
|
+
$carousel-control-hover-opacity: .9 !default;
|
1052
|
+
$carousel-control-transition: opacity .15s ease !default;
|
1053
|
+
|
1054
|
+
$carousel-indicator-width: 30px !default;
|
1055
|
+
$carousel-indicator-height: 3px !default;
|
1056
|
+
$carousel-indicator-hit-area-height: 10px !default;
|
1057
|
+
$carousel-indicator-spacer: 3px !default;
|
1058
|
+
$carousel-indicator-active-bg: $white !default;
|
1059
|
+
$carousel-indicator-transition: opacity .6s ease !default;
|
1060
|
+
|
1061
|
+
$carousel-caption-width: 70% !default;
|
1062
|
+
$carousel-caption-color: $white !default;
|
1063
|
+
|
1064
|
+
$carousel-control-icon-width: 20px !default;
|
1065
|
+
|
1066
|
+
$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
1067
|
+
$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
1068
|
+
|
1069
|
+
$carousel-transition-duration: .6s !default;
|
1070
|
+
$carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
1071
|
+
|
1072
|
+
|
1073
|
+
// Spinners
|
1074
|
+
|
1075
|
+
$spinner-width: 2rem !default;
|
1076
|
+
$spinner-height: $spinner-width !default;
|
1077
|
+
$spinner-border-width: .25em !default;
|
1078
|
+
|
1079
|
+
$spinner-width-sm: 1rem !default;
|
1080
|
+
$spinner-height-sm: $spinner-width-sm !default;
|
1081
|
+
$spinner-border-width-sm: .2em !default;
|
1082
|
+
|
1083
|
+
|
1084
|
+
// Close
|
1085
|
+
|
1086
|
+
$close-font-size: $font-size-base * 1.5 !default;
|
1087
|
+
$close-font-weight: $font-weight-bold !default;
|
1088
|
+
$close-color: $black !default;
|
1089
|
+
$close-text-shadow: 0 1px 0 $white !default;
|
1090
|
+
|
1091
|
+
|
1092
|
+
// Code
|
1093
|
+
|
1094
|
+
$code-font-size: 87.5% !default;
|
1095
|
+
$code-color: $pink !default;
|
1096
|
+
|
1097
|
+
$kbd-padding-y: .2rem !default;
|
1098
|
+
$kbd-padding-x: .4rem !default;
|
1099
|
+
$kbd-font-size: $code-font-size !default;
|
1100
|
+
$kbd-color: $white !default;
|
1101
|
+
$kbd-bg: $gray-900 !default;
|
1102
|
+
|
1103
|
+
$pre-color: null !default;
|
1104
|
+
$pre-scrollable-max-height: 340px !default;
|