0
|
1 // main: style.scss
|
|
2 //@import 'color-schemes/lms';
|
|
3 @import 'vendors/bootstrap/functions';
|
|
4
|
|
5 // Variables
|
|
6 //
|
|
7 // Copy settings from this file into the provided `_custom.scss` to override
|
|
8 // the Bootstrap defaults without modifying key, versioned files.
|
|
9 //
|
|
10 // Variables should follow the `$component-state-property-size` formula for
|
|
11 // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
|
12
|
|
13 // Table of Contents
|
|
14 //
|
|
15 // Color system
|
|
16 // Options
|
|
17 // Spacing
|
|
18 // Body
|
|
19 // Links
|
|
20 // Grid breakpoints
|
|
21 // Grid containers
|
|
22 // Grid columns
|
|
23 // Fonts
|
|
24 // Components
|
|
25 // Tables
|
|
26 // Buttons
|
|
27 // Forms
|
|
28 // Dropdowns
|
|
29 // Z-index master list
|
|
30 // Navs
|
|
31 // Navbar
|
|
32 // Pagination
|
|
33 // Jumbotron
|
|
34 // Form states and alerts
|
|
35 // Cards
|
|
36 // Tooltips
|
|
37 // Popovers
|
|
38 // Badges
|
|
39 // Modals
|
|
40 // Alerts
|
|
41 // Progress bars
|
|
42 // List group
|
|
43 // Image thumbnails
|
|
44 // Figures
|
|
45 // Breadcrumbs
|
|
46 // Carousel
|
|
47 // Close
|
|
48 // Code
|
|
49
|
|
50
|
|
51
|
|
52 // General variable structure
|
|
53 //
|
|
54 // Variable format should follow the `$component-modifier-state-property` order.
|
|
55
|
|
56 // Theme;
|
|
57 $theme-name: 'Admin Html' !default;
|
|
58 $theme-slug: 'admin-html' !default;
|
|
59 $theme-breakpoint: 960px !default;
|
|
60 $transition-duration: .3s !default;
|
|
61 $transition-function: ease-in-out !default;
|
|
62 $spacing-unit: 24px !default;
|
|
63
|
|
64 // Content
|
|
65 $wrapper-top-padding: 35px !default;
|
|
66 $wrapper-pd-x: 30px !default;
|
|
67
|
|
68 // Header
|
|
69 $logo-width: 3.75rem !default; // 60px
|
|
70 $nav-height: 5rem !default; // 100px
|
|
71
|
|
72 // Sidebar
|
|
73 $sidebar-width: 14.0625rem !default; // 225px
|
|
74 $collapse-sidebar-width: 3.75rem !default; // 60px
|
|
75
|
|
76 //Right Sidebar
|
|
77 $right-sidebar-width: $sidebar-width !default;
|
|
78
|
|
79 //Widget
|
|
80 $widget-padding-x: 20px !default;
|
|
81 $widget-padding-y: 20px !default;
|
|
82 $widget-list-margin-top: 20px !default;
|
|
83 $widget-list-margin-bottom: 20px !default;
|
|
84
|
|
85 //Footer
|
|
86 $footer-padding-x: 30px !default;
|
|
87 $footer-padding-y: 20px !default;
|
|
88
|
|
89
|
|
90
|
|
91 //
|
|
92 // Color system
|
|
93 //
|
|
94
|
|
95 // Theme Colors
|
|
96 $color-scheme: #8253eb !default;
|
|
97 $color-scheme-hover: #9165f4 !default;
|
|
98 $color-scheme-dark: #835c9e !default;
|
|
99 $color-scheme-dark-hover: #8253eb !default;
|
|
100 $content-color: #999 !default;
|
|
101 $theme-border-color: #eef1f2 !default;
|
|
102 $footer-color: #fff !default;
|
|
103
|
|
104 $widget-bg: #fff !default;
|
|
105 $navbar-bg: linear-gradient(90deg, #835c9e, #8253eb) !default;
|
|
106 $navbar-border: none !default;
|
|
107 $footer-bg: linear-gradient(90deg, #835c9e, #8253eb) !default;
|
|
108 $sidebar-bg: #fff !default;
|
|
109
|
|
110 $nav-link-color: $color-scheme !default;
|
|
111 $nav-heading-link-color: #3e4b5b !default;
|
|
112 $nav-link-hover-color: lighten($color-scheme, 37%) !default;
|
|
113 $nav-sub-link-color: #888 !default;
|
|
114 $nav-sub-link-hover-color: #514d6a !default;
|
|
115 $nav-icon-color: $color-scheme !default;
|
|
116
|
|
117
|
|
118
|
|
119 $white: #fff !default;
|
|
120 $gray-100: #f8f9fa !default;
|
|
121 $gray-200: #ddd !default;
|
|
122 $gray-300: #bbb !default;
|
|
123 $gray-400: #aaa !default;
|
|
124 $gray-500: #999 !default;
|
|
125 $gray-600: #868e96 !default;
|
|
126 $gray-700: #495057 !default;
|
|
127 $gray-800: #343a40 !default;
|
|
128 $gray-900: #212529 !default;
|
|
129 $black: #000 !default;
|
|
130
|
|
131 $grays: (
|
|
132 100: $gray-100,
|
|
133 200: $gray-200,
|
|
134 300: $gray-300,
|
|
135 400: $gray-400,
|
|
136 500: $gray-500,
|
|
137 600: $gray-600,
|
|
138 700: $gray-700,
|
|
139 800: $gray-800,
|
|
140 900: $gray-900
|
|
141 ) !default;
|
|
142
|
|
143 $blue: #0275d8 !default;
|
|
144 $persian-blue: #4786ff !default;
|
|
145 $indigo: #6610f2 !default;
|
|
146 $purple: #9c77ef !default;
|
|
147 $pink: #e83e8c !default;
|
|
148 $red: #e6614f !default;
|
|
149 $cerize-red: #fa607e !default;
|
|
150 $orange: #fb9678 !default;
|
|
151 $yellow: #ffcc02 !default;
|
|
152 $mustard: #fdb44d !default;
|
|
153 $green: #38d57a !default;
|
|
154 $teal: #20c997 !default;
|
|
155 $cyan: #03a9f3 !default;
|
|
156
|
|
157 $primary: $color-scheme !default;
|
|
158 $secondary: $gray-600 !default;
|
|
159 $danger: $red !default;
|
|
160 $success: $green !default;
|
|
161 $warning: $yellow !default;
|
|
162 $info: $cyan !default;
|
|
163
|
|
164 $colors: (
|
|
165 blue: $blue,
|
|
166 persian-blue: $persian-blue,
|
|
167 indigo: $indigo,
|
|
168 purple: $purple,
|
|
169 pink: $pink,
|
|
170 red: $red,
|
|
171 cerize-red: $cerize-red,
|
|
172 orange: $orange,
|
|
173 yellow: $yellow,
|
|
174 mustard: $mustard,
|
|
175 green: $green,
|
|
176 teal: $teal,
|
|
177 cyan: $cyan,
|
|
178 white: $white,
|
|
179 gray-light: $gray-200,
|
|
180 gray: $gray-600,
|
|
181 gray-dark: $gray-800,
|
|
182
|
|
183 violet: #9c27b0,
|
|
184 brown: #795548,
|
|
185 light-gray: #f9f9f9,
|
|
186 slate: #607d8b,
|
|
187
|
|
188 facebook: #4b64a6,
|
|
189 twitter: #0dace3,
|
|
190 googleplus: #dd4b39,
|
|
191 linkedin: #007bb6,
|
|
192 instagram: #3f729b,
|
|
193 pinterest: #cb2027,
|
|
194 dribbble: #ea4c89,
|
|
195 youtube: #b00,
|
|
196 ) !default;
|
|
197
|
|
198 $theme-colors: (
|
|
199 color-scheme: $color-scheme,
|
|
200 color-scheme-dark: $color-scheme-dark,
|
|
201 content-color: $content-color,
|
|
202 content: $content-color,
|
|
203 primary: $primary,
|
|
204 secondary: $secondary,
|
|
205 success: $success,
|
|
206 info: $info,
|
|
207 warning: $warning,
|
|
208 danger: $red,
|
|
209 light: $gray-100,
|
|
210 dark: $gray-800,
|
|
211
|
|
212 gray-100: $gray-100,
|
|
213 gray-200: $gray-200,
|
|
214 gray-300: $gray-300,
|
|
215 gray-400: $gray-400,
|
|
216 gray-500: $gray-500,
|
|
217 gray-600: $gray-600,
|
|
218 gray-700: $gray-700,
|
|
219 gray-800: $gray-800,
|
|
220 gray-900: $gray-900,
|
|
221 ) !default;
|
|
222
|
|
223
|
|
224 // Set a specific jump point for requesting color jumps
|
|
225 $theme-color-interval: 8% !default;
|
|
226
|
|
227
|
|
228 // Options
|
|
229 //
|
|
230 // Quickly modify global styling by enabling or disabling optional features.
|
|
231
|
|
232 $enable-rounded: true !default;
|
|
233 $enable-shadows: true !default;
|
|
234 $enable-gradients: false !default;
|
|
235 $enable-transitions: true !default;
|
|
236 $enable-hover-media-query: false !default;
|
|
237 $enable-grid-classes: true !default;
|
|
238 $enable-print-styles: true !default;
|
|
239
|
|
240
|
|
241 // Spacing
|
|
242 //
|
|
243 // Control the default styling of most Bootstrap elements by modifying these
|
|
244 // variables. Mostly focused on spacing.
|
|
245 // You can add more entries to the $spacers map, should you need more variation.
|
|
246
|
|
247 $spacer: 1rem !default;
|
|
248 $spacers: (
|
|
249 0: 0,
|
|
250 1: ($spacer * .25),
|
|
251 2: ($spacer * .5),
|
|
252 3: $spacer,
|
|
253 4: ($spacer * 1.5),
|
|
254 5: ($spacer * 3)
|
|
255 ) !default;
|
|
256
|
|
257 // This variable affects the `.h-*` and `.w-*` classes.
|
|
258 $sizes: (
|
|
259 25: 25%,
|
|
260 50: 50%,
|
|
261 75: 75%,
|
|
262 100: 100%
|
|
263 ) !default;
|
|
264
|
|
265 // Body
|
|
266 //
|
|
267 // Settings for the `<body>` element.
|
|
268
|
|
269 $body-bg: #f5f7fa !default;
|
|
270 $body-color: $content-color !default;
|
|
271
|
|
272
|
|
273 // Links
|
|
274 //
|
|
275 // Style anchor elements.
|
|
276
|
|
277 $link-color: $color-scheme !default;
|
|
278 $link-decoration: none !default;
|
|
279 $link-hover-color: $color-scheme-hover !default;
|
|
280 $link-hover-decoration: none !default;
|
|
281
|
|
282
|
|
283 // Grid breakpoints
|
|
284 //
|
|
285 // Define the minimum dimensions at which your layout will change,
|
|
286 // adapting to different screen sizes, for use in media queries.
|
|
287
|
|
288 $grid-breakpoints: (
|
|
289 xs: 0,
|
|
290 sm: 576px,
|
|
291 md: 768px,
|
|
292 lg: 992px,
|
|
293 xl: 1200px
|
|
294 ) !default;
|
|
295 @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
|
296 @include _assert-starts-at-zero($grid-breakpoints);
|
|
297
|
|
298
|
|
299 // Grid containers
|
|
300 //
|
|
301 // Define the maximum width of `.container` for different screen sizes.
|
|
302
|
|
303 $container-max-widths: (
|
|
304 sm: 540px,
|
|
305 md: 720px,
|
|
306 lg: 960px,
|
|
307 xl: 1140px
|
|
308 ) !default;
|
|
309 @include _assert-ascending($container-max-widths, "$container-max-widths");
|
|
310
|
|
311
|
|
312 // Grid columns
|
|
313 //
|
|
314 // Set the number of columns and specify the width of the gutters.
|
|
315
|
|
316 $grid-columns: 12 !default;
|
|
317 $grid-gutter-width: 6px !default;
|
|
318
|
|
319 // Components
|
|
320 //
|
|
321 // Define common padding and border radius sizes and more.
|
|
322
|
|
323 $line-height-lg: 1.5 !default;
|
|
324 $line-height-sm: 1.5 !default;
|
|
325
|
|
326 $border-width: 1px !default;
|
|
327
|
|
328 $border-radius: .25rem !default;
|
|
329 $border-radius-lg: .3rem !default;
|
|
330 $border-radius-sm: .2rem !default;
|
|
331
|
|
332 $component-active-color: $white !default;
|
|
333 $component-active-bg: theme-color("color-scheme") !default;
|
|
334
|
|
335 $caret-width: .3em !default;
|
|
336
|
|
337 $transition-base: all .2s ease-in-out !default;
|
|
338 $transition-fade: opacity .15s linear !default;
|
|
339 $transition-collapse: height .35s ease !default;
|
|
340
|
|
341 // Fonts
|
|
342 //
|
|
343 // Font, line-height, and color for body text, headings, and more.
|
|
344
|
|
345 $secondary-font-family: 'Montserrat', sans-serif;
|
|
346 $tertiary-font-family: 'Roboto', sans-serif;
|
|
347 $font-family-sans-serif: 'Roboto', "Helvetica Neue", Arial, sans-serif !default;
|
|
348 $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
|
349 $font-family-base: $font-family-sans-serif !default;
|
|
350
|
|
351 $font-size-base-px: 14px !default;
|
|
352 $font-size-base: 0.875rem !default;
|
|
353 $font-size-lg: 1rem !default; // Assumes the browser default, typically `16px`
|
|
354 $font-size-sm: .75rem !default;
|
|
355 $font-size-xs: .625rem !default;
|
|
356
|
|
357 $font-weight-normal: 400 !default;
|
|
358 $font-weight-medium: 500 !default;
|
|
359 $font-weight-semibold: 600 !default;
|
|
360 $font-weight-bold: bold !default;
|
|
361
|
|
362 $font-weight-base: $font-weight-normal !default;
|
|
363 $line-height-base: 1.71428571429 !default;
|
|
364
|
|
365 $h1-font-size: 2.625rem !default; //42px
|
|
366 $h2-font-size: 2.25rem !default; // 36px
|
|
367 $h3-font-size: 1.875rem !default; // 30px
|
|
368 $h4-font-size: 1.500rem !default; // 24px
|
|
369 $h5-font-size: 1.25rem !default; // 20px
|
|
370 $h6-font-size: 1.125rem !default; // 18px
|
|
371
|
|
372 $headings-margin-bottom: ($spacer / 2) !default;
|
|
373 $headings-font-family: $secondary-font-family !default;
|
|
374 $headings-font-weight: 600 !default;
|
|
375 $headings-line-height: 1.1 !default;
|
|
376 $headings-color: #444 !default;
|
|
377 $headings-letter-spacing: -.05em;
|
|
378
|
|
379 $display1-size: 6rem !default;
|
|
380 $display2-size: 5.5rem !default;
|
|
381 $display3-size: 4.5rem !default;
|
|
382 $display4-size: 3.5rem !default;
|
|
383
|
|
384 $display1-weight: 300 !default;
|
|
385 $display2-weight: 300 !default;
|
|
386 $display3-weight: 300 !default;
|
|
387 $display4-weight: 300 !default;
|
|
388 $display-line-height: $headings-line-height !default;
|
|
389
|
|
390 $lead-font-size: 1.25rem !default;
|
|
391 $lead-font-weight: 300 !default;
|
|
392
|
|
393 $small-font-size: 80% !default;
|
|
394
|
|
395 $text-muted: $gray-300 !default;
|
|
396
|
|
397 $blockquote-small-color: $gray-600 !default;
|
|
398 $blockquote-font-size: ($font-size-base * 1.28571429) !default;
|
|
399
|
|
400 $hr-border-color: $theme-border-color !default;
|
|
401 $hr-border-width: $border-width !default;
|
|
402
|
|
403 $mark-padding: .2em !default;
|
|
404
|
|
405 $dt-font-weight: $font-weight-bold !default;
|
|
406
|
|
407 $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
|
|
408 $nested-kbd-font-weight: $font-weight-bold !default;
|
|
409
|
|
410 $list-inline-padding: 5px !default;
|
|
411
|
|
412 $mark-bg: #fcf8e3 !default;
|
|
413
|
|
414
|
|
415 // Tables
|
|
416 //
|
|
417 // Customizes the `.table` component with basic values, each used across all table variations.
|
|
418
|
|
419 $table-cell-padding: 0.571428571em !default;
|
|
420 $table-sm-cell-padding: .3rem !default;
|
|
421
|
|
422 $table-bg: transparent !default;
|
|
423 $table-accent-bg: $nav-link-hover-color !default;
|
|
424 $table-hover-bg: darken($table-accent-bg, 3%) !default;
|
|
425 $table-active-bg: $table-hover-bg !default;
|
|
426
|
|
427 $table-border-width: $border-width !default;
|
|
428 $table-border-color: lighten($theme-border-color, 7%) !default;
|
|
429
|
|
430 $table-head-bg: $gray-200 !default;
|
|
431 $table-head-color: lighten($theme-border-color, 7%) !default;
|
|
432
|
|
433 $table-inverse-bg: $gray-900 !default;
|
|
434 $table-inverse-accent-bg: rgba($white, .05) !default;
|
|
435 $table-inverse-hover-bg: rgba($white, .075) !default;
|
|
436 $table-inverse-border-color: rgba(255,255,255,0.1) !default;
|
|
437 $table-inverse-color: $body-bg !default;
|
|
438
|
|
439
|
|
440 // Buttons
|
|
441 //
|
|
442 // For each of Bootstrap's buttons, define text, background and border color.
|
|
443
|
|
444 $input-btn-padding-y: .5625rem !default;
|
|
445 $input-btn-padding-x: 1.2em !default;
|
|
446 $input-btn-line-height: 1.57142857 !default;
|
|
447
|
|
448 $input-btn-font-size-sm: 0.75rem !default;
|
|
449 $input-btn-padding-y-sm: .1875rem !default;
|
|
450 $input-btn-padding-x-sm: .5rem !default;
|
|
451 $input-btn-line-height-sm: 2 !default;
|
|
452
|
|
453 $input-btn-font-size-lg: 1.125rem !default;
|
|
454 $input-btn-padding-y-lg: .3125rem !default;
|
|
455 $input-btn-padding-x-lg: 1.5rem !default;
|
|
456 $input-btn-line-height-lg: 3 !default;
|
|
457
|
|
458 $btn-font-family: $headings-font-family;
|
|
459 $btn-font-size: $font-size-base !default;
|
|
460 $btn-font-weight: 400 !default;
|
|
461 $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
|
|
462 $btn-focus-box-shadow: 0 0 0 2px rgba($black, .125) !default;
|
|
463 $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
|
|
464
|
|
465 $btn-link-disabled-color: $gray-600 !default;
|
|
466
|
|
467 $btn-block-spacing-y: .5rem !default;
|
|
468
|
|
469 // Allows for customizing button radius independently from global border radius
|
|
470 $btn-border-radius: $border-radius !default;
|
|
471 $btn-border-radius-lg: $border-radius-lg !default;
|
|
472 $btn-border-radius-sm: $border-radius-sm !default;
|
|
473
|
|
474 $btn-transition: all $transition-duration $transition-function !default;
|
|
475
|
|
476
|
|
477 // Forms
|
|
478
|
|
479 $input-padding-x: 1rem !default;
|
|
480 $input-padding-y: 0.5625rem !default;
|
|
481 $input-line-height: $input-btn-line-height !default;
|
|
482
|
|
483 $input-bg: $white !default;
|
|
484 $input-bg-disabled: #eee !default;
|
|
485
|
|
486 $input-color: #74708d !default;
|
|
487 $input-border-color: #e4e9f0 !default;
|
|
488 $input-btn-border-width: $border-width !default; // For form controls and buttons
|
|
489 $input-box-shadow: none;
|
|
490
|
|
491 $input-border-radius: $border-radius !default;
|
|
492 $input-border-radius-lg: $border-radius-lg !default;
|
|
493 $input-border-radius-sm: $border-radius-sm !default;
|
|
494
|
|
495 $input-focus-bg: $input-bg !default;
|
|
496 $input-focus-border-color: theme-color("color-scheme") !default;
|
|
497 $input-focus-box-shadow: $input-box-shadow, 0 0 0 3px rgba($input-focus-border-color, .2) !default;
|
|
498 $input-focus-color: $input-color !default;
|
|
499
|
|
500 $input-placeholder-color: #bbb !default;
|
|
501
|
|
502 $input-height-border: $input-btn-border-width * 2 !default;
|
|
503
|
|
504 $input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
|
|
505 $input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
|
|
506
|
|
507 $input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
|
|
508 $input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
|
|
509
|
|
510 $input-height-inner-lg: ($font-size-sm * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
|
|
511 $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
|
|
512
|
|
513 $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
|
|
514
|
|
515 $form-text-margin-top: .25rem !default;
|
|
516
|
|
517 $form-check-margin-bottom: .5rem !default;
|
|
518 $form-check-input-gutter: 1.25rem !default;
|
|
519 $form-check-input-margin-y: .25rem !default;
|
|
520 $form-check-input-margin-x: .25rem !default;
|
|
521
|
|
522 $form-check-inline-margin-x: .75rem !default;
|
|
523
|
|
524 $form-group-margin-bottom: 1.5625rem !default;
|
|
525
|
|
526 $input-group-addon-bg: #eee !default;
|
|
527 $input-group-addon-border-color: $input-border-color !default;
|
|
528
|
|
529 $custom-control-gutter: 1.5rem !default;
|
|
530 $custom-control-spacer-x: 1rem !default;
|
|
531 $custom-control-spacer-y: .25rem !default;
|
|
532
|
|
533 $custom-control-indicator-size: 1rem !default;
|
|
534 $custom-control-indicator-bg: #ddd !default;
|
|
535 $custom-control-indicator-bg-size: 50% 50% !default;
|
|
536 $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
|
|
537
|
|
538 $custom-control-indicator-disabled-bg: $gray-200 !default;
|
|
539 $custom-control-description-disabled-color: $gray-600 !default;
|
|
540
|
|
541 $custom-control-indicator-checked-color: $white !default;
|
|
542 $custom-control-indicator-checked-bg: theme-color("primary") !default;
|
|
543 $custom-control-indicator-checked-box-shadow: none !default;
|
|
544
|
|
545 $custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px theme-color("primary") !default;
|
|
546
|
|
547 $custom-control-indicator-active-color: $white !default;
|
|
548 $custom-control-indicator-active-bg: lighten(theme-color("primary"), 35%) !default;
|
|
549 $custom-control-indicator-active-box-shadow: none !default;
|
|
550
|
|
551 $custom-checkbox-indicator-border-radius: $border-radius !default;
|
|
552 $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
553
|
|
554 $custom-checkbox-indicator-indeterminate-bg: theme-color("primary") !default;
|
|
555 $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
|
|
556 $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
557 $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
|
|
558
|
|
559 $custom-radio-indicator-border-radius: 50% !default;
|
|
560 $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
561
|
|
562 $custom-select-padding-y: .375rem !default;
|
|
563 $custom-select-padding-x: .75rem !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-line-height: $input-btn-line-height !default;
|
|
567 $custom-select-color: $input-color !default;
|
|
568 $custom-select-disabled-color: $gray-600 !default;
|
|
569 $custom-select-bg: $white !default;
|
|
570 $custom-select-disabled-bg: $gray-200 !default;
|
|
571 $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
|
|
572 $custom-select-indicator-color: #333 !default;
|
|
573 $custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
574 $custom-select-border-width: $input-btn-border-width !default;
|
|
575 $custom-select-border-color: $input-border-color !default;
|
|
576 $custom-select-border-radius: $border-radius !default;
|
|
577
|
|
578 $custom-select-focus-border-color: lighten(theme-color("primary"), 25%) !default;
|
|
579 $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
|
|
580
|
|
581 $custom-select-font-size-sm: 75% !default;
|
|
582 $custom-select-height-sm: $input-height-sm !default;
|
|
583
|
|
584 $custom-file-height: 2.5rem !default;
|
|
585 $custom-file-width: 14rem !default;
|
|
586 $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem theme-color("primary") !default;
|
|
587
|
|
588 $custom-file-padding-y: 1rem !default;
|
|
589 $custom-file-padding-x: .5rem !default;
|
|
590 $custom-file-line-height: 1.5 !default;
|
|
591 $custom-file-color: $gray-700 !default;
|
|
592 $custom-file-bg: $white !default;
|
|
593 $custom-file-border-width: $border-width !default;
|
|
594 $custom-file-border-color: $input-border-color !default;
|
|
595 $custom-file-border-radius: $border-radius !default;
|
|
596 $custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05) !default;
|
|
597 $custom-file-button-color: $custom-file-color !default;
|
|
598 $custom-file-button-bg: $gray-200 !default;
|
|
599 $custom-file-text: (
|
|
600 placeholder: (
|
|
601 en: "Choose file..."
|
|
602 ),
|
|
603 button-label: (
|
|
604 en: "Browse"
|
|
605 )
|
|
606 ) !default;
|
|
607
|
|
608
|
|
609 // Form validation icons
|
|
610 $form-feedback-valid-color: theme-color("success") !default;
|
|
611 $form-feedback-invalid-color: theme-color("danger") !default;
|
|
612
|
|
613
|
|
614 // Dropdowns
|
|
615 //
|
|
616 // Dropdown menu container and contents.
|
|
617
|
|
618 $dropdown-min-width: 10rem !default;
|
|
619 $dropdown-padding-y: .5rem !default;
|
|
620 $dropdown-spacer: .125rem !default;
|
|
621 $dropdown-bg: $white !default;
|
|
622 $dropdown-border-color: rgba($black,.15) !default;
|
|
623 $dropdown-border-width: $border-width !default;
|
|
624 $dropdown-divider-bg: $theme-border-color !default;
|
|
625 $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
|
|
626
|
|
627 $dropdown-link-color: #888 !default;
|
|
628 $dropdown-link-hover-color: darken($dropdown-link-color, 5%) !default;
|
|
629 $dropdown-link-hover-bg: rgba($color-scheme, 0.03) !default;
|
|
630
|
|
631 $dropdown-link-active-color: $dropdown-link-hover-color !default;
|
|
632 $dropdown-link-active-bg: $dropdown-link-hover-bg !default;
|
|
633
|
|
634 $dropdown-link-disabled-color: $gray-600 !default;
|
|
635
|
|
636 $dropdown-item-padding-y: .25rem !default;
|
|
637 $dropdown-item-padding-x: 1.42857142857em !default;
|
|
638
|
|
639 $dropdown-header-color: $gray-600 !default;
|
|
640
|
|
641
|
|
642 // Z-index master list
|
|
643 //
|
|
644 // Warning: Avoid customizing these values. They're used for a bird's eye view
|
|
645 // of components dependent on the z-axis and are designed to all work together.
|
|
646
|
|
647 $zindex-dropdown: 1000 !default;
|
|
648 $zindex-sticky: 1020 !default;
|
|
649 $zindex-fixed: 1030 !default;
|
|
650 $zindex-modal-backdrop: 1040 !default;
|
|
651 $zindex-modal: 1050 !default;
|
|
652 $zindex-popover: 1060 !default;
|
|
653 $zindex-tooltip: 1070 !default;
|
|
654
|
|
655
|
|
656 // Navs
|
|
657
|
|
658 $nav-link-padding-y: .5rem !default;
|
|
659 $nav-link-padding-x: 1rem !default;
|
|
660 $nav-link-disabled-color: $gray-600 !default;
|
|
661
|
|
662 $nav-tabs-border-color: #ddd !default;
|
|
663 $nav-tabs-border-width: $border-width !default;
|
|
664 $nav-tabs-border-radius: $border-radius !default;
|
|
665 $nav-tabs-link-hover-border-color: $gray-200 !default;
|
|
666 $nav-tabs-link-active-color: $gray-700 !default;
|
|
667 $nav-tabs-link-active-bg: $body-bg !default;
|
|
668 $nav-tabs-link-active-border-color: #ddd !default;
|
|
669
|
|
670 $nav-pills-border-radius: $border-radius !default;
|
|
671 $nav-pills-link-active-color: $component-active-color !default;
|
|
672 $nav-pills-link-active-bg: $component-active-bg !default;
|
|
673
|
|
674 // Navbar
|
|
675
|
|
676 $navbar-padding-y: ($spacer / 2) !default;
|
|
677 $navbar-padding-x: $spacer !default;
|
|
678
|
|
679 $navbar-brand-font-size: $font-size-lg !default;
|
|
680 // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
|
681 $nav-link-height: $navbar-brand-font-size * $line-height-base !default;
|
|
682 $navbar-brand-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
|
|
683 $navbar-brand-padding-y: ($navbar-brand-height - $nav-link-height) / 2 !default;
|
|
684
|
|
685 $navbar-toggler-padding-y: .25rem !default;
|
|
686 $navbar-toggler-padding-x: .75rem !default;
|
|
687 $navbar-toggler-font-size: $font-size-lg !default;
|
|
688 $navbar-toggler-border-radius: $btn-border-radius !default;
|
|
689
|
|
690 $navbar-dark-color: rgba($white,.5) !default;
|
|
691 $navbar-dark-hover-color: rgba($white,.75) !default;
|
|
692 $navbar-dark-active-color: rgba($white,1) !default;
|
|
693 $navbar-dark-disabled-color: rgba($white,.25) !default;
|
|
694 $navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
695 $navbar-dark-toggler-border-color: rgba($white,.1) !default;
|
|
696
|
|
697 $navbar-light-color: rgba($black,.5) !default;
|
|
698 $navbar-light-hover-color: rgba($black,.7) !default;
|
|
699 $navbar-light-active-color: rgba($black,.9) !default;
|
|
700 $navbar-light-disabled-color: rgba($black,.3) !default;
|
|
701 $navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
702 $navbar-light-toggler-border-color: rgba($black,.1) !default;
|
|
703
|
|
704
|
|
705 // Pagination
|
|
706
|
|
707 $pagination-padding-y: .5rem !default;
|
|
708 $pagination-padding-x: .75rem !default;
|
|
709 $pagination-padding-y-sm: .25rem !default;
|
|
710 $pagination-padding-x-sm: .5rem !default;
|
|
711 $pagination-padding-y-lg: .75rem !default;
|
|
712 $pagination-padding-x-lg: 1.5rem !default;
|
|
713 $pagination-line-height: 1.25 !default;
|
|
714
|
|
715 $pagination-color: $link-color !default;
|
|
716 $pagination-bg: $white !default;
|
|
717 $pagination-border-width: $border-width !default;
|
|
718 $pagination-border-color: #ddd !default;
|
|
719
|
|
720 $pagination-hover-color: $link-hover-color !default;
|
|
721 $pagination-hover-bg: $gray-200 !default;
|
|
722 $pagination-hover-border-color: #ddd !default;
|
|
723
|
|
724 $pagination-active-color: $white !default;
|
|
725 $pagination-active-bg: $pagination-color !default;
|
|
726 $pagination-active-border-color: $pagination-color !default;
|
|
727
|
|
728 $pagination-disabled-color: $gray-600 !default;
|
|
729 $pagination-disabled-bg: $white !default;
|
|
730 $pagination-disabled-border-color: #ddd !default;
|
|
731
|
|
732
|
|
733 // Jumbotron
|
|
734
|
|
735 $jumbotron-padding: 2rem !default;
|
|
736 $jumbotron-bg: $gray-200 !default;
|
|
737
|
|
738
|
|
739 // Cards
|
|
740
|
|
741 $card-spacer-y: .75rem !default;
|
|
742 $card-spacer-x: 1.25rem !default;
|
|
743 $card-border-width: 1px !default;
|
|
744 $card-border-radius: $border-radius !default;
|
|
745 $card-border-color: rgba($black,.125) !default;
|
|
746 $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
|
|
747 $card-cap-bg: rgba($black, .03) !default;
|
|
748 $card-bg: $white !default;
|
|
749
|
|
750 $card-img-overlay-padding: 1.25rem !default;
|
|
751
|
|
752 $card-deck-margin: ($grid-gutter-width / 2) !default;
|
|
753
|
|
754 $card-columns-count: 3 !default;
|
|
755 $card-columns-gap: 1.25rem !default;
|
|
756 $card-columns-margin: $card-spacer-y !default;
|
|
757
|
|
758
|
|
759 // Tooltips
|
|
760
|
|
761 $tooltip-max-width: 200px !default;
|
|
762 $tooltip-color: $white !default;
|
|
763 $tooltip-bg: $black !default;
|
|
764 $tooltip-opacity: .9 !default;
|
|
765 $tooltip-padding-y: 3px !default;
|
|
766 $tooltip-padding-x: 8px !default;
|
|
767 $tooltip-margin: 0 !default;
|
|
768
|
|
769
|
|
770 $tooltip-arrow-width: 5px !default;
|
|
771 $tooltip-arrow-height: 5px !default;
|
|
772 $tooltip-arrow-color: $tooltip-bg !default;
|
|
773
|
|
774
|
|
775 // Popovers
|
|
776
|
|
777 $popover-inner-padding: 1px !default;
|
|
778 $popover-bg: $white !default;
|
|
779 $popover-max-width: 276px !default;
|
|
780 $popover-border-width: $border-width !default;
|
|
781 $popover-border-color: rgba($black,.2) !default;
|
|
782 $popover-box-shadow: 0 5px 10px rgba($black,.2) !default;
|
|
783
|
|
784 $popover-header-bg: darken($popover-bg, 3%) !default;
|
|
785 $popover-header-color: $headings-color !default;
|
|
786 $popover-header-padding-y: 8px !default;
|
|
787 $popover-header-padding-x: 14px !default;
|
|
788
|
|
789 $popover-body-color: $body-color !default;
|
|
790 $popover-body-padding-y: 9px !default;
|
|
791 $popover-body-padding-x: 14px !default;
|
|
792
|
|
793 $popover-arrow-width: 10px !default;
|
|
794 $popover-arrow-height: 5px !default;
|
|
795 $popover-arrow-color: $popover-bg !default;
|
|
796
|
|
797 $popover-arrow-outer-width: ($popover-arrow-width + 1px) !default;
|
|
798 $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
|
799
|
|
800
|
|
801 // Badges
|
|
802
|
|
803 $badge-color: $white !default;
|
|
804 $badge-font-size: 90% !default;
|
|
805 $badge-font-weight: 600 !default;
|
|
806 $badge-padding-y: .4em !default;
|
|
807 $badge-padding-x: .4em !default;
|
|
808
|
|
809 $badge-pill-padding-x: .6em !default;
|
|
810 // Use a higher than normal value to ensure completely rounded edges when
|
|
811 // customizing padding or font-size on labels.
|
|
812 $badge-pill-border-radius: 10rem !default;
|
|
813
|
|
814
|
|
815 // Modals
|
|
816
|
|
817 // Padding applied to the modal body
|
|
818 $modal-inner-padding: 25px !default;
|
|
819
|
|
820 $modal-dialog-margin: 10px !default;
|
|
821 $modal-dialog-margin-y-sm-up: 30px !default;
|
|
822
|
|
823 $modal-title-line-height: $line-height-base !default;
|
|
824
|
|
825 $modal-content-bg: $white !default;
|
|
826 $modal-content-border-color: #ddd !default;
|
|
827 $modal-content-border-width: $border-width !default;
|
|
828 $modal-content-box-shadow-xs: none !default;
|
|
829 $modal-content-box-shadow-sm-up: none !default;
|
|
830
|
|
831 $modal-backdrop-bg: $black !default;
|
|
832 $modal-backdrop-opacity: .5 !default;
|
|
833 $modal-header-border-color: $gray-200 !default;
|
|
834 $modal-footer-border-color: $modal-header-border-color !default;
|
|
835 $modal-header-border-width: $modal-content-border-width !default;
|
|
836 $modal-footer-border-width: $modal-header-border-width !default;
|
|
837 $modal-header-padding: 15px $modal-inner-padding !default;
|
|
838
|
|
839 $modal-lg: 800px !default;
|
|
840 $modal-md: 500px !default;
|
|
841 $modal-sm: 300px !default;
|
|
842
|
|
843 $modal-transition: transform .3s ease-out !default;
|
|
844
|
|
845
|
|
846 // Alerts
|
|
847 //
|
|
848 // Define alert colors, border radius, and padding.
|
|
849
|
|
850 $alert-padding-y: .75rem !default;
|
|
851 $alert-padding-x: 1.25rem !default;
|
|
852 $alert-margin-bottom: 1rem !default;
|
|
853 $alert-border-radius: $border-radius !default;
|
|
854 $alert-link-font-weight: $font-weight-bold !default;
|
|
855 $alert-border-width: $border-width !default;
|
|
856
|
|
857
|
|
858 // Progress bars
|
|
859
|
|
860 $progress-height: 1rem !default;
|
|
861 $progress-font-size: .75rem !default;
|
|
862 $progress-bg: $gray-200 !default;
|
|
863 $progress-border-radius: $border-radius !default;
|
|
864 $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
|
|
865 $progress-bar-color: $white !default;
|
|
866 $progress-bar-bg: theme-color("primary") !default;
|
|
867 $progress-bar-animation-timing: 1s linear infinite !default;
|
|
868 $progress-bar-transition: width .6s ease !default;
|
|
869
|
|
870 // List group
|
|
871
|
|
872 $list-group-bg: $white !default;
|
|
873 $list-group-border-color: rgba($black,.125) !default;
|
|
874 $list-group-border-width: $border-width !default;
|
|
875 $list-group-border-radius: $border-radius !default;
|
|
876
|
|
877 $list-group-item-padding-y: .75rem !default;
|
|
878 $list-group-item-padding-x: 1.25rem !default;
|
|
879
|
|
880 $list-group-hover-bg: $gray-100 !default;
|
|
881 $list-group-active-color: $component-active-color !default;
|
|
882 $list-group-active-bg: $component-active-bg !default;
|
|
883 $list-group-active-border-color: $list-group-active-bg !default;
|
|
884
|
|
885 $list-group-disabled-color: $gray-600 !default;
|
|
886 $list-group-disabled-bg: $list-group-bg !default;
|
|
887
|
|
888 $list-group-action-color: $gray-700 !default;
|
|
889 $list-group-action-hover-color: $list-group-action-color !default;
|
|
890
|
|
891 $list-group-action-active-color: $body-color !default;
|
|
892 $list-group-action-active-bg: $gray-200 !default;
|
|
893
|
|
894
|
|
895 // Image thumbnails
|
|
896
|
|
897 $thumbnail-padding: .25rem !default;
|
|
898 $thumbnail-bg: $body-bg !default;
|
|
899 $thumbnail-border-width: $border-width !default;
|
|
900 $thumbnail-border-color: #ddd !default;
|
|
901 $thumbnail-border-radius: $border-radius !default;
|
|
902 $thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
|
|
903 $thumbnail-transition: all .2s ease-in-out !default;
|
|
904
|
|
905
|
|
906 // Figures
|
|
907
|
|
908 $figure-caption-font-size: 90% !default;
|
|
909 $figure-caption-color: $gray-600 !default;
|
|
910
|
|
911
|
|
912 // Breadcrumbs
|
|
913
|
|
914 $breadcrumb-padding-y: .75rem !default;
|
|
915 $breadcrumb-padding-x: 1rem !default;
|
|
916 $breadcrumb-item-padding: .3rem !default;
|
|
917
|
|
918 $breadcrumb-bg: $gray-200 !default;
|
|
919 $breadcrumb-divider-color: $gray-600 !default;
|
|
920 $breadcrumb-active-color: $gray-600 !default;
|
|
921 $breadcrumb-divider: "/" !default;
|
|
922
|
|
923
|
|
924 // Carousel
|
|
925
|
|
926 $carousel-control-color: $white !default;
|
|
927 $carousel-control-width: 15% !default;
|
|
928 $carousel-control-opacity: .5 !default;
|
|
929
|
|
930 $carousel-indicator-width: 30px !default;
|
|
931 $carousel-indicator-height: 3px !default;
|
|
932 $carousel-indicator-spacer: 3px !default;
|
|
933 $carousel-indicator-active-bg: $white !default;
|
|
934
|
|
935 $carousel-caption-width: 70% !default;
|
|
936 $carousel-caption-color: $white !default;
|
|
937
|
|
938 $carousel-control-icon-width: 20px !default;
|
|
939
|
|
940 $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
941 $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
|
942
|
|
943 $carousel-transition: transform .6s ease !default;
|
|
944
|
|
945
|
|
946 // Close
|
|
947
|
|
948 $close-font-size: $font-size-base * 1.5 !default;
|
|
949 $close-font-weight: $font-weight-bold !default;
|
|
950 $close-color: $black !default;
|
|
951 $close-text-shadow: 0 1px 0 $white !default;
|
|
952
|
|
953
|
|
954 // Code
|
|
955
|
|
956 $code-font-size: 90% !default;
|
|
957 $code-padding-y: .2rem !default;
|
|
958 $code-padding-x: .4rem !default;
|
|
959 $code-color: #bd4147 !default;
|
|
960 $code-bg: $gray-100 !default;
|
|
961
|
|
962 $kbd-color: $white !default;
|
|
963 $kbd-bg: $gray-900 !default;
|
|
964
|
|
965 $pre-color: $gray-900 !default;
|
|
966 $pre-scrollable-max-height: 340px !default;
|