2014-12-02 23:02:35 +01:00
// Variables
2015-03-09 15:18:25 +01:00
//
2015-08-11 08:38:41 +02:00
// Copy settings from this file into the provided `_custom.scss` to override
// the Bootstrap defaults without modifying key, versioned files.
2015-08-19 23:06:39 +02:00
// Table of Contents
2015-08-11 08:38:41 +02:00
//
2016-12-24 21:35:08 +01:00
// Colors
// Options
// Spacing
// Body
// Links
// Grid breakpoints
// Grid containers
// Grid columns
// Fonts
// Components
// Tables
// Buttons
// Forms
// Dropdowns
// Z-index master list
// Navbar
// Navs
// Pagination
// Jumbotron
// Form states and alerts
// Cards
// Tooltips
// Popovers
// Badges
// Modals
// Alerts
// Progress bars
// List group
// Image thumbnails
// Figures
// Breadcrumbs
// Carousel
// Close
// Code
2014-12-02 23:02:35 +01:00
2016-02-07 11:53:35 +01:00
@mixin _assert-ascending ( $map , $map-name ) {
$prev-key : null ;
$prev-num : null ;
@each $key , $num in $map {
2016-06-20 07:23:16 +02:00
@if $prev-num == null {
// Do nothing
} @else if not comparable ( $prev-num , $num ) {
@warn " Potentially invalid value for #{ $map-name } : This map must be in ascending order, but key ' #{ $key } ' has value #{ $num } whose unit makes it incomparable to #{ $prev-num } , the value of the previous key ' #{ $prev-key } ' ! " ;
} @else if $prev-num >= $num {
2016-02-07 11:53:35 +01:00
@warn " Invalid value for #{ $map-name } : This map must be in ascending order, but key ' #{ $key } ' has value #{ $num } which isn't greater than #{ $prev-num } , the value of the previous key ' #{ $prev-key } ' ! " ;
}
$prev-key : $key ;
$prev-num : $num ;
}
}
2016-10-28 07:28:24 +02:00
// Replace `$search` with `$replace` in `$string`
// @author Hugo Giraudel
// @param {String} $string - Initial string
// @param {String} $search - Substring to replace
// @param {String} $replace ('') - New value
// @return {String} - Updated string
2016-10-20 19:14:56 +02:00
@function str-replace ( $string , $search , $replace : " " ) {
$index : str-index ( $string , $search ) ;
@if $index {
@return str-slice ( $string , 1 , $index - 1 ) + $replace + str-replace ( str-slice ( $string , $index + str-length ( $search )) , $search , $replace ) ;
}
@return $string ;
}
2016-02-24 21:42:02 +01:00
@mixin _assert-starts-at-zero ( $map ) {
$values : map-values ( $map ) ;
$first-value : nth ( $values , 1 ) ;
@if $first-value != 0 {
@warn " First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{ $first-value } . " ;
}
}
2016-10-28 07:28:24 +02:00
2015-08-14 08:13:38 +02:00
// General variable structure
//
// Variable format should follow the `$component-modifier-state-property` order.
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Colors
2014-12-02 23:02:35 +01:00
//
2015-08-11 08:38:41 +02:00
// Grayscale and brand colors for use across Bootstrap.
2014-12-02 23:02:35 +01:00
2016-12-20 23:52:04 +01:00
// Start with assigning color names to specific hex values.
2016-12-23 04:09:11 +01:00
$white : #fff !default ;
$black : #000 !default ;
2016-12-20 23:52:04 +01:00
$red : #d9534f !default ;
$orange : #f0ad4e !default ;
$yellow : #ffd500 !default ;
$green : #5cb85c !default ;
$blue : #0275d8 !default ;
$teal : #5bc0de !default ;
$pink : #ff5b77 !default ;
$purple : #613d7c !default ;
// Create grayscale
2016-11-26 01:03:13 +01:00
$gray-dark : #292b2c !default ;
$gray : #464a4c !default ;
$gray-light : #636c72 !default ;
2015-08-11 08:38:41 +02:00
$gray-lighter : #eceeef !default ;
$gray-lightest : #f7f7f9 !default ;
2014-12-02 23:02:35 +01:00
2016-12-20 23:52:04 +01:00
// Reassign color vars to semantic color scheme
$brand-primary : $blue !default ;
$brand-success : $green !default ;
$brand-info : $teal !default ;
$brand-warning : $orange !default ;
$brand-danger : $red !default ;
2016-05-12 08:26:39 +02:00
$brand-inverse : $gray-dark !default ;
2014-12-02 23:02:35 +01: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.
$enable-rounded : true !default ;
$enable-shadows : false !default ;
$enable-gradients : false !default ;
2016-11-26 07:08:51 +01:00
$enable-transitions : true !default ;
2015-08-11 08:38:41 +02:00
$enable-hover-media-query : false !default ;
2015-08-24 07:13:58 +02:00
$enable-grid-classes : true !default ;
2016-02-07 06:35:18 +01:00
$enable-print-styles : true !default ;
2015-08-11 08:38:41 +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
2016-01-07 09:19:48 +01:00
$spacer : 1 rem !default ;
$spacer-x : $spacer !default ;
$spacer-y : $spacer !default ;
2015-11-06 07:17:34 +01:00
$spacers : (
0 : (
2016-01-07 09:19:48 +01:00
x : 0 ,
y : 0
2015-11-06 07:17:34 +01:00
) ,
1 : (
2016-11-01 05:13:05 +01:00
x : ( $spacer-x * .25 ) ,
y : ( $ spacer-y * . 25 )
) ,
2 : (
x : ( $spacer-x * .5 ) ,
y : ( $ spacer-y * . 5 )
) ,
3 : (
2016-01-07 09:19:48 +01:00
x : $spacer-x ,
y : $ spacer-y
2015-11-06 07:17:34 +01:00
) ,
2016-11-01 05:13:05 +01:00
4 : (
2016-01-07 09:19:48 +01:00
x : ( $spacer-x * 1 .5 ) ,
y : ( $ spacer-y * 1 . 5 )
2015-11-06 07:17:34 +01:00
) ,
2016-11-01 05:13:05 +01:00
5 : (
2016-01-07 09:19:48 +01:00
x : ( $spacer-x * 3 ) ,
y : ( $ spacer-y * 3 )
2015-11-06 07:17:34 +01:00
)
) ! default ;
2016-01-07 09:19:48 +01:00
$border-width : 1 px !default ;
2015-08-11 08:38:41 +02:00
2016-12-25 23:29:01 +01:00
// This variable affects the `.h-*` and `.w-*` classes.
$sizes : (
25 : 25 % ,
50 : 50 % ,
75 : 75 % ,
100 : 100 %
) ! default ;
2015-08-11 08:38:41 +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
2016-12-23 04:09:11 +01:00
$body-bg : $white !default ;
2016-04-28 04:37:44 +02:00
$body-color : $gray-dark !default ;
$inverse-bg : $gray-dark !default ;
$inverse-color : $gray-lighter !default ;
2015-08-11 08:38:41 +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
2016-01-07 09:20:25 +01:00
$link-color : $brand-primary !default ;
$link-decoration : none !default ;
$link-hover-color : darken ( $link-color , 15 % ) !default ;
$link-hover-decoration : underline !default ;
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
2015-08-11 08:38:41 +02:00
$grid-breakpoints : (
xs : 0 ,
2016-10-09 22:17:50 +02:00
sm : 576 px ,
2015-08-31 02:23:43 +02:00
md : 768 px ,
lg : 992 px ,
xl : 1200px
2015-08-11 08:38:41 +02:00
) ! default ;
2016-02-07 11:53:35 +01:00
@include _assert-ascending ( $grid-breakpoints , " $grid-breakpoints " ) ;
2016-02-24 21:42:02 +01:00
@include _assert-starts-at-zero ( $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
2015-08-11 08:38:41 +02:00
$container-max-widths : (
2016-10-09 22:17:50 +02:00
sm : 540 px ,
2015-08-31 02:23:43 +02:00
md : 720 px ,
2016-10-09 22:49:11 +02:00
lg : 960 px ,
2015-08-31 02:23:43 +02:00
xl : 1140px
2015-08-11 08:38:41 +02:00
) ! default ;
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.
2016-09-09 06:48:17 +02:00
$grid-columns : 12 !default ;
$grid-gutter-width-base : 30 px !default ;
$grid-gutter-widths : (
xs : $grid-gutter-width-base ,
sm : $grid-gutter-width-base ,
md : $grid-gutter-width-base ,
lg : $grid-gutter-width-base ,
xl : $ grid-gutter-width-base
) ! default ;
2015-01-21 00:35:28 +01:00
2016-12-24 21:35:08 +01:00
// Fonts
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
2016-12-16 13:43:24 +01:00
$font-family-sans-serif : - apple-system , system-ui , BlinkMacSystemFont , " Segoe UI " , Roboto , " Helvetica Neue " , Arial , sans-serif !default ;
2016-01-07 09:21:58 +01:00
$font-family-serif : Georgia , " Times New Roman " , Times , serif !default ;
2016-01-09 07:54:24 +01:00
$font-family-monospace : Menlo , Monaco , Consolas , " Liberation Mono " , " Courier New " , monospace !default ;
2016-01-07 09:21:58 +01:00
$font-family-base : $font-family-sans-serif !default ;
2014-12-02 23:02:35 +01:00
2015-03-09 15:18:25 +01:00
// Pixel value used to responsively scale all typography. Applied to the `<html>` element.
2016-01-07 09:21:58 +01:00
$font-size-root : 16 px !default ;
2015-03-09 15:18:25 +01:00
2016-01-07 09:21:58 +01:00
$font-size-base : 1 rem !default ;
$font-size-lg : 1 .25 rem !default ;
$font-size-sm : .875 rem !default ;
$font-size-xs : .75 rem !default ;
2014-12-10 01:24:05 +01:00
2016-10-19 21:41:27 +02:00
$font-weight-normal : normal !default ;
$font-weight-bold : bold !default ;
2016-10-28 05:02:59 +02:00
$font-weight-base : $font-weight-normal !default ;
2016-02-04 04:45:13 +01:00
$line-height-base : 1 .5 !default ;
2016-01-07 09:21:58 +01:00
$font-size-h1 : 2 .5 rem !default ;
$font-size-h2 : 2 rem !default ;
$font-size-h3 : 1 .75 rem !default ;
$font-size-h4 : 1 .5 rem !default ;
$font-size-h5 : 1 .25 rem !default ;
$font-size-h6 : 1 rem !default ;
2014-12-02 23:02:35 +01:00
2016-01-07 09:21:58 +01:00
$display1-size : 6 rem !default ;
$display2-size : 5 .5 rem !default ;
$display3-size : 4 .5 rem !default ;
$display4-size : 3 .5 rem !default ;
2015-08-10 06:17:27 +02:00
2016-01-07 09:21:58 +01:00
$display1-weight : 300 !default ;
$display2-weight : 300 !default ;
$display3-weight : 300 !default ;
$display4-weight : 300 !default ;
2015-08-10 06:17:27 +02:00
2016-01-07 09:21:58 +01:00
$headings-margin-bottom : ( $spacer / 2 ) !default ;
$headings-font-family : inherit !default ;
$headings-font-weight : 500 !default ;
$headings-line-height : 1 .1 !default ;
$headings-color : inherit !default ;
2014-12-02 23:02:35 +01:00
2016-01-07 09:21:58 +01:00
$lead-font-size : 1 .25 rem !default ;
$lead-font-weight : 300 !default ;
2015-08-14 08:18:32 +02:00
2016-10-17 03:49:55 +02:00
$small-font-size : 80 % !default ;
2016-01-07 09:21:58 +01:00
$text-muted : $gray-light !default ;
2015-08-14 08:18:32 +02:00
2016-01-07 09:21:58 +01:00
$abbr-border-color : $gray-light !default ;
2015-08-14 08:18:32 +02:00
2016-01-07 09:21:58 +01:00
$blockquote-small-color : $gray-light !default ;
$blockquote-font-size : ( $font-size-base * 1 .25 ) !default ;
$blockquote-border-color : $gray-lighter !default ;
2016-01-15 07:27:08 +01:00
$blockquote-border-width : .25 rem !default ;
2015-08-14 08:18:32 +02:00
2016-12-23 04:09:11 +01:00
$hr-border-color : rgba ( $black ,. 1 ) !default ;
2016-01-07 09:21:58 +01:00
$hr-border-width : $border-width !default ;
2015-08-05 09:38:36 +02:00
2016-02-16 08:55:19 +01:00
$mark-padding : .2 em !default ;
2016-10-19 21:41:27 +02:00
$dt-font-weight : $font-weight-bold !default ;
2015-12-06 21:28:15 +01:00
2016-12-23 04:09:11 +01:00
$kbd-box-shadow : inset 0 - .1 rem 0 rgba ( $black ,. 25 ) !default ;
2016-10-19 21:41:27 +02:00
$nested-kbd-font-weight : $font-weight-bold !default ;
2015-12-06 21:28:15 +01:00
2016-01-07 09:21:58 +01:00
$list-inline-padding : 5 px !default ;
2015-12-04 10:56:49 +01:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Components
2014-12-02 23:02:35 +01:00
//
2015-12-08 09:16:46 +01:00
// Define common padding and border radius sizes and more.
2014-12-02 23:02:35 +01:00
2015-08-25 07:49:45 +02:00
$line-height-lg : ( 4 / 3 ) !default ;
2014-12-10 01:24:05 +01:00
$line-height-sm : 1 .5 !default ;
2014-12-02 23:02:35 +01:00
2015-06-23 03:57:56 +02:00
$border-radius : .25 rem !default ;
2014-12-10 01:24:05 +01:00
$border-radius-lg : .3 rem !default ;
$border-radius-sm : .2 rem !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$component-active-color : $white !default ;
2015-06-23 03:57:56 +02:00
$component-active-bg : $brand-primary !default ;
2014-12-02 23:02:35 +01:00
2015-06-23 03:57:56 +02:00
$caret-width : .3 em !default ;
2015-06-23 03:53:04 +02:00
$caret-width-lg : $caret-width !default ;
2014-12-02 23:02:35 +01:00
2016-12-20 05:33:17 +01:00
$transition-base : all .2 s ease-in-out !default ;
$transition-fade : opacity .15 s linear !default ;
$transition-collapse : height .35 s ease !default ;
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
2014-12-10 01:24:05 +01:00
$table-cell-padding : .75 rem !default ;
$table-sm-cell-padding : .3 rem !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$table-bg : transparent !default ;
2016-12-20 06:50:31 +01:00
$table-inverse-bg : $gray-dark !default ;
$table-inverse-color : $body-bg !default ;
2016-10-30 21:38:44 +01:00
2016-12-23 04:09:11 +01:00
$table-bg-accent : rgba ( $black ,. 05 ) !default ;
$table-bg-hover : rgba ( $black ,. 075 ) !default ;
2014-12-10 01:24:05 +01:00
$table-bg-active : $table-bg-hover !default ;
2014-12-02 23:02:35 +01:00
2016-04-18 03:56:09 +02:00
$table-head-bg : $gray-lighter !default ;
$table-head-color : $gray !default ;
2015-11-15 08:24:48 +01:00
$table-border-width : $border-width !default ;
2014-12-10 01:24:05 +01:00
$table-border-color : $gray-lighter !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Buttons
2014-12-02 23:02:35 +01:00
//
2015-03-09 15:18:25 +01:00
// For each of Bootstrap's buttons, define text, background and border color.
2014-12-02 23:02:35 +01:00
2015-08-24 00:44:16 +02:00
$btn-padding-x : 1 rem !default ;
2016-02-08 07:46:50 +01:00
$btn-padding-y : .5 rem !default ;
$btn-line-height : 1 .25 !default ;
2016-10-19 21:41:27 +02:00
$btn-font-weight : $font-weight-normal !default ;
2016-12-23 04:09:11 +01:00
$btn-box-shadow : inset 0 1 px 0 rgba ( $white ,. 15 ) , 0 1 px 1 px rgba ( $black ,. 075 ) !default ;
2016-12-27 23:45:57 +01:00
$btn-focus-box-shadow : 0 0 0 2 px rgba ( $brand-primary , .25 ) !default ;
2016-12-23 04:09:11 +01:00
$btn-active-box-shadow : inset 0 3 px 5 px rgba ( $black ,. 125 ) !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$btn-primary-color : $white !default ;
2014-12-10 01:24:05 +01:00
$btn-primary-bg : $brand-primary !default ;
2015-08-10 07:49:21 +02:00
$btn-primary-border : $btn-primary-bg !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$btn-secondary-color : $gray-dark !default ;
2016-12-23 04:09:11 +01:00
$btn-secondary-bg : $white !default ;
2015-04-29 20:42:38 +02:00
$btn-secondary-border : #ccc !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$btn-info-color : $white !default ;
2014-12-10 01:24:05 +01:00
$btn-info-bg : $brand-info !default ;
2015-08-10 07:49:21 +02:00
$btn-info-border : $btn-info-bg !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$btn-success-color : $white !default ;
2014-12-10 01:24:05 +01:00
$btn-success-bg : $brand-success !default ;
2015-08-10 07:49:21 +02:00
$btn-success-border : $btn-success-bg !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$btn-warning-color : $white !default ;
2014-12-10 01:24:05 +01:00
$btn-warning-bg : $brand-warning !default ;
2015-08-10 07:49:21 +02:00
$btn-warning-border : $btn-warning-bg !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$btn-danger-color : $white !default ;
2014-12-10 01:24:05 +01:00
$btn-danger-bg : $brand-danger !default ;
2015-08-10 07:49:21 +02:00
$btn-danger-border : $btn-danger-bg !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$btn-link-disabled-color : $gray-light !default ;
2014-12-02 23:02:35 +01:00
2016-02-08 07:46:50 +01:00
$btn-padding-x-sm : .5 rem !default ;
2015-08-18 08:42:39 +02:00
$btn-padding-y-sm : .25 rem !default ;
2015-08-14 08:04:16 +02:00
2016-02-08 07:46:50 +01:00
$btn-padding-x-lg : 1 .5 rem !default ;
2015-08-14 08:04:16 +02:00
$btn-padding-y-lg : .75 rem !default ;
2016-01-08 22:23:24 +01:00
$btn-block-spacing-y : .5 rem !default ;
$btn-toolbar-margin : .5 rem !default ;
2015-06-19 08:56:43 +02:00
// Allows for customizing button radius independently from global border radius
2015-08-24 00:44:16 +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
2016-12-20 05:33:17 +01:00
$btn-transition : all .2 s ease-in-out !default ;
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
2015-08-14 08:04:16 +02:00
$input-padding-x : .75 rem !default ;
2016-02-08 07:46:50 +01:00
$input-padding-y : .5 rem !default ;
$input-line-height : 1 .25 !default ;
2015-08-14 08:04:16 +02:00
2016-12-23 04:09:11 +01:00
$input-bg : $white !default ;
2014-12-10 01:24:05 +01:00
$input-bg-disabled : $gray-lighter !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$input-color : $gray !default ;
2016-12-23 04:09:11 +01:00
$input-border-color : rgba ( $black ,. 15 ) !default ;
2015-12-07 11:07:35 +01:00
$input-btn-border-width : $border-width !default ; // For form controls and buttons
2016-12-23 04:09:11 +01:00
$input-box-shadow : inset 0 1 px 1 px rgba ( $black ,. 075 ) !default ;
2014-12-02 23:02:35 +01:00
2015-06-23 03:53:04 +02:00
$input-border-radius : $border-radius !default ;
2014-12-10 01:24:05 +01:00
$input-border-radius-lg : $border-radius-lg !default ;
$input-border-radius-sm : $border-radius-sm !default ;
2014-12-02 23:02:35 +01:00
2016-09-12 07:32:33 +02:00
$input-bg-focus : $input-bg !default ;
2016-09-08 13:57:57 +02:00
$input-border-focus : lighten ( $brand-primary , 25 % ) !default ;
2016-12-20 05:54:41 +01:00
$input-box-shadow-focus : $input-box-shadow , rgba ( $input-border-focus , .6 ) !default ;
2016-09-12 07:32:33 +02:00
$input-color-focus : $input-color !default ;
2014-12-02 23:02:35 +01:00
2016-09-08 13:57:57 +02:00
$input-color-placeholder : $gray-light !default ;
2014-12-02 23:02:35 +01:00
2016-02-08 07:46:50 +01:00
$input-padding-x-sm : .5 rem !default ;
$input-padding-y-sm : .25 rem !default ;
2015-08-14 08:04:16 +02:00
2016-02-08 07:46:50 +01:00
$input-padding-x-lg : 1 .5 rem !default ;
2015-08-14 08:04:16 +02:00
$input-padding-y-lg : .75 rem !default ;
2016-11-28 22:33:11 +01:00
$input-height : (( $font-size-base * $input-line-height ) + ( $input-padding-y * 2 )) !default ;
2015-09-16 06:11:15 +02:00
$input-height-lg : (( $font-size-lg * $line-height-lg ) + ( $input-padding-y-lg * 2 )) !default ;
$input-height-sm : (( $font-size-sm * $line-height-sm ) + ( $input-padding-y-sm * 2 )) !default ;
2014-12-02 23:02:35 +01:00
2016-12-20 05:33:17 +01:00
$input-transition : border-color ease-in-out .15 s , box-shadow ease-in-out .15 s !default ;
2016-12-27 00:42:19 +01:00
$form-text-margin-top : .25 rem !default ;
$form-feedback-margin-top : $form-text-margin-top !default ;
$form-check-margin-bottom : .5 rem !default ;
$form-check-input-gutter : 1 .25 rem !default ;
$form-check-input-margin-y : .25 rem !default ;
$form-check-input-margin-x : .25 rem !default ;
$form-check-inline-margin-x : .75 rem !default ;
2015-09-02 06:01:12 +02:00
$form-group-margin-bottom : $spacer-y !default ;
2015-03-01 23:11:22 +01:00
2014-12-10 01:24:05 +01:00
$input-group-addon-bg : $gray-lighter !default ;
2015-11-15 07:32:42 +01:00
$input-group-addon-border-color : $input-border-color !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$cursor-disabled : not-allowed !default ;
2014-12-02 23:02:35 +01:00
2016-01-17 07:29:51 +01:00
$custom-control-gutter : 1 .5 rem !default ;
$custom-control-spacer-x : 1 rem !default ;
$custom-control-spacer-y : .25 rem !default ;
$custom-control-indicator-size : 1 rem !default ;
2016-12-27 00:42:19 +01:00
$custom-control-indicator-margin-y : (( $line-height-base * 1 rem ) - $custom-control-indicator-size ) / - 2 !default ;
2016-01-17 07:29:51 +01:00
$custom-control-indicator-bg : #ddd !default ;
$custom-control-indicator-bg-size : 50 % 50 % !default ;
2016-12-23 04:09:11 +01:00
$custom-control-indicator-box-shadow : inset 0 .25 rem .25 rem rgba ( $black ,. 1 ) !default ;
2016-01-17 07:29:51 +01:00
$custom-control-disabled-cursor : $cursor-disabled !default ;
2016-09-08 13:57:57 +02:00
$custom-control-disabled-indicator-bg : $gray-lighter !default ;
$custom-control-disabled-description-color : $gray-light !default ;
2016-01-17 07:29:51 +01:00
2016-12-23 04:09:11 +01:00
$custom-control-checked-indicator-color : $white !default ;
2016-09-08 13:57:57 +02:00
$custom-control-checked-indicator-bg : $brand-primary !default ;
2016-01-17 07:29:51 +01:00
$custom-control-checked-indicator-box-shadow : none !default ;
2016-12-26 00:17:31 +01:00
$custom-control-focus-indicator-box-shadow : 0 0 0 1 px $body-bg , 0 0 0 3 px $brand-primary !default ;
2016-01-17 07:29:51 +01:00
2016-12-23 04:09:11 +01:00
$custom-control-active-indicator-color : $white !default ;
2016-09-08 13:57:57 +02:00
$custom-control-active-indicator-bg : lighten ( $brand-primary , 35 % ) !default ;
2016-01-17 07:29:51 +01:00
$custom-control-active-indicator-box-shadow : none !default ;
$custom-checkbox-radius : $border-radius !default ;
2016-10-20 19:22:06 +02:00
$custom-checkbox-checked-icon : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill=' #{ $custom-control-checked-indicator-color } ' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-10-03 03:27:03 +02:00
2016-09-08 13:57:57 +02:00
$custom-checkbox-indeterminate-bg : $brand-primary !default ;
2016-10-03 03:27:03 +02:00
$custom-checkbox-indeterminate-indicator-color : $custom-control-checked-indicator-color !default ;
2016-10-20 19:22:06 +02:00
$custom-checkbox-indeterminate-icon : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke=' #{ $custom-checkbox-indeterminate-indicator-color } ' d='M0 2h4'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-01-17 07:29:51 +01:00
$custom-checkbox-indeterminate-box-shadow : none !default ;
$custom-radio-radius : 50 % !default ;
2016-10-20 19:22:06 +02:00
$custom-radio-checked-icon : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill=' #{ $custom-control-checked-indicator-color } '/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-01-17 07:29:51 +01:00
$custom-select-padding-x : .75 rem !default ;
$custom-select-padding-y : .375 rem !default ;
2016-09-08 13:57:57 +02:00
$custom-select-indicator-padding : 1 rem !default ; // Extra padding to account for the presence of the background-image based indicator
2016-12-23 08:19:21 +01:00
$custom-select-line-height : $input-line-height !default ;
2016-09-08 13:57:57 +02:00
$custom-select-color : $input-color !default ;
$custom-select-disabled-color : $gray-light !default ;
2016-12-23 04:09:11 +01:00
$custom-select-bg : $white !default ;
2016-04-14 19:11:51 +02:00
$custom-select-disabled-bg : $gray-lighter !default ;
2016-01-17 07:29:51 +01:00
$custom-select-bg-size : 8 px 10 px !default ; // In pixels because image dimensions
2016-10-03 03:27:03 +02:00
$custom-select-indicator-color : #333 !default ;
2016-10-20 19:22:06 +02:00
$custom-select-indicator : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill=' #{ $custom-select-indicator-color } ' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-01-17 07:29:51 +01:00
$custom-select-border-width : $input-btn-border-width !default ;
$custom-select-border-color : $input-border-color !default ;
$custom-select-border-radius : $border-radius !default ;
2016-09-08 13:57:57 +02:00
$custom-select-focus-border-color : lighten ( $brand-primary , 25 % ) !default ;
2016-12-23 04:09:11 +01:00
$custom-select-focus-box-shadow : inset 0 1 px 2 px rgba ( $black , .075 ) , 0 0 5 px rgba ( $custom-select-focus-border-color , .5 ) !default ;
2016-01-17 07:29:51 +01:00
2016-09-08 13:57:57 +02:00
$custom-select-sm-padding-y : .2 rem !default ;
$custom-select-sm-font-size : 75 % !default ;
2015-10-14 04:30:30 +02:00
2016-01-18 00:21:16 +01:00
$custom-file-height : 2 .5 rem !default ;
$custom-file-width : 14 rem !default ;
2016-12-23 04:09:11 +01:00
$custom-file-focus-box-shadow : 0 0 0 .075 rem $white , 0 0 0 .2 rem $brand-primary !default ;
2016-01-18 00:21:16 +01:00
$custom-file-padding-x : .5 rem !default ;
$custom-file-padding-y : 1 rem !default ;
$custom-file-line-height : 1 .5 !default ;
2016-09-08 13:57:57 +02:00
$custom-file-color : $gray !default ;
2016-12-23 04:09:11 +01:00
$custom-file-bg : $white !default ;
2016-01-18 00:21:16 +01:00
$custom-file-border-width : $border-width !default ;
2016-09-08 13:57:57 +02:00
$custom-file-border-color : $input-border-color !default ;
2016-01-18 00:21:16 +01:00
$custom-file-border-radius : $border-radius !default ;
2016-12-23 04:09:11 +01:00
$custom-file-box-shadow : inset 0 .2 rem .4 rem rgba ( $black ,. 05 ) !default ;
2016-01-18 00:21:16 +01:00
$custom-file-button-color : $custom-file-color !default ;
2016-09-08 13:57:57 +02:00
$custom-file-button-bg : $gray-lighter !default ;
2016-01-18 05:50:55 +01:00
$custom-file-text : (
placeholder : (
en : " Choose file... "
) ,
button-label : (
en : " Browse "
)
) ! default ;
2015-10-14 04:30:30 +02:00
2015-08-13 07:39:36 +02:00
// Form validation icons
2016-10-03 03:27:03 +02:00
$form-icon-success-color : $brand-success !default ;
2016-10-20 19:22:06 +02:00
$form-icon-success : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill=' #{ $form-icon-success-color } ' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-10-03 03:27:03 +02:00
$form-icon-warning-color : $brand-warning !default ;
2016-10-20 19:22:06 +02:00
$form-icon-warning : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill=' #{ $form-icon-warning-color } ' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-10-03 03:27:03 +02:00
$form-icon-danger-color : $brand-danger !default ;
2016-10-20 19:22:06 +02:00
$form-icon-danger : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill=' #{ $form-icon-danger-color } ' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2015-08-13 07:39:36 +02:00
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Dropdowns
2014-12-02 23:02:35 +01:00
//
2015-03-09 15:18:25 +01:00
// Dropdown menu container and contents.
2014-12-02 23:02:35 +01:00
2016-10-03 03:25:51 +02:00
$dropdown-min-width : 10 rem !default ;
$dropdown-padding-y : .5 rem !default ;
$dropdown-margin-top : .125 rem !default ;
2016-12-23 04:09:11 +01:00
$dropdown-bg : $white !default ;
$dropdown-border-color : rgba ( $black ,. 15 ) !default ;
2015-11-15 07:30:16 +01:00
$dropdown-border-width : $border-width !default ;
2016-09-08 13:57:57 +02:00
$dropdown-divider-bg : $gray-lighter !default ;
2016-12-23 04:09:11 +01:00
$dropdown-box-shadow : 0 .5 rem 1 rem rgba ( $black ,. 175 ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$dropdown-link-color : $gray-dark !default ;
$dropdown-link-hover-color : darken ( $gray-dark , 5 % ) !default ;
2016-11-26 09:22:49 +01:00
$dropdown-link-hover-bg : $gray-lightest !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$dropdown-link-active-color : $component-active-color !default ;
$dropdown-link-active-bg : $component-active-bg !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$dropdown-link-disabled-color : $gray-light !default ;
2014-12-02 23:02:35 +01:00
2016-10-03 03:25:51 +02:00
$dropdown-item-padding-x : 1 .5 rem !default ;
2016-02-17 06:16:55 +01:00
2014-12-10 01:24:05 +01:00
$dropdown-header-color : $gray-light !default ;
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.
2016-01-14 01:21:52 +01:00
$zindex-dropdown-backdrop : 990 !default ;
2014-12-10 01:24:05 +01:00
$zindex-navbar : 1000 !default ;
$zindex-dropdown : 1000 !default ;
$zindex-navbar-fixed : 1030 !default ;
2015-04-14 04:00:59 +02:00
$zindex-navbar-sticky : 1030 !default ;
2016-10-27 18:31:38 +02:00
$zindex-modal-backdrop : 1040 !default ;
2015-03-29 09:08:54 +02:00
$zindex-modal : 1050 !default ;
2016-10-27 18:31:38 +02:00
$zindex-popover : 1060 !default ;
$zindex-tooltip : 1070 !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Navbar
2014-12-02 23:02:35 +01:00
2015-08-18 09:46:29 +02:00
$navbar-border-radius : $border-radius !default ;
2015-12-08 10:30:23 +01:00
$navbar-padding-x : $spacer !default ;
$navbar-padding-y : ( $spacer / 2 ) !default ;
2016-05-13 17:15:48 +02:00
2016-02-17 08:11:25 +01:00
$navbar-brand-padding-y : .25 rem !default ;
2015-08-18 09:46:29 +02:00
2016-05-13 17:15:48 +02:00
$navbar-divider-padding-y : .425 rem !default ;
2016-05-14 21:46:06 +02:00
$navbar-toggler-padding-x : .75 rem !default ;
2016-12-22 07:10:44 +01:00
$navbar-toggler-padding-y : .25 rem !default ;
2016-05-13 06:50:17 +02:00
$navbar-toggler-font-size : $font-size-lg !default ;
$navbar-toggler-border-radius : $btn-border-radius !default ;
2016-05-13 06:49:03 +02:00
2016-12-23 04:09:11 +01:00
$navbar-inverse-color : rgba ( $white ,. 5 ) !default ;
$navbar-inverse-hover-color : rgba ( $white ,. 75 ) !default ;
$navbar-inverse-active-color : rgba ( $white , 1 ) !default ;
$navbar-inverse-disabled-color : rgba ( $white ,. 25 ) !default ;
2016-12-22 06:40:26 +01:00
$navbar-inverse-toggler-bg : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke=' #{ $navbar-inverse-color } ' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-12-23 04:09:11 +01:00
$navbar-inverse-toggler-border : rgba ( $white ,. 1 ) !default ;
2015-08-18 09:46:29 +02:00
2016-12-23 04:09:11 +01: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 ;
2016-10-20 19:22:06 +02:00
$navbar-light-toggler-bg : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke=' #{ $navbar-light-color } ' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-12-23 04:09:11 +01:00
$navbar-light-toggler-border : rgba ( $black ,. 1 ) !default ;
2014-12-02 23:02:35 +01:00
2016-12-28 20:43:39 +01:00
// Navs
2014-12-02 23:02:35 +01:00
2016-01-07 00:47:28 +01:00
$nav-item-margin : .2 rem !default ;
$nav-item-inline-spacer : 1 rem !default ;
$nav-link-padding : .5 em 1 em !default ;
$nav-link-hover-bg : $gray-lighter !default ;
$nav-disabled-link-color : $gray-light !default ;
$nav-tabs-border-color : #ddd !default ;
$nav-tabs-border-width : $border-width !default ;
2016-04-03 00:47:12 +02:00
$nav-tabs-border-radius : $border-radius !default ;
2016-01-07 00:47:28 +01:00
$nav-tabs-link-hover-border-color : $gray-lighter !default ;
$nav-tabs-active-link-hover-color : $gray !default ;
2016-01-07 00:50:08 +01:00
$nav-tabs-active-link-hover-bg : $body-bg !default ;
2016-01-07 00:47:28 +01:00
$nav-tabs-active-link-hover-border-color : #ddd !default ;
$nav-tabs-justified-link-border-color : #ddd !default ;
$nav-tabs-justified-active-link-border-color : $body-bg !default ;
2016-01-07 00:50:08 +01:00
$nav-pills-border-radius : $border-radius !default ;
$nav-pills-active-link-color : $component-active-color !default ;
$nav-pills-active-link-bg : $component-active-bg !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Pagination
2014-12-02 23:02:35 +01:00
2015-08-14 08:04:16 +02:00
$pagination-padding-x : .75 rem !default ;
$pagination-padding-y : .5 rem !default ;
2016-11-28 08:39:46 +01:00
$pagination-padding-x-sm : .5 rem !default ;
$pagination-padding-y-sm : .25 rem !default ;
2015-08-14 08:04:16 +02:00
$pagination-padding-x-lg : 1 .5 rem !default ;
$pagination-padding-y-lg : .75 rem !default ;
2016-11-28 08:37:36 +01:00
$pagination-line-height : 1 .25 !default ;
2015-08-14 08:04:16 +02:00
2014-12-10 01:24:05 +01:00
$pagination-color : $link-color !default ;
2016-12-23 04:09:11 +01:00
$pagination-bg : $white !default ;
2015-11-15 07:53:18 +01:00
$pagination-border-width : $border-width !default ;
2015-11-15 07:51:18 +01:00
$pagination-border-color : #ddd !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$pagination-hover-color : $link-hover-color !default ;
$pagination-hover-bg : $gray-lighter !default ;
$pagination-hover-border : #ddd !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$pagination-active-color : $white !default ;
2014-12-10 01:24:05 +01:00
$pagination-active-bg : $brand-primary !default ;
$pagination-active-border : $brand-primary !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$pagination-disabled-color : $gray-light !default ;
2016-12-23 04:09:11 +01:00
$pagination-disabled-bg : $white !default ;
2014-12-10 01:24:05 +01:00
$pagination-disabled-border : #ddd !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Jumbotron
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$jumbotron-padding : 2 rem !default ;
$jumbotron-bg : $gray-lighter !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Form states and alerts
2014-12-02 23:02:35 +01:00
//
2015-03-09 15:18:25 +01:00
// Define colors for form feedback states and, by default, alerts.
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$state-success-text : #3c763d !default ;
$state-success-bg : #dff0d8 !default ;
$state-success-border : darken ( $state-success-bg , 5 % ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$state-info-text : #31708f !default ;
$state-info-bg : #d9edf7 !default ;
$state-info-border : darken ( $state-info-bg , 7 % ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$state-warning-text : #8a6d3b !default ;
$state-warning-bg : #fcf8e3 !default ;
2016-02-16 09:04:30 +01:00
$mark-bg : $state-warning-bg !default ;
2014-12-10 01:24:05 +01:00
$state-warning-border : darken ( $state-warning-bg , 5 % ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$state-danger-text : #a94442 !default ;
$state-danger-bg : #f2dede !default ;
$state-danger-border : darken ( $state-danger-bg , 5 % ) !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
2015-08-24 00:44:16 +02:00
$card-spacer-x : 1 .25 rem !default ;
$card-spacer-y : .75 rem !default ;
2015-12-08 09:49:31 +01:00
$card-border-width : 1 px !default ;
2015-10-13 01:32:15 +02:00
$card-border-radius : $border-radius !default ;
2016-12-23 04:09:11 +01:00
$card-border-color : rgba ( $black ,. 125 ) !default ;
2016-09-08 06:25:14 +02:00
$card-border-radius-inner : calc ( #{ $card-border-radius } - #{ $card-border-width } ) !default ;
2016-11-26 09:22:49 +01:00
$card-cap-bg : $gray-lightest !default ;
2016-12-23 04:09:11 +01:00
$card-bg : $white !default ;
2015-08-19 23:34:26 +02:00
2016-12-23 04:09:11 +01:00
$card-link-hover-color : $white !default ;
2015-09-26 14:57:13 +02:00
2016-02-17 08:25:18 +01:00
$card-img-overlay-padding : 1 .25 rem !default ;
2016-12-23 03:55:21 +01:00
$card-deck-margin : ( $grid-gutter-width-base / 2 ) !default ;
2015-12-08 09:51:43 +01:00
2016-12-23 01:38:22 +01:00
$card-columns-count : 3 !default ;
2016-12-23 01:38:09 +01:00
$card-columns-gap : 1 .25 rem !default ;
2016-12-23 01:39:11 +01:00
$card-columns-margin : $card-spacer-y !default ;
2016-02-17 08:00:58 +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
2014-12-10 01:24:05 +01:00
$tooltip-max-width : 200 px !default ;
2016-12-23 04:09:11 +01:00
$tooltip-color : $white !default ;
$tooltip-bg : $black !default ;
2014-12-10 01:24:05 +01:00
$tooltip-opacity : .9 !default ;
2015-12-08 09:31:43 +01:00
$tooltip-padding-y : 3 px !default ;
$tooltip-padding-x : 8 px !default ;
$tooltip-margin : 3 px !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$tooltip-arrow-width : 5 px !default ;
$tooltip-arrow-color : $tooltip-bg !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
2016-05-12 20:12:22 +02:00
$popover-inner-padding : 1 px !default ;
2016-12-23 04:09:11 +01:00
$popover-bg : $white !default ;
2014-12-10 01:24:05 +01:00
$popover-max-width : 276 px !default ;
2015-11-15 08:11:20 +01:00
$popover-border-width : $border-width !default ;
2016-12-23 04:09:11 +01:00
$popover-border-color : rgba ( $black ,. 2 ) !default ;
$popover-box-shadow : 0 5 px 10 px rgba ( $black ,. 2 ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$popover-title-bg : darken ( $popover-bg , 3 % ) !default ;
2016-01-09 23:46:04 +01:00
$popover-title-padding-x : 14 px !default ;
$popover-title-padding-y : 8 px !default ;
$popover-content-padding-x : 14 px !default ;
$popover-content-padding-y : 9 px !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$popover-arrow-width : 10 px !default ;
$popover-arrow-color : $popover-bg !default ;
2014-12-02 23:02:35 +01:00
2016-01-14 01:16:14 +01:00
$popover-arrow-outer-width : ( $popover-arrow-width + 1 px ) !default ;
2016-02-06 21:29:53 +01:00
$popover-arrow-outer-color : fade-in ( $popover-border-color , .05 ) !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Badges
2014-12-02 23:02:35 +01:00
2016-10-27 03:33:58 +02:00
$badge-default-bg : $gray-light !default ;
$badge-primary-bg : $brand-primary !default ;
$badge-success-bg : $brand-success !default ;
$badge-info-bg : $brand-info !default ;
$badge-warning-bg : $brand-warning !default ;
$badge-danger-bg : $brand-danger !default ;
2016-12-23 04:09:11 +01:00
$badge-color : $white !default ;
$badge-link-hover-color : $white !default ;
2016-10-27 03:33:58 +02:00
$badge-font-size : 75 % !default ;
$badge-font-weight : $font-weight-bold !default ;
$badge-padding-x : .4 em !default ;
$badge-padding-y : .25 em !default ;
$badge-pill-padding-x : .6 em !default ;
2016-02-16 09:30:40 +01:00
// Use a higher than normal value to ensure completely rounded edges when
// customizing padding or font-size on labels.
2016-10-27 03:33:58 +02:00
$badge-pill-border-radius : 10 rem !default ;
2014-12-02 23:02:35 +01: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
2014-12-10 01:24:05 +01:00
$modal-inner-padding : 15 px !default ;
2014-12-02 23:02:35 +01:00
2016-02-16 08:10:38 +01:00
$modal-dialog-margin : 10 px !default ;
2016-02-16 08:24:41 +01:00
$modal-dialog-sm-up-margin-y : 30 px !default ;
2016-02-16 08:10:38 +01:00
2016-02-04 04:45:13 +01:00
$modal-title-line-height : $line-height-base !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$modal-content-bg : $white !default ;
$modal-content-border-color : rgba ( $black ,. 2 ) !default ;
2016-02-16 08:45:28 +01:00
$modal-content-border-width : $border-width !default ;
2016-12-23 04:09:11 +01:00
$modal-content-xs-box-shadow : 0 3 px 9 px rgba ( $black ,. 5 ) !default ;
$modal-content-sm-up-box-shadow : 0 5 px 15 px rgba ( $black ,. 5 ) !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$modal-backdrop-bg : $black !default ;
2014-12-10 01:24:05 +01:00
$modal-backdrop-opacity : .5 !default ;
2016-12-25 02:24:06 +01:00
$modal-header-border-color : $gray-lighter !default ;
2014-12-10 01:24:05 +01:00
$modal-footer-border-color : $modal-header-border-color !default ;
2016-02-16 08:45:28 +01:00
$modal-header-border-width : $modal-content-border-width !default ;
2016-02-16 08:35:57 +01:00
$modal-footer-border-width : $modal-header-border-width !default ;
2016-11-10 23:37:20 +01:00
$modal-header-padding : 15 px !default ;
2014-12-02 23:02:35 +01:00
2016-11-26 09:47:33 +01:00
$modal-lg : 800 px !default ;
$modal-md : 500 px !default ;
2014-12-10 01:24:05 +01:00
$modal-sm : 300 px !default ;
2014-12-02 23:02:35 +01:00
2016-12-20 05:33:17 +01:00
$modal-transition : transform .3 s ease-out !default ;
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
2016-10-19 04:18:06 +02:00
$alert-padding-x : 1 .25 rem !default ;
$alert-padding-y : .75 rem !default ;
2016-11-28 08:21:09 +01:00
$alert-margin-bottom : $spacer-y !default ;
2015-06-23 03:53:04 +02:00
$alert-border-radius : $border-radius !default ;
2016-10-19 21:41:27 +02:00
$alert-link-font-weight : $font-weight-bold !default ;
2015-10-15 16:57:15 +02:00
$alert-border-width : $border-width !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$alert-success-bg : $state-success-bg !default ;
$alert-success-text : $state-success-text !default ;
$alert-success-border : $state-success-border !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$alert-info-bg : $state-info-bg !default ;
$alert-info-text : $state-info-text !default ;
$alert-info-border : $state-info-border !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$alert-warning-bg : $state-warning-bg !default ;
$alert-warning-text : $state-warning-text !default ;
$alert-warning-border : $state-warning-border !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$alert-danger-bg : $state-danger-bg !default ;
$alert-danger-text : $state-danger-text !default ;
$alert-danger-border : $state-danger-border !default ;
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
2016-12-20 06:06:27 +01:00
$progress-bg : $gray-lighter !default ;
2016-09-08 13:57:57 +02:00
$progress-bar-color : $brand-primary !default ;
2015-06-23 03:53:04 +02:00
$progress-border-radius : $border-radius !default ;
2016-12-23 04:09:11 +01:00
$progress-box-shadow : inset 0 .1 rem .1 rem rgba ( $black ,. 1 ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$progress-bar-bg : $brand-primary !default ;
$progress-bar-success-bg : $brand-success !default ;
$progress-bar-warning-bg : $brand-warning !default ;
$progress-bar-danger-bg : $brand-danger !default ;
$progress-bar-info-bg : $brand-info !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// List group
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$list-group-bg : $white !default ;
$list-group-border-color : rgba ( $black ,. 125 ) !default ;
2015-11-15 21:46:35 +01:00
$list-group-border-width : $border-width !default ;
2015-06-23 03:53:04 +02:00
$list-group-border-radius : $border-radius !default ;
2014-12-02 23:02:35 +01:00
2016-11-26 09:22:49 +01:00
$list-group-hover-bg : $gray-lightest !default ;
2014-12-10 01:24:05 +01:00
$list-group-active-color : $component-active-color !default ;
$list-group-active-bg : $component-active-bg !default ;
$list-group-active-border : $list-group-active-bg !default ;
2016-11-26 01:03:13 +01:00
$list-group-active-text-color : lighten ( $list-group-active-bg , 50 % ) !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$list-group-disabled-color : $gray-light !default ;
$list-group-disabled-bg : $gray-lighter !default ;
$list-group-disabled-text-color : $list-group-disabled-color !default ;
2014-12-02 23:02:35 +01:00
2016-09-08 13:57:57 +02:00
$list-group-link-color : $gray !default ;
2014-12-10 01:24:05 +01:00
$list-group-link-hover-color : $list-group-link-color !default ;
2016-09-08 13:57:57 +02:00
$list-group-link-heading-color : $gray-dark !default ;
2014-12-02 23:02:35 +01:00
2016-02-17 07:27:29 +01:00
$list-group-item-padding-x : 1 .25 rem !default ;
$list-group-item-padding-y : .75 rem !default ;
$list-group-item-heading-margin-bottom : 5 px !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
2014-12-10 01:24:05 +01:00
$thumbnail-padding : .25 rem !default ;
$thumbnail-bg : $body-bg !default ;
2015-11-15 07:56:20 +01:00
$thumbnail-border-width : $border-width !default ;
2015-11-15 07:54:53 +01:00
$thumbnail-border-color : #ddd !default ;
2015-06-23 03:53:04 +02:00
$thumbnail-border-radius : $border-radius !default ;
2016-12-23 04:09:11 +01:00
$thumbnail-box-shadow : 0 1 px 2 px rgba ( $black ,. 075 ) !default ;
2016-12-20 05:33:17 +01:00
$thumbnail-transition : all .2 s ease-in-out !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
$figure-caption-font-size : 90 % !default ;
2016-04-18 03:56:09 +02:00
$figure-caption-color : $gray-light !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
2015-12-08 11:20:25 +01:00
$breadcrumb-padding-y : .75 rem !default ;
$breadcrumb-padding-x : 1 rem !default ;
$breadcrumb-item-padding : .5 rem !default ;
2014-12-02 23:02:35 +01:00
2014-12-10 01:24:05 +01:00
$breadcrumb-bg : $gray-lighter !default ;
$breadcrumb-divider-color : $gray-light !default ;
$breadcrumb-active-color : $gray-light !default ;
$breadcrumb-divider : " / " !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
2016-12-23 04:09:11 +01:00
$carousel-control-color : $white !default ;
2014-12-10 01:24:05 +01:00
$carousel-control-width : 15 % !default ;
$carousel-control-opacity : .5 !default ;
2014-12-02 23:02:35 +01:00
2016-12-05 05:14:33 +01:00
$carousel-indicator-width : 30 px !default ;
$carousel-indicator-height : 3 px !default ;
2016-12-22 23:31:33 +01:00
$carousel-indicator-spacer : 3 px !default ;
2016-12-23 04:09:11 +01:00
$carousel-indicator-active-bg : $white !default ;
2014-12-02 23:02:35 +01:00
2016-02-17 06:32:39 +01:00
$carousel-caption-width : 70 % !default ;
2016-12-23 04:09:11 +01:00
$carousel-caption-color : $white !default ;
2014-12-02 23:02:35 +01:00
2016-12-05 07:01:31 +01:00
$carousel-control-icon-width : 20 px !default ;
2016-02-17 05:46:52 +01:00
2016-12-05 07:06:29 +01:00
$carousel-control-prev-icon-bg : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill=' #{ $carousel-control-color } ' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
$carousel-control-next-icon-bg : str-replace ( url( "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill=' #{ $carousel-control-color } ' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E" ) , " # " , " %23 " ) !default ;
2016-12-05 06:54:45 +01:00
2016-12-20 05:33:17 +01:00
$carousel-transition : transform .6 s ease-in-out !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Close
2014-12-02 23:02:35 +01:00
2016-10-19 21:41:27 +02:00
$close-font-weight : $font-weight-bold !default ;
2016-12-23 04:09:11 +01:00
$close-color : $black !default ;
$close-text-shadow : 0 1 px 0 $white !default ;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Code
2014-12-02 23:02:35 +01:00
2016-02-17 07:37:00 +01:00
$code-font-size : 90 % !default ;
2016-02-17 07:45:26 +01:00
$code-padding-x : .4 rem !default ;
$code-padding-y : .2 rem !default ;
2015-06-10 01:28:17 +02:00
$code-color : #bd4147 !default ;
2016-11-26 09:23:49 +01:00
$code-bg : $gray-lightest !default ;
2014-12-02 23:02:35 +01:00
2016-12-23 04:09:11 +01:00
$kbd-color : $white !default ;
2016-09-08 13:57:57 +02:00
$kbd-bg : $gray-dark !default ;
2014-12-02 23:02:35 +01:00
2016-11-26 09:23:49 +01:00
$pre-bg : $gray-lightest !default ;
2014-12-10 01:24:05 +01:00
$pre-color : $gray-dark !default ;
$pre-border-color : #ccc !default ;
$pre-scrollable-max-height : 340 px !default ;