0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/scss/_variables.scss

883 lines
32 KiB
SCSS
Raw Normal View History

2014-12-02 23:02:35 +01:00
// Variables
//
// Copy settings from this file into the provided `_custom.scss` to override
// the Bootstrap defaults without modifying key, versioned files.
//
2017-06-13 17:25:55 +02:00
// Variables should follow the `$component-state-property-size` formula for
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
// Table of Contents
//
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
// Navs
// Navbar
2016-12-24 21:35:08 +01:00
// 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-12-24 21:35:08 +01:00
// Colors
2014-12-02 23:02:35 +01:00
//
// Grayscale and brand colors for use across Bootstrap.
2014-12-02 23:02:35 +01:00
// Start with assigning color names to specific hex values.
$white: #fff !default;
$black: #000 !default;
$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
$gray-dark: #292b2c !default;
$gray: #464a4c !default;
$gray-light: #636c72 !default;
$gray-lighter: #eceeef !default;
$gray-lightest: #f7f7f9 !default;
2014-12-02 23:02:35 +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;
$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
//
// Quickly modify global styling by enabling or disabling optional features.
$enable-rounded: true !default;
$enable-shadows: false !default;
$enable-gradients: false !default;
$enable-transitions: true !default;
$enable-hover-media-query: false !default;
$enable-grid-classes: true !default;
$enable-print-styles: true !default;
2016-12-24 21:35:08 +01:00
// Spacing
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation.
$spacer: 1rem !default;
$spacers: (
2017-03-05 22:07:38 +01:00
0: 0,
1: ($spacer * .25),
2: ($spacer * .5),
3: $spacer,
4: ($spacer * 1.5),
5: ($spacer * 3)
) !default;
// This variable affects the `.h-*` and `.w-*` classes.
$sizes: (
25: 25%,
50: 50%,
75: 75%,
100: 100%
) !default;
2016-12-24 21:35:08 +01:00
// Body
//
// Settings for the `<body>` element.
2014-12-02 23:02:35 +01:00
$body-bg: $white !default;
2016-04-28 04:37:44 +02:00
$body-color: $gray-dark !default;
2016-12-24 21:35:08 +01:00
// Links
//
// 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
//
// Define the minimum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.
2014-12-02 23:02:35 +01:00
$grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
) !default;
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
@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
//
// Define the maximum width of `.container` for different screen sizes.
2015-04-29 20:48:58 +02:00
$container-max-widths: (
sm: 540px,
md: 720px,
lg: 960px,
xl: 1140px
) !default;
@include _assert-ascending($container-max-widths, "$container-max-widths");
2016-12-24 21:35:08 +01:00
// Grid columns
//
// 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: 30px !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;
// Components
//
// Define common padding and border radius sizes and more.
$line-height-lg: 1.5 !default;
$line-height-sm: 1.5 !default;
$border-width: 1px !default;
$border-radius: .25rem !default;
$border-radius-lg: .3rem !default;
$border-radius-sm: .2rem !default;
$component-active-color: $white !default;
$component-active-bg: $brand-primary !default;
$caret-width: .3em !default;
$transition-base: all .2s ease-in-out !default;
$transition-fade: opacity .15s linear !default;
$transition-collapse: height .35s ease !default;
2016-12-24 21:35:08 +01:00
// Fonts
2014-12-02 23:02:35 +01:00
//
// Font, line-height, and color for body text, headings, and more.
2014-12-02 23:02:35 +01:00
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
$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
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
2016-01-07 09:21:58 +01:00
$font-size-lg: 1.25rem !default;
$font-size-sm: .875rem !default;
$font-size-xs: .75rem !default;
$font-weight-normal: normal !default;
$font-weight-bold: bold !default;
$font-weight-base: $font-weight-normal !default;
$line-height-base: 1.5 !default;
$h1-font-size: 2.5rem !default;
$h2-font-size: 2rem !default;
$h3-font-size: 1.75rem !default;
$h4-font-size: 1.5rem !default;
$h5-font-size: 1.25rem !default;
$h6-font-size: 1rem !default;
2014-12-02 23:02:35 +01: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
$display1-size: 6rem !default;
$display2-size: 5.5rem !default;
$display3-size: 4.5rem !default;
$display4-size: 3.5rem !default;
$display1-weight: 300 !default;
$display2-weight: 300 !default;
$display3-weight: 300 !default;
$display4-weight: 300 !default;
$display-line-height: $headings-line-height !default;
2016-01-07 09:21:58 +01:00
$lead-font-size: 1.25rem !default;
$lead-font-weight: 300 !default;
$small-font-size: 80% !default;
2016-01-07 09:21:58 +01:00
$text-muted: $gray-light !default;
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;
$blockquote-border-width: .25rem !default;
$hr-border-color: rgba($black,.1) !default;
2016-01-07 09:21:58 +01:00
$hr-border-width: $border-width !default;
$mark-padding: .2em !default;
$dt-font-weight: $font-weight-bold !default;
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
$nested-kbd-font-weight: $font-weight-bold !default;
2016-01-07 09:21:58 +01:00
$list-inline-padding: 5px !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
//
// Customizes the `.table` component with basic values, each used across all table variations.
2014-12-02 23:02:35 +01:00
$table-cell-padding: .75rem !default;
$table-cell-padding-sm: .3rem !default;
2014-12-02 23:02:35 +01:00
$table-bg: transparent !default;
$table-accent-bg: rgba($black,.05) !default;
$table-hover-bg: rgba($black,.075) !default;
$table-active-bg: $table-hover-bg !default;
2014-12-02 23:02:35 +01:00
2017-03-20 01:03:52 +01:00
$table-border-width: $border-width !default;
$table-border-color: $gray-lighter !default;
$table-head-bg: $gray-lighter !default;
$table-head-color: $gray !default;
2017-03-20 01:03:52 +01:00
$table-inverse-bg: $gray-dark !default;
$table-inverse-accent-bg: rgba($white, .05) !default;
$table-inverse-hover-bg: rgba($white, .075) !default;
$table-inverse-border-color: lighten($gray-dark, 7.5%) !default;
2017-03-20 01:03:52 +01:00
$table-inverse-color: $body-bg !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
//
// For each of Bootstrap's buttons, define text, background and border color.
2014-12-02 23:02:35 +01:00
$input-btn-padding-y: .5rem !default;
$input-btn-padding-x: .75rem !default;
$input-btn-line-height: 1.25 !default;
$input-btn-padding-y-sm: .25rem !default;
$input-btn-padding-x-sm: .5rem !default;
$input-btn-line-height-sm: 1.5 !default;
$input-btn-padding-y-lg: .5rem !default;
$input-btn-padding-x-lg: 1rem !default;
$input-btn-line-height-lg: 1.5 !default;
$btn-font-weight: $font-weight-normal !default;
$btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
$btn-focus-box-shadow: 0 0 0 3px rgba($brand-primary, .25) !default;
$btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
2014-12-02 23:02:35 +01:00
$btn-primary-color: $white !default;
$btn-primary-bg: $brand-primary !default;
$btn-primary-border-color: $btn-primary-bg !default;
2014-12-02 23:02:35 +01:00
$btn-secondary-color: $gray-dark !default;
$btn-secondary-bg: $white !default;
$btn-secondary-border-color: #ccc !default;
2014-12-02 23:02:35 +01:00
$btn-info-color: $white !default;
$btn-info-bg: $brand-info !default;
$btn-info-border-color: $btn-info-bg !default;
2014-12-02 23:02:35 +01:00
$btn-success-color: $white !default;
$btn-success-bg: $brand-success !default;
$btn-success-border-color: $btn-success-bg !default;
2014-12-02 23:02:35 +01:00
$btn-warning-color: $white !default;
$btn-warning-bg: $brand-warning !default;
$btn-warning-border-color: $btn-warning-bg !default;
2014-12-02 23:02:35 +01:00
$btn-danger-color: $white !default;
$btn-danger-bg: $brand-danger !default;
$btn-danger-border-color: $btn-danger-bg !default;
2014-12-02 23:02:35 +01:00
$btn-link-disabled-color: $gray-light !default;
2014-12-02 23:02:35 +01:00
$btn-block-spacing-y: .5rem !default;
2015-06-19 08:56:43 +02:00
// Allows for customizing button radius independently from global border radius
$btn-border-radius: $border-radius !default;
$btn-border-radius-lg: $border-radius-lg !default;
$btn-border-radius-sm: $border-radius-sm !default;
2015-06-19 08:56:43 +02:00
$btn-transition: all .2s 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
$input-bg: $white !default;
$input-disabled-bg: $gray-lighter !default;
2014-12-02 23:02:35 +01:00
$input-color: $gray !default;
$input-border-color: rgba($black,.15) !default;
$input-btn-border-width: $border-width !default; // For form controls and buttons
$input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;
2014-12-02 23:02:35 +01: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
$input-focus-bg: $input-bg !default;
$input-focus-border-color: lighten($brand-primary, 25%) !default;
2017-06-14 05:15:42 +02:00
$input-focus-box-shadow: $input-box-shadow, $btn-focus-box-shadow !default;
$input-focus-color: $input-color !default;
2014-12-02 23:02:35 +01:00
$input-placeholder-color: $gray-light !default;
2014-12-02 23:02:35 +01:00
$input-height-border: $input-btn-border-width * 2 !default;
$input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
$input-height-inner-lg: ($font-size-sm * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
2014-12-02 23:02:35 +01:00
$input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
2016-12-27 00:42:19 +01:00
$form-text-margin-top: .25rem !default;
$form-feedback-margin-top: $form-text-margin-top !default;
$form-check-margin-bottom: .5rem !default;
$form-check-input-gutter: 1.25rem !default;
$form-check-input-margin-y: .25rem !default;
$form-check-input-margin-x: .25rem !default;
$form-check-inline-margin-x: .75rem !default;
$form-group-margin-bottom: 1rem !default;
2015-03-01 23:11:22 +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
$custom-control-gutter: 1.5rem !default;
$custom-control-spacer-y: .25rem !default;
$custom-control-spacer-x: 1rem !default;
$custom-control-indicator-size: 1rem !default;
$custom-control-indicator-bg: #ddd !default;
$custom-control-indicator-bg-size: 50% 50% !default;
$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
$custom-control-indicator-disabled-bg: $gray-lighter !default;
$custom-control-description-disabled-color: $gray-light !default;
$custom-control-indicator-checked-color: $white !default;
$custom-control-indicator-checked-bg: $brand-primary !default;
$custom-control-indicator-checked-box-shadow: none !default;
$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $brand-primary !default;
$custom-control-indicator-active-color: $white !default;
$custom-control-indicator-active-bg: lighten($brand-primary, 35%) !default;
$custom-control-indicator-active-box-shadow: none !default;
$custom-checkbox-border-radius: $border-radius !default;
$custom-checkbox-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
$custom-checkbox-indeterminate-bg: $brand-primary !default;
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
$custom-checkbox-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
$custom-checkbox-indeterminate-box-shadow: none !default;
$custom-radio-border-radius: 50% !default;
$custom-radio-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
$custom-select-padding-y: .375rem !default;
$custom-select-padding-x: .75rem !default;
$custom-select-height: $input-height !default;
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
$custom-select-line-height: $input-btn-line-height !default;
$custom-select-color: $input-color !default;
$custom-select-disabled-color: $gray-light !default;
$custom-select-bg: $white !default;
$custom-select-disabled-bg: $gray-lighter !default;
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
$custom-select-indicator-color: #333 !default;
$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;
$custom-select-border-width: $input-btn-border-width !default;
$custom-select-border-color: $input-border-color !default;
$custom-select-border-radius: $border-radius !default;
$custom-select-focus-border-color: lighten($brand-primary, 25%) !default;
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
$custom-select-font-size-sm: 75% !default;
$custom-select-height-sm: $input-height-sm !default;
$custom-file-height: 2.5rem !default;
$custom-file-width: 14rem !default;
$custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem $brand-primary !default;
$custom-file-padding-y: 1rem !default;
$custom-file-padding-x: .5rem !default;
$custom-file-line-height: 1.5 !default;
$custom-file-color: $gray !default;
$custom-file-bg: $white !default;
$custom-file-border-width: $border-width !default;
$custom-file-border-color: $input-border-color !default;
$custom-file-border-radius: $border-radius !default;
$custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05) !default;
$custom-file-button-color: $custom-file-color !default;
$custom-file-button-bg: $gray-lighter !default;
$custom-file-text: (
placeholder: (
en: "Choose file..."
),
button-label: (
en: "Browse"
)
) !default;
2017-06-07 07:45:37 +02:00
// Form validation
$form-feedback-valid-color: $brand-success !default;
$form-feedback-invalid-color: $brand-danger !default;
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
//
// Dropdown menu container and contents.
2014-12-02 23:02:35 +01:00
$dropdown-min-width: 10rem !default;
$dropdown-padding-y: .5rem !default;
$dropdown-margin-top: .125rem !default;
$dropdown-bg: $white !default;
$dropdown-border-color: rgba($black,.15) !default;
$dropdown-border-width: $border-width !default;
$dropdown-divider-bg: $gray-lighter !default;
$dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
2014-12-02 23:02:35 +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
$dropdown-link-active-color: $component-active-color !default;
$dropdown-link-active-bg: $component-active-bg !default;
2014-12-02 23:02:35 +01:00
$dropdown-link-disabled-color: $gray-light !default;
2014-12-02 23:02:35 +01:00
$dropdown-item-padding-y: .25rem !default;
$dropdown-item-padding-x: 1.5rem !default;
$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.
$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
// Navs
$nav-link-padding-y: .5rem !default;
$nav-link-padding-x: 1rem !default;
$nav-link-disabled-color: $gray-light !default;
$nav-tabs-border-color: #ddd !default;
$nav-tabs-border-width: $border-width !default;
$nav-tabs-border-radius: $border-radius !default;
$nav-tabs-link-hover-border-color: $gray-lighter !default;
$nav-tabs-link-active-color: $gray !default;
$nav-tabs-link-active-bg: $body-bg !default;
$nav-tabs-link-active-border-color: #ddd !default;
$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;
2016-12-24 21:35:08 +01:00
// Navbar
2014-12-02 23:02:35 +01:00
$navbar-padding-y: ($spacer / 2) !default;
$navbar-padding-x: $spacer !default;
2016-05-13 17:15:48 +02:00
$navbar-brand-font-size: $font-size-lg !default;
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
$nav-link-height: $navbar-brand-font-size * $line-height-base !default;
$navbar-brand-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
$navbar-brand-padding-y: ($navbar-brand-height - $nav-link-height) / 2 !default;
$navbar-toggler-padding-y: .25rem !default;
$navbar-toggler-padding-x: .75rem !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
$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;
$navbar-inverse-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-inverse-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
$navbar-inverse-toggler-border-color: rgba($white,.1) !default;
$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;
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
$navbar-light-toggler-border-color: rgba($black,.1) !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
$pagination-padding-y: .5rem !default;
$pagination-padding-x: .75rem !default;
$pagination-padding-y-sm: .25rem !default;
$pagination-padding-x-sm: .5rem !default;
$pagination-padding-y-lg: .75rem !default;
$pagination-padding-x-lg: 1.5rem !default;
$pagination-line-height: 1.25 !default;
$pagination-color: $link-color !default;
$pagination-bg: $white !default;
$pagination-border-width: $border-width !default;
$pagination-border-color: #ddd !default;
2014-12-02 23:02:35 +01:00
$pagination-hover-color: $link-hover-color !default;
$pagination-hover-bg: $gray-lighter !default;
$pagination-hover-border-color: #ddd !default;
2014-12-02 23:02:35 +01:00
$pagination-active-color: $white !default;
$pagination-active-bg: $brand-primary !default;
$pagination-active-border-color: $brand-primary !default;
2014-12-02 23:02:35 +01:00
$pagination-disabled-color: $gray-light !default;
$pagination-disabled-bg: $white !default;
$pagination-disabled-border-color: #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
$jumbotron-padding: 2rem !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
//
// Define colors for form feedback states and, by default, alerts.
2014-12-02 23:02:35 +01:00
$state-success-text: #3c763d !default;
$state-success-bg: #dff0d8 !default;
$state-success-border-color: darken($state-success-bg, 5%) !default;
2014-12-02 23:02:35 +01:00
$state-info-text: #31708f !default;
$state-info-bg: #d9edf7 !default;
$state-info-border-color: darken($state-info-bg, 7%) !default;
2014-12-02 23:02:35 +01:00
$state-warning-text: #8a6d3b !default;
$state-warning-bg: #fcf8e3 !default;
$mark-bg: $state-warning-bg !default;
$state-warning-border-color: darken($state-warning-bg, 5%) !default;
2014-12-02 23:02:35 +01:00
$state-danger-text: #a94442 !default;
$state-danger-bg: #f2dede !default;
$state-danger-border-color: 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
$card-spacer-y: .75rem !default;
$card-spacer-x: 1.25rem !default;
2015-12-08 09:49:31 +01:00
$card-border-width: 1px !default;
$card-border-radius: $border-radius !default;
$card-border-color: rgba($black,.125) !default;
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
2016-11-26 09:22:49 +01:00
$card-cap-bg: $gray-lightest !default;
$card-bg: $white !default;
$card-inverse-link-hover-color: $white !default;
2015-09-26 14:57:13 +02:00
$card-img-overlay-padding: 1.25rem !default;
$card-deck-margin: ($grid-gutter-width-base / 2) !default;
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.25rem !default;
$card-columns-margin: $card-spacer-y !default;
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
$tooltip-max-width: 200px !default;
$tooltip-color: $white !default;
$tooltip-bg: $black !default;
$tooltip-opacity: .9 !default;
$tooltip-padding-y: 3px !default;
$tooltip-padding-x: 8px !default;
$tooltip-margin: 0 !default;
2014-12-02 23:02:35 +01:00
$tooltip-arrow-width: 5px !default;
2017-05-23 14:17:07 +02:00
$tooltip-arrow-height: 5px !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
$popover-inner-padding: 1px !default;
$popover-bg: $white !default;
$popover-max-width: 276px !default;
2015-11-15 08:11:20 +01:00
$popover-border-width: $border-width !default;
$popover-border-color: rgba($black,.2) !default;
$popover-box-shadow: 0 5px 10px rgba($black,.2) !default;
2014-12-02 23:02:35 +01:00
$popover-header-bg: darken($popover-bg, 3%) !default;
$popover-header-color: $headings-color !default;
$popover-header-padding-y: 8px !default;
$popover-header-padding-x: 14px !default;
$popover-body-color: $body-color !default;
$popover-body-padding-y: 9px !default;
$popover-body-padding-x: 14px !default;
2014-12-02 23:02:35 +01:00
$popover-arrow-width: 10px !default;
2017-05-23 14:17:07 +02:00
$popover-arrow-height: 5px !default;
$popover-arrow-color: $popover-bg !default;
2014-12-02 23:02:35 +01:00
$popover-arrow-outer-width: ($popover-arrow-width + 1px) !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
$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;
$badge-color: $white !default;
$badge-link-hover-color: $white !default;
$badge-font-size: 75% !default;
$badge-font-weight: $font-weight-bold !default;
$badge-padding-y: .25em !default;
$badge-padding-x: .4em !default;
$badge-pill-padding-x: .6em !default;
// Use a higher than normal value to ensure completely rounded edges when
// customizing padding or font-size on labels.
$badge-pill-border-radius: 10rem !default;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Modals
2014-12-02 23:02:35 +01:00
// Padding applied to the modal body
$modal-inner-padding: 15px !default;
2014-12-02 23:02:35 +01:00
$modal-dialog-margin: 10px !default;
$modal-dialog-margin-y-sm-up: 30px !default;
$modal-title-line-height: $line-height-base !default;
2014-12-02 23:02:35 +01:00
$modal-content-bg: $white !default;
$modal-content-border-color: rgba($black,.2) !default;
$modal-content-border-width: $border-width !default;
$modal-content-box-shadow-xs: 0 3px 9px rgba($black,.5) !default;
$modal-content-box-shadow-sm-up: 0 5px 15px rgba($black,.5) !default;
2014-12-02 23:02:35 +01:00
$modal-backdrop-bg: $black !default;
$modal-backdrop-opacity: .5 !default;
2016-12-25 02:24:06 +01:00
$modal-header-border-color: $gray-lighter !default;
$modal-footer-border-color: $modal-header-border-color !default;
$modal-header-border-width: $modal-content-border-width !default;
$modal-footer-border-width: $modal-header-border-width !default;
$modal-header-padding: 15px !default;
2014-12-02 23:02:35 +01:00
$modal-lg: 800px !default;
$modal-md: 500px !default;
$modal-sm: 300px !default;
2014-12-02 23:02:35 +01:00
$modal-transition: transform .3s 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
//
// Define alert colors, border radius, and padding.
2014-12-02 23:02:35 +01:00
$alert-padding-y: .75rem !default;
$alert-padding-x: 1.25rem !default;
$alert-margin-bottom: 1rem !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
$alert-success-bg: $state-success-bg !default;
$alert-success-text: $state-success-text !default;
$alert-success-border-color: $state-success-border-color !default;
2014-12-02 23:02:35 +01:00
$alert-info-bg: $state-info-bg !default;
$alert-info-text: $state-info-text !default;
$alert-info-border-color: $state-info-border-color !default;
2014-12-02 23:02:35 +01:00
$alert-warning-bg: $state-warning-bg !default;
$alert-warning-text: $state-warning-text !default;
$alert-warning-border-color: $state-warning-border-color !default;
2014-12-02 23:02:35 +01:00
$alert-danger-bg: $state-danger-bg !default;
$alert-danger-text: $state-danger-text !default;
$alert-danger-border-color: $state-danger-border-color !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
$progress-height: 1rem !default;
$progress-font-size: .75rem !default;
$progress-bg: $gray-lighter !default;
$progress-border-radius: $border-radius !default;
$progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
$progress-bar-color: $white !default;
$progress-bar-bg: $brand-primary !default;
$progress-bar-animation-timing: 1s linear infinite !default;
$progress-bar-transition: width .6s ease !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
$list-group-color: $body-color !default;
$list-group-bg: $white !default;
$list-group-border-color: rgba($black,.125) !default;
$list-group-border-width: $border-width !default;
$list-group-border-radius: $border-radius !default;
2014-12-02 23:02:35 +01:00
$list-group-item-padding-y: .75rem !default;
$list-group-item-padding-x: 1.25rem !default;
$list-group-hover-bg: $gray-lightest !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
$list-group-disabled-color: $gray-light !default;
$list-group-disabled-bg: $list-group-bg !default;
2014-12-02 23:02:35 +01:00
$list-group-link-color: $gray !default;
$list-group-link-hover-color: $list-group-link-color !default;
2014-12-02 23:02:35 +01:00
$list-group-link-active-color: $list-group-color !default;
$list-group-link-active-bg: $gray-lighter !default;
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
$thumbnail-padding: .25rem !default;
$thumbnail-bg: $body-bg !default;
$thumbnail-border-width: $border-width !default;
$thumbnail-border-color: #ddd !default;
$thumbnail-border-radius: $border-radius !default;
$thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
$thumbnail-transition: all .2s ease-in-out !default;
2014-12-02 23:02:35 +01:00
2016-12-24 21:35:08 +01:00
// Figures
$figure-caption-font-size: 90% !default;
$figure-caption-color: $gray-light !default;
2016-12-24 21:35:08 +01:00
// Breadcrumbs
2014-12-02 23:02:35 +01:00
$breadcrumb-padding-y: .75rem !default;
$breadcrumb-padding-x: 1rem !default;
$breadcrumb-item-padding: .5rem !default;
2014-12-02 23:02:35 +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
$carousel-control-color: $white !default;
$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: 30px !default;
$carousel-indicator-height: 3px !default;
$carousel-indicator-spacer: 3px !default;
$carousel-indicator-active-bg: $white !default;
2014-12-02 23:02:35 +01:00
$carousel-caption-width: 70% !default;
$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: 20px !default;
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;
$carousel-transition: transform .6s ease !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
$close-font-size: $font-size-base * 1.5 !default;
$close-font-weight: $font-weight-bold !default;
$close-color: $black !default;
$close-text-shadow: 0 1px 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
$code-font-size: 90% !default;
$code-padding-y: .2rem !default;
$code-padding-x: .4rem !default;
2015-06-10 01:28:17 +02:00
$code-color: #bd4147 !default;
$code-bg: $gray-lightest !default;
2014-12-02 23:02:35 +01:00
$kbd-color: $white !default;
$kbd-bg: $gray-dark !default;
2014-12-02 23:02:35 +01:00
$pre-color: $gray-dark !default;
$pre-scrollable-max-height: 340px !default;