2018-02-03 23:45:19 +00:00
// Variables
//
// Variables should follow the `$component-state-property-size` formula for
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
//
// Color system
//
// stylelint-disable
2020-05-30 13:06:11 +00:00
$white : #fff !default ;
2018-02-03 23:45:19 +00:00
$gray-100 : #f8f9fa !default ;
$gray-200 : #e9ecef !default ;
$gray-300 : #dee2e6 !default ;
$gray-400 : #ced4da !default ;
$gray-500 : #adb5bd !default ;
2018-03-17 17:07:55 +00:00
$gray-600 : #6c757d !default ;
2018-02-03 23:45:19 +00:00
$gray-700 : #495057 !default ;
$gray-800 : #343a40 !default ;
$gray-900 : #212529 !default ;
$black : #000 !default ;
$grays : () !default ;
$grays : map-merge ((
2020-05-30 13:06:11 +00:00
" 100 " : $ gray-100 ,
" 200 " : $ gray-200 ,
" 300 " : $ gray-300 ,
" 400 " : $ gray-400 ,
" 500 " : $ gray-500 ,
" 600 " : $ gray-600 ,
" 700 " : $ gray-700 ,
" 800 " : $ gray-800 ,
" 900 " : $ gray-900
2018-02-03 23:45:19 +00:00
) , $ grays ) ;
$blue : #007bff !default ;
$indigo : #6610f2 !default ;
$purple : #6f42c1 !default ;
$pink : #e83e8c !default ;
$red : #dc3545 !default ;
$orange : #fd7e14 !default ;
$yellow : #ffc107 !default ;
$green : #28a745 !default ;
$teal : #20c997 !default ;
$cyan : #17a2b8 !default ;
$colors : () !default ;
$colors : map-merge ((
2020-05-30 13:06:11 +00:00
" blue " : $ blue ,
" indigo " : $ indigo ,
" purple " : $ purple ,
" pink " : $ pink ,
" red " : $ red ,
" orange " : $ orange ,
" yellow " : $ yellow ,
" green " : $ green ,
" teal " : $ teal ,
" cyan " : $ cyan ,
" white " : $ white ,
" gray " : $ gray-600 ,
" gray-dark " : $ gray-800
2018-02-03 23:45:19 +00:00
) , $ colors ) ;
$primary : $blue !default ;
$secondary : $gray-600 !default ;
$success : $green !default ;
$info : $cyan !default ;
$warning : $yellow !default ;
$danger : $red !default ;
$light : $gray-100 !default ;
$dark : $gray-800 !default ;
$theme-colors : () !default ;
$theme-colors : map-merge ((
2020-05-30 13:06:11 +00:00
" primary " : $ primary ,
" secondary " : $ secondary ,
" success " : $ success ,
" info " : $ info ,
" warning " : $ warning ,
" danger " : $ danger ,
" light " : $ light ,
" dark " : $ dark
2018-02-03 23:45:19 +00:00
) , $ theme-colors ) ;
// stylelint-enable
// Set a specific jump point for requesting color jumps
$theme-color-interval : 8 % !default ;
2018-03-17 17:07:55 +00:00
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
$yiq-contrasted-threshold : 150 !default ;
// Customize the light and dark text colors for use in our YIQ color contrast function.
2020-05-30 13:06:11 +00:00
$yiq-text-dark : #1f2d3d !default ;
2018-03-17 17:07:55 +00:00
$yiq-text-light : $white !default ;
2018-02-03 23:45:19 +00:00
// Options
//
// Quickly modify global styling by enabling or disabling optional features.
2019-10-29 08:22:51 +00:00
$enable-caret : true !default ;
$enable-rounded : true !default ;
$enable-shadows : true !default ;
$enable-gradients : false !default ;
$enable-transitions : true !default ;
$enable-prefers-reduced-motion-media-query : true !default ;
$enable-hover-media-query : false !default ; // Deprecated, no longer affects any compiled CSS
$enable-grid-classes : true !default ;
$enable-pointer-cursor-for-buttons : true !default ;
$enable-print-styles : true !default ;
$enable-responsive-font-sizes : false !default ;
$enable-validation-icons : true !default ;
$enable-deprecation-messages : true !default ;
2018-02-03 23:45:19 +00:00
2021-04-06 23:22:03 +00:00
// Characters which are escaped by the escape-svg function
$escaped-characters : (
( " < " , " %3c " ) ,
( " > " , " %3e " ) ,
( " # " , " %23 " ) ,
( " ( " , " %28 " ) ,
( " ) " , " %29 " ) ,
) ! default ;
2018-02-03 23:45:19 +00:00
// Spacing
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation.
2018-03-17 17:07:55 +00:00
// stylelint-disable
2018-02-03 23:45:19 +00:00
$spacer : 1 rem !default ;
2018-03-17 17:07:55 +00:00
$spacers : () !default ;
$spacers : map-merge ((
2020-05-30 13:06:11 +00:00
0 : 0 ,
1 : ( $spacer * .25 ) ,
2 : ( $spacer * .5 ) ,
3 : $spacer ,
4 : ( $spacer * 1 .5 ) ,
5 : ( $ spacer * 3 )
2018-03-17 17:07:55 +00:00
) , $ spacers ) ;
2018-02-03 23:45:19 +00:00
// This variable affects the `.h-*` and `.w-*` classes.
2018-03-17 17:07:55 +00:00
$sizes : () !default ;
$sizes : map-merge ((
2020-05-30 13:06:11 +00:00
25 : 25 % ,
50 : 50 % ,
75 : 75 % ,
100 : 100 %
2018-03-17 17:07:55 +00:00
) , $ sizes ) ;
// stylelint-enable
2018-02-03 23:45:19 +00:00
// Body
//
// Settings for the `<body>` element.
$body-bg : $white !default ;
$body-color : $gray-900 !default ;
// Links
//
// Style anchor elements.
$link-color : theme-color ( " primary " ) !default ;
$link-decoration : none !default ;
$link-hover-color : darken ( $link-color , 15 % ) !default ;
2018-03-17 17:07:55 +00:00
$link-hover-decoration : none !default ;
2018-02-03 23:45:19 +00:00
// Paragraphs
//
// Style p element.
$paragraph-margin-bottom : 1 rem !default ;
// Grid breakpoints
//
// Define the minimum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.
$grid-breakpoints : (
2020-05-30 13:06:11 +00:00
xs : 0 ,
sm : 576 px ,
md : 768 px ,
lg : 992 px ,
xl : 1200px
2018-02-03 23:45:19 +00:00
) ! default ;
@include _assert-ascending ( $grid-breakpoints , " $grid-breakpoints " ) ;
@include _assert-starts-at-zero ( $grid-breakpoints ) ;
// Grid containers
//
// Define the maximum width of `.container` for different screen sizes.
$container-max-widths : (
2020-05-30 13:06:11 +00:00
sm : 540 px ,
md : 720 px ,
lg : 960 px ,
xl : 1140px
2018-02-03 23:45:19 +00:00
) ! default ;
@include _assert-ascending ( $container-max-widths , " $container-max-widths " ) ;
// Grid columns
//
// Set the number of columns and specify the width of the gutters.
$grid-columns : 12 !default ;
2018-03-17 17:07:55 +00:00
$grid-gutter-width : 15 px !default ;
2018-02-03 23:45:19 +00:00
// Components
//
// Define common padding and border radius sizes and more.
$line-height-lg : 1 .5 !default ;
$line-height-sm : 1 .5 !default ;
$border-width : 1 px !default ;
2018-03-17 17:07:55 +00:00
$border-color : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
$border-radius : .25 rem !default ;
$border-radius-lg : .3 rem !default ;
$border-radius-sm : .2 rem !default ;
$component-active-color : $white !default ;
$component-active-bg : theme-color ( " primary " ) !default ;
$caret-width : .3 em !default ;
$transition-base : all .2 s ease-in-out !default ;
$transition-fade : opacity .15 s linear !default ;
$transition-collapse : height .35 s ease !default ;
// Fonts
//
// Font, line-height, and color for body text, headings, and more.
// stylelint-disable value-keyword-case
2018-03-17 17:07:55 +00:00
$font-family-sans-serif : " Source Sans Pro " , - apple-system , BlinkMacSystemFont , " Segoe UI " , Roboto , " Helvetica Neue " , Arial , sans-serif , " Apple Color Emoji " , " Segoe UI Emoji " , " Segoe UI Symbol " !default ;
$font-family-monospace : SFMono-Regular , Menlo , Monaco , Consolas , " Liberation Mono " , " Courier New " , monospace !default ;
2018-02-03 23:45:19 +00:00
$font-family-base : $font-family-sans-serif !default ;
// stylelint-enable value-keyword-case
$font-size-base : 1 rem !default ; // Assumes the browser default, typically `16px`
$font-size-lg : ( $font-size-base * 1 .25 ) !default ;
$font-size-sm : ( $font-size-base * .875 ) !default ;
$font-weight-light : 300 !default ;
$font-weight-normal : 400 !default ;
$font-weight-bold : 700 !default ;
$font-weight-base : $font-weight-normal !default ;
$line-height-base : 1 .5 !default ;
$h1-font-size : $font-size-base * 2 .5 !default ;
$h2-font-size : $font-size-base * 2 !default ;
$h3-font-size : $font-size-base * 1 .75 !default ;
$h4-font-size : $font-size-base * 1 .5 !default ;
$h5-font-size : $font-size-base * 1 .25 !default ;
$h6-font-size : $font-size-base !default ;
$headings-margin-bottom : ( $spacer / 2 ) !default ;
$headings-font-family : inherit !default ;
$headings-font-weight : 500 !default ;
$headings-line-height : 1 .2 !default ;
$headings-color : inherit !default ;
$display1-size : 6 rem !default ;
$display2-size : 5 .5 rem !default ;
$display3-size : 4 .5 rem !default ;
$display4-size : 3 .5 rem !default ;
$display1-weight : 300 !default ;
$display2-weight : 300 !default ;
$display3-weight : 300 !default ;
$display4-weight : 300 !default ;
$display-line-height : $headings-line-height !default ;
$lead-font-size : ( $font-size-base * 1 .25 ) !default ;
$lead-font-weight : 300 !default ;
$small-font-size : 80 % !default ;
$text-muted : $gray-600 !default ;
$blockquote-small-color : $gray-600 !default ;
$blockquote-font-size : ( $font-size-base * 1 .25 ) !default ;
2018-03-17 17:07:55 +00:00
$hr-border-color : rgba ( $black , .1 ) !default ;
2018-02-03 23:45:19 +00:00
$hr-border-width : $border-width !default ;
$mark-padding : .2 em !default ;
$dt-font-weight : $font-weight-bold !default ;
2018-03-17 17:07:55 +00:00
$kbd-box-shadow : inset 0 - .1 rem 0 rgba ( $black , .25 ) !default ;
2018-02-03 23:45:19 +00:00
$nested-kbd-font-weight : $font-weight-bold !default ;
2018-03-17 17:07:55 +00:00
$list-inline-padding : .5 rem !default ;
$mark-bg : #fcf8e3 !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$hr-margin-y : $spacer !default ;
2018-02-03 23:45:19 +00:00
// Tables
//
// Customizes the `.table` component with basic values, each used across all table variations.
$table-cell-padding : .75 rem !default ;
$table-cell-padding-sm : .3 rem !default ;
$table-bg : transparent !default ;
2018-03-17 17:07:55 +00:00
$table-accent-bg : rgba ( $black , .05 ) !default ;
$table-hover-bg : rgba ( $black , .075 ) !default ;
2018-02-03 23:45:19 +00:00
$table-active-bg : $table-hover-bg !default ;
$table-border-width : $border-width !default ;
2018-03-17 17:07:55 +00:00
$table-border-color : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
$table-head-bg : $gray-200 !default ;
$table-head-color : $gray-700 !default ;
$table-dark-bg : $gray-900 !default ;
$table-dark-accent-bg : rgba ( $white , .05 ) !default ;
$table-dark-hover-bg : rgba ( $white , .075 ) !default ;
2019-08-08 12:33:01 +00:00
$table-dark-border-color : lighten ( $gray-900 , 10 % ) !default ;
2018-02-03 23:45:19 +00:00
$table-dark-color : $body-bg !default ;
2018-03-17 17:07:55 +00:00
// Buttons + Forms
2018-02-03 23:45:19 +00:00
//
2018-03-17 17:07:55 +00:00
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
2018-02-03 23:45:19 +00:00
$input-btn-padding-y : .375 rem !default ;
$input-btn-padding-x : .75 rem !default ;
$input-btn-line-height : $line-height-base !default ;
$input-btn-focus-width : .2 rem !default ;
2018-03-17 17:07:55 +00:00
$input-btn-focus-color : rgba ( $component-active-bg , .25 ) !default ;
2018-02-03 23:45:19 +00:00
$input-btn-focus-box-shadow : 0 0 0 $input-btn-focus-width $input-btn-focus-color !default ;
$input-btn-padding-y-sm : .25 rem !default ;
$input-btn-padding-x-sm : .5 rem !default ;
$input-btn-line-height-sm : $line-height-sm !default ;
$input-btn-padding-y-lg : .5 rem !default ;
$input-btn-padding-x-lg : 1 rem !default ;
$input-btn-line-height-lg : $line-height-lg !default ;
2018-03-17 17:07:55 +00:00
$input-btn-border-width : $border-width !default ;
// Buttons
//
// For each of Bootstrap's buttons, define text, background, and border color.
$btn-padding-y : $input-btn-padding-y !default ;
$btn-padding-x : $input-btn-padding-x !default ;
$btn-line-height : $input-btn-line-height !default ;
$btn-padding-y-sm : $input-btn-padding-y-sm !default ;
$btn-padding-x-sm : $input-btn-padding-x-sm !default ;
$btn-line-height-sm : $input-btn-line-height-sm !default ;
$btn-padding-y-lg : $input-btn-padding-y-lg !default ;
$btn-padding-x-lg : $input-btn-padding-x-lg !default ;
$btn-line-height-lg : $input-btn-line-height-lg !default ;
$btn-border-width : $input-btn-border-width !default ;
2018-02-03 23:45:19 +00:00
$btn-font-weight : $font-weight-normal !default ;
2019-07-27 22:27:44 +00:00
$btn-box-shadow : none !default ;
$btn-focus-width : 0 !default ;
$btn-focus-box-shadow : none !default ;
2018-03-17 17:07:55 +00:00
$btn-disabled-opacity : .65 !default ;
2019-07-27 22:27:44 +00:00
$btn-active-box-shadow : none !default ;
2018-02-03 23:45:19 +00:00
$btn-link-disabled-color : $gray-600 !default ;
$btn-block-spacing-y : .5 rem !default ;
// Allows for customizing button radius independently from global border radius
$btn-border-radius : $border-radius !default ;
$btn-border-radius-lg : $border-radius-lg !default ;
$btn-border-radius-sm : $border-radius-sm !default ;
2018-03-17 17:07:55 +00:00
$btn-transition : color .15 s ease-in-out , background-color .15 s ease-in-out , border-color .15 s ease-in-out , box-shadow .15 s ease-in-out !default ;
2018-02-03 23:45:19 +00:00
// Forms
2018-03-17 17:07:55 +00:00
$input-padding-y : $input-btn-padding-y !default ;
$input-padding-x : $input-btn-padding-x !default ;
$input-line-height : $input-btn-line-height !default ;
$input-padding-y-sm : $input-btn-padding-y-sm !default ;
$input-padding-x-sm : $input-btn-padding-x-sm !default ;
$input-line-height-sm : $input-btn-line-height-sm !default ;
$input-padding-y-lg : $input-btn-padding-y-lg !default ;
$input-padding-x-lg : $input-btn-padding-x-lg !default ;
$input-line-height-lg : $input-btn-line-height-lg !default ;
2018-02-03 23:45:19 +00:00
$input-bg : $white !default ;
$input-disabled-bg : $gray-200 !default ;
$input-color : $gray-700 !default ;
$input-border-color : $gray-400 !default ;
2018-03-17 17:07:55 +00:00
$input-border-width : $input-btn-border-width !default ;
2018-04-01 17:35:02 +00:00
$input-box-shadow : inset 0 0 0 rgba ( $black , 0 ) !default ;
2018-02-03 23:45:19 +00:00
$input-border-radius : $border-radius !default ;
$input-border-radius-lg : $border-radius-lg !default ;
$input-border-radius-sm : $border-radius-sm !default ;
$input-focus-bg : $input-bg !default ;
2018-03-17 17:07:55 +00:00
$input-focus-border-color : lighten ( $component-active-bg , 25 % ) !default ;
2018-02-03 23:45:19 +00:00
$input-focus-color : $input-color !default ;
2019-07-27 22:27:44 +00:00
$input-focus-width : 0 !default ;
$input-focus-box-shadow : none !default ;
2018-02-03 23:45:19 +00:00
2019-10-23 09:49:59 +00:00
$input-placeholder-color : lighten ( $gray-600 , 15 % ) !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$input-height-border : $input-border-width * 2 !default ;
2018-02-03 23:45:19 +00:00
$input-height-inner : ( $font-size-base * $input-btn-line-height ) + ( $input-btn-padding-y * 2 ) !default ;
2019-10-29 08:22:51 +00:00
$input-height-inner-half : calc ( #{ $input-line-height * .5 em } + #{ $input-padding-y } ) !default ;
$input-height-inner-quarter : calc ( #{ $input-line-height * .25 em } + #{ $input-padding-y / 2 } ) !default ;
2018-02-03 23:45:19 +00:00
$input-height : calc ( #{ $input-height-inner } + #{ $input-height-border } ) !default ;
$input-height-inner-sm : ( $font-size-sm * $input-btn-line-height-sm ) + ( $input-btn-padding-y-sm * 2 ) !default ;
$input-height-sm : calc ( #{ $input-height-inner-sm } + #{ $input-height-border } ) !default ;
$input-height-inner-lg : ( $font-size-lg * $input-btn-line-height-lg ) + ( $input-btn-padding-y-lg * 2 ) !default ;
$input-height-lg : calc ( #{ $input-height-inner-lg } + #{ $input-height-border } ) !default ;
2018-03-17 17:07:55 +00:00
$input-transition : border-color .15 s ease-in-out , box-shadow .15 s ease-in-out !default ;
2018-02-03 23:45:19 +00:00
$form-text-margin-top : .25 rem !default ;
$form-check-input-gutter : 1 .25 rem !default ;
2018-03-17 17:07:55 +00:00
$form-check-input-margin-y : .3 rem !default ;
2018-02-03 23:45:19 +00:00
$form-check-input-margin-x : .25 rem !default ;
$form-check-inline-margin-x : .75 rem !default ;
2018-03-17 17:07:55 +00:00
$form-check-inline-input-margin-x : .3125 rem !default ;
2018-02-03 23:45:19 +00:00
$form-group-margin-bottom : 1 rem !default ;
$input-group-addon-color : $input-color !default ;
$input-group-addon-bg : $gray-200 !default ;
$input-group-addon-border-color : $input-border-color !default ;
2019-11-22 10:09:49 +00:00
$custom-control-gutter : .5 rem !default ;
2018-02-03 23:45:19 +00:00
$custom-control-spacer-x : 1 rem !default ;
$custom-control-indicator-size : 1 rem !default ;
2018-03-17 17:07:55 +00:00
$custom-control-indicator-bg : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
$custom-control-indicator-bg-size : 50 % 50 % !default ;
2018-03-17 17:07:55 +00:00
$custom-control-indicator-box-shadow : inset 0 .25 rem .25 rem rgba ( $black , .1 ) !default ;
2018-02-03 23:45:19 +00:00
$custom-control-indicator-disabled-bg : $gray-200 !default ;
2018-03-17 17:07:55 +00:00
$custom-control-label-disabled-color : $gray-600 !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$custom-control-indicator-checked-color : $component-active-color !default ;
$custom-control-indicator-checked-bg : $component-active-bg !default ;
$custom-control-indicator-checked-disabled-bg : rgba ( theme-color ( " primary " ) , .5 ) !default ;
2018-02-03 23:45:19 +00:00
$custom-control-indicator-checked-box-shadow : none !default ;
$custom-control-indicator-focus-box-shadow : 0 0 0 1 px $body-bg , $input-btn-focus-box-shadow !default ;
2018-03-17 17:07:55 +00:00
$custom-control-indicator-active-color : $component-active-color !default ;
$custom-control-indicator-active-bg : lighten ( $component-active-bg , 35 % ) !default ;
2018-02-03 23:45:19 +00:00
$custom-control-indicator-active-box-shadow : none !default ;
$custom-checkbox-indicator-border-radius : $border-radius !default ;
$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 ;
2018-03-17 17:07:55 +00:00
$custom-checkbox-indicator-indeterminate-bg : $component-active-bg !default ;
2018-02-03 23:45:19 +00:00
$custom-checkbox-indicator-indeterminate-color : $custom-control-indicator-checked-color !default ;
$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 ;
$custom-checkbox-indicator-indeterminate-box-shadow : none !default ;
$custom-radio-indicator-border-radius : 50 % !default ;
$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 ;
$custom-select-padding-y : .375 rem !default ;
$custom-select-padding-x : .75 rem !default ;
$custom-select-height : $input-height !default ;
$custom-select-indicator-padding : 1 rem !default ; // Extra padding to account for the presence of the background-image based indicator
$custom-select-line-height : $input-btn-line-height !default ;
$custom-select-color : $input-color !default ;
$custom-select-disabled-color : $gray-600 !default ;
$custom-select-bg : $white !default ;
$custom-select-disabled-bg : $gray-200 !default ;
$custom-select-bg-size : 8 px 10 px !default ; // In pixels because image dimensions
2018-03-17 17:07:55 +00:00
$custom-select-indicator-color : $gray-800 !default ;
2021-04-06 23:22:03 +00:00
$custom-select-indicator : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill=' #{ $custom-select-indicator-color } ' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>" ) !default ;
$custom-select-background : escape-svg ( $custom-select-indicator ) right $custom-select-padding-x center / $custom-select-bg-size no-repeat !default ; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
2018-02-03 23:45:19 +00:00
$custom-select-border-width : $input-btn-border-width !default ;
$custom-select-border-color : $input-border-color !default ;
$custom-select-border-radius : $border-radius !default ;
2018-03-17 17:07:55 +00:00
$custom-select-focus-border-color : $input-focus-border-color !default ;
2019-08-27 11:21:53 +00:00
$custom-select-focus-box-shadow : none !default ;
2018-02-03 23:45:19 +00:00
$custom-select-font-size-sm : 75 % !default ;
$custom-select-height-sm : $input-height-sm !default ;
2018-03-17 17:07:55 +00:00
$custom-select-font-size-lg : 125 % !default ;
$custom-select-height-lg : $input-height-lg !default ;
2018-02-03 23:45:19 +00:00
$custom-file-height : $input-height !default ;
2018-03-17 17:07:55 +00:00
$custom-file-focus-border-color : $input-focus-border-color !default ;
2019-08-27 11:21:53 +00:00
$custom-file-focus-box-shadow : $custom-select-focus-box-shadow !default ;
2018-02-03 23:45:19 +00:00
$custom-file-padding-y : $input-btn-padding-y !default ;
$custom-file-padding-x : $input-btn-padding-x !default ;
$custom-file-line-height : $input-btn-line-height !default ;
$custom-file-color : $input-color !default ;
$custom-file-bg : $input-bg !default ;
$custom-file-border-width : $input-btn-border-width !default ;
$custom-file-border-color : $input-border-color !default ;
$custom-file-border-radius : $input-border-radius !default ;
2019-08-27 11:21:53 +00:00
$custom-file-box-shadow : $custom-select-focus-box-shadow !default ;
2018-02-03 23:45:19 +00:00
$custom-file-button-color : $custom-file-color !default ;
$custom-file-button-bg : $input-group-addon-bg !default ;
$custom-file-text : (
2020-05-30 13:06:11 +00:00
en : " Browse "
2018-02-03 23:45:19 +00:00
) ! default ;
2019-07-27 22:27:44 +00:00
$custom-range-thumb-focus-box-shadow : 0 0 0 1 px $body-bg , $input-btn-focus-box-shadow !default ;
2018-02-03 23:45:19 +00:00
// Form validation
2018-03-17 17:07:55 +00:00
$form-feedback-margin-top : $form-text-margin-top !default ;
$form-feedback-font-size : $small-font-size !default ;
2018-02-03 23:45:19 +00:00
$form-feedback-valid-color : theme-color ( " success " ) !default ;
$form-feedback-invalid-color : theme-color ( " danger " ) !default ;
// Dropdowns
//
// Dropdown menu container and contents.
$dropdown-min-width : 10 rem !default ;
$dropdown-padding-y : .5 rem !default ;
$dropdown-spacer : .125 rem !default ;
$dropdown-bg : $white !default ;
2018-03-17 17:07:55 +00:00
$dropdown-border-color : rgba ( $black , .15 ) !default ;
$dropdown-border-radius : $border-radius !default ;
2018-02-03 23:45:19 +00:00
$dropdown-border-width : $border-width !default ;
$dropdown-divider-bg : $gray-200 !default ;
2018-03-17 17:07:55 +00:00
$dropdown-box-shadow : 0 .5 rem 1 rem rgba ( $black , .175 ) !default ;
2018-02-03 23:45:19 +00:00
$dropdown-link-color : $gray-900 !default ;
$dropdown-link-hover-color : darken ( $gray-900 , 5 % ) !default ;
$dropdown-link-hover-bg : $gray-100 !default ;
$dropdown-link-active-color : $component-active-color !default ;
$dropdown-link-active-bg : $component-active-bg !default ;
$dropdown-link-disabled-color : $gray-600 !default ;
$dropdown-item-padding-y : .25 rem !default ;
2018-03-17 17:07:55 +00:00
$dropdown-item-padding-x : 1 rem !default ;
2018-02-03 23:45:19 +00:00
$dropdown-header-color : $gray-600 !default ;
// Z-index master list
//
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.
$zindex-dropdown : 1000 !default ;
$zindex-sticky : 1020 !default ;
$zindex-fixed : 1030 !default ;
$zindex-modal-backdrop : 1040 !default ;
$zindex-modal : 1050 !default ;
$zindex-popover : 1060 !default ;
$zindex-tooltip : 1070 !default ;
// Navs
$nav-link-padding-y : .5 rem !default ;
$nav-link-padding-x : 1 rem !default ;
$nav-link-disabled-color : $gray-600 !default ;
2018-03-17 17:07:55 +00:00
$nav-tabs-border-color : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
$nav-tabs-border-width : $border-width !default ;
$nav-tabs-border-radius : $border-radius !default ;
2018-03-17 17:07:55 +00:00
$nav-tabs-link-hover-border-color : $gray-200 $gray-200 $nav-tabs-border-color !default ;
2018-02-03 23:45:19 +00:00
$nav-tabs-link-active-color : $gray-700 !default ;
$nav-tabs-link-active-bg : $body-bg !default ;
2018-03-17 17:07:55 +00:00
$nav-tabs-link-active-border-color : $gray-300 $gray-300 $nav-tabs-link-active-bg !default ;
2018-02-03 23:45:19 +00:00
$nav-pills-border-radius : $border-radius !default ;
$nav-pills-link-active-color : $component-active-color !default ;
$nav-pills-link-active-bg : $component-active-bg !default ;
// Navbar
$navbar-padding-y : ( $spacer / 2 ) !default ;
2018-03-17 17:07:55 +00:00
$navbar-padding-x : ( $spacer / 2 ) !default ;
$navbar-nav-link-padding-x : 1 rem !default ;
2018-02-03 23:45:19 +00:00
$navbar-brand-font-size : $font-size-lg !default ;
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
$nav-link-height : ( $font-size-base * $line-height-base + $nav-link-padding-y * 2 ) !default ;
$navbar-brand-height : $navbar-brand-font-size * $line-height-base !default ;
$navbar-brand-padding-y : ( $nav-link-height - $navbar-brand-height ) / 2 !default ;
$navbar-toggler-padding-y : .25 rem !default ;
$navbar-toggler-padding-x : .75 rem !default ;
$navbar-toggler-font-size : $font-size-lg !default ;
$navbar-toggler-border-radius : $btn-border-radius !default ;
2018-03-17 17:07:55 +00:00
$navbar-dark-color : rgba ( $white , .75 ) !default ;
$navbar-dark-hover-color : rgba ( $white , 1 ) !default ;
2018-02-03 23:45:19 +00:00
$navbar-dark-active-color : $white !default ;
2018-03-17 17:07:55 +00:00
$navbar-dark-disabled-color : rgba ( $white , .25 ) !default ;
2018-02-03 23:45:19 +00:00
$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 ;
2018-03-17 17:07:55 +00:00
$navbar-dark-toggler-border-color : rgba ( $white , .1 ) !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$navbar-light-color : rgba ( $black , .5 ) !default ;
$navbar-light-hover-color : rgba ( $black , .7 ) !default ;
$navbar-light-active-color : rgba ( $black , .9 ) !default ;
$navbar-light-disabled-color : rgba ( $black , .3 ) !default ;
2018-02-03 23:45:19 +00:00
$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 ;
2018-03-17 17:07:55 +00:00
$navbar-light-toggler-border-color : rgba ( $black , .1 ) !default ;
2018-02-03 23:45:19 +00:00
// Pagination
$pagination-padding-y : .5 rem !default ;
$pagination-padding-x : .75 rem !default ;
$pagination-padding-y-sm : .25 rem !default ;
$pagination-padding-x-sm : .5 rem !default ;
$pagination-padding-y-lg : .75 rem !default ;
$pagination-padding-x-lg : 1 .5 rem !default ;
$pagination-line-height : 1 .25 !default ;
$pagination-color : $link-color !default ;
$pagination-bg : $white !default ;
$pagination-border-width : $border-width !default ;
2018-03-17 17:07:55 +00:00
$pagination-border-color : $gray-300 !default ;
$pagination-focus-box-shadow : $input-btn-focus-box-shadow !default ;
2018-02-03 23:45:19 +00:00
$pagination-hover-color : $link-hover-color !default ;
$pagination-hover-bg : $gray-200 !default ;
2018-03-17 17:07:55 +00:00
$pagination-hover-border-color : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$pagination-active-color : $component-active-color !default ;
$pagination-active-bg : $component-active-bg !default ;
$pagination-active-border-color : $pagination-active-bg !default ;
2018-02-03 23:45:19 +00:00
$pagination-disabled-color : $gray-600 !default ;
$pagination-disabled-bg : $white !default ;
2018-03-17 17:07:55 +00:00
$pagination-disabled-border-color : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
// Jumbotron
$jumbotron-padding : 2 rem !default ;
$jumbotron-bg : $gray-200 !default ;
// Cards
$card-spacer-y : .75 rem !default ;
$card-spacer-x : 1 .25 rem !default ;
2018-03-17 17:07:55 +00:00
$card-border-width : 0 !default ; //$border-width !default;
2018-02-03 23:45:19 +00:00
$card-border-radius : $border-radius !default ;
2018-03-17 17:07:55 +00:00
$card-border-color : rgba ( $black , .125 ) !default ;
2018-02-03 23:45:19 +00:00
$card-inner-border-radius : calc ( #{ $card-border-radius } - #{ $card-border-width } ) !default ;
$card-cap-bg : rgba ( $black , .03 ) !default ;
$card-bg : $white !default ;
$card-img-overlay-padding : 1 .25 rem !default ;
$card-group-margin : ( $grid-gutter-width / 2 ) !default ;
$card-deck-margin : $card-group-margin !default ;
$card-columns-count : 3 !default ;
$card-columns-gap : 1 .25 rem !default ;
$card-columns-margin : $card-spacer-y !default ;
// Tooltips
2018-03-17 17:07:55 +00:00
$tooltip-font-size : $font-size-sm !default ;
$tooltip-max-width : 200 px !default ;
$tooltip-color : $white !default ;
$tooltip-bg : $black !default ;
$tooltip-border-radius : $border-radius !default ;
$tooltip-opacity : .9 !default ;
$tooltip-padding-y : .25 rem !default ;
$tooltip-padding-x : .5 rem !default ;
$tooltip-margin : 0 !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$tooltip-arrow-width : .8 rem !default ;
$tooltip-arrow-height : .4 rem !default ;
$tooltip-arrow-color : $tooltip-bg !default ;
2018-02-03 23:45:19 +00:00
2019-10-29 08:22:51 +00:00
// Form tooltips must come after regular tooltips
$form-feedback-tooltip-padding-y : $tooltip-padding-y !default ;
$form-feedback-tooltip-padding-x : $tooltip-padding-x !default ;
$form-feedback-tooltip-font-size : $tooltip-font-size !default ;
$form-feedback-tooltip-line-height : $line-height-base !default ;
$form-feedback-tooltip-opacity : $tooltip-opacity !default ;
$form-feedback-tooltip-border-radius : $tooltip-border-radius !default ;
2018-02-03 23:45:19 +00:00
// Popovers
2018-03-17 17:07:55 +00:00
$popover-font-size : $font-size-sm !default ;
2018-02-03 23:45:19 +00:00
$popover-bg : $white !default ;
$popover-max-width : 276 px !default ;
$popover-border-width : $border-width !default ;
2018-03-17 17:07:55 +00:00
$popover-border-color : rgba ( $black , .2 ) !default ;
$popover-border-radius : $border-radius-lg !default ;
$popover-box-shadow : 0 .25 rem .5 rem rgba ( $black , .2 ) !default ;
2018-02-03 23:45:19 +00:00
$popover-header-bg : darken ( $popover-bg , 3 % ) !default ;
$popover-header-color : $headings-color !default ;
$popover-header-padding-y : .5 rem !default ;
$popover-header-padding-x : .75 rem !default ;
$popover-body-color : $body-color !default ;
$popover-body-padding-y : $popover-header-padding-y !default ;
$popover-body-padding-x : $popover-header-padding-x !default ;
2018-03-17 17:07:55 +00:00
$popover-arrow-width : 1 rem !default ;
$popover-arrow-height : .5 rem !default ;
2018-02-03 23:45:19 +00:00
$popover-arrow-color : $popover-bg !default ;
$popover-arrow-outer-color : fade-in ( $popover-border-color , .05 ) !default ;
// Badges
$badge-font-size : 75 % !default ;
$badge-font-weight : $font-weight-bold !default ;
$badge-padding-y : .25 em !default ;
$badge-padding-x : .4 em !default ;
$badge-border-radius : $border-radius !default ;
$badge-pill-padding-x : .6 em !default ;
// Use a higher than normal value to ensure completely rounded edges when
// customizing padding or font-size on labels.
$badge-pill-border-radius : 10 rem !default ;
// Modals
// Padding applied to the modal body
2018-03-17 17:07:55 +00:00
$modal-inner-padding : 1 rem !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$modal-dialog-margin : .5 rem !default ;
$modal-dialog-margin-y-sm-up : 1 .75 rem !default ;
2018-02-03 23:45:19 +00:00
$modal-title-line-height : $line-height-base !default ;
2018-03-17 17:07:55 +00:00
$modal-content-bg : $white !default ;
$modal-content-border-color : rgba ( $black , .2 ) !default ;
$modal-content-border-width : $border-width !default ;
2020-11-26 10:42:18 +00:00
$modal-content-border-radius : $border-radius-lg !default ;
2018-03-17 17:07:55 +00:00
$modal-content-box-shadow-xs : 0 .25 rem .5 rem rgba ( $black , .5 ) !default ;
$modal-content-box-shadow-sm-up : 0 .5 rem 1 rem rgba ( $black , .5 ) !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$modal-backdrop-bg : $black !default ;
$modal-backdrop-opacity : .5 !default ;
$modal-header-border-color : $gray-200 !default ;
$modal-footer-border-color : $modal-header-border-color !default ;
$modal-header-border-width : $modal-content-border-width !default ;
$modal-footer-border-width : $modal-header-border-width !default ;
$modal-header-padding : 1 rem !default ;
2018-02-03 23:45:19 +00:00
$modal-lg : 800 px !default ;
$modal-md : 500 px !default ;
$modal-sm : 300 px !default ;
$modal-transition : transform .3 s ease-out !default ;
// Alerts
//
// Define alert colors, border radius, and padding.
$alert-padding-y : .75 rem !default ;
$alert-padding-x : 1 .25 rem !default ;
$alert-margin-bottom : 1 rem !default ;
$alert-border-radius : $border-radius !default ;
$alert-link-font-weight : $font-weight-bold !default ;
$alert-border-width : $border-width !default ;
2018-03-17 17:07:55 +00:00
$alert-bg-level : - 10 !default ;
$alert-border-level : - 9 !default ;
$alert-color-level : 6 !default ;
2018-02-03 23:45:19 +00:00
// Progress bars
$progress-height : 1 rem !default ;
$progress-font-size : ( $font-size-base * .75 ) !default ;
$progress-bg : $gray-200 !default ;
$progress-border-radius : $border-radius !default ;
2018-03-17 17:07:55 +00:00
$progress-box-shadow : inset 0 .1 rem .1 rem rgba ( $black , .1 ) !default ;
2018-02-03 23:45:19 +00:00
$progress-bar-color : $white !default ;
$progress-bar-bg : theme-color ( " primary " ) !default ;
$progress-bar-animation-timing : 1 s linear infinite !default ;
$progress-bar-transition : width .6 s ease !default ;
// List group
$list-group-bg : $white !default ;
2018-03-17 17:07:55 +00:00
$list-group-border-color : rgba ( $black , .125 ) !default ;
2018-02-03 23:45:19 +00:00
$list-group-border-width : $border-width !default ;
$list-group-border-radius : $border-radius !default ;
$list-group-item-padding-y : .75 rem !default ;
$list-group-item-padding-x : 1 .25 rem !default ;
$list-group-hover-bg : $gray-100 !default ;
$list-group-active-color : $component-active-color !default ;
$list-group-active-bg : $component-active-bg !default ;
$list-group-active-border-color : $list-group-active-bg !default ;
$list-group-disabled-color : $gray-600 !default ;
$list-group-disabled-bg : $list-group-bg !default ;
$list-group-action-color : $gray-700 !default ;
$list-group-action-hover-color : $list-group-action-color !default ;
$list-group-action-active-color : $body-color !default ;
$list-group-action-active-bg : $gray-200 !default ;
// Image thumbnails
$thumbnail-padding : .25 rem !default ;
$thumbnail-bg : $body-bg !default ;
$thumbnail-border-width : $border-width !default ;
2018-03-17 17:07:55 +00:00
$thumbnail-border-color : $gray-300 !default ;
2018-02-03 23:45:19 +00:00
$thumbnail-border-radius : $border-radius !default ;
2018-03-17 17:07:55 +00:00
$thumbnail-box-shadow : 0 1 px 2 px rgba ( $black , .075 ) !default ;
2018-02-03 23:45:19 +00:00
// Figures
$figure-caption-font-size : 90 % !default ;
$figure-caption-color : $gray-600 !default ;
// Breadcrumbs
$breadcrumb-padding-y : .75 rem !default ;
$breadcrumb-padding-x : 1 rem !default ;
$breadcrumb-item-padding : .5 rem !default ;
$breadcrumb-margin-bottom : 1 rem !default ;
$breadcrumb-bg : $gray-200 !default ;
$breadcrumb-divider-color : $gray-600 !default ;
$breadcrumb-active-color : $gray-600 !default ;
$breadcrumb-divider : " / " !default ;
// Carousel
$carousel-control-color : $white !default ;
$carousel-control-width : 15 % !default ;
$carousel-control-opacity : .5 !default ;
$carousel-indicator-width : 30 px !default ;
$carousel-indicator-height : 3 px !default ;
$carousel-indicator-spacer : 3 px !default ;
$carousel-indicator-active-bg : $white !default ;
$carousel-caption-width : 70 % !default ;
$carousel-caption-color : $white !default ;
$carousel-control-icon-width : 20 px !default ;
$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='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 ;
$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='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 ;
$carousel-transition : transform .6 s ease !default ;
// Close
$close-font-size : $font-size-base * 1 .5 !default ;
$close-font-weight : $font-weight-bold !default ;
$close-color : $black !default ;
$close-text-shadow : 0 1 px 0 $white !default ;
// Code
2018-03-17 17:07:55 +00:00
$code-font-size : 87 .5 % !default ;
$code-color : $pink !default ;
2018-02-03 23:45:19 +00:00
2018-03-17 17:07:55 +00:00
$kbd-padding-y : .2 rem !default ;
$kbd-padding-x : .4 rem !default ;
$kbd-font-size : $code-font-size !default ;
2018-02-03 23:45:19 +00:00
$kbd-color : $white !default ;
$kbd-bg : $gray-900 !default ;
$pre-color : $gray-900 !default ;
$pre-scrollable-max-height : 340 px !default ;
2018-03-17 17:07:55 +00:00
// Printing
$print-page-size : a3 !default ;
$print-body-min-width : map-get ( $grid-breakpoints , " lg " ) !default ;