1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss/_variables.scss

818 lines
29 KiB
SCSS
Raw Normal View History

2014-12-02 17:02:35 -05:00
// Variables
//
// Copy settings from this file into the provided `_custom.scss` to override
// the Bootstrap defaults without modifying key, versioned files.
// Table of Contents
//
// Colors
// Options
// Spacing
// Body
// Links
// Grid breakpoints
// Grid containers
// Grid columns
2015-08-12 21:22:02 -04:00
// Fonts
// Components
2014-12-02 17:02:35 -05:00
@mixin _assert-ascending($map, $map-name) {
$prev-key: null;
$prev-num: null;
@each $key, $num in $map {
@if $prev-num != null and $prev-num >= $num {
@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;
}
}
2015-08-14 02:13:38 -04:00
// General variable structure
//
// Variable format should follow the `$component-modifier-state-property` order.
2014-12-02 17:02:35 -05:00
// Colors
2014-12-02 17:02:35 -05:00
//
// Grayscale and brand colors for use across Bootstrap.
2014-12-02 17:02:35 -05:00
$gray-dark: #373a3c !default;
$gray: #55595c !default;
$gray-light: #818a91 !default;
$gray-lighter: #eceeef !default;
$gray-lightest: #f7f7f9 !default;
2014-12-02 17:02:35 -05:00
$brand-primary: #0275d8 !default;
$brand-success: #5cb85c !default;
$brand-info: #5bc0de !default;
$brand-warning: #f0ad4e !default;
$brand-danger: #d9534f !default;
2014-12-02 17:02:35 -05:00
// Options
2014-12-02 17:02:35 -05:00
//
// Quickly modify global styling by enabling or disabling optional features.
$enable-flex: false !default;
$enable-rounded: true !default;
$enable-shadows: false !default;
$enable-gradients: false !default;
$enable-transitions: false !default;
$enable-hover-media-query: false !default;
$enable-grid-classes: true !default;
$enable-print-styles: true !default;
// 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.
2016-01-07 03:19:48 -05:00
$spacer: 1rem !default;
$spacer-x: $spacer !default;
$spacer-y: $spacer !default;
$spacers: (
0: (
2016-01-07 03:19:48 -05:00
x: 0,
y: 0
),
1: (
2016-01-07 03:19:48 -05:00
x: $spacer-x,
y: $spacer-y
),
2: (
2016-01-07 03:19:48 -05:00
x: ($spacer-x * 1.5),
y: ($spacer-y * 1.5)
),
3: (
2016-01-07 03:19:48 -05:00
x: ($spacer-x * 3),
y: ($spacer-y * 3)
)
) !default;
2016-01-07 03:19:48 -05:00
$border-width: 1px !default;
// Body
//
// Settings for the `<body>` element.
2014-12-02 17:02:35 -05:00
2016-01-07 03:20:25 -05:00
$body-bg: #fff !default;
$body-color: $gray-dark !default;
// Links
//
// Style anchor elements.
2014-12-02 17:02:35 -05:00
2016-01-07 03:20:25 -05: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 17:02:35 -05:00
// Grid breakpoints
2014-12-02 17:02:35 -05:00
//
// Define the minimum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.
2014-12-02 17:02:35 -05:00
$grid-breakpoints: (
xs: 0,
sm: 544px,
md: 768px,
lg: 992px,
xl: 1200px
) !default;
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
2014-12-02 17:02:35 -05:00
2015-04-29 14:48:58 -04:00
// Grid containers
2015-04-29 14:48:58 -04:00
//
// Define the maximum width of `.container` for different screen sizes.
2015-04-29 14:48:58 -04:00
$container-max-widths: (
sm: 576px,
md: 720px,
lg: 940px,
xl: 1140px
) !default;
@include _assert-ascending($container-max-widths, "$container-max-widths");
// Grid columns
//
// Set the number of columns and specify the width of the gutters.
2016-01-07 03:21:58 -05:00
$grid-columns: 12 !default;
$grid-gutter-width: 30px !default;
2015-04-15 18:30:26 -04:00
// Typography
2014-12-02 17:02:35 -05:00
//
// Font, line-height, and color for body text, headings, and more.
2014-12-02 17:02:35 -05:00
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif !default;
2016-01-07 03:21:58 -05:00
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
2016-02-06 02:01:59 -05:00
$font-family-base: $font-family-sans-serif !default;
2014-12-02 17:02:35 -05:00
// Pixel value used to responsively scale all typography. Applied to the `<html>` element.
2016-01-07 03:21:58 -05:00
$font-size-root: 16px !default;
2016-01-07 03:21:58 -05:00
$font-size-base: 1rem !default;
$font-size-lg: 1.25rem !default;
$font-size-sm: .875rem !default;
$font-size-xs: .75rem !default;
$line-height-base: 1.5 !default;
2016-01-07 03:21:58 -05:00
$font-size-h1: 2.5rem !default;
$font-size-h2: 2rem !default;
$font-size-h3: 1.75rem !default;
$font-size-h4: 1.5rem !default;
$font-size-h5: 1.25rem !default;
$font-size-h6: 1rem !default;
2014-12-02 17:02:35 -05:00
2016-01-07 03:21:58 -05:00
$display1-size: 6rem !default;
$display2-size: 5.5rem !default;
$display3-size: 4.5rem !default;
$display4-size: 3.5rem !default;
2015-08-10 00:17:27 -04:00
2016-01-07 03:21:58 -05:00
$display1-weight: 300 !default;
$display2-weight: 300 !default;
$display3-weight: 300 !default;
$display4-weight: 300 !default;
2015-08-10 00:17:27 -04:00
2016-01-07 03:21:58 -05: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 17:02:35 -05:00
2016-01-07 03:21:58 -05:00
$lead-font-size: 1.25rem !default;
$lead-font-weight: 300 !default;
$small-font-size: 80% !default;
2016-01-07 03:21:58 -05:00
$text-muted: $gray-light !default;
2016-01-07 03:21:58 -05:00
$abbr-border-color: $gray-light !default;
2016-01-07 03:21:58 -05: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;
2016-01-07 03:21:58 -05:00
$hr-border-color: rgba(0,0,0,.1) !default;
$hr-border-width: $border-width !default;
$mark-padding: .2em !default;
2016-01-07 03:21:58 -05:00
$dt-font-weight: bold !default;
2016-01-09 18:26:02 -05:00
$kbd-box-shadow: inset 0 -.1rem 0 rgba(0,0,0,.25) !default;
2016-01-07 03:21:58 -05:00
$nested-kbd-font-weight: bold !default;
2016-01-07 03:21:58 -05:00
$list-inline-padding: 5px !default;
2014-12-02 17:02:35 -05:00
// Components
2014-12-02 17:02:35 -05:00
//
2015-12-08 03:16:46 -05:00
// Define common padding and border radius sizes and more.
2014-12-02 17:02:35 -05:00
2015-08-25 01:49:45 -04:00
$line-height-lg: (4 / 3) !default;
$line-height-sm: 1.5 !default;
2014-12-02 17:02:35 -05:00
2015-06-22 21:57:56 -04:00
$border-radius: .25rem !default;
$border-radius-lg: .3rem !default;
$border-radius-sm: .2rem !default;
2014-12-02 17:02:35 -05:00
2015-06-22 21:57:56 -04:00
$component-active-color: #fff !default;
$component-active-bg: $brand-primary !default;
2014-12-02 17:02:35 -05:00
2015-06-22 21:57:56 -04:00
$caret-width: .3em !default;
$caret-width-lg: $caret-width !default;
2014-12-02 17:02:35 -05:00
// Tables
2014-12-02 17:02:35 -05:00
//
// Customizes the `.table` component with basic values, each used across all table variations.
2014-12-02 17:02:35 -05:00
$table-cell-padding: .75rem !default;
$table-sm-cell-padding: .3rem !default;
2014-12-02 17:02:35 -05:00
$table-bg: transparent !default;
$table-bg-accent: #f9f9f9 !default;
$table-bg-hover: #f5f5f5 !default;
$table-bg-active: $table-bg-hover !default;
2014-12-02 17:02:35 -05:00
2015-11-15 02:24:48 -05:00
$table-border-width: $border-width !default;
$table-border-color: $gray-lighter !default;
2014-12-02 17:02:35 -05:00
// Buttons
2014-12-02 17:02:35 -05:00
//
// For each of Bootstrap's buttons, define text, background and border color.
2014-12-02 17:02:35 -05:00
$btn-padding-x: 1rem !default;
$btn-padding-y: .5rem !default;
$btn-line-height: 1.25 !default;
$btn-font-weight: normal !default;
2016-01-09 18:27:56 -05:00
$btn-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075) !default;
$btn-active-box-shadow: inset 0 3px 5px rgba(0,0,0,.125) !default;
2014-12-02 17:02:35 -05:00
$btn-primary-color: #fff !default;
$btn-primary-bg: $brand-primary !default;
$btn-primary-border: $btn-primary-bg !default;
2014-12-02 17:02:35 -05:00
$btn-secondary-color: $gray-dark !default;
$btn-secondary-bg: #fff !default;
2015-04-29 14:42:38 -04:00
$btn-secondary-border: #ccc !default;
2014-12-02 17:02:35 -05:00
$btn-info-color: #fff !default;
$btn-info-bg: $brand-info !default;
$btn-info-border: $btn-info-bg !default;
2014-12-02 17:02:35 -05:00
$btn-success-color: #fff !default;
$btn-success-bg: $brand-success !default;
$btn-success-border: $btn-success-bg !default;
2014-12-02 17:02:35 -05:00
$btn-warning-color: #fff !default;
$btn-warning-bg: $brand-warning !default;
$btn-warning-border: $btn-warning-bg !default;
2014-12-02 17:02:35 -05:00
$btn-danger-color: #fff !default;
$btn-danger-bg: $brand-danger !default;
$btn-danger-border: $btn-danger-bg !default;
2014-12-02 17:02:35 -05:00
$btn-link-disabled-color: $gray-light !default;
2014-12-02 17:02:35 -05:00
$btn-padding-x-sm: .5rem !default;
$btn-padding-y-sm: .25rem !default;
$btn-padding-x-lg: 1.5rem !default;
$btn-padding-y-lg: .75rem !default;
$btn-block-spacing-y: 5px !default;
$btn-toolbar-margin: 5px !default;
$split-btn-dropdown-toggle-padding-x: 8px !default;
$split-btn-lg-dropdown-toggle-padding-x: 12px !default;
2015-06-19 02:56:43 -04: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 02:56:43 -04:00
2014-12-02 17:02:35 -05:00
// Forms
2014-12-02 17:02:35 -05:00
$input-padding-x: .75rem !default;
$input-padding-y: .5rem !default;
$input-line-height: 1.25 !default;
$input-bg: #fff !default;
$input-bg-disabled: $gray-lighter !default;
2014-12-02 17:02:35 -05:00
$input-color: $gray !default;
$input-border-color: rgba(0,0,0,.15) !default;
$input-btn-border-width: $border-width !default; // For form controls and buttons
2015-07-03 21:35:46 -04:00
$input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
2014-12-02 17:02:35 -05: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 17:02:35 -05:00
$input-border-focus: #66afe9 !default;
$input-box-shadow-focus: rgba(102,175,233,.6) !default;
2014-12-02 17:02:35 -05:00
$input-color-placeholder: #999 !default;
2014-12-02 17:02:35 -05:00
$input-padding-x-sm: .5rem !default;
$input-padding-y-sm: .25rem !default;
$input-padding-x-lg: 1.5rem !default;
$input-padding-y-lg: .75rem !default;
$input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2)) !default;
$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 17:02:35 -05:00
2015-09-02 00:01:12 -04:00
$form-group-margin-bottom: $spacer-y !default;
2015-03-01 17:11:22 -05:00
$input-group-addon-bg: $gray-lighter !default;
2015-11-15 01:32:42 -05:00
$input-group-addon-border-color: $input-border-color !default;
2014-12-02 17:02:35 -05:00
$cursor-disabled: not-allowed !default;
2014-12-02 17:02:35 -05:00
$custom-control-gutter: 1.5rem !default;
$custom-control-spacer-x: 1rem !default;
$custom-control-spacer-y: .25rem !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(0,0,0,.1) !default;
$custom-control-disabled-cursor: $cursor-disabled !default;
$custom-control-disabled-indicator-bg: #eee !default;
$custom-control-disabled-description-color: #767676 !default;
$custom-control-checked-indicator-color: #fff !default;
$custom-control-checked-indicator-bg: #0074d9 !default;
$custom-control-checked-indicator-box-shadow: none !default;
$custom-control-focus-indicator-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9 !default;
$custom-control-active-indicator-color: #fff !default;
$custom-control-active-indicator-bg: #84c6ff !default;
$custom-control-active-indicator-box-shadow: none !default;
$custom-checkbox-radius: $border-radius !default;
$custom-checkbox-checked-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' 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") !default;
$custom-checkbox-indeterminate-bg: #0074d9 !default;
$custom-checkbox-indeterminate-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E") !default;
$custom-checkbox-indeterminate-box-shadow: none !default;
$custom-radio-radius: 50% !default;
$custom-radio-checked-icon: 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='%23fff'/%3E%3C/svg%3E") !default;
$custom-select-padding-x: .75rem !default;
$custom-select-padding-y: .375rem !default;
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
$custom-select-color: $input-color !default;
$custom-select-bg: #fff !default;
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
$custom-select-indicator: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") !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: #51a7e8 !default;
2016-02-06 15:29:53 -05:00
$custom-select-focus-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba(81, 167, 232, .5) !default;
$custom-select-sm-padding-y: .2rem !default;
$custom-select-sm-font-size: 75% !default;
$custom-file-height: 2.5rem !default;
$custom-file-width: 14rem !default;
$custom-file-focus-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9 !default;
$custom-file-padding-x: .5rem !default;
$custom-file-padding-y: 1rem !default;
$custom-file-line-height: 1.5 !default;
$custom-file-color: #555 !default;
$custom-file-bg: #fff !default;
$custom-file-border-width: $border-width !default;
$custom-file-border-color: #ddd !default;
$custom-file-border-radius: $border-radius !default;
$custom-file-box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05) !default;
$custom-file-button-color: $custom-file-color !default;
$custom-file-button-bg: #eee !default;
$custom-file-text: (
placeholder: (
en: "Choose file..."
),
button-label: (
en: "Browse"
)
) !default;
// Form validation icons
$form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' 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") !default;
$form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' 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") !default;
$form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' 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") !default;
2014-12-02 17:02:35 -05:00
// Dropdowns
2014-12-02 17:02:35 -05:00
//
// Dropdown menu container and contents.
2014-12-02 17:02:35 -05:00
$dropdown-min-width: 160px !default;
$dropdown-padding-y: 5px !default;
$dropdown-margin-top: 2px !default;
$dropdown-bg: #fff !default;
$dropdown-border-color: rgba(0,0,0,.15) !default;
$dropdown-border-width: $border-width !default;
$dropdown-divider-bg: #e5e5e5 !default;
2016-01-09 18:31:29 -05:00
$dropdown-box-shadow: 0 6px 12px rgba(0,0,0,.175) !default;
2014-12-02 17:02:35 -05:00
$dropdown-link-color: $gray-dark !default;
$dropdown-link-hover-color: darken($gray-dark, 5%) !default;
$dropdown-link-hover-bg: #f5f5f5 !default;
2014-12-02 17:02:35 -05:00
$dropdown-link-active-color: $component-active-color !default;
$dropdown-link-active-bg: $component-active-bg !default;
2014-12-02 17:02:35 -05:00
$dropdown-link-disabled-color: $gray-light !default;
2014-12-02 17:02:35 -05:00
$dropdown-item-padding-x: 20px !default;
$dropdown-header-color: $gray-light !default;
2014-12-02 17:02:35 -05:00
// Z-index master list
2014-12-02 17:02:35 -05: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-backdrop: 990 !default;
$zindex-navbar: 1000 !default;
$zindex-dropdown: 1000 !default;
$zindex-popover: 1060 !default;
$zindex-tooltip: 1070 !default;
$zindex-navbar-fixed: 1030 !default;
2015-04-13 22:00:59 -04:00
$zindex-navbar-sticky: 1030 !default;
Merge branch 'master' into v4 Conflicts: .gitignore Gruntfile.js _config.yml dist/css/bootstrap-theme.css dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.js dist/js/bootstrap.min.js docs/_includes/components/navbar.html docs/_includes/components/progress-bars.html docs/_includes/css/grid.html docs/_includes/css/overview.html docs/_includes/customizer-variables.html docs/_includes/getting-started/accessibility.html docs/_includes/getting-started/browser-device-support.html docs/_includes/getting-started/community.html docs/_includes/getting-started/disabling-responsiveness.html docs/_includes/getting-started/download.html docs/_includes/getting-started/examples.html docs/_includes/getting-started/license.html docs/_includes/getting-started/third-party-support.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/dropdowns.html docs/_includes/js/modal.html docs/_includes/js/popovers.html docs/_includes/js/scrollspy.html docs/_includes/js/tabs.html docs/_includes/js/tooltips.html docs/_includes/js/transitions.html docs/_includes/nav/javascript.html docs/_includes/nav/main.html docs/about.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/raw-files.min.js docs/assets/js/src/customizer.js docs/dist/css/bootstrap-theme.css docs/dist/css/bootstrap-theme.min.css docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css docs/dist/js/bootstrap.js docs/dist/js/bootstrap.min.js docs/migration.html js/affix.js js/alert.js js/button.js js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/popover.js js/scrollspy.js js/tab.js js/tests/unit/affix.js js/tests/unit/button.js js/tests/unit/carousel.js js/tests/unit/modal.js js/tests/unit/tooltip.js js/tests/visual/modal.html js/tooltip.js less/component-animations.less less/jumbotron.less less/mixins/background-variant.less less/mixins/buttons.less less/mixins/responsive-visibility.less less/mixins/text-emphasis.less less/navbar.less less/navs.less less/scaffolding.less less/tooltip.less less/utilities.less less/variables.less package.json scss/_buttons.scss scss/_forms.scss scss/_modal.scss
2015-03-29 03:08:54 -04:00
$zindex-modal-bg: 1040 !default;
$zindex-modal: 1050 !default;
2014-12-02 17:02:35 -05:00
// Navbar
2014-12-02 17:02:35 -05:00
$navbar-border-radius: $border-radius !default;
$navbar-padding-x: $spacer !default;
$navbar-padding-y: ($spacer / 2) !default;
$navbar-brand-padding-y: .25rem !default;
$navbar-dark-color: rgba(255,255,255,.5) !default;
$navbar-dark-hover-color: rgba(255,255,255,.75) !default;
$navbar-dark-active-color: rgba(255,255,255,1) !default;
$navbar-dark-disabled-color: rgba(255,255,255,.25) !default;
$navbar-light-color: rgba(0,0,0,.3) !default;
$navbar-light-hover-color: rgba(0,0,0,.6) !default;
$navbar-light-active-color: rgba(0,0,0,.8) !default;
$navbar-light-disabled-color: rgba(0,0,0,.15) !default;
2014-12-02 17:02:35 -05:00
// Navs
2014-12-02 17:02:35 -05:00
2016-01-06 18:47:28 -05:00
$nav-item-margin: .2rem !default;
$nav-item-inline-spacer: 1rem !default;
$nav-link-padding: .5em 1em !default;
$nav-link-hover-bg: $gray-lighter !default;
$nav-disabled-link-color: $gray-light !default;
$nav-disabled-link-hover-color: $gray-light !default;
$nav-disabled-link-hover-bg: transparent !default;
$nav-tabs-border-color: #ddd !default;
$nav-tabs-border-width: $border-width !default;
$nav-tabs-link-hover-border-color: $gray-lighter !default;
$nav-tabs-active-link-hover-color: $gray !default;
$nav-tabs-active-link-hover-bg: $body-bg !default;
2016-01-06 18:47:28 -05: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;
$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 17:02:35 -05:00
// Pagination
2014-12-02 17:02:35 -05:00
$pagination-padding-x: .75rem !default;
$pagination-padding-y: .5rem !default;
$pagination-padding-x-sm: .75rem !default;
$pagination-padding-y-sm: .275rem !default;
$pagination-padding-x-lg: 1.5rem !default;
$pagination-padding-y-lg: .75rem !default;
$pagination-color: $link-color !default;
$pagination-bg: #fff !default;
$pagination-border-width: $border-width !default;
$pagination-border-color: #ddd !default;
2014-12-02 17:02:35 -05:00
$pagination-hover-color: $link-hover-color !default;
$pagination-hover-bg: $gray-lighter !default;
$pagination-hover-border: #ddd !default;
2014-12-02 17:02:35 -05:00
$pagination-active-color: #fff !default;
$pagination-active-bg: $brand-primary !default;
$pagination-active-border: $brand-primary !default;
2014-12-02 17:02:35 -05:00
$pagination-disabled-color: $gray-light !default;
$pagination-disabled-bg: #fff !default;
$pagination-disabled-border: #ddd !default;
2014-12-02 17:02:35 -05:00
// Jumbotron
2014-12-02 17:02:35 -05:00
$jumbotron-padding: 2rem !default;
$jumbotron-bg: $gray-lighter !default;
2014-12-02 17:02:35 -05:00
// Form states and alerts
2014-12-02 17:02:35 -05:00
//
// Define colors for form feedback states and, by default, alerts.
2014-12-02 17:02:35 -05:00
$state-success-text: #3c763d !default;
$state-success-bg: #dff0d8 !default;
$state-success-border: darken($state-success-bg, 5%) !default;
2014-12-02 17:02:35 -05:00
$state-info-text: #31708f !default;
$state-info-bg: #d9edf7 !default;
$state-info-border: darken($state-info-bg, 7%) !default;
2014-12-02 17:02:35 -05:00
$state-warning-text: #8a6d3b !default;
$state-warning-bg: #fcf8e3 !default;
$mark-bg: $state-warning-bg !default;
$state-warning-border: darken($state-warning-bg, 5%) !default;
2014-12-02 17:02:35 -05:00
$state-danger-text: #a94442 !default;
$state-danger-bg: #f2dede !default;
$state-danger-border: darken($state-danger-bg, 5%) !default;
2014-12-02 17:02:35 -05:00
// Cards
$card-spacer-x: 1.25rem !default;
$card-spacer-y: .75rem !default;
2015-12-08 03:49:31 -05:00
$card-border-width: 1px !default;
$card-border-radius: $border-radius !default;
2016-01-17 21:55:24 -05:00
$card-border-color: rgba(0,0,0,.125) !default;
2015-12-08 03:49:31 -05:00
$card-border-radius-inner: $card-border-radius !default;
$card-cap-bg: #f5f5f5 !default;
2015-09-22 19:40:34 -04:00
$card-bg: #fff !default;
2015-09-26 08:57:13 -04:00
$card-link-hover-color: #fff !default;
$card-deck-margin: .625rem !default;
$card-columns-sm-up-column-gap: 1.25rem !default;
2015-09-26 08:57:13 -04:00
// Tooltips
2014-12-02 17:02:35 -05:00
$tooltip-max-width: 200px !default;
$tooltip-color: #fff !default;
$tooltip-bg: #000 !default;
$tooltip-opacity: .9 !default;
$tooltip-padding-y: 3px !default;
$tooltip-padding-x: 8px !default;
$tooltip-margin: 3px !default;
2014-12-02 17:02:35 -05:00
$tooltip-arrow-width: 5px !default;
$tooltip-arrow-color: $tooltip-bg !default;
2014-12-02 17:02:35 -05:00
// Popovers
2014-12-02 17:02:35 -05:00
$popover-bg: #fff !default;
$popover-max-width: 276px !default;
2015-11-15 02:11:20 -05:00
$popover-border-width: $border-width !default;
$popover-border-color: rgba(0,0,0,.2) !default;
2016-01-09 18:33:13 -05:00
$popover-box-shadow: 0 5px 10px rgba(0,0,0,.2) !default;
2014-12-02 17:02:35 -05:00
$popover-title-bg: darken($popover-bg, 3%) !default;
$popover-title-padding-x: 14px !default;
$popover-title-padding-y: 8px !default;
$popover-content-padding-x: 14px !default;
$popover-content-padding-y: 9px !default;
2014-12-02 17:02:35 -05:00
$popover-arrow-width: 10px !default;
$popover-arrow-color: $popover-bg !default;
2014-12-02 17:02:35 -05:00
$popover-arrow-outer-width: ($popover-arrow-width + 1px) !default;
2016-02-06 15:29:53 -05:00
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
2014-12-02 17:02:35 -05:00
2016-02-11 03:54:30 -05:00
// Tags
$tag-default-bg: $gray-light !default;
$tag-primary-bg: $brand-primary !default;
$tag-success-bg: $brand-success !default;
$tag-info-bg: $brand-info !default;
$tag-warning-bg: $brand-warning !default;
$tag-danger-bg: $brand-danger !default;
$tag-color: #fff !default;
$tag-link-hover-color: #fff !default;
$tag-font-size: 75% !default;
$tag-font-weight: bold !default;
$tag-padding-x: .4em !default;
$tag-padding-y: .25em !default;
$tag-pill-padding-x: .6em !default;
// Use a higher than normal value to ensure completely rounded edges when
// customizing padding or font-size on labels.
$tag-pill-border-radius: 10rem !default;
2014-12-02 17:02:35 -05:00
// Modals
2014-12-02 17:02:35 -05:00
// Padding applied to the modal body
$modal-inner-padding: 15px !default;
2014-12-02 17:02:35 -05:00
$modal-dialog-margin: 10px !default;
$modal-dialog-sm-up-margin-y: 30px !default;
$modal-title-padding: 15px !default;
$modal-title-line-height: $line-height-base !default;
2014-12-02 17:02:35 -05:00
$modal-content-bg: #fff !default;
$modal-content-border-color: rgba(0,0,0,.2) !default;
$modal-content-border-width: $border-width !default;
$modal-content-xs-box-shadow: 0 3px 9px rgba(0,0,0,.5) !default;
$modal-content-sm-up-box-shadow: 0 5px 15px rgba(0,0,0,.5) !default;
2014-12-02 17:02:35 -05:00
$modal-backdrop-bg: #000 !default;
$modal-backdrop-opacity: .5 !default;
$modal-header-border-color: #e5e5e5 !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;
2014-12-02 17:02:35 -05:00
$modal-lg: 900px !default;
$modal-md: 600px !default;
$modal-sm: 300px !default;
2014-12-02 17:02:35 -05:00
// Alerts
2014-12-02 17:02:35 -05:00
//
// Define alert colors, border radius, and padding.
2014-12-02 17:02:35 -05:00
$alert-padding: 15px !default;
$alert-border-radius: $border-radius !default;
$alert-link-font-weight: bold !default;
$alert-border-width: $border-width !default;
2014-12-02 17:02:35 -05: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 17:02:35 -05: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 17:02:35 -05: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 17:02:35 -05: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 17:02:35 -05:00
// Progress bars
2014-12-02 17:02:35 -05:00
$progress-bg: #eee !default;
$progress-bar-color: #0074d9 !default;
$progress-border-radius: $border-radius !default;
$progress-box-shadow: inset 0 .1rem .1rem rgba(0,0,0,.1) !default;
2014-12-02 17:02:35 -05: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 17:02:35 -05:00
// List group
2014-12-02 17:02:35 -05:00
$list-group-bg: #fff !default;
$list-group-border-color: #ddd !default;
$list-group-border-width: $border-width !default;
$list-group-border-radius: $border-radius !default;
2014-12-02 17:02:35 -05:00
$list-group-hover-bg: #f5f5f5 !default;
$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;
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
2014-12-02 17:02:35 -05: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 17:02:35 -05:00
$list-group-link-color: #555 !default;
$list-group-link-hover-color: $list-group-link-color !default;
$list-group-link-heading-color: #333 !default;
2014-12-02 17:02:35 -05:00
$list-group-item-padding-x: 1.25rem !default;
$list-group-item-padding-y: .75rem !default;
$list-group-item-heading-margin-bottom: 5px !default;
2014-12-02 17:02:35 -05:00
2015-08-11 02:29:36 -04:00
// Image thumbnails
2014-12-02 17:02:35 -05: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;
2016-01-09 18:35:19 -05:00
$thumbnail-box-shadow: 0 1px 2px rgba(0,0,0,.075) !default;
2014-12-02 17:02:35 -05:00
// Figures
$figure-caption-font-size: 90% !default;
// Breadcrumbs
2014-12-02 17:02:35 -05:00
$breadcrumb-padding-y: .75rem !default;
$breadcrumb-padding-x: 1rem !default;
$breadcrumb-item-padding: .5rem !default;
2014-12-02 17:02:35 -05:00
$breadcrumb-bg: $gray-lighter !default;
$breadcrumb-divider-color: $gray-light !default;
$breadcrumb-active-color: $gray-light !default;
$breadcrumb-divider: "/" !default;
2014-12-02 17:02:35 -05:00
// Media objects
$media-margin-top: 15px !default;
$media-heading-margin-bottom: 5px !default;
$media-alignment-padding-x: 10px !default;
// Carousel
2014-12-02 17:02:35 -05:00
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
2014-12-02 17:02:35 -05:00
$carousel-control-color: #fff !default;
$carousel-control-width: 15% !default;
$carousel-control-sm-up-size: 30px !default;
$carousel-control-opacity: .5 !default;
$carousel-control-font-size: 20px !default;
2014-12-02 17:02:35 -05:00
$carousel-indicators-width: 60% !default;
$carousel-indicator-size: 10px !default;
$carousel-indicator-active-size: 12px !default;
$carousel-indicator-active-bg: #fff !default;
$carousel-indicator-border-color: #fff !default;
2014-12-02 17:02:35 -05:00
$carousel-caption-width: 70% !default;
$carousel-caption-sm-up-width: 60% !default;
$carousel-caption-color: #fff !default;
2014-12-02 17:02:35 -05:00
// Close
2014-12-02 17:02:35 -05:00
$close-font-weight: bold !default;
$close-color: #000 !default;
$close-text-shadow: 0 1px 0 #fff !default;
2014-12-02 17:02:35 -05:00
// Code
2014-12-02 17:02:35 -05:00
$code-font-size: 90% !default;
$code-padding-x: .4rem !default;
$code-padding-y: .2rem !default;
2015-06-09 19:28:17 -04:00
$code-color: #bd4147 !default;
$code-bg: #f7f7f9 !default;
2014-12-02 17:02:35 -05:00
$kbd-color: #fff !default;
$kbd-bg: #333 !default;
2014-12-02 17:02:35 -05:00
$pre-bg: #f7f7f9 !default;
$pre-color: $gray-dark !default;
$pre-border-color: #ccc !default;
$pre-scrollable-max-height: 340px !default;