jekyll-theme-cs50 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/_includes/aside.html +24 -0
- data/_includes/footer.md +0 -0
- data/_includes/header.md +0 -0
- data/_includes/main.html +5 -0
- data/_includes/nav.md +0 -0
- data/_layouts/page.html +136 -0
- data/_sass/jekyll-theme-cs50.scss +314 -0
- data/_sass/node_modules/bootstrap/LICENSE +22 -0
- data/_sass/node_modules/bootstrap/scss/_alert.scss +51 -0
- data/_sass/node_modules/bootstrap/scss/_badge.scss +53 -0
- data/_sass/node_modules/bootstrap/scss/_breadcrumb.scss +41 -0
- data/_sass/node_modules/bootstrap/scss/_button-group.scss +163 -0
- data/_sass/node_modules/bootstrap/scss/_buttons.scss +140 -0
- data/_sass/node_modules/bootstrap/scss/_card.scss +310 -0
- data/_sass/node_modules/bootstrap/scss/_carousel.scss +198 -0
- data/_sass/node_modules/bootstrap/scss/_close.scss +44 -0
- data/_sass/node_modules/bootstrap/scss/_code.scss +48 -0
- data/_sass/node_modules/bootstrap/scss/_custom-forms.scss +507 -0
- data/_sass/node_modules/bootstrap/scss/_dropdown.scss +191 -0
- data/_sass/node_modules/bootstrap/scss/_forms.scss +334 -0
- data/_sass/node_modules/bootstrap/scss/_functions.scss +86 -0
- data/_sass/node_modules/bootstrap/scss/_grid.scss +52 -0
- data/_sass/node_modules/bootstrap/scss/_images.scss +42 -0
- data/_sass/node_modules/bootstrap/scss/_input-group.scss +193 -0
- data/_sass/node_modules/bootstrap/scss/_jumbotron.scss +16 -0
- data/_sass/node_modules/bootstrap/scss/_list-group.scss +121 -0
- data/_sass/node_modules/bootstrap/scss/_media.scss +8 -0
- data/_sass/node_modules/bootstrap/scss/_mixins.scss +41 -0
- data/_sass/node_modules/bootstrap/scss/_modal.scss +186 -0
- data/_sass/node_modules/bootstrap/scss/_nav.scss +120 -0
- data/_sass/node_modules/bootstrap/scss/_navbar.scss +299 -0
- data/_sass/node_modules/bootstrap/scss/_pagination.scss +78 -0
- data/_sass/node_modules/bootstrap/scss/_popover.scss +183 -0
- data/_sass/node_modules/bootstrap/scss/_print.scss +141 -0
- data/_sass/node_modules/bootstrap/scss/_progress.scss +34 -0
- data/_sass/node_modules/bootstrap/scss/_reboot.scss +462 -0
- data/_sass/node_modules/bootstrap/scss/_root.scss +19 -0
- data/_sass/node_modules/bootstrap/scss/_spinners.scss +53 -0
- data/_sass/node_modules/bootstrap/scss/_tables.scss +187 -0
- data/_sass/node_modules/bootstrap/scss/_toasts.scss +43 -0
- data/_sass/node_modules/bootstrap/scss/_tooltip.scss +115 -0
- data/_sass/node_modules/bootstrap/scss/_transitions.scss +22 -0
- data/_sass/node_modules/bootstrap/scss/_type.scss +125 -0
- data/_sass/node_modules/bootstrap/scss/_utilities.scss +16 -0
- data/_sass/node_modules/bootstrap/scss/_variables.scss +1091 -0
- data/_sass/node_modules/bootstrap/scss/bootstrap-grid.scss +29 -0
- data/_sass/node_modules/bootstrap/scss/bootstrap-reboot.scss +12 -0
- data/_sass/node_modules/bootstrap/scss/bootstrap.scss +44 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_alert.scss +13 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_background-variant.scss +21 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_badge.scss +11 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_border-radius.scss +35 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_box-shadow.scss +5 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_buttons.scss +111 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_caret.scss +62 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_clearfix.scss +7 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_float.scss +11 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_forms.scss +198 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_grid-framework.scss +66 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_grid.scss +51 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_image.scss +36 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_list-group.scss +21 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_nav-divider.scss +10 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_pagination.scss +22 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_screen-reader.scss +33 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_size.scss +6 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_table-row.scss +39 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +14 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_text-hide.scss +13 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_transition.scss +16 -0
- data/_sass/node_modules/bootstrap/scss/mixins/_visibility.scss +7 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_align.scss +8 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_borders.scss +63 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_clearfix.scss +3 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_display.scss +38 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_embed.scss +39 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_flex.scss +51 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_float.scss +9 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_overflow.scss +5 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_position.scss +32 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_screenreaders.scss +11 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_shadows.scss +6 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_sizing.scss +20 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_spacing.scss +73 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_text.scss +67 -0
- data/_sass/node_modules/bootstrap/scss/utilities/_visibility.scss +11 -0
- data/_sass/node_modules/primer-markdown/build/build.scss +1 -0
- data/_sass/package.json +12 -0
- data/assets/css/style.scss +4 -0
- metadata +266 -0
@@ -0,0 +1,1091 @@
|
|
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-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
|
116
|
+
$enable-grid-classes: true !default;
|
117
|
+
$enable-print-styles: true !default;
|
118
|
+
$enable-validation-icons: true !default;
|
119
|
+
|
120
|
+
|
121
|
+
// Spacing
|
122
|
+
//
|
123
|
+
// Control the default styling of most Bootstrap elements by modifying these
|
124
|
+
// variables. Mostly focused on spacing.
|
125
|
+
// You can add more entries to the $spacers map, should you need more variation.
|
126
|
+
|
127
|
+
$spacer: 1rem !default;
|
128
|
+
$spacers: () !default;
|
129
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
130
|
+
$spacers: map-merge(
|
131
|
+
(
|
132
|
+
0: 0,
|
133
|
+
1: ($spacer * .25),
|
134
|
+
2: ($spacer * .5),
|
135
|
+
3: $spacer,
|
136
|
+
4: ($spacer * 1.5),
|
137
|
+
5: ($spacer * 3)
|
138
|
+
),
|
139
|
+
$spacers
|
140
|
+
);
|
141
|
+
|
142
|
+
// This variable affects the `.h-*` and `.w-*` classes.
|
143
|
+
$sizes: () !default;
|
144
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
145
|
+
$sizes: map-merge(
|
146
|
+
(
|
147
|
+
25: 25%,
|
148
|
+
50: 50%,
|
149
|
+
75: 75%,
|
150
|
+
100: 100%,
|
151
|
+
auto: auto
|
152
|
+
),
|
153
|
+
$sizes
|
154
|
+
);
|
155
|
+
|
156
|
+
|
157
|
+
// Body
|
158
|
+
//
|
159
|
+
// Settings for the `<body>` element.
|
160
|
+
|
161
|
+
$body-bg: $white !default;
|
162
|
+
$body-color: $gray-900 !default;
|
163
|
+
|
164
|
+
|
165
|
+
// Links
|
166
|
+
//
|
167
|
+
// Style anchor elements.
|
168
|
+
|
169
|
+
$link-color: theme-color("primary") !default;
|
170
|
+
$link-decoration: none !default;
|
171
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
172
|
+
$link-hover-decoration: underline !default;
|
173
|
+
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
|
174
|
+
$emphasized-link-hover-darken-percentage: 15% !default;
|
175
|
+
|
176
|
+
// Paragraphs
|
177
|
+
//
|
178
|
+
// Style p element.
|
179
|
+
|
180
|
+
$paragraph-margin-bottom: 1rem !default;
|
181
|
+
|
182
|
+
|
183
|
+
// Grid breakpoints
|
184
|
+
//
|
185
|
+
// Define the minimum dimensions at which your layout will change,
|
186
|
+
// adapting to different screen sizes, for use in media queries.
|
187
|
+
|
188
|
+
$grid-breakpoints: () !default;
|
189
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
190
|
+
$grid-breakpoints: map-merge(
|
191
|
+
(
|
192
|
+
xs: 0,
|
193
|
+
sm: 576px,
|
194
|
+
md: 768px,
|
195
|
+
lg: 992px,
|
196
|
+
xl: 1200px
|
197
|
+
),
|
198
|
+
$grid-breakpoints
|
199
|
+
);
|
200
|
+
|
201
|
+
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
202
|
+
@include _assert-starts-at-zero($grid-breakpoints);
|
203
|
+
|
204
|
+
|
205
|
+
// Grid containers
|
206
|
+
//
|
207
|
+
// Define the maximum width of `.container` for different screen sizes.
|
208
|
+
|
209
|
+
$container-max-widths: () !default;
|
210
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
211
|
+
$container-max-widths: map-merge(
|
212
|
+
(
|
213
|
+
sm: 540px,
|
214
|
+
md: 720px,
|
215
|
+
lg: 960px,
|
216
|
+
xl: 1140px
|
217
|
+
),
|
218
|
+
$container-max-widths
|
219
|
+
);
|
220
|
+
|
221
|
+
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
222
|
+
|
223
|
+
|
224
|
+
// Grid columns
|
225
|
+
//
|
226
|
+
// Set the number of columns and specify the width of the gutters.
|
227
|
+
|
228
|
+
$grid-columns: 12 !default;
|
229
|
+
$grid-gutter-width: 30px !default;
|
230
|
+
|
231
|
+
|
232
|
+
// Components
|
233
|
+
//
|
234
|
+
// Define common padding and border radius sizes and more.
|
235
|
+
|
236
|
+
$line-height-lg: 1.5 !default;
|
237
|
+
$line-height-sm: 1.5 !default;
|
238
|
+
|
239
|
+
$border-width: 1px !default;
|
240
|
+
$border-color: $gray-300 !default;
|
241
|
+
|
242
|
+
$border-radius: .25rem !default;
|
243
|
+
$border-radius-lg: .3rem !default;
|
244
|
+
$border-radius-sm: .2rem !default;
|
245
|
+
|
246
|
+
$rounded-pill: 50rem !default;
|
247
|
+
|
248
|
+
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
249
|
+
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
250
|
+
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
251
|
+
|
252
|
+
$component-active-color: $white !default;
|
253
|
+
$component-active-bg: theme-color("primary") !default;
|
254
|
+
|
255
|
+
$caret-width: .3em !default;
|
256
|
+
|
257
|
+
$transition-base: all .2s ease-in-out !default;
|
258
|
+
$transition-fade: opacity .15s linear !default;
|
259
|
+
$transition-collapse: height .35s ease !default;
|
260
|
+
|
261
|
+
$embed-responsive-aspect-ratios: () !default;
|
262
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
263
|
+
$embed-responsive-aspect-ratios: join(
|
264
|
+
(
|
265
|
+
(21 9),
|
266
|
+
(16 9),
|
267
|
+
(3 4),
|
268
|
+
(1 1),
|
269
|
+
),
|
270
|
+
$embed-responsive-aspect-ratios
|
271
|
+
);
|
272
|
+
|
273
|
+
// Fonts
|
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: inherit !default;
|
305
|
+
$headings-font-weight: 500 !default;
|
306
|
+
$headings-line-height: 1.2 !default;
|
307
|
+
$headings-color: inherit !default;
|
308
|
+
|
309
|
+
$display1-size: 6rem !default;
|
310
|
+
$display2-size: 5.5rem !default;
|
311
|
+
$display3-size: 4.5rem !default;
|
312
|
+
$display4-size: 3.5rem !default;
|
313
|
+
|
314
|
+
$display1-weight: 300 !default;
|
315
|
+
$display2-weight: 300 !default;
|
316
|
+
$display3-weight: 300 !default;
|
317
|
+
$display4-weight: 300 !default;
|
318
|
+
$display-line-height: $headings-line-height !default;
|
319
|
+
|
320
|
+
$lead-font-size: ($font-size-base * 1.25) !default;
|
321
|
+
$lead-font-weight: 300 !default;
|
322
|
+
|
323
|
+
$small-font-size: 80% !default;
|
324
|
+
|
325
|
+
$text-muted: $gray-600 !default;
|
326
|
+
|
327
|
+
$blockquote-small-color: $gray-600 !default;
|
328
|
+
$blockquote-small-font-size: $small-font-size !default;
|
329
|
+
$blockquote-font-size: ($font-size-base * 1.25) !default;
|
330
|
+
|
331
|
+
$hr-border-color: rgba($black, .1) !default;
|
332
|
+
$hr-border-width: $border-width !default;
|
333
|
+
|
334
|
+
$mark-padding: .2em !default;
|
335
|
+
|
336
|
+
$dt-font-weight: $font-weight-bold !default;
|
337
|
+
|
338
|
+
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
|
339
|
+
$nested-kbd-font-weight: $font-weight-bold !default;
|
340
|
+
|
341
|
+
$list-inline-padding: .5rem !default;
|
342
|
+
|
343
|
+
$mark-bg: #fcf8e3 !default;
|
344
|
+
|
345
|
+
$hr-margin-y: $spacer !default;
|
346
|
+
|
347
|
+
|
348
|
+
// Tables
|
349
|
+
//
|
350
|
+
// Customizes the `.table` component with basic values, each used across all table variations.
|
351
|
+
|
352
|
+
$table-cell-padding: .75rem !default;
|
353
|
+
$table-cell-padding-sm: .3rem !default;
|
354
|
+
|
355
|
+
$table-bg: transparent !default;
|
356
|
+
$table-accent-bg: rgba($black, .05) !default;
|
357
|
+
$table-hover-bg: rgba($black, .075) !default;
|
358
|
+
$table-active-bg: $table-hover-bg !default;
|
359
|
+
|
360
|
+
$table-border-width: $border-width !default;
|
361
|
+
$table-border-color: $gray-300 !default;
|
362
|
+
|
363
|
+
$table-head-bg: $gray-200 !default;
|
364
|
+
$table-head-color: $gray-700 !default;
|
365
|
+
|
366
|
+
$table-dark-bg: $gray-900 !default;
|
367
|
+
$table-dark-accent-bg: rgba($white, .05) !default;
|
368
|
+
$table-dark-hover-bg: rgba($white, .075) !default;
|
369
|
+
$table-dark-border-color: lighten($gray-900, 7.5%) !default;
|
370
|
+
$table-dark-color: $white !default;
|
371
|
+
|
372
|
+
$table-striped-order: odd !default;
|
373
|
+
|
374
|
+
$table-caption-color: $text-muted !default;
|
375
|
+
|
376
|
+
$table-bg-level: -9 !default;
|
377
|
+
$table-border-level: -6 !default;
|
378
|
+
|
379
|
+
|
380
|
+
// Buttons + Forms
|
381
|
+
//
|
382
|
+
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
383
|
+
|
384
|
+
$input-btn-padding-y: .375rem !default;
|
385
|
+
$input-btn-padding-x: .75rem !default;
|
386
|
+
$input-btn-font-size: $font-size-base !default;
|
387
|
+
$input-btn-line-height: $line-height-base !default;
|
388
|
+
|
389
|
+
$input-btn-focus-width: .2rem !default;
|
390
|
+
$input-btn-focus-color: rgba($component-active-bg, .25) !default;
|
391
|
+
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
|
392
|
+
|
393
|
+
$input-btn-padding-y-sm: .25rem !default;
|
394
|
+
$input-btn-padding-x-sm: .5rem !default;
|
395
|
+
$input-btn-font-size-sm: $font-size-sm !default;
|
396
|
+
$input-btn-line-height-sm: $line-height-sm !default;
|
397
|
+
|
398
|
+
$input-btn-padding-y-lg: .5rem !default;
|
399
|
+
$input-btn-padding-x-lg: 1rem !default;
|
400
|
+
$input-btn-font-size-lg: $font-size-lg !default;
|
401
|
+
$input-btn-line-height-lg: $line-height-lg !default;
|
402
|
+
|
403
|
+
$input-btn-border-width: $border-width !default;
|
404
|
+
|
405
|
+
|
406
|
+
// Buttons
|
407
|
+
//
|
408
|
+
// For each of Bootstrap's buttons, define text, background, and border color.
|
409
|
+
|
410
|
+
$btn-padding-y: $input-btn-padding-y !default;
|
411
|
+
$btn-padding-x: $input-btn-padding-x !default;
|
412
|
+
$btn-font-size: $input-btn-font-size !default;
|
413
|
+
$btn-line-height: $input-btn-line-height !default;
|
414
|
+
|
415
|
+
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
416
|
+
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
417
|
+
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
418
|
+
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
419
|
+
|
420
|
+
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
421
|
+
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
422
|
+
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
423
|
+
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
424
|
+
|
425
|
+
$btn-border-width: $input-btn-border-width !default;
|
426
|
+
|
427
|
+
$btn-font-weight: $font-weight-normal !default;
|
428
|
+
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
|
429
|
+
$btn-focus-width: $input-btn-focus-width !default;
|
430
|
+
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
431
|
+
$btn-disabled-opacity: .65 !default;
|
432
|
+
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
433
|
+
|
434
|
+
$btn-link-disabled-color: $gray-600 !default;
|
435
|
+
|
436
|
+
$btn-block-spacing-y: .5rem !default;
|
437
|
+
|
438
|
+
// Allows for customizing button radius independently from global border radius
|
439
|
+
$btn-border-radius: $border-radius !default;
|
440
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
441
|
+
$btn-border-radius-sm: $border-radius-sm !default;
|
442
|
+
|
443
|
+
$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;
|
444
|
+
|
445
|
+
|
446
|
+
// Forms
|
447
|
+
|
448
|
+
$label-margin-bottom: .5rem !default;
|
449
|
+
|
450
|
+
$input-padding-y: $input-btn-padding-y !default;
|
451
|
+
$input-padding-x: $input-btn-padding-x !default;
|
452
|
+
$input-font-size: $input-btn-font-size !default;
|
453
|
+
$input-font-weight: $font-weight-base !default;
|
454
|
+
$input-line-height: $input-btn-line-height !default;
|
455
|
+
|
456
|
+
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
457
|
+
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
458
|
+
$input-font-size-sm: $input-btn-font-size-sm !default;
|
459
|
+
$input-line-height-sm: $input-btn-line-height-sm !default;
|
460
|
+
|
461
|
+
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
462
|
+
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
463
|
+
$input-font-size-lg: $input-btn-font-size-lg !default;
|
464
|
+
$input-line-height-lg: $input-btn-line-height-lg !default;
|
465
|
+
|
466
|
+
$input-bg: $white !default;
|
467
|
+
$input-disabled-bg: $gray-200 !default;
|
468
|
+
|
469
|
+
$input-color: $gray-700 !default;
|
470
|
+
$input-border-color: $gray-400 !default;
|
471
|
+
$input-border-width: $input-btn-border-width !default;
|
472
|
+
$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
|
473
|
+
|
474
|
+
$input-border-radius: $border-radius !default;
|
475
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
476
|
+
$input-border-radius-sm: $border-radius-sm !default;
|
477
|
+
|
478
|
+
$input-focus-bg: $input-bg !default;
|
479
|
+
$input-focus-border-color: lighten($component-active-bg, 25%) !default;
|
480
|
+
$input-focus-color: $input-color !default;
|
481
|
+
$input-focus-width: $input-btn-focus-width !default;
|
482
|
+
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
483
|
+
|
484
|
+
$input-placeholder-color: $gray-600 !default;
|
485
|
+
$input-plaintext-color: $body-color !default;
|
486
|
+
|
487
|
+
$input-height-border: $input-border-width * 2 !default;
|
488
|
+
|
489
|
+
$input-height-inner: ($input-btn-font-size * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
|
490
|
+
$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
|
491
|
+
|
492
|
+
$input-height-inner-sm: ($input-btn-font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
|
493
|
+
$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
|
494
|
+
|
495
|
+
$input-height-inner-lg: ($input-btn-font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
|
496
|
+
$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
|
497
|
+
|
498
|
+
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
499
|
+
|
500
|
+
$form-text-margin-top: .25rem !default;
|
501
|
+
|
502
|
+
$form-check-input-gutter: 1.25rem !default;
|
503
|
+
$form-check-input-margin-y: .3rem !default;
|
504
|
+
$form-check-input-margin-x: .25rem !default;
|
505
|
+
|
506
|
+
$form-check-inline-margin-x: .75rem !default;
|
507
|
+
$form-check-inline-input-margin-x: .3125rem !default;
|
508
|
+
|
509
|
+
$form-grid-gutter-width: 10px !default;
|
510
|
+
$form-group-margin-bottom: 1rem !default;
|
511
|
+
|
512
|
+
$input-group-addon-color: $input-color !default;
|
513
|
+
$input-group-addon-bg: $gray-200 !default;
|
514
|
+
$input-group-addon-border-color: $input-border-color !default;
|
515
|
+
|
516
|
+
$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
517
|
+
|
518
|
+
$custom-control-gutter: .5rem !default;
|
519
|
+
$custom-control-spacer-x: 1rem !default;
|
520
|
+
|
521
|
+
$custom-control-indicator-size: 1rem !default;
|
522
|
+
$custom-control-indicator-bg: $input-bg !default;
|
523
|
+
|
524
|
+
$custom-control-indicator-bg-size: 50% 50% !default;
|
525
|
+
$custom-control-indicator-box-shadow: $input-box-shadow !default;
|
526
|
+
$custom-control-indicator-border-color: $gray-500 !default;
|
527
|
+
$custom-control-indicator-border-width: $input-border-width !default;
|
528
|
+
|
529
|
+
$custom-control-indicator-disabled-bg: $input-disabled-bg !default;
|
530
|
+
$custom-control-label-disabled-color: $gray-600 !default;
|
531
|
+
|
532
|
+
$custom-control-indicator-checked-color: $component-active-color !default;
|
533
|
+
$custom-control-indicator-checked-bg: $component-active-bg !default;
|
534
|
+
$custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
|
535
|
+
$custom-control-indicator-checked-box-shadow: none !default;
|
536
|
+
$custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;
|
537
|
+
|
538
|
+
$custom-control-indicator-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
539
|
+
$custom-control-indicator-focus-border-color: $input-focus-border-color !default;
|
540
|
+
|
541
|
+
$custom-control-indicator-active-color: $component-active-color !default;
|
542
|
+
$custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;
|
543
|
+
$custom-control-indicator-active-box-shadow: none !default;
|
544
|
+
$custom-control-indicator-active-border-color: $custom-control-indicator-active-bg !default;
|
545
|
+
|
546
|
+
$custom-checkbox-indicator-border-radius: $border-radius !default;
|
547
|
+
$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
548
|
+
|
549
|
+
$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
|
550
|
+
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
|
551
|
+
$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3e%3c/svg%3e"), "#", "%23") !default;
|
552
|
+
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
|
553
|
+
$custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg !default;
|
554
|
+
|
555
|
+
$custom-radio-indicator-border-radius: 50% !default;
|
556
|
+
$custom-radio-indicator-icon-checked: 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='#{$custom-control-indicator-checked-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
|
557
|
+
|
558
|
+
$custom-switch-width: $custom-control-indicator-size * 1.75 !default;
|
559
|
+
$custom-switch-indicator-border-radius: $custom-control-indicator-size / 2 !default;
|
560
|
+
$custom-switch-indicator-size: calc(#{$custom-control-indicator-size} - #{$custom-control-indicator-border-width * 4}) !default;
|
561
|
+
|
562
|
+
$custom-select-padding-y: $input-btn-padding-y !default;
|
563
|
+
$custom-select-padding-x: $input-btn-padding-x !default;
|
564
|
+
$custom-select-height: $input-height !default;
|
565
|
+
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
|
566
|
+
$custom-select-font-weight: $input-font-weight !default;
|
567
|
+
$custom-select-line-height: $input-line-height !default;
|
568
|
+
$custom-select-color: $input-color !default;
|
569
|
+
$custom-select-disabled-color: $gray-600 !default;
|
570
|
+
$custom-select-bg: $input-bg !default;
|
571
|
+
$custom-select-disabled-bg: $gray-200 !default;
|
572
|
+
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
|
573
|
+
$custom-select-indicator-color: $gray-800 !default;
|
574
|
+
$custom-select-indicator: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
575
|
+
$custom-select-background: $custom-select-indicator no-repeat right $custom-select-padding-x center / $custom-select-bg-size !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
|
576
|
+
|
577
|
+
$custom-select-feedback-icon-padding-right: $input-height-inner * 3 / 4 + $custom-select-padding-x + $custom-select-indicator-padding !default;
|
578
|
+
$custom-select-feedback-icon-position: center right ($custom-select-padding-x + $custom-select-indicator-padding) !default;
|
579
|
+
$custom-select-feedback-icon-size: ($input-height-inner / 2) ($input-height-inner / 2) !default;
|
580
|
+
|
581
|
+
$custom-select-border-width: $input-border-width !default;
|
582
|
+
$custom-select-border-color: $input-border-color !default;
|
583
|
+
$custom-select-border-radius: $border-radius !default;
|
584
|
+
$custom-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;
|
585
|
+
|
586
|
+
$custom-select-focus-border-color: $input-focus-border-color !default;
|
587
|
+
$custom-select-focus-width: $input-focus-width !default;
|
588
|
+
$custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width rgba($custom-select-focus-border-color, .5) !default;
|
589
|
+
|
590
|
+
$custom-select-padding-y-sm: $input-padding-y-sm !default;
|
591
|
+
$custom-select-padding-x-sm: $input-padding-x-sm !default;
|
592
|
+
$custom-select-font-size-sm: $input-btn-font-size-sm !default;
|
593
|
+
$custom-select-height-sm: $input-height-sm !default;
|
594
|
+
|
595
|
+
$custom-select-padding-y-lg: $input-padding-y-lg !default;
|
596
|
+
$custom-select-padding-x-lg: $input-padding-x-lg !default;
|
597
|
+
$custom-select-font-size-lg: $input-btn-font-size-lg !default;
|
598
|
+
$custom-select-height-lg: $input-height-lg !default;
|
599
|
+
|
600
|
+
$custom-range-track-width: 100% !default;
|
601
|
+
$custom-range-track-height: .5rem !default;
|
602
|
+
$custom-range-track-cursor: pointer !default;
|
603
|
+
$custom-range-track-bg: $gray-300 !default;
|
604
|
+
$custom-range-track-border-radius: 1rem !default;
|
605
|
+
$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
606
|
+
|
607
|
+
$custom-range-thumb-width: 1rem !default;
|
608
|
+
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
609
|
+
$custom-range-thumb-bg: $component-active-bg !default;
|
610
|
+
$custom-range-thumb-border: 0 !default;
|
611
|
+
$custom-range-thumb-border-radius: 1rem !default;
|
612
|
+
$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
613
|
+
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
614
|
+
$custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
|
615
|
+
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
616
|
+
$custom-range-thumb-disabled-bg: $gray-500 !default;
|
617
|
+
|
618
|
+
$custom-file-height: $input-height !default;
|
619
|
+
$custom-file-height-inner: $input-height-inner !default;
|
620
|
+
$custom-file-focus-border-color: $input-focus-border-color !default;
|
621
|
+
$custom-file-focus-box-shadow: $input-focus-box-shadow !default;
|
622
|
+
$custom-file-disabled-bg: $input-disabled-bg !default;
|
623
|
+
|
624
|
+
$custom-file-padding-y: $input-padding-y !default;
|
625
|
+
$custom-file-padding-x: $input-padding-x !default;
|
626
|
+
$custom-file-line-height: $input-line-height !default;
|
627
|
+
$custom-file-font-weight: $input-font-weight !default;
|
628
|
+
$custom-file-color: $input-color !default;
|
629
|
+
$custom-file-bg: $input-bg !default;
|
630
|
+
$custom-file-border-width: $input-border-width !default;
|
631
|
+
$custom-file-border-color: $input-border-color !default;
|
632
|
+
$custom-file-border-radius: $input-border-radius !default;
|
633
|
+
$custom-file-box-shadow: $input-box-shadow !default;
|
634
|
+
$custom-file-button-color: $custom-file-color !default;
|
635
|
+
$custom-file-button-bg: $input-group-addon-bg !default;
|
636
|
+
$custom-file-text: (
|
637
|
+
en: "Browse"
|
638
|
+
) !default;
|
639
|
+
|
640
|
+
|
641
|
+
// Form validation
|
642
|
+
|
643
|
+
$form-feedback-margin-top: $form-text-margin-top !default;
|
644
|
+
$form-feedback-font-size: $small-font-size !default;
|
645
|
+
$form-feedback-valid-color: theme-color("success") !default;
|
646
|
+
$form-feedback-invalid-color: theme-color("danger") !default;
|
647
|
+
|
648
|
+
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
649
|
+
$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;
|
650
|
+
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
651
|
+
$form-feedback-icon-invalid: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-feedback-icon-invalid-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") !default;
|
652
|
+
|
653
|
+
|
654
|
+
// Dropdowns
|
655
|
+
//
|
656
|
+
// Dropdown menu container and contents.
|
657
|
+
|
658
|
+
$dropdown-min-width: 10rem !default;
|
659
|
+
$dropdown-padding-y: .5rem !default;
|
660
|
+
$dropdown-spacer: .125rem !default;
|
661
|
+
$dropdown-bg: $white !default;
|
662
|
+
$dropdown-border-color: rgba($black, .15) !default;
|
663
|
+
$dropdown-border-radius: $border-radius !default;
|
664
|
+
$dropdown-border-width: $border-width !default;
|
665
|
+
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default;
|
666
|
+
$dropdown-divider-bg: $gray-200 !default;
|
667
|
+
$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;
|
668
|
+
|
669
|
+
$dropdown-link-color: $gray-900 !default;
|
670
|
+
$dropdown-link-hover-color: darken($gray-900, 5%) !default;
|
671
|
+
$dropdown-link-hover-bg: $gray-100 !default;
|
672
|
+
|
673
|
+
$dropdown-link-active-color: $component-active-color !default;
|
674
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
675
|
+
|
676
|
+
$dropdown-link-disabled-color: $gray-600 !default;
|
677
|
+
|
678
|
+
$dropdown-item-padding-y: .25rem !default;
|
679
|
+
$dropdown-item-padding-x: 1.5rem !default;
|
680
|
+
|
681
|
+
$dropdown-header-color: $gray-600 !default;
|
682
|
+
|
683
|
+
|
684
|
+
// Z-index master list
|
685
|
+
//
|
686
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
687
|
+
// of components dependent on the z-axis and are designed to all work together.
|
688
|
+
|
689
|
+
$zindex-dropdown: 1000 !default;
|
690
|
+
$zindex-sticky: 1020 !default;
|
691
|
+
$zindex-fixed: 1030 !default;
|
692
|
+
$zindex-modal-backdrop: 1040 !default;
|
693
|
+
$zindex-modal: 1050 !default;
|
694
|
+
$zindex-popover: 1060 !default;
|
695
|
+
$zindex-tooltip: 1070 !default;
|
696
|
+
|
697
|
+
|
698
|
+
// Navs
|
699
|
+
|
700
|
+
$nav-link-padding-y: .5rem !default;
|
701
|
+
$nav-link-padding-x: 1rem !default;
|
702
|
+
$nav-link-disabled-color: $gray-600 !default;
|
703
|
+
|
704
|
+
$nav-tabs-border-color: $gray-300 !default;
|
705
|
+
$nav-tabs-border-width: $border-width !default;
|
706
|
+
$nav-tabs-border-radius: $border-radius !default;
|
707
|
+
$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
|
708
|
+
$nav-tabs-link-active-color: $gray-700 !default;
|
709
|
+
$nav-tabs-link-active-bg: $body-bg !default;
|
710
|
+
$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
|
711
|
+
|
712
|
+
$nav-pills-border-radius: $border-radius !default;
|
713
|
+
$nav-pills-link-active-color: $component-active-color !default;
|
714
|
+
$nav-pills-link-active-bg: $component-active-bg !default;
|
715
|
+
|
716
|
+
$nav-divider-color: $gray-200 !default;
|
717
|
+
$nav-divider-margin-y: $spacer / 2 !default;
|
718
|
+
|
719
|
+
|
720
|
+
// Navbar
|
721
|
+
|
722
|
+
$navbar-padding-y: $spacer / 2 !default;
|
723
|
+
$navbar-padding-x: $spacer !default;
|
724
|
+
|
725
|
+
$navbar-nav-link-padding-x: .5rem !default;
|
726
|
+
|
727
|
+
$navbar-brand-font-size: $font-size-lg !default;
|
728
|
+
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
729
|
+
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
730
|
+
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
731
|
+
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
732
|
+
|
733
|
+
$navbar-toggler-padding-y: .25rem !default;
|
734
|
+
$navbar-toggler-padding-x: .75rem !default;
|
735
|
+
$navbar-toggler-font-size: $font-size-lg !default;
|
736
|
+
$navbar-toggler-border-radius: $btn-border-radius !default;
|
737
|
+
|
738
|
+
$navbar-dark-color: rgba($white, .5) !default;
|
739
|
+
$navbar-dark-hover-color: rgba($white, .75) !default;
|
740
|
+
$navbar-dark-active-color: $white !default;
|
741
|
+
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
742
|
+
$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;
|
743
|
+
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
744
|
+
|
745
|
+
$navbar-light-color: rgba($black, .5) !default;
|
746
|
+
$navbar-light-hover-color: rgba($black, .7) !default;
|
747
|
+
$navbar-light-active-color: rgba($black, .9) !default;
|
748
|
+
$navbar-light-disabled-color: rgba($black, .3) !default;
|
749
|
+
$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;
|
750
|
+
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
751
|
+
|
752
|
+
$navbar-light-brand-color: $navbar-light-active-color !default;
|
753
|
+
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
754
|
+
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
755
|
+
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
756
|
+
|
757
|
+
|
758
|
+
// Pagination
|
759
|
+
|
760
|
+
$pagination-padding-y: .5rem !default;
|
761
|
+
$pagination-padding-x: .75rem !default;
|
762
|
+
$pagination-padding-y-sm: .25rem !default;
|
763
|
+
$pagination-padding-x-sm: .5rem !default;
|
764
|
+
$pagination-padding-y-lg: .75rem !default;
|
765
|
+
$pagination-padding-x-lg: 1.5rem !default;
|
766
|
+
$pagination-line-height: 1.25 !default;
|
767
|
+
|
768
|
+
$pagination-color: $link-color !default;
|
769
|
+
$pagination-bg: $white !default;
|
770
|
+
$pagination-border-width: $border-width !default;
|
771
|
+
$pagination-border-color: $gray-300 !default;
|
772
|
+
|
773
|
+
$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
774
|
+
$pagination-focus-outline: 0 !default;
|
775
|
+
|
776
|
+
$pagination-hover-color: $link-hover-color !default;
|
777
|
+
$pagination-hover-bg: $gray-200 !default;
|
778
|
+
$pagination-hover-border-color: $gray-300 !default;
|
779
|
+
|
780
|
+
$pagination-active-color: $component-active-color !default;
|
781
|
+
$pagination-active-bg: $component-active-bg !default;
|
782
|
+
$pagination-active-border-color: $pagination-active-bg !default;
|
783
|
+
|
784
|
+
$pagination-disabled-color: $gray-600 !default;
|
785
|
+
$pagination-disabled-bg: $white !default;
|
786
|
+
$pagination-disabled-border-color: $gray-300 !default;
|
787
|
+
|
788
|
+
|
789
|
+
// Jumbotron
|
790
|
+
|
791
|
+
$jumbotron-padding: 2rem !default;
|
792
|
+
$jumbotron-bg: $gray-200 !default;
|
793
|
+
|
794
|
+
|
795
|
+
// Cards
|
796
|
+
|
797
|
+
$card-spacer-y: .75rem !default;
|
798
|
+
$card-spacer-x: 1.25rem !default;
|
799
|
+
$card-border-width: $border-width !default;
|
800
|
+
$card-border-radius: $border-radius !default;
|
801
|
+
$card-border-color: rgba($black, .125) !default;
|
802
|
+
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
|
803
|
+
$card-cap-bg: rgba($black, .03) !default;
|
804
|
+
$card-cap-color: inherit !default;
|
805
|
+
$card-bg: $white !default;
|
806
|
+
|
807
|
+
$card-img-overlay-padding: 1.25rem !default;
|
808
|
+
|
809
|
+
$card-group-margin: $grid-gutter-width / 2 !default;
|
810
|
+
$card-deck-margin: $card-group-margin !default;
|
811
|
+
|
812
|
+
$card-columns-count: 3 !default;
|
813
|
+
$card-columns-gap: 1.25rem !default;
|
814
|
+
$card-columns-margin: $card-spacer-y !default;
|
815
|
+
|
816
|
+
|
817
|
+
// Tooltips
|
818
|
+
|
819
|
+
$tooltip-font-size: $font-size-sm !default;
|
820
|
+
$tooltip-max-width: 200px !default;
|
821
|
+
$tooltip-color: $white !default;
|
822
|
+
$tooltip-bg: $black !default;
|
823
|
+
$tooltip-border-radius: $border-radius !default;
|
824
|
+
$tooltip-opacity: .9 !default;
|
825
|
+
$tooltip-padding-y: .25rem !default;
|
826
|
+
$tooltip-padding-x: .5rem !default;
|
827
|
+
$tooltip-margin: 0 !default;
|
828
|
+
|
829
|
+
$tooltip-arrow-width: .8rem !default;
|
830
|
+
$tooltip-arrow-height: .4rem !default;
|
831
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
832
|
+
|
833
|
+
// Form tooltips must come after regular tooltips
|
834
|
+
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
835
|
+
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
836
|
+
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
837
|
+
$form-feedback-tooltip-line-height: $line-height-base !default;
|
838
|
+
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
839
|
+
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
840
|
+
|
841
|
+
|
842
|
+
// Popovers
|
843
|
+
|
844
|
+
$popover-font-size: $font-size-sm !default;
|
845
|
+
$popover-bg: $white !default;
|
846
|
+
$popover-max-width: 276px !default;
|
847
|
+
$popover-border-width: $border-width !default;
|
848
|
+
$popover-border-color: rgba($black, .2) !default;
|
849
|
+
$popover-border-radius: $border-radius-lg !default;
|
850
|
+
$popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;
|
851
|
+
|
852
|
+
$popover-header-bg: darken($popover-bg, 3%) !default;
|
853
|
+
$popover-header-color: $headings-color !default;
|
854
|
+
$popover-header-padding-y: .5rem !default;
|
855
|
+
$popover-header-padding-x: .75rem !default;
|
856
|
+
|
857
|
+
$popover-body-color: $body-color !default;
|
858
|
+
$popover-body-padding-y: $popover-header-padding-y !default;
|
859
|
+
$popover-body-padding-x: $popover-header-padding-x !default;
|
860
|
+
|
861
|
+
$popover-arrow-width: 1rem !default;
|
862
|
+
$popover-arrow-height: .5rem !default;
|
863
|
+
$popover-arrow-color: $popover-bg !default;
|
864
|
+
|
865
|
+
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
866
|
+
|
867
|
+
|
868
|
+
// Toasts
|
869
|
+
$toast-max-width: 350px !default;
|
870
|
+
$toast-padding-x: .75rem !default;
|
871
|
+
$toast-padding-y: .25rem !default;
|
872
|
+
$toast-font-size: .875rem !default;
|
873
|
+
$toast-background-color: rgba($white, .85) !default;
|
874
|
+
$toast-border-width: 1px !default;
|
875
|
+
$toast-border-color: rgba(0, 0, 0, .1) !default;
|
876
|
+
$toast-border-radius: .25rem !default;
|
877
|
+
$toast-box-shadow: 0 .25rem .75rem rgba($black, .1) !default;
|
878
|
+
|
879
|
+
$toast-header-color: $gray-600 !default;
|
880
|
+
$toast-header-background-color: rgba($white, .85) !default;
|
881
|
+
$toast-header-border-color: rgba(0, 0, 0, .05) !default;
|
882
|
+
|
883
|
+
|
884
|
+
// Badges
|
885
|
+
|
886
|
+
$badge-font-size: 75% !default;
|
887
|
+
$badge-font-weight: $font-weight-bold !default;
|
888
|
+
$badge-padding-y: .25em !default;
|
889
|
+
$badge-padding-x: .4em !default;
|
890
|
+
$badge-border-radius: $border-radius !default;
|
891
|
+
|
892
|
+
$badge-pill-padding-x: .6em !default;
|
893
|
+
// Use a higher than normal value to ensure completely rounded edges when
|
894
|
+
// customizing padding or font-size on labels.
|
895
|
+
$badge-pill-border-radius: 10rem !default;
|
896
|
+
|
897
|
+
|
898
|
+
// Modals
|
899
|
+
|
900
|
+
// Padding applied to the modal body
|
901
|
+
$modal-inner-padding: 1rem !default;
|
902
|
+
|
903
|
+
$modal-dialog-margin: .5rem !default;
|
904
|
+
$modal-dialog-margin-y-sm-up: 1.75rem !default;
|
905
|
+
|
906
|
+
$modal-title-line-height: $line-height-base !default;
|
907
|
+
|
908
|
+
$modal-content-bg: $white !default;
|
909
|
+
$modal-content-border-color: rgba($black, .2) !default;
|
910
|
+
$modal-content-border-width: $border-width !default;
|
911
|
+
$modal-content-border-radius: $border-radius-lg !default;
|
912
|
+
$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
|
913
|
+
$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
|
914
|
+
|
915
|
+
$modal-backdrop-bg: $black !default;
|
916
|
+
$modal-backdrop-opacity: .5 !default;
|
917
|
+
$modal-header-border-color: $gray-200 !default;
|
918
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
919
|
+
$modal-header-border-width: $modal-content-border-width !default;
|
920
|
+
$modal-footer-border-width: $modal-header-border-width !default;
|
921
|
+
$modal-header-padding-y: 1rem !default;
|
922
|
+
$modal-header-padding-x: 1rem !default;
|
923
|
+
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
924
|
+
|
925
|
+
$modal-xl: 1140px !default;
|
926
|
+
$modal-lg: 800px !default;
|
927
|
+
$modal-md: 500px !default;
|
928
|
+
$modal-sm: 300px !default;
|
929
|
+
|
930
|
+
$modal-fade-transform: translate(0, -50px) !default;
|
931
|
+
$modal-show-transform: none !default;
|
932
|
+
$modal-transition: transform .3s ease-out !default;
|
933
|
+
|
934
|
+
|
935
|
+
// Alerts
|
936
|
+
//
|
937
|
+
// Define alert colors, border radius, and padding.
|
938
|
+
|
939
|
+
$alert-padding-y: .75rem !default;
|
940
|
+
$alert-padding-x: 1.25rem !default;
|
941
|
+
$alert-margin-bottom: 1rem !default;
|
942
|
+
$alert-border-radius: $border-radius !default;
|
943
|
+
$alert-link-font-weight: $font-weight-bold !default;
|
944
|
+
$alert-border-width: $border-width !default;
|
945
|
+
|
946
|
+
$alert-bg-level: -10 !default;
|
947
|
+
$alert-border-level: -9 !default;
|
948
|
+
$alert-color-level: 6 !default;
|
949
|
+
|
950
|
+
|
951
|
+
// Progress bars
|
952
|
+
|
953
|
+
$progress-height: 1rem !default;
|
954
|
+
$progress-font-size: ($font-size-base * .75) !default;
|
955
|
+
$progress-bg: $gray-200 !default;
|
956
|
+
$progress-border-radius: $border-radius !default;
|
957
|
+
$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
|
958
|
+
$progress-bar-color: $white !default;
|
959
|
+
$progress-bar-bg: theme-color("primary") !default;
|
960
|
+
$progress-bar-animation-timing: 1s linear infinite !default;
|
961
|
+
$progress-bar-transition: width .6s ease !default;
|
962
|
+
|
963
|
+
|
964
|
+
// List group
|
965
|
+
|
966
|
+
$list-group-bg: $white !default;
|
967
|
+
$list-group-border-color: rgba($black, .125) !default;
|
968
|
+
$list-group-border-width: $border-width !default;
|
969
|
+
$list-group-border-radius: $border-radius !default;
|
970
|
+
|
971
|
+
$list-group-item-padding-y: .75rem !default;
|
972
|
+
$list-group-item-padding-x: 1.25rem !default;
|
973
|
+
|
974
|
+
$list-group-hover-bg: $gray-100 !default;
|
975
|
+
$list-group-active-color: $component-active-color !default;
|
976
|
+
$list-group-active-bg: $component-active-bg !default;
|
977
|
+
$list-group-active-border-color: $list-group-active-bg !default;
|
978
|
+
|
979
|
+
$list-group-disabled-color: $gray-600 !default;
|
980
|
+
$list-group-disabled-bg: $list-group-bg !default;
|
981
|
+
|
982
|
+
$list-group-action-color: $gray-700 !default;
|
983
|
+
$list-group-action-hover-color: $list-group-action-color !default;
|
984
|
+
|
985
|
+
$list-group-action-active-color: $body-color !default;
|
986
|
+
$list-group-action-active-bg: $gray-200 !default;
|
987
|
+
|
988
|
+
|
989
|
+
// Image thumbnails
|
990
|
+
|
991
|
+
$thumbnail-padding: .25rem !default;
|
992
|
+
$thumbnail-bg: $body-bg !default;
|
993
|
+
$thumbnail-border-width: $border-width !default;
|
994
|
+
$thumbnail-border-color: $gray-300 !default;
|
995
|
+
$thumbnail-border-radius: $border-radius !default;
|
996
|
+
$thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;
|
997
|
+
|
998
|
+
|
999
|
+
// Figures
|
1000
|
+
|
1001
|
+
$figure-caption-font-size: 90% !default;
|
1002
|
+
$figure-caption-color: $gray-600 !default;
|
1003
|
+
|
1004
|
+
|
1005
|
+
// Breadcrumbs
|
1006
|
+
|
1007
|
+
$breadcrumb-padding-y: .75rem !default;
|
1008
|
+
$breadcrumb-padding-x: 1rem !default;
|
1009
|
+
$breadcrumb-item-padding: .5rem !default;
|
1010
|
+
|
1011
|
+
$breadcrumb-margin-bottom: 1rem !default;
|
1012
|
+
|
1013
|
+
$breadcrumb-bg: $gray-200 !default;
|
1014
|
+
$breadcrumb-divider-color: $gray-600 !default;
|
1015
|
+
$breadcrumb-active-color: $gray-600 !default;
|
1016
|
+
$breadcrumb-divider: quote("/") !default;
|
1017
|
+
|
1018
|
+
$breadcrumb-border-radius: $border-radius !default;
|
1019
|
+
|
1020
|
+
|
1021
|
+
// Carousel
|
1022
|
+
|
1023
|
+
$carousel-control-color: $white !default;
|
1024
|
+
$carousel-control-width: 15% !default;
|
1025
|
+
$carousel-control-opacity: .5 !default;
|
1026
|
+
$carousel-control-hover-opacity: .9 !default;
|
1027
|
+
$carousel-control-transition: opacity .15s ease !default;
|
1028
|
+
|
1029
|
+
$carousel-indicator-width: 30px !default;
|
1030
|
+
$carousel-indicator-height: 3px !default;
|
1031
|
+
$carousel-indicator-hit-area-height: 10px !default;
|
1032
|
+
$carousel-indicator-spacer: 3px !default;
|
1033
|
+
$carousel-indicator-active-bg: $white !default;
|
1034
|
+
$carousel-indicator-transition: opacity .6s ease !default;
|
1035
|
+
|
1036
|
+
$carousel-caption-width: 70% !default;
|
1037
|
+
$carousel-caption-color: $white !default;
|
1038
|
+
|
1039
|
+
$carousel-control-icon-width: 20px !default;
|
1040
|
+
|
1041
|
+
$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;
|
1042
|
+
$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;
|
1043
|
+
|
1044
|
+
$carousel-transition-duration: .6s !default;
|
1045
|
+
$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`)
|
1046
|
+
|
1047
|
+
|
1048
|
+
// Spinners
|
1049
|
+
|
1050
|
+
$spinner-width: 2rem !default;
|
1051
|
+
$spinner-height: $spinner-width !default;
|
1052
|
+
$spinner-border-width: .25em !default;
|
1053
|
+
|
1054
|
+
$spinner-width-sm: 1rem !default;
|
1055
|
+
$spinner-height-sm: $spinner-width-sm !default;
|
1056
|
+
$spinner-border-width-sm: .2em !default;
|
1057
|
+
|
1058
|
+
|
1059
|
+
// Close
|
1060
|
+
|
1061
|
+
$close-font-size: $font-size-base * 1.5 !default;
|
1062
|
+
$close-font-weight: $font-weight-bold !default;
|
1063
|
+
$close-color: $black !default;
|
1064
|
+
$close-text-shadow: 0 1px 0 $white !default;
|
1065
|
+
|
1066
|
+
|
1067
|
+
// Code
|
1068
|
+
|
1069
|
+
$code-font-size: 87.5% !default;
|
1070
|
+
$code-color: $pink !default;
|
1071
|
+
|
1072
|
+
$kbd-padding-y: .2rem !default;
|
1073
|
+
$kbd-padding-x: .4rem !default;
|
1074
|
+
$kbd-font-size: $code-font-size !default;
|
1075
|
+
$kbd-color: $white !default;
|
1076
|
+
$kbd-bg: $gray-900 !default;
|
1077
|
+
|
1078
|
+
$pre-color: $gray-900 !default;
|
1079
|
+
$pre-scrollable-max-height: 340px !default;
|
1080
|
+
|
1081
|
+
|
1082
|
+
// Utilities
|
1083
|
+
|
1084
|
+
$overflows: auto, hidden !default;
|
1085
|
+
$positions: static, relative, absolute, fixed, sticky !default;
|
1086
|
+
|
1087
|
+
|
1088
|
+
// Printing
|
1089
|
+
|
1090
|
+
$print-page-size: a3 !default;
|
1091
|
+
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|