2014-12-02 23:02:35 +01:00
// Variables
2015-03-09 15:18:25 +01:00
//
2017-06-13 17:25:55 +02:00
// Variables should follow the `$component-state-property-size` formula for
2017-06-13 17:25:18 +02:00
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
2015-08-11 08:38:41 +02:00
2017-06-30 08:17:18 +02:00
// Color system
2017-06-15 20:16:27 +02:00
2017-10-04 13:02:35 +02:00
$white : #fff !default ;
2017-06-15 20:16:27 +02:00
$gray-100 : #f8f9fa !default ;
$gray-200 : #e9ecef !default ;
$gray-300 : #dee2e6 !default ;
$gray-400 : #ced4da !default ;
$gray-500 : #adb5bd !default ;
2017-12-29 22:03:35 +01:00
$gray-600 : #6c757d !default ;
2017-06-15 20:16:27 +02:00
$gray-700 : #495057 !default ;
$gray-800 : #343a40 !default ;
$gray-900 : #212529 !default ;
2017-10-04 13:02:35 +02:00
$black : #000 !default ;
2017-06-15 20:16:27 +02:00
2017-08-13 23:56:30 +02:00
$grays : () !default ;
2018-06-01 17:00:36 +02:00
// stylelint-disable-next-line scss/dollar-variable-default
$grays : map-merge (
(
" 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
) ,
$ grays
) ;
2019-09-27 08:01:36 +02:00
$blue : #0d6efd !default ;
2017-06-26 03:08:43 +02:00
$indigo : #6610f2 !default ;
$purple : #6f42c1 !default ;
2019-09-27 08:01:36 +02:00
$pink : #d63384 !default ;
2017-06-26 03:08:43 +02:00
$red : #dc3545 !default ;
$orange : #fd7e14 !default ;
$yellow : #ffc107 !default ;
$green : #28a745 !default ;
$teal : #20c997 !default ;
$cyan : #17a2b8 !default ;
2017-06-15 20:16:27 +02:00
2017-08-13 23:56:30 +02:00
$colors : () !default ;
2018-06-01 17:00:36 +02:00
// stylelint-disable-next-line scss/dollar-variable-default
$colors : map-merge (
(
" 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
) ,
$ colors
) ;
2017-06-15 20:16:27 +02:00
2017-10-19 08:05:00 +02:00
$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 ;
2017-08-13 23:56:30 +02:00
$theme-colors : () !default ;
2018-06-01 17:00:36 +02:00
// stylelint-disable-next-line scss/dollar-variable-default
$theme-colors : map-merge (
(
" primary " : $ primary ,
" secondary " : $ secondary ,
" success " : $ success ,
" info " : $ info ,
" warning " : $ warning ,
" danger " : $ danger ,
" light " : $ light ,
" dark " : $ dark
) ,
$ theme-colors
) ;
2017-06-15 20:16:27 +02:00
2017-06-26 03:31:03 +02:00
// Set a specific jump point for requesting color jumps
2017-10-04 13:02:35 +02:00
$theme-color-interval : 8 % !default ;
2014-12-02 23:02:35 +01:00
2017-12-02 04:26:10 +01:00
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
2018-03-08 13:28:32 +01:00
$yiq-contrasted-threshold : 150 !default ;
2017-12-02 04:26:10 +01:00
2017-10-19 06:06:13 +02:00
// Customize the light and dark text colors for use in our YIQ color contrast function.
2018-03-08 13:28:32 +01:00
$yiq-text-dark : $gray-900 !default ;
$yiq-text-light : $white !default ;
2017-10-19 06:06:13 +02:00
2019-10-18 20:04:27 +02:00
// fusv-disable
$blue-100 : tint-color ( $blue , 8 ) !default ;
$blue-200 : tint-color ( $blue , 6 ) !default ;
$blue-300 : tint-color ( $blue , 4 ) !default ;
$blue-400 : tint-color ( $blue , 2 ) !default ;
$blue-500 : $blue !default ;
$blue-600 : shade-color ( $blue , 2 ) !default ;
$blue-700 : shade-color ( $blue , 4 ) !default ;
$blue-800 : shade-color ( $blue , 6 ) !default ;
$blue-900 : shade-color ( $blue , 8 ) !default ;
$indigo-100 : tint-color ( $indigo , 8 ) !default ;
$indigo-200 : tint-color ( $indigo , 6 ) !default ;
$indigo-300 : tint-color ( $indigo , 4 ) !default ;
$indigo-400 : tint-color ( $indigo , 2 ) !default ;
$indigo-500 : $indigo !default ;
$indigo-600 : shade-color ( $indigo , 2 ) !default ;
$indigo-700 : shade-color ( $indigo , 4 ) !default ;
$indigo-800 : shade-color ( $indigo , 6 ) !default ;
$indigo-900 : shade-color ( $indigo , 8 ) !default ;
$purple-100 : tint-color ( $purple , 8 ) !default ;
$purple-200 : tint-color ( $purple , 6 ) !default ;
$purple-300 : tint-color ( $purple , 4 ) !default ;
$purple-400 : tint-color ( $purple , 2 ) !default ;
$purple-500 : $purple !default ;
$purple-600 : shade-color ( $purple , 2 ) !default ;
$purple-700 : shade-color ( $purple , 4 ) !default ;
$purple-800 : shade-color ( $purple , 6 ) !default ;
$purple-900 : shade-color ( $purple , 8 ) !default ;
$pink-100 : tint-color ( $pink , 8 ) !default ;
$pink-200 : tint-color ( $pink , 6 ) !default ;
$pink-300 : tint-color ( $pink , 4 ) !default ;
$pink-400 : tint-color ( $pink , 2 ) !default ;
$pink-500 : $pink !default ;
$pink-600 : shade-color ( $pink , 2 ) !default ;
$pink-700 : shade-color ( $pink , 4 ) !default ;
$pink-800 : shade-color ( $pink , 6 ) !default ;
$pink-900 : shade-color ( $pink , 8 ) !default ;
$red-100 : tint-color ( $red , 8 ) !default ;
$red-200 : tint-color ( $red , 6 ) !default ;
$red-300 : tint-color ( $red , 4 ) !default ;
$red-400 : tint-color ( $red , 2 ) !default ;
$red-500 : $red !default ;
$red-600 : shade-color ( $red , 2 ) !default ;
$red-700 : shade-color ( $red , 4 ) !default ;
$red-800 : shade-color ( $red , 6 ) !default ;
$red-900 : shade-color ( $red , 8 ) !default ;
$orange-100 : tint-color ( $orange , 8 ) !default ;
$orange-200 : tint-color ( $orange , 6 ) !default ;
$orange-300 : tint-color ( $orange , 4 ) !default ;
$orange-400 : tint-color ( $orange , 2 ) !default ;
$orange-500 : $orange !default ;
$orange-600 : shade-color ( $orange , 2 ) !default ;
$orange-700 : shade-color ( $orange , 4 ) !default ;
$orange-800 : shade-color ( $orange , 6 ) !default ;
$orange-900 : shade-color ( $orange , 8 ) !default ;
$yellow-100 : tint-color ( $yellow , 8 ) !default ;
$yellow-200 : tint-color ( $yellow , 6 ) !default ;
$yellow-300 : tint-color ( $yellow , 4 ) !default ;
$yellow-400 : tint-color ( $yellow , 2 ) !default ;
$yellow-500 : $yellow !default ;
$yellow-600 : shade-color ( $yellow , 2 ) !default ;
$yellow-700 : shade-color ( $yellow , 4 ) !default ;
$yellow-800 : shade-color ( $yellow , 6 ) !default ;
$yellow-900 : shade-color ( $yellow , 8 ) !default ;
$green-100 : tint-color ( $green , 8 ) !default ;
$green-200 : tint-color ( $green , 6 ) !default ;
$green-300 : tint-color ( $green , 4 ) !default ;
$green-400 : tint-color ( $green , 2 ) !default ;
$green-500 : $green !default ;
$green-600 : shade-color ( $green , 2 ) !default ;
$green-700 : shade-color ( $green , 4 ) !default ;
$green-800 : shade-color ( $green , 6 ) !default ;
$green-900 : shade-color ( $green , 8 ) !default ;
$teal-100 : tint-color ( $teal , 8 ) !default ;
$teal-200 : tint-color ( $teal , 6 ) !default ;
$teal-300 : tint-color ( $teal , 4 ) !default ;
$teal-400 : tint-color ( $teal , 2 ) !default ;
$teal-500 : $teal !default ;
$teal-600 : shade-color ( $teal , 2 ) !default ;
$teal-700 : shade-color ( $teal , 4 ) !default ;
$teal-800 : shade-color ( $teal , 6 ) !default ;
$teal-900 : shade-color ( $teal , 8 ) !default ;
$cyan-100 : tint-color ( $cyan , 8 ) !default ;
$cyan-200 : tint-color ( $cyan , 6 ) !default ;
$cyan-300 : tint-color ( $cyan , 4 ) !default ;
$cyan-400 : tint-color ( $cyan , 2 ) !default ;
$cyan-500 : $cyan !default ;
$cyan-600 : shade-color ( $cyan , 2 ) !default ;
$cyan-700 : shade-color ( $cyan , 4 ) !default ;
$cyan-800 : shade-color ( $cyan , 6 ) !default ;
$cyan-900 : shade-color ( $cyan , 8 ) !default ;
// fusv-enable
2019-07-20 03:57:12 +02:00
// Characters which are escaped by the escape-svg function
$escaped-characters : (
( " < " , " %3c " ) ,
( " > " , " %3e " ) ,
( " # " , " %23 " ) ,
) ! default ;
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// Options
2014-12-02 23:02:35 +01:00
//
2015-08-11 08:38:41 +02:00
// Quickly modify global styling by enabling or disabling optional features.
2018-11-03 19:23:26 +01:00
$enable-caret : true !default ;
$enable-rounded : true !default ;
$enable-shadows : false !default ;
$enable-gradients : false !default ;
$enable-transitions : true !default ;
$enable-prefers-reduced-motion-media-query : true !default ;
$enable-grid-classes : true !default ;
2018-12-29 12:55:20 +01:00
$enable-pointer-cursor-for-buttons : true !default ;
2019-10-27 11:01:30 +01:00
$enable-rfs : true !default ;
2018-11-03 19:23:26 +01:00
$enable-validation-icons : true !default ;
2019-01-22 20:55:23 +01:00
$enable-deprecation-messages : true !default ;
2015-08-11 08:38:41 +02:00
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// Spacing
2015-08-11 08:38:41 +02:00
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
2015-12-27 19:20:39 +01:00
// You can add more entries to the $spacers map, should you need more variation.
2015-08-11 08:38:41 +02:00
2017-03-05 21:20:44 +01:00
$spacer : 1 rem !default ;
2018-01-16 07:01:32 +01:00
$spacers : () !default ;
2018-06-01 17:00:36 +02:00
// stylelint-disable-next-line scss/dollar-variable-default
$spacers : map-merge (
(
0 : 0 ,
2019-05-23 11:56:03 +02:00
1 : $spacer * .25 ,
2 : $spacer * .5 ,
2018-06-01 17:00:36 +02:00
3 : $spacer ,
2019-05-23 11:56:03 +02:00
4 : $spacer * 1 .5 ,
5 : $spacer * 3 ,
2018-06-01 17:00:36 +02:00
) ,
$ spacers
) ;
2015-08-11 08:38:41 +02:00
2019-05-23 11:56:03 +02:00
$negative-spacers : negativify-map ( $spacers ) !default ;
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// Body
2015-08-11 08:38:41 +02:00
//
// Settings for the `<body>` element.
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$body-bg : $white !default ;
$body-color : $gray-900 !default ;
2019-07-15 13:34:01 +02:00
$body-text-align : null !default ;
2015-08-11 08:38:41 +02:00
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// Links
2015-08-11 08:38:41 +02:00
//
// Style anchor elements.
2014-12-02 23:02:35 +01:00
2019-07-25 09:41:13 +02:00
$link-color : $primary !default ;
2018-10-22 19:52:20 +02:00
$link-decoration : none !default ;
$link-hover-color : darken ( $link-color , 15 % ) !default ;
$link-hover-decoration : underline !default ;
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
$emphasized-link-hover-darken-percentage : 15 % !default ;
2018-09-16 23:32:11 +02:00
2019-06-26 06:54:51 +02:00
$stretched-link-pseudo-element : after !default ;
$stretched-link-z-index : 1 !default ;
2017-08-11 08:00:01 +02:00
// Paragraphs
//
// Style p element.
2017-10-04 13:02:35 +02:00
$paragraph-margin-bottom : 1 rem !default ;
2017-08-11 08:00:01 +02:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Grid breakpoints
2014-12-02 23:02:35 +01:00
//
2016-02-16 10:24:34 +01:00
// Define the minimum dimensions at which your layout will change,
2015-08-11 08:38:41 +02:00
// adapting to different screen sizes, for use in media queries.
2014-12-02 23:02:35 +01:00
2019-01-14 01:35:00 +01:00
$grid-breakpoints : (
xs : 0 ,
sm : 576 px ,
md : 768 px ,
lg : 992 px ,
xl : 1200px
) ! default ;
2017-10-04 13:02:35 +02:00
2016-02-07 11:53:35 +01:00
@include _assert-ascending ( $grid-breakpoints , " $grid-breakpoints " ) ;
2019-02-07 10:19:38 +01:00
@include _assert-starts-at-zero ( $grid-breakpoints , " $grid-breakpoints " ) ;
2014-12-02 23:02:35 +01:00
2015-04-29 20:48:58 +02:00
2016-12-24 21:35:08 +01:00
// Grid containers
2015-04-29 20:48:58 +02:00
//
2015-08-11 08:38:41 +02:00
// Define the maximum width of `.container` for different screen sizes.
2015-04-29 20:48:58 +02:00
2019-01-14 01:35:00 +01:00
$container-max-widths : (
sm : 540 px ,
md : 720 px ,
lg : 960 px ,
xl : 1140px
) ! default ;
2017-10-04 13:02:35 +02:00
2016-02-07 11:53:35 +01:00
@include _assert-ascending ( $container-max-widths , " $container-max-widths " ) ;
2015-08-11 08:38:41 +02:00
2016-12-24 21:35:08 +01:00
// Grid columns
2015-08-11 08:38:41 +02:00
//
// Set the number of columns and specify the width of the gutters.
2017-10-04 13:02:35 +02:00
$grid-columns : 12 !default ;
$grid-gutter-width : 30 px !default ;
2019-07-24 08:00:29 +02:00
$grid-row-columns : 6 !default ;
2017-03-05 21:20:44 +01:00
2018-09-16 23:32:11 +02:00
2019-05-05 09:49:23 +02:00
// Container padding
$container-padding-x : $grid-gutter-width / 2 !default ;
2017-03-05 21:20:44 +01:00
// Components
//
// Define common padding and border radius sizes and more.
2017-10-04 13:02:35 +02:00
$border-width : 1 px !default ;
2018-01-02 05:50:59 +01:00
$border-color : $gray-300 !default ;
2017-03-05 21:20:44 +01:00
2017-10-04 13:02:35 +02:00
$border-radius : .25 rem !default ;
$border-radius-lg : .3 rem !default ;
$border-radius-sm : .2 rem !default ;
2018-11-05 18:19:00 +01:00
$rounded-pill : 50 rem !default ;
2017-03-05 21:20:44 +01:00
2018-04-01 07:07:48 +02:00
$box-shadow-sm : 0 .125 rem .25 rem rgba ( $black , .075 ) !default ;
$box-shadow : 0 .5 rem 1 rem rgba ( $black , .15 ) !default ;
$box-shadow-lg : 0 1 rem 3 rem rgba ( $black , .175 ) !default ;
2019-07-15 09:29:13 +02:00
$box-shadow-inset : inset 0 1 px 2 px rgba ( $black , .075 ) !default ;
2018-04-01 07:07:48 +02:00
2017-10-04 13:02:35 +02:00
$component-active-color : $white !default ;
2019-07-25 09:41:13 +02:00
$component-active-bg : $primary !default ;
2017-03-05 21:20:44 +01:00
2017-10-04 13:02:35 +02:00
$caret-width : .3 em !default ;
2019-01-07 17:28:21 +01:00
$caret-vertical-align : $caret-width * .85 !default ;
$caret-spacing : $caret-width * .85 !default ;
2017-03-05 21:20:44 +01:00
2017-10-04 13:02:35 +02:00
$transition-base : all .2 s ease-in-out !default ;
$transition-fade : opacity .15 s linear !default ;
$transition-collapse : height .35 s ease !default ;
2017-03-05 21:20:44 +01:00
2018-11-11 10:04:04 +01:00
$embed-responsive-aspect-ratios : () !default ;
// stylelint-disable-next-line scss/dollar-variable-default
2019-05-05 09:41:27 +02:00
$embed-responsive-aspect-ratios : map-merge (
2018-11-11 10:04:04 +01:00
(
2019-05-05 09:41:27 +02:00
" 21by9 " : (
x : 21 ,
y : 9
) ,
" 16by9 " : (
x : 16 ,
y : 9
) ,
" 4by3 " : (
x : 4 ,
y : 3
) ,
" 1by1 " : (
x : 1 ,
y : 1
)
2018-11-11 10:04:04 +01:00
) ,
$ embed-responsive-aspect-ratios
) ;
2017-03-05 21:20:44 +01:00
2019-01-14 00:59:51 +01:00
// Typography
2014-12-02 23:02:35 +01:00
//
2015-03-09 15:18:25 +01:00
// Font, line-height, and color for body text, headings, and more.
2014-12-02 23:02:35 +01:00
2017-10-03 05:34:56 +02:00
// stylelint-disable value-keyword-case
2018-12-05 12:40:59 +01:00
$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 ;
2017-11-06 01:23:36 +01:00
$font-family-monospace : SFMono-Regular , Menlo , Monaco , Consolas , " Liberation Mono " , " Courier New " , monospace !default ;
2017-10-04 13:02:35 +02:00
$font-family-base : $font-family-sans-serif !default ;
2017-10-03 05:34:56 +02:00
// stylelint-enable value-keyword-case
2014-12-02 23:02:35 +01:00
2019-08-24 15:11:02 +02:00
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
// $font-size-base effects the font size of the body text
$font-size-root : null !default ;
2017-10-19 17:16:38 +02:00
$font-size-base : 1 rem !default ; // Assumes the browser default, typically `16px`
2019-01-03 19:59:18 +01:00
$font-size-lg : $font-size-base * 1 .25 !default ;
$font-size-sm : $font-size-base * .875 !default ;
2014-12-10 01:24:05 +01:00
2018-07-25 02:23:17 +02:00
$font-weight-lighter : lighter !default ;
2017-10-04 13:02:35 +02:00
$font-weight-light : 300 !default ;
$font-weight-normal : 400 !default ;
$font-weight-bold : 700 !default ;
2018-07-25 02:23:17 +02:00
$font-weight-bolder : bolder !default ;
2016-10-19 21:41:27 +02:00
2017-10-04 13:02:35 +02:00
$font-weight-base : $font-weight-normal !default ;
2019-10-12 13:56:29 +02:00
2017-10-04 13:02:35 +02:00
$line-height-base : 1 .5 !default ;
2019-10-12 13:56:29 +02:00
$line-height-lg : 2 !default ;
$line-height-sm : 1 .25 !default ;
2016-02-04 04:45:13 +01:00
2017-10-19 17:16:38 +02:00
$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 ;
2014-12-02 23:02:35 +01:00
2018-12-14 17:54:44 +01:00
$headings-margin-bottom : $spacer / 2 !default ;
2019-01-13 19:35:48 +01:00
$headings-font-family : null !default ;
2019-05-02 21:35:58 +02:00
$headings-font-style : null !default ;
2017-10-04 13:02:35 +02:00
$headings-font-weight : 500 !default ;
2017-10-19 04:48:35 +02:00
$headings-line-height : 1 .2 !default ;
2019-01-13 19:35:48 +01:00
$headings-color : null !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$display1-size : 6 rem !default ;
$display2-size : 5 .5 rem !default ;
$display3-size : 4 .5 rem !default ;
$display4-size : 3 .5 rem !default ;
2017-01-02 20:03:25 +01:00
2017-10-04 13:02:35 +02:00
$display1-weight : 300 !default ;
$display2-weight : 300 !default ;
$display3-weight : 300 !default ;
$display4-weight : 300 !default ;
$display-line-height : $headings-line-height !default ;
2017-01-02 20:03:25 +01:00
2019-01-03 19:59:18 +01:00
$lead-font-size : $font-size-base * 1 .25 !default ;
2017-10-19 17:16:38 +02:00
$lead-font-weight : 300 !default ;
2015-08-14 08:18:32 +02:00
2019-08-22 10:14:42 +02:00
$small-font-size : .875 em !default ;
$sub-sup-font-size : .75 em !default ;
2016-10-17 03:49:55 +02:00
2017-10-04 13:02:35 +02:00
$text-muted : $gray-600 !default ;
2015-08-14 08:18:32 +02:00
2019-08-22 10:14:42 +02:00
$initialism-font-size : $small-font-size !default ;
2017-10-04 13:02:35 +02:00
$blockquote-small-color : $gray-600 !default ;
2018-08-14 10:35:11 +02:00
$blockquote-small-font-size : $small-font-size !default ;
2019-01-03 19:59:18 +01:00
$blockquote-font-size : $font-size-base * 1 .25 !default ;
2015-08-14 08:18:32 +02:00
2019-04-30 10:00:34 +02:00
$hr-color : inherit !default ;
$hr-height : $border-width !default ;
$hr-opacity : .25 !default ;
2015-08-05 09:38:36 +02:00
2019-06-17 20:08:37 +02:00
$legend-margin-bottom : .5 rem !default ;
$legend-font-size : 1 .5 rem !default ;
$legend-font-weight : null !default ;
2017-10-04 13:02:35 +02:00
$mark-padding : .2 em !default ;
2016-02-16 08:55:19 +01:00
2017-10-04 13:02:35 +02:00
$dt-font-weight : $font-weight-bold !default ;
2015-12-06 21:28:15 +01:00
2017-10-04 13:02:35 +02:00
$nested-kbd-font-weight : $font-weight-bold !default ;
2015-12-06 21:28:15 +01:00
2017-10-31 13:04:26 +01:00
$list-inline-padding : .5 rem !default ;
2015-12-04 10:56:49 +01:00
2017-10-23 15:13:18 +02:00
$mark-bg : #fcf8e3 !default ;
$hr-margin-y : $spacer !default ;
2017-06-28 18:36:43 +02:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Tables
2014-12-02 23:02:35 +01:00
//
2015-03-09 15:18:25 +01:00
// Customizes the `.table` component with basic values, each used across all table variations.
2014-12-02 23:02:35 +01:00
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$table-cell-padding : .5 rem !default ;
$table-cell-padding-sm : .25 rem !default ;
2014-12-02 23:02:35 +01:00
2019-07-18 07:49:39 +02:00
$table-cell-vertical-align : top !default ;
2018-12-15 23:01:09 +01:00
$table-color : $body-color !default ;
2019-01-13 20:59:28 +01:00
$table-bg : null !default ;
2017-10-22 23:00:00 +02:00
$table-accent-bg : rgba ( $black , .05 ) !default ;
2018-12-15 23:01:09 +01:00
$table-hover-color : $table-color !default ;
2017-10-22 23:00:00 +02:00
$table-hover-bg : rgba ( $black , .075 ) !default ;
2017-10-04 13:02:35 +02:00
$table-active-bg : $table-hover-bg !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$table-border-width : $border-width !default ;
2018-12-18 11:28:57 +01:00
$table-border-color : $border-color !default ;
2017-03-20 01:03:52 +01:00
2017-10-04 13:02:35 +02:00
$table-head-bg : $gray-200 !default ;
$table-head-color : $gray-700 !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$table-head-border-color : $gray-700 !default ;
2016-04-18 03:56:09 +02:00
2018-12-15 23:01:09 +01:00
$table-dark-color : $white !default ;
2018-12-15 19:15:52 +01:00
$table-dark-bg : $gray-800 !default ;
2017-10-04 13:02:35 +02:00
$table-dark-accent-bg : rgba ( $white , .05 ) !default ;
2018-12-15 23:01:09 +01:00
$table-dark-hover-color : $table-dark-color !default ;
2017-10-04 13:02:35 +02:00
$table-dark-hover-bg : rgba ( $white , .075 ) !default ;
2018-12-15 19:15:52 +01:00
$table-dark-border-color : lighten ( $table-dark-bg , 7 .5 % ) !default ;
2014-12-02 23:02:35 +01:00
2018-01-19 18:34:49 +01:00
$table-striped-order : odd !default ;
2018-02-19 23:42:54 +01:00
$table-caption-color : $text-muted !default ;
2014-12-02 23:02:35 +01:00
2018-10-20 10:21:31 +02:00
$table-bg-level : - 9 !default ;
$table-border-level : - 6 !default ;
2018-09-16 23:32:11 +02:00
2017-10-23 04:56:49 +02:00
// Buttons + Forms
//
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$input-btn-padding-y : .375 rem !default ;
$input-btn-padding-x : .75 rem !default ;
2019-02-07 18:47:24 +01:00
$input-btn-font-family : null !default ;
2018-09-18 14:35:25 +02:00
$input-btn-font-size : $font-size-base !default ;
2017-10-04 13:02:35 +02:00
$input-btn-line-height : $line-height-base !default ;
2017-03-28 18:28:27 +02:00
2017-10-19 18:03:33 +02:00
$input-btn-focus-width : .2 rem !default ;
2018-01-13 08:56:31 +01:00
$input-btn-focus-color : rgba ( $component-active-bg , .25 ) !default ;
2017-10-19 18:03:33 +02:00
$input-btn-focus-box-shadow : 0 0 0 $input-btn-focus-width $input-btn-focus-color !default ;
2017-10-04 13:02:35 +02:00
$input-btn-padding-y-sm : .25 rem !default ;
$input-btn-padding-x-sm : .5 rem !default ;
2018-09-18 14:35:25 +02:00
$input-btn-font-size-sm : $font-size-sm !default ;
2017-03-28 18:28:27 +02:00
2017-10-04 13:02:35 +02:00
$input-btn-padding-y-lg : .5 rem !default ;
$input-btn-padding-x-lg : 1 rem !default ;
2018-09-18 14:35:25 +02:00
$input-btn-font-size-lg : $font-size-lg !default ;
2017-03-28 18:28:27 +02:00
2017-10-23 04:56:49 +02:00
$input-btn-border-width : $border-width !default ;
2017-10-19 09:05:07 +02:00
// Buttons
//
2017-10-23 04:56:49 +02:00
// For each of Bootstrap's buttons, define text, background, and border color.
2017-10-19 09:05:07 +02:00
$btn-padding-y : $input-btn-padding-y !default ;
$btn-padding-x : $input-btn-padding-x !default ;
2019-02-07 18:47:24 +01:00
$btn-font-family : $input-btn-font-family !default ;
2018-09-18 14:35:25 +02:00
$btn-font-size : $input-btn-font-size !default ;
2017-10-19 09:05:07 +02:00
$btn-line-height : $input-btn-line-height !default ;
2019-10-25 11:37:52 +02:00
$btn-white-space : null !default ; // Set to `nowrap` to prevent text wrapping
2017-10-19 09:05:07 +02:00
$btn-padding-y-sm : $input-btn-padding-y-sm !default ;
$btn-padding-x-sm : $input-btn-padding-x-sm !default ;
2018-09-18 14:35:25 +02:00
$btn-font-size-sm : $input-btn-font-size-sm !default ;
2017-10-19 09:05:07 +02:00
$btn-padding-y-lg : $input-btn-padding-y-lg !default ;
$btn-padding-x-lg : $input-btn-padding-x-lg !default ;
2018-09-18 14:35:25 +02:00
$btn-font-size-lg : $input-btn-font-size-lg !default ;
2017-10-19 09:05:07 +02:00
$btn-border-width : $input-btn-border-width !default ;
2017-10-04 13:02:35 +02:00
$btn-font-weight : $font-weight-normal !default ;
2017-10-22 23:00:00 +02:00
$btn-box-shadow : inset 0 1 px 0 rgba ( $white , .15 ) , 0 1 px 1 px rgba ( $black , .075 ) !default ;
2017-10-25 21:30:29 +02:00
$btn-focus-width : $input-btn-focus-width !default ;
$btn-focus-box-shadow : $input-btn-focus-box-shadow !default ;
2017-11-06 22:34:42 +01:00
$btn-disabled-opacity : .65 !default ;
2017-10-22 23:00:00 +02:00
$btn-active-box-shadow : inset 0 3 px 5 px rgba ( $black , .125 ) !default ;
2014-12-02 23:02:35 +01:00
2019-04-23 15:12:51 +02:00
$btn-link-color : $link-color !default ;
$btn-link-hover-color : $link-hover-color !default ;
2017-10-04 13:02:35 +02:00
$btn-link-disabled-color : $gray-600 !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$btn-block-spacing-y : .5 rem !default ;
2016-01-08 22:23:24 +01:00
2015-06-19 08:56:43 +02:00
// Allows for customizing button radius independently from global border radius
2017-10-04 13:02:35 +02:00
$btn-border-radius : $border-radius !default ;
$btn-border-radius-lg : $border-radius-lg !default ;
$btn-border-radius-sm : $border-radius-sm !default ;
2015-06-19 08:56:43 +02:00
2017-10-22 22:11:07 +02: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 ;
2016-12-20 05:33:17 +01:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Forms
2014-12-02 23:02:35 +01:00
2018-02-11 01:21:42 +01:00
$label-margin-bottom : .5 rem !default ;
2017-10-19 09:05:07 +02:00
$input-padding-y : $input-btn-padding-y !default ;
$input-padding-x : $input-btn-padding-x !default ;
2019-02-07 18:47:24 +01:00
$input-font-family : $input-btn-font-family !default ;
2018-09-18 14:35:25 +02:00
$input-font-size : $input-btn-font-size !default ;
2018-10-20 10:50:20 +02:00
$input-font-weight : $font-weight-base !default ;
2017-10-19 09:05:07 +02:00
$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 ;
2018-09-18 14:35:25 +02:00
$input-font-size-sm : $input-btn-font-size-sm !default ;
2017-10-19 09:05:07 +02:00
$input-padding-y-lg : $input-btn-padding-y-lg !default ;
$input-padding-x-lg : $input-btn-padding-x-lg !default ;
2018-09-18 14:35:25 +02:00
$input-font-size-lg : $input-btn-font-size-lg !default ;
2017-10-19 09:05:07 +02:00
2017-10-04 13:02:35 +02:00
$input-bg : $white !default ;
$input-disabled-bg : $gray-200 !default ;
2019-08-18 16:08:59 +02:00
$input-disabled-border-color : null !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$input-color : $gray-700 !default ;
$input-border-color : $gray-400 !default ;
2017-10-19 09:05:07 +02:00
$input-border-width : $input-btn-border-width !default ;
2019-07-15 09:29:13 +02:00
$input-box-shadow : $box-shadow-inset !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$input-border-radius : $border-radius !default ;
$input-border-radius-lg : $border-radius-lg !default ;
$input-border-radius-sm : $border-radius-sm !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$input-focus-bg : $input-bg !default ;
2018-01-13 08:56:31 +01:00
$input-focus-border-color : lighten ( $component-active-bg , 25 % ) !default ;
2017-10-04 13:02:35 +02:00
$input-focus-color : $input-color !default ;
2017-10-25 21:30:29 +02:00
$input-focus-width : $input-btn-focus-width !default ;
$input-focus-box-shadow : $input-btn-focus-box-shadow !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$input-placeholder-color : $gray-600 !default ;
2018-02-11 23:25:36 +01:00
$input-plaintext-color : $body-color !default ;
2014-12-02 23:02:35 +01:00
2018-01-18 00:30:42 +01:00
$input-height-border : $input-border-width * 2 !default ;
2017-04-22 20:56:01 +02:00
2019-09-03 19:18:44 +02:00
$input-height-inner : add ( $input-line-height * 1 em , $input-padding-y * 2 ) !default ;
$input-height-inner-half : add ( $input-line-height * .5 em , $input-padding-y ) !default ;
$input-height-inner-quarter : add ( $input-line-height * .25 em , $input-padding-y / 2 ) !default ;
2017-04-22 20:56:01 +02:00
2019-09-03 19:18:44 +02:00
$input-height : add ( $input-line-height * 1 em , add ( $input-padding-y * 2 , $input-height-border , false )) !default ;
2019-11-07 19:34:54 +01:00
$input-height-sm : add ( $input-line-height * 1 em , add ( $input-padding-y-sm * 2 , $input-height-border , false )) !default ;
$input-height-lg : add ( $input-line-height * 1 em , add ( $input-padding-y-lg * 2 , $input-height-border , false )) !default ;
2014-12-02 23:02:35 +01:00
2017-11-06 01:23:36 +01:00
$input-transition : border-color .15 s ease-in-out , box-shadow .15 s ease-in-out !default ;
2016-12-20 05:33:17 +01:00
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-check-input-width : 1 .25 em !default ;
$form-check-min-height : $font-size-base * $line-height-base !default ;
$form-check-padding-left : $form-check-input-width + .5 em !default ;
$form-check-margin-bottom : .125 rem !default ;
2019-11-07 20:03:52 +01:00
$form-check-label-cursor : null !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-check-input-active-filter : brightness ( 90 % ) !default ;
$form-check-input-bg : $body-bg !default ;
$form-check-input-border : 1 px solid rgba ( 0 , 0 , 0 , .25 ) !default ;
$form-check-input-border-radius : .25 em !default ;
$form-check-radio-border-radius : 50 % !default ;
$form-check-input-focus-border : $input-focus-border-color !default ;
$form-check-input-focus-box-shadow : $input-btn-focus-box-shadow !default ;
$form-check-input-checked-color : $component-active-color !default ;
$form-check-input-checked-bg-color : $component-active-bg !default ;
$form-check-input-checked-border-color : $form-check-input-checked-bg-color !default ;
$form-check-input-checked-bg-repeat : no-repeat !default ;
$form-check-input-checked-bg-position : center center !default ;
$form-check-input-checked-bg-size : 1 em !default ;
2019-07-21 23:23:54 +02:00
$form-check-input-checked-bg-image : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke=' #{ $form-check-input-checked-color } ' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M4 8.5L6.5 11l6-6'/></svg>" ) !default ;
2019-10-03 08:52:25 +02:00
$form-check-radio-checked-bg-image : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill=' #{ $form-check-input-checked-color } '/></svg>" ) !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-check-input-indeterminate-color : $component-active-color !default ;
$form-check-input-indeterminate-bg-color : $component-active-bg !default ;
$form-check-input-indeterminate-border-color : $form-check-input-indeterminate-bg-color !default ;
$form-check-input-indeterminate-bg-repeat : no-repeat !default ;
$form-check-input-indeterminate-bg-position : center center !default ;
$form-check-input-indeterminate-bg-size : 1 em !default ;
2019-07-21 23:23:54 +02:00
$form-check-input-indeterminate-bg-image : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke=' #{ $form-check-input-indeterminate-color } ' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 8h6'/></svg>" ) !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-switch-color : rgba ( 0 , 0 , 0 , .25 ) !default ;
$form-switch-width : 2 em !default ;
$form-switch-padding-left : $form-switch-width + .5 em !default ;
2019-07-20 03:57:12 +02:00
$form-switch-bg-image : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill=' #{ $form-switch-color } '/></svg>" ) !default ;
2019-10-28 08:12:07 +01:00
$form-switch-bg-size : contain !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-switch-border-radius : $form-switch-width !default ;
$form-switch-transition : .2 s ease-in-out !default ;
$form-switch-transition-property : background-position , background-color !default ;
$form-switch-focus-color : hsla ( 211 , 100 % , 75 % , 1 ) !default ;
2019-07-20 03:57:12 +02:00
$form-switch-focus-bg-image : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill=' #{ $form-switch-focus-color } '/></svg>" ) !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-switch-checked-color : $component-active-color !default ;
2019-07-20 03:57:12 +02:00
$form-switch-checked-bg-image : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill=' #{ $form-switch-checked-color } '/></svg>" ) !default ;
$form-switch-checked-bg-position : right center !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
2017-10-04 13:02:35 +02:00
$form-text-margin-top : .25 rem !default ;
2016-12-27 00:42:19 +01:00
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-check-inline-margin-right : 1 rem !default ;
2016-12-27 00:42:19 +01:00
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-check-input-margin-x : .25 rem !default ;
2016-12-27 00:42:19 +01:00
2018-12-05 16:15:24 +01:00
$form-grid-gutter-width : 10 px !default ;
2015-03-01 23:11:22 +01:00
2017-10-04 13:02:35 +02:00
$input-group-addon-color : $input-color !default ;
$input-group-addon-bg : $gray-200 !default ;
$input-group-addon-border-color : $input-border-color !default ;
2014-12-02 23:02:35 +01:00
2018-05-19 15:37:26 +02:00
2019-08-18 16:08:59 +02:00
$form-select-padding-y : $input-padding-y !default ;
$form-select-padding-x : $input-padding-x !default ;
$form-select-font-family : $input-font-family !default ;
$form-select-font-size : $input-font-size !default ;
$form-select-height : $input-height !default ;
$form-select-indicator-padding : 1 rem !default ; // Extra padding to account for the presence of the background-image based indicator
$form-select-font-weight : $input-font-weight !default ;
$form-select-line-height : $input-line-height !default ;
$form-select-color : $input-color !default ;
$form-select-disabled-color : $gray-600 !default ;
$form-select-bg : $input-bg !default ;
$form-select-disabled-bg : $gray-200 !default ;
$form-select-disabled-border-color : $input-disabled-border-color !default ;
$form-select-bg-size : 16 px 12 px !default ; // In pixels because image dimensions
$form-select-indicator-color : $gray-800 !default ;
$form-select-indicator : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke=' #{ $form-select-indicator-color } ' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>" ) !default ;
$form-select-background : no-repeat right $form-select-padding-x center / $form-select-bg-size !default ; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
2019-10-12 16:03:17 +02:00
$form-select-feedback-icon-padding-right : add ( 1 em * .75 , ( 2 * $form-select-padding-y * .75 ) + $form-select-padding-x + $form-select-indicator-padding ) !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-select-feedback-icon-position : center right ( $form-select-padding-x + $form-select-indicator-padding ) !default ;
$form-select-feedback-icon-size : $input-height-inner-half $input-height-inner-half !default ;
$form-select-border-width : $input-border-width !default ;
$form-select-border-color : $input-border-color !default ;
$form-select-border-radius : $border-radius !default ;
2019-07-15 09:29:13 +02:00
$form-select-box-shadow : $box-shadow-inset !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-select-focus-border-color : $input-focus-border-color !default ;
$form-select-focus-width : $input-focus-width !default ;
$form-select-focus-box-shadow : 0 0 0 $form-select-focus-width $input-btn-focus-color !default ;
$form-select-padding-y-sm : $input-padding-y-sm !default ;
$form-select-padding-x-sm : $input-padding-x-sm !default ;
$form-select-font-size-sm : $input-font-size-sm !default ;
$form-select-height-sm : $input-height-sm !default ;
$form-select-padding-y-lg : $input-padding-y-lg !default ;
$form-select-padding-x-lg : $input-padding-x-lg !default ;
$form-select-font-size-lg : $input-font-size-lg !default ;
$form-select-height-lg : $input-height-lg !default ;
$form-range-track-width : 100 % !default ;
$form-range-track-height : .5 rem !default ;
$form-range-track-cursor : pointer !default ;
$form-range-track-bg : $gray-300 !default ;
$form-range-track-border-radius : 1 rem !default ;
2019-07-15 09:29:13 +02:00
$form-range-track-box-shadow : $box-shadow-inset !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-range-thumb-width : 1 rem !default ;
$form-range-thumb-height : $form-range-thumb-width !default ;
$form-range-thumb-bg : $component-active-bg !default ;
$form-range-thumb-border : 0 !default ;
$form-range-thumb-border-radius : 1 rem !default ;
$form-range-thumb-box-shadow : 0 .1 rem .25 rem rgba ( $black , .1 ) !default ;
$form-range-thumb-focus-box-shadow : 0 0 0 1 px $body-bg , $input-focus-box-shadow !default ;
$form-range-thumb-focus-box-shadow-width : $input-focus-width !default ; // For focus box shadow issue in IE/Edge
$form-range-thumb-active-bg : lighten ( $component-active-bg , 35 % ) !default ;
$form-range-thumb-disabled-bg : $gray-500 !default ;
2019-07-25 09:04:07 +02:00
$form-range-thumb-transition : background-color .15 s ease-in-out , border-color .15 s ease-in-out , box-shadow .15 s ease-in-out !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-file-height : $input-height !default ;
$form-file-focus-border-color : $input-focus-border-color !default ;
$form-file-focus-box-shadow : $input-focus-box-shadow !default ;
$form-file-disabled-bg : $input-disabled-bg !default ;
2019-08-18 16:08:59 +02:00
$form-file-disabled-border-color : $input-disabled-border-color !default ;
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
$form-file-padding-y : $input-padding-y !default ;
$form-file-padding-x : $input-padding-x !default ;
$form-file-line-height : $input-line-height !default ;
$form-file-font-family : $input-font-family !default ;
$form-file-font-weight : $input-font-weight !default ;
$form-file-color : $input-color !default ;
$form-file-bg : $input-bg !default ;
$form-file-border-width : $input-border-width !default ;
$form-file-border-color : $input-border-color !default ;
$form-file-border-radius : $input-border-radius !default ;
$form-file-box-shadow : $input-box-shadow !default ;
$form-file-button-color : $form-file-color !default ;
$form-file-button-bg : $input-group-addon-bg !default ;
2015-10-14 04:30:30 +02:00
2017-06-07 07:45:37 +02:00
// Form validation
2018-09-16 23:32:11 +02:00
2017-11-15 02:32:08 +01:00
$form-feedback-margin-top : $form-text-margin-top !default ;
$form-feedback-font-size : $small-font-size !default ;
2019-07-25 09:41:13 +02:00
$form-feedback-valid-color : $success !default ;
$form-feedback-invalid-color : $danger !default ;
2015-08-13 07:39:36 +02:00
2018-07-09 00:31:18 +02:00
$form-feedback-icon-valid-color : $form-feedback-valid-color !default ;
2019-07-20 03:57:12 +02:00
$form-feedback-icon-valid : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path 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'/></svg>" ) !default ;
2018-07-09 00:31:18 +02:00
$form-feedback-icon-invalid-color : $form-feedback-invalid-color !default ;
2019-08-09 07:45:26 +02:00
$form-feedback-icon-invalid : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke=' #{ $form-feedback-icon-invalid-color } ' viewBox='0 0 12 12'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill=' #{ $form-feedback-icon-invalid-color } ' stroke='none'/></svg>" ) !default ;
2018-07-09 00:31:18 +02:00
2019-01-11 20:16:50 +01:00
$form-validation-states : () !default ;
// stylelint-disable-next-line scss/dollar-variable-default
$form-validation-states : map-merge (
(
" valid " : (
" color " : $ form-feedback-valid-color ,
" icon " : $ form-feedback-icon-valid
) ,
" invalid " : (
" color " : $ form-feedback-invalid-color ,
" icon " : $ form-feedback-icon-invalid
) ,
) ,
$ form-validation-states
) ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Z-index master list
2014-12-02 23:02:35 +01:00
//
// 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.
2017-10-04 13:02:35 +02:00
$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 ;
2014-12-02 23:02:35 +01:00
2018-09-16 23:32:11 +02:00
2017-01-14 07:52:05 +01:00
// Navs
2017-10-04 13:02:35 +02:00
$nav-link-padding-y : .5 rem !default ;
$nav-link-padding-x : 1 rem !default ;
$nav-link-disabled-color : $gray-600 !default ;
2017-01-14 07:52:05 +01:00
2017-10-30 13:30:22 +01:00
$nav-tabs-border-color : $gray-300 !default ;
2017-10-04 13:02:35 +02:00
$nav-tabs-border-width : $border-width !default ;
$nav-tabs-border-radius : $border-radius !default ;
2017-11-06 22:35:52 +01:00
$nav-tabs-link-hover-border-color : $gray-200 $gray-200 $nav-tabs-border-color !default ;
2017-10-04 13:02:35 +02:00
$nav-tabs-link-active-color : $gray-700 !default ;
$nav-tabs-link-active-bg : $body-bg !default ;
2017-11-06 22:35:52 +01:00
$nav-tabs-link-active-border-color : $gray-300 $gray-300 $nav-tabs-link-active-bg !default ;
2017-01-14 07:52:05 +01:00
2017-10-04 13:02:35 +02: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 ;
2017-01-14 07:52:05 +01:00
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// Navbar
2014-12-02 23:02:35 +01:00
2018-12-14 17:54:44 +01:00
$navbar-padding-y : $spacer / 2 !default ;
2019-10-28 04:26:52 +01:00
$navbar-padding-x : null !default ;
2016-05-13 17:15:48 +02:00
2017-12-29 12:18:13 +01:00
$navbar-nav-link-padding-x : .5 rem !default ;
2017-01-14 07:59:20 +01:00
$navbar-brand-font-size : $font-size-lg !default ;
2017-01-14 07:52:05 +01:00
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
2018-12-14 17:54:44 +01:00
$nav-link-height : $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default ;
2017-10-19 04:51:45 +02:00
$navbar-brand-height : $navbar-brand-font-size * $line-height-base !default ;
$navbar-brand-padding-y : ( $nav-link-height - $navbar-brand-height ) / 2 !default ;
2017-01-14 07:52:05 +01:00
2017-10-04 13:02:35 +02:00
$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 ;
2016-05-13 06:49:03 +02:00
2017-10-22 23:00:00 +02:00
$navbar-dark-color : rgba ( $white , .5 ) !default ;
$navbar-dark-hover-color : rgba ( $white , .75 ) !default ;
2017-10-10 07:58:35 +02:00
$navbar-dark-active-color : $white !default ;
2017-10-22 23:00:00 +02:00
$navbar-dark-disabled-color : rgba ( $white , .25 ) !default ;
2019-07-21 23:23:54 +02:00
$navbar-dark-toggler-icon-bg : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke=' #{ $navbar-dark-color } ' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>" ) !default ;
2017-10-22 23:00:00 +02:00
$navbar-dark-toggler-border-color : rgba ( $white , .1 ) !default ;
2015-08-18 09:46:29 +02:00
2017-10-22 23:00:00 +02: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 ;
2019-07-21 23:23:54 +02:00
$navbar-light-toggler-icon-bg : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke=' #{ $navbar-light-color } ' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>" ) !default ;
2017-10-22 23:00:00 +02:00
$navbar-light-toggler-border-color : rgba ( $black , .1 ) !default ;
2014-12-02 23:02:35 +01:00
2018-09-11 12:56:56 +02:00
$navbar-light-brand-color : $navbar-light-active-color !default ;
$navbar-light-brand-hover-color : $navbar-light-active-color !default ;
$navbar-dark-brand-color : $navbar-dark-active-color !default ;
$navbar-dark-brand-hover-color : $navbar-dark-active-color !default ;
2018-07-09 00:31:18 +02:00
2018-12-22 05:59:40 +01:00
// Dropdowns
//
// Dropdown menu container and contents.
$dropdown-min-width : 10 rem !default ;
$dropdown-padding-y : .5 rem !default ;
$dropdown-spacer : .125 rem !default ;
2019-01-07 20:07:19 +01:00
$dropdown-font-size : $font-size-base !default ;
2019-01-20 22:38:29 +01:00
$dropdown-color : $body-color !default ;
2018-12-22 05:59:40 +01:00
$dropdown-bg : $white !default ;
$dropdown-border-color : rgba ( $black , .15 ) !default ;
$dropdown-border-radius : $border-radius !default ;
$dropdown-border-width : $border-width !default ;
2019-09-03 19:18:44 +02:00
$dropdown-inner-border-radius : subtract ( $dropdown-border-radius , $dropdown-border-width ) !default ;
2018-12-22 05:59:40 +01:00
$dropdown-divider-bg : $gray-200 !default ;
2019-08-21 10:51:41 +02:00
$dropdown-divider-margin-y : $spacer / 2 !default ;
2019-07-15 09:29:13 +02:00
$dropdown-box-shadow : $box-shadow !default ;
2018-12-22 05:59:40 +01: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 ;
$dropdown-item-padding-x : 1 .5 rem !default ;
$dropdown-header-color : $gray-600 !default ;
2016-12-24 21:35:08 +01:00
// Pagination
2014-12-02 23:02:35 +01:00
2019-08-30 09:42:41 +02:00
$pagination-padding-y : .375 rem !default ;
2017-10-04 13:02:35 +02:00
$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 ;
2015-08-14 08:04:16 +02:00
2017-10-04 13:02:35 +02:00
$pagination-color : $link-color !default ;
$pagination-bg : $white !default ;
$pagination-border-width : $border-width !default ;
2019-08-03 16:11:57 +02:00
$pagination-border-radius : $border-radius !default ;
$pagination-margin-left : - $pagination-border-width !default ;
2017-10-30 13:30:22 +01:00
$pagination-border-color : $gray-300 !default ;
2014-12-02 23:02:35 +01:00
2017-12-31 07:50:43 +01:00
$pagination-focus-box-shadow : $input-btn-focus-box-shadow !default ;
2018-01-19 01:47:47 +01:00
$pagination-focus-outline : 0 !default ;
2017-12-31 07:50:43 +01:00
2017-10-04 13:02:35 +02:00
$pagination-hover-color : $link-hover-color !default ;
$pagination-hover-bg : $gray-200 !default ;
2017-10-30 13:30:22 +01:00
$pagination-hover-border-color : $gray-300 !default ;
2014-12-02 23:02:35 +01:00
2018-01-13 08:56:31 +01:00
$pagination-active-color : $component-active-color !default ;
$pagination-active-bg : $component-active-bg !default ;
$pagination-active-border-color : $pagination-active-bg !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$pagination-disabled-color : $gray-600 !default ;
$pagination-disabled-bg : $white !default ;
2017-10-30 13:30:22 +01:00
$pagination-disabled-border-color : $gray-300 !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Cards
2016-12-23 06:07:51 +01:00
2017-10-04 13:02:35 +02:00
$card-spacer-y : .75 rem !default ;
$card-spacer-x : 1 .25 rem !default ;
$card-border-width : $border-width !default ;
$card-border-radius : $border-radius !default ;
2017-10-22 23:00:00 +02:00
$card-border-color : rgba ( $black , .125 ) !default ;
2019-09-03 19:18:44 +02:00
$card-inner-border-radius : subtract ( $card-border-radius , $card-border-width ) !default ;
2017-10-04 13:02:35 +02:00
$card-cap-bg : rgba ( $black , .03 ) !default ;
2019-01-13 21:05:35 +01:00
$card-cap-color : null !default ;
2019-10-03 09:21:40 +02:00
$card-height : null !default ;
2019-01-20 22:38:29 +01:00
$card-color : null !default ;
2017-10-04 13:02:35 +02:00
$card-bg : $white !default ;
2015-08-19 23:34:26 +02:00
2017-10-04 13:02:35 +02:00
$card-img-overlay-padding : 1 .25 rem !default ;
2016-02-17 08:25:18 +01:00
2018-12-14 17:54:44 +01:00
$card-group-margin : $grid-gutter-width / 2 !default ;
2017-10-04 13:02:35 +02:00
$card-deck-margin : $card-group-margin !default ;
2015-12-08 09:51:43 +01:00
2015-09-26 14:57:13 +02:00
2016-12-24 21:35:08 +01:00
// Tooltips
2014-12-02 23:02:35 +01:00
2018-03-08 13:28:32 +01: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 ;
2017-11-06 18:29:12 +01:00
2018-03-08 13:28:32 +01:00
$tooltip-arrow-width : .8 rem !default ;
$tooltip-arrow-height : .4 rem !default ;
$tooltip-arrow-color : $tooltip-bg !default ;
2014-12-02 23:02:35 +01:00
2018-09-19 06:27:02 +02: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 ;
2019-08-30 09:42:41 +02:00
$form-feedback-tooltip-line-height : null !default ;
2018-09-19 06:27:02 +02:00
$form-feedback-tooltip-opacity : $tooltip-opacity !default ;
$form-feedback-tooltip-border-radius : $tooltip-border-radius !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Popovers
2014-12-02 23:02:35 +01:00
2017-12-18 20:48:51 +01:00
$popover-font-size : $font-size-sm !default ;
2017-10-04 13:02:35 +02:00
$popover-bg : $white !default ;
$popover-max-width : 276 px !default ;
$popover-border-width : $border-width !default ;
2017-10-22 23:00:00 +02:00
$popover-border-color : rgba ( $black , .2 ) !default ;
2017-12-18 21:08:25 +01:00
$popover-border-radius : $border-radius-lg !default ;
2019-09-03 19:18:44 +02:00
$popover-inner-border-radius : subtract ( $popover-border-radius , $popover-border-width ) !default ;
2019-07-15 09:29:13 +02:00
$popover-box-shadow : $box-shadow !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$popover-header-bg : darken ( $popover-bg , 3 % ) !default ;
$popover-header-color : $headings-color !default ;
2017-08-31 17:38:24 +02:00
$popover-header-padding-y : .5 rem !default ;
$popover-header-padding-x : .75 rem !default ;
2017-06-15 07:03:33 +02:00
2017-10-04 13:02:35 +02:00
$popover-body-color : $body-color !default ;
2017-08-31 17:38:24 +02:00
$popover-body-padding-y : $popover-header-padding-y !default ;
$popover-body-padding-x : $popover-header-padding-x !default ;
2014-12-02 23:02:35 +01:00
2017-12-27 06:54:47 +01:00
$popover-arrow-width : 1 rem !default ;
$popover-arrow-height : .5 rem !default ;
2017-10-04 13:02:35 +02:00
$popover-arrow-color : $popover-bg !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$popover-arrow-outer-color : fade-in ( $popover-border-color , .05 ) !default ;
2014-12-02 23:02:35 +01:00
2017-07-04 01:09:28 +02:00
// Toasts
2019-01-14 00:51:53 +01:00
$toast-max-width : 350 px !default ;
$toast-padding-x : .75 rem !default ;
$toast-padding-y : .25 rem !default ;
$toast-font-size : .875 rem !default ;
2019-01-20 22:38:29 +01:00
$toast-color : null !default ;
2019-01-14 00:51:53 +01:00
$toast-background-color : rgba ( $white , .85 ) !default ;
$toast-border-width : 1 px !default ;
$toast-border-color : rgba ( 0 , 0 , 0 , .1 ) !default ;
2019-04-08 14:06:48 +02:00
$toast-border-radius : $border-radius !default ;
2019-07-15 09:29:13 +02:00
$toast-box-shadow : $box-shadow !default ;
2019-01-14 00:51:53 +01:00
$toast-header-color : $gray-600 !default ;
$toast-header-background-color : rgba ( $white , .85 ) !default ;
$toast-header-border-color : rgba ( 0 , 0 , 0 , .05 ) !default ;
2017-07-04 01:09:28 +02:00
2016-12-24 21:35:08 +01:00
// Badges
2014-12-02 23:02:35 +01:00
2019-08-22 10:14:42 +02:00
$badge-font-size : .75 em !default ;
2017-10-04 13:02:35 +02:00
$badge-font-weight : $font-weight-bold !default ;
2019-03-14 18:15:26 +01:00
$badge-color : $white !default ;
2017-10-04 13:02:35 +02:00
$badge-padding-y : .25 em !default ;
2019-03-14 18:15:26 +01:00
$badge-padding-x : .5 em !default ;
2017-10-04 13:02:35 +02:00
$badge-border-radius : $border-radius !default ;
2016-10-27 03:33:58 +02:00
2016-10-19 10:17:55 +02:00
2016-12-24 21:35:08 +01:00
// Modals
2014-12-02 23:02:35 +01:00
2015-03-09 15:18:25 +01:00
// Padding applied to the modal body
2018-03-08 13:28:32 +01:00
$modal-inner-padding : 1 rem !default ;
2014-12-02 23:02:35 +01:00
2019-08-16 11:49:06 +02:00
// Margin between elements in footer, must be lower than or equal to 2 * $modal-inner-padding
$modal-footer-margin-between : .5 rem !default ;
2018-03-08 13:28:32 +01:00
$modal-dialog-margin : .5 rem !default ;
$modal-dialog-margin-y-sm-up : 1 .75 rem !default ;
2016-02-16 08:10:38 +01:00
2017-10-04 13:02:35 +02:00
$modal-title-line-height : $line-height-base !default ;
2014-12-02 23:02:35 +01:00
2019-01-20 22:38:29 +01:00
$modal-content-color : null !default ;
2018-03-08 13:28:32 +01:00
$modal-content-bg : $white !default ;
$modal-content-border-color : rgba ( $black , .2 ) !default ;
$modal-content-border-width : $border-width !default ;
$modal-content-border-radius : $border-radius-lg !default ;
2019-09-03 19:18:44 +02:00
$modal-content-inner-border-radius : subtract ( $modal-content-border-radius , $modal-content-border-width ) !default ;
2019-07-15 09:29:13 +02:00
$modal-content-box-shadow-xs : $box-shadow-sm !default ;
$modal-content-box-shadow-sm-up : $box-shadow !default ;
2018-03-08 13:28:32 +01:00
$modal-backdrop-bg : $black !default ;
$modal-backdrop-opacity : .5 !default ;
2018-12-18 11:12:30 +01:00
$modal-header-border-color : $border-color !default ;
2018-03-08 13:28:32 +01:00
$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 ;
2018-09-19 06:33:31 +02:00
$modal-header-padding-y : 1 rem !default ;
$modal-header-padding-x : 1 rem !default ;
$modal-header-padding : $modal-header-padding-y $modal-header-padding-x !default ; // Keep this for backwards compatibility
2014-12-02 23:02:35 +01:00
2018-07-08 01:16:43 +02:00
$modal-xl : 1140 px !default ;
2017-10-04 13:02:35 +02:00
$modal-lg : 800 px !default ;
$modal-md : 500 px !default ;
$modal-sm : 300 px !default ;
2014-12-02 23:02:35 +01:00
2018-08-13 09:00:53 +02:00
$modal-fade-transform : translate ( 0 , - 50 px ) !default ;
$modal-show-transform : none !default ;
2017-10-04 13:02:35 +02:00
$modal-transition : transform .3 s ease-out !default ;
2019-10-25 20:12:09 +02:00
$modal-scale-transform : scale ( 1 .02 ) !default ;
2016-12-20 05:33:17 +01:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Alerts
2014-12-02 23:02:35 +01:00
//
2015-03-09 15:18:25 +01:00
// Define alert colors, border radius, and padding.
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$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 ;
2014-12-02 23:02:35 +01:00
2017-12-24 23:36:22 +01:00
$alert-bg-level : - 10 !default ;
$alert-border-level : - 9 !default ;
2017-12-27 01:51:30 +01:00
$alert-color-level : 6 !default ;
2017-12-24 23:36:22 +01:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Progress bars
2014-12-02 23:02:35 +01:00
2017-10-19 17:16:38 +02:00
$progress-height : 1 rem !default ;
2019-01-03 19:59:18 +01:00
$progress-font-size : $font-size-base * .75 !default ;
2017-10-19 17:16:38 +02:00
$progress-bg : $gray-200 !default ;
$progress-border-radius : $border-radius !default ;
2019-07-15 09:29:13 +02:00
$progress-box-shadow : $box-shadow-inset !default ;
2017-10-19 17:16:38 +02:00
$progress-bar-color : $white !default ;
2019-07-25 09:41:13 +02:00
$progress-bar-bg : $primary !default ;
2017-10-19 17:16:38 +02:00
$progress-bar-animation-timing : 1 s linear infinite !default ;
$progress-bar-transition : width .6 s ease !default ;
2014-12-02 23:02:35 +01:00
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// List group
2014-12-02 23:02:35 +01:00
2019-01-20 22:38:29 +01:00
$list-group-color : null !default ;
2017-10-04 13:02:35 +02:00
$list-group-bg : $white !default ;
2017-10-22 23:00:00 +02:00
$list-group-border-color : rgba ( $black , .125 ) !default ;
2017-10-04 13:02:35 +02:00
$list-group-border-width : $border-width !default ;
$list-group-border-radius : $border-radius !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$list-group-item-padding-y : .75 rem !default ;
$list-group-item-padding-x : 1 .25 rem !default ;
2016-12-28 22:45:07 +01:00
2017-10-04 13:02:35 +02:00
$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 ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$list-group-disabled-color : $gray-600 !default ;
$list-group-disabled-bg : $list-group-bg !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$list-group-action-color : $gray-700 !default ;
$list-group-action-hover-color : $list-group-action-color !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$list-group-action-active-color : $body-color !default ;
$list-group-action-active-bg : $gray-200 !default ;
2016-02-17 07:57:10 +01:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Image thumbnails
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$thumbnail-padding : .25 rem !default ;
$thumbnail-bg : $body-bg !default ;
$thumbnail-border-width : $border-width !default ;
2017-10-30 13:30:22 +01:00
$thumbnail-border-color : $gray-300 !default ;
2017-10-04 13:02:35 +02:00
$thumbnail-border-radius : $border-radius !default ;
2019-07-15 09:29:13 +02:00
$thumbnail-box-shadow : $box-shadow-sm !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Figures
2016-02-17 07:31:40 +01:00
2019-08-22 10:14:42 +02:00
$figure-caption-font-size : $small-font-size !default ;
2017-10-04 13:02:35 +02:00
$figure-caption-color : $gray-600 !default ;
2016-02-17 07:31:40 +01:00
2016-12-24 21:35:08 +01:00
// Breadcrumbs
2014-12-02 23:02:35 +01:00
2019-10-03 17:54:34 +02:00
$breadcrumb-font-size : null !default ;
2017-10-04 13:02:35 +02:00
$breadcrumb-padding-y : .75 rem !default ;
$breadcrumb-padding-x : 1 rem !default ;
2019-02-11 11:36:40 +01:00
$breadcrumb-item-padding-x : .5 rem !default ;
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$breadcrumb-margin-bottom : 1 rem !default ;
2017-08-11 07:59:21 +02:00
2017-10-04 13:02:35 +02:00
$breadcrumb-bg : $gray-200 !default ;
$breadcrumb-divider-color : $gray-600 !default ;
$breadcrumb-active-color : $gray-600 !default ;
2018-04-02 03:15:57 +02:00
$breadcrumb-divider : quote ( " / " ) !default ;
2014-12-02 23:02:35 +01:00
2018-03-12 17:55:47 +01:00
$breadcrumb-border-radius : $border-radius !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Carousel
2014-12-02 23:02:35 +01:00
2018-08-26 13:53:36 +02:00
$carousel-control-color : $white !default ;
$carousel-control-width : 15 % !default ;
$carousel-control-opacity : .5 !default ;
2018-10-21 09:13:35 +02:00
$carousel-control-hover-opacity : .9 !default ;
$carousel-control-transition : opacity .15 s ease !default ;
2014-12-02 23:02:35 +01:00
2018-08-26 13:53:36 +02:00
$carousel-indicator-width : 30 px !default ;
$carousel-indicator-height : 3 px !default ;
$carousel-indicator-hit-area-height : 10 px !default ;
$carousel-indicator-spacer : 3 px !default ;
2019-10-01 15:14:43 +02:00
$carousel-indicator-opacity : .5 !default ;
2018-08-26 13:53:36 +02:00
$carousel-indicator-active-bg : $white !default ;
2019-10-01 15:14:43 +02:00
$carousel-indicator-active-opacity : 1 !default ;
2018-08-26 13:53:36 +02:00
$carousel-indicator-transition : opacity .6 s ease !default ;
2014-12-02 23:02:35 +01:00
2018-08-26 13:53:36 +02:00
$carousel-caption-width : 70 % !default ;
$carousel-caption-color : $white !default ;
2019-10-12 14:09:04 +02:00
$carousel-caption-padding-y : 1 .25 rem !default ;
$carousel-caption-spacer : 1 .25 rem !default ;
2014-12-02 23:02:35 +01:00
2018-08-26 13:53:36 +02:00
$carousel-control-icon-width : 20 px !default ;
2016-02-17 05:46:52 +01:00
2019-07-21 23:23:54 +02:00
$carousel-control-prev-icon-bg : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill=' #{ $carousel-control-color } ' viewBox='0 0 8 8'><path d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/></svg>" ) !default ;
$carousel-control-next-icon-bg : url( "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill=' #{ $carousel-control-color } ' viewBox='0 0 8 8'><path d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/></svg>" ) !default ;
2016-12-05 06:54:45 +01:00
2018-10-29 21:11:50 +01:00
$carousel-transition-duration : .6 s !default ;
2018-10-31 08:45:39 +01:00
$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`)
2016-12-20 05:33:17 +01:00
2014-12-02 23:02:35 +01:00
2017-07-02 03:51:53 +02:00
// Spinners
$spinner-width : 2 rem !default ;
$spinner-height : $spinner-width !default ;
$spinner-border-width : .25 em !default ;
$spinner-width-sm : 1 rem !default ;
$spinner-height-sm : $spinner-width-sm !default ;
$spinner-border-width-sm : .2 em !default ;
2016-12-24 21:35:08 +01:00
// Close
2014-12-02 23:02:35 +01:00
2017-10-04 13:02:35 +02:00
$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 ;
2014-12-02 23:02:35 +01:00
2018-09-16 23:32:11 +02:00
2016-12-24 21:35:08 +01:00
// Code
2014-12-02 23:02:35 +01:00
2019-08-22 10:14:42 +02:00
$code-font-size : $small-font-size !default ;
2017-12-23 01:49:57 +01:00
$code-color : $pink !default ;
2014-12-02 23:02:35 +01:00
2017-12-23 01:49:57 +01:00
$kbd-padding-y : .2 rem !default ;
$kbd-padding-x : .4 rem !default ;
$kbd-font-size : $code-font-size !default ;
2017-10-04 13:02:35 +02:00
$kbd-color : $white !default ;
$kbd-bg : $gray-900 !default ;
2014-12-02 23:02:35 +01:00
2019-06-26 12:18:59 +02:00
$pre-color : null !default ;