lib/generators/binco/install/templates/_bootstrap_variables.scss in binco-3.2.1 vs lib/generators/binco/install/templates/_bootstrap_variables.scss in binco-3.3.0

- old
+ new

@@ -6,11 +6,10 @@ // // // Color system // // -// stylelint-disable // $white: #fff !default; // $gray-100: #f8f9fa !default; // $gray-200: #e9ecef !default; // $gray-300: #dee2e6 !default; // $gray-400: #ced4da !default; @@ -20,22 +19,27 @@ // $gray-800: #343a40 !default; // $gray-900: #212529 !default; // $black: #000 !default; // // $grays: () !default; -// $grays: map-merge(( -// "100": $gray-100, -// "200": $gray-200, -// "300": $gray-300, -// "400": $gray-400, -// "500": $gray-500, -// "600": $gray-600, -// "700": $gray-700, -// "800": $gray-800, -// "900": $gray-900 -// ), $grays); +// stylelint-disable-next-line scss/dollar-variable-default +// $grays: map-merge( +// ( +// "100": $gray-100, +// "200": $gray-200, +// "300": $gray-300, +// "400": $gray-400, +// "500": $gray-500, +// "600": $gray-600, +// "700": $gray-700, +// "800": $gray-800, +// "900": $gray-900 +// ), +// $grays +// ); // +// // $blue: #007bff !default; // $indigo: #6610f2 !default; // $purple: #6f42c1 !default; // $pink: #e83e8c !default; // $red: #dc3545 !default; @@ -44,25 +48,29 @@ // $green: #28a745 !default; // $teal: #20c997 !default; // $cyan: #17a2b8 !default; // // $colors: () !default; -// $colors: map-merge(( -// "blue": $blue, -// "indigo": $indigo, -// "purple": $purple, -// "pink": $pink, -// "red": $red, -// "orange": $orange, -// "yellow": $yellow, -// "green": $green, -// "teal": $teal, -// "cyan": $cyan, -// "white": $white, -// "gray": $gray-600, -// "gray-dark": $gray-800 -// ), $colors); +// stylelint-disable-next-line scss/dollar-variable-default +// $colors: map-merge( +// ( +// "blue": $blue, +// "indigo": $indigo, +// "purple": $purple, +// "pink": $pink, +// "red": $red, +// "orange": $orange, +// "yellow": $yellow, +// "green": $green, +// "teal": $teal, +// "cyan": $cyan, +// "white": $white, +// "gray": $gray-600, +// "gray-dark": $gray-800 +// ), +// $colors +// ); // // $primary: $blue !default; // $secondary: $gray-600 !default; // $success: $green !default; // $info: $cyan !default; @@ -70,31 +78,34 @@ // $danger: $red !default; // $light: $gray-100 !default; // $dark: $gray-800 !default; // // $theme-colors: () !default; -// $theme-colors: map-merge(( -// "primary": $primary, -// "secondary": $secondary, -// "success": $success, -// "info": $info, -// "warning": $warning, -// "danger": $danger, -// "light": $light, -// "dark": $dark -// ), $theme-colors); -// stylelint-enable +// stylelint-disable-next-line scss/dollar-variable-default +// $theme-colors: map-merge( +// ( +// "primary": $primary, +// "secondary": $secondary, +// "success": $success, +// "info": $info, +// "warning": $warning, +// "danger": $danger, +// "light": $light, +// "dark": $dark +// ), +// $theme-colors +// ); // // Set a specific jump point for requesting color jumps // $theme-color-interval: 8% !default; // // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255. -// $yiq-contrasted-threshold: 150 !default; +// $yiq-contrasted-threshold: 150 !default; // // Customize the light and dark text colors for use in our YIQ color contrast function. -// $yiq-text-dark: $gray-900 !default; -// $yiq-text-light: $white !default; +// $yiq-text-dark: $gray-900 !default; +// $yiq-text-light: $white !default; // // Options // // Quickly modify global styling by enabling or disabling optional features. // @@ -112,31 +123,38 @@ // // 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. // -// stylelint-disable // $spacer: 1rem !default; // $spacers: () !default; -// $spacers: map-merge(( -// 0: 0, -// 1: ($spacer * .25), -// 2: ($spacer * .5), -// 3: $spacer, -// 4: ($spacer * 1.5), -// 5: ($spacer * 3) -// ), $spacers); +// stylelint-disable-next-line scss/dollar-variable-default +// $spacers: map-merge( +// ( +// 0: 0, +// 1: ($spacer * .25), +// 2: ($spacer * .5), +// 3: $spacer, +// 4: ($spacer * 1.5), +// 5: ($spacer * 3) +// ), +// $spacers +// ); // // This variable affects the `.h-*` and `.w-*` classes. // $sizes: () !default; -// $sizes: map-merge(( -// 25: 25%, -// 50: 50%, -// 75: 75%, -// 100: 100% -// ), $sizes); -// stylelint-enable +// stylelint-disable-next-line scss/dollar-variable-default +// $sizes: map-merge( +// ( +// 25: 25%, +// 50: 50%, +// 75: 75%, +// 100: 100%, +// auto: auto +// ), +// $sizes +// ); // // Body // // Settings for the `<body>` element. // @@ -163,15 +181,15 @@ // // Define the minimum dimensions at which your layout will change, // adapting to different screen sizes, for use in media queries. // // $grid-breakpoints: ( -// xs: 0, -// sm: 576px, -// md: 768px, -// lg: 992px, -// xl: 1200px +// 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); // @@ -179,14 +197,14 @@ // Grid containers // // Define the maximum width of `.container` for different screen sizes. // // $container-max-widths: ( -// sm: 540px, -// md: 720px, -// lg: 960px, -// xl: 1140px +// sm: 540px, +// md: 720px, +// lg: 960px, +// xl: 1140px // ) !default; // // @include _assert-ascending($container-max-widths, "$container-max-widths"); // // @@ -209,10 +227,14 @@ // // $border-radius: .25rem !default; // $border-radius-lg: .3rem !default; // $border-radius-sm: .2rem !default; // +// $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default; +// $box-shadow: 0 .5rem 1rem rgba($black, .15) !default; +// $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default; +// // $component-active-color: $white !default; // $component-active-bg: theme-color("primary") !default; // // $caret-width: .3em !default; // @@ -224,11 +246,11 @@ // Fonts // // Font, line-height, and color for body text, headings, and more. // // stylelint-disable value-keyword-case -// $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; +// $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default; // $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default; // $font-family-base: $font-family-sans-serif !default; // stylelint-enable value-keyword-case // // $font-size-base: 1rem !default; // Assumes the browser default, typically `16px` @@ -315,11 +337,14 @@ // $table-dark-accent-bg: rgba($white, .05) !default; // $table-dark-hover-bg: rgba($white, .075) !default; // $table-dark-border-color: lighten($gray-900, 7.5%) !default; // $table-dark-color: $body-bg !default; // +// $table-striped-order: odd !default; // +// $table-caption-color: $text-muted !default; +// // Buttons + Forms // // Shared variables that are reassigned to `$input-` and `$btn-` specific variables. // // $input-btn-padding-y: .375rem !default; @@ -378,10 +403,12 @@ // $btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default; // // // Forms // +// $label-margin-bottom: .5rem !default; +// // $input-padding-y: $input-btn-padding-y !default; // $input-padding-x: $input-btn-padding-x !default; // $input-line-height: $input-btn-line-height !default; // // $input-padding-y-sm: $input-btn-padding-y-sm !default; @@ -409,10 +436,11 @@ // $input-focus-color: $input-color !default; // $input-focus-width: $input-btn-focus-width !default; // $input-focus-box-shadow: $input-btn-focus-box-shadow !default; // // $input-placeholder-color: $gray-600 !default; +// $input-plaintext-color: $body-color !default; // // $input-height-border: $input-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; @@ -438,20 +466,22 @@ // // $input-group-addon-color: $input-color !default; // $input-group-addon-bg: $gray-200 !default; // $input-group-addon-border-color: $input-border-color !default; // +// $custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default; +// // $custom-control-gutter: 1.5rem !default; // $custom-control-spacer-x: 1rem !default; // // $custom-control-indicator-size: 1rem !default; // $custom-control-indicator-bg: $gray-300 !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-200 !default; -// $custom-control-label-disabled-color: $gray-600 !default; +// $custom-control-label-disabled-color: $gray-600 !default; // // $custom-control-indicator-checked-color: $component-active-color !default; // $custom-control-indicator-checked-bg: $component-active-bg !default; // $custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default; // $custom-control-indicator-checked-box-shadow: none !default; @@ -463,46 +493,67 @@ // $custom-control-indicator-active-box-shadow: none !default; // // $custom-checkbox-indicator-border-radius: $border-radius !default; // $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default; // -// $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default; -// $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default; -// $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default; -// $custom-checkbox-indicator-indeterminate-box-shadow: none !default; +// $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default; +// $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default; +// $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default; +// $custom-checkbox-indicator-indeterminate-box-shadow: none !default; // // $custom-radio-indicator-border-radius: 50% !default; // $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default; // // $custom-select-padding-y: .375rem !default; -// $custom-select-padding-x: .75rem !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-600 !default; -// $custom-select-bg: $white !default; +// $custom-select-bg: $input-bg !default; // $custom-select-disabled-bg: $gray-200 !default; // $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions // $custom-select-indicator-color: $gray-800 !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-box-shadow: inset 0 1px 2px rgba($black, .075) !default; // // $custom-select-focus-border-color: $input-focus-border-color !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-focus-width: $input-btn-focus-width !default; +// $custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width rgba($custom-select-focus-border-color, .5) !default; // // $custom-select-font-size-sm: 75% !default; // $custom-select-height-sm: $input-height-sm !default; // // $custom-select-font-size-lg: 125% !default; // $custom-select-height-lg: $input-height-lg !default; // +// $custom-range-track-width: 100% !default; +// $custom-range-track-height: .5rem !default; +// $custom-range-track-cursor: pointer !default; +// $custom-range-track-bg: $gray-300 !default; +// $custom-range-track-border-radius: 1rem !default; +// $custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default; +// +// $custom-range-thumb-width: 1rem !default; +// $custom-range-thumb-height: $custom-range-thumb-width !default; +// $custom-range-thumb-bg: $component-active-bg !default; +// $custom-range-thumb-border: 0 !default; +// $custom-range-thumb-border-radius: 1rem !default; +// $custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default; +// $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default; +// $custom-range-thumb-focus-box-shadow-width: $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge +// $custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default; +// // $custom-file-height: $input-height !default; +// $custom-file-height-inner: $input-height-inner !default; // $custom-file-focus-border-color: $input-focus-border-color !default; // $custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default; +// $custom-file-disabled-bg: $input-disabled-bg !default; // // $custom-file-padding-y: $input-btn-padding-y !default; // $custom-file-padding-x: $input-btn-padding-x !default; // $custom-file-line-height: $input-btn-line-height !default; // $custom-file-color: $input-color !default; @@ -583,10 +634,13 @@ // // $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; // +// $nav-divider-color: $gray-200 !default; +// $nav-divider-margin-y: ($spacer / 2) !default; +// // Navbar // // $navbar-padding-y: ($spacer / 2) !default; // $navbar-padding-x: $spacer !default; // @@ -631,10 +685,11 @@ // $pagination-bg: $white !default; // $pagination-border-width: $border-width !default; // $pagination-border-color: $gray-300 !default; // // $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default; +// $pagination-focus-outline: 0 !default; // // $pagination-hover-color: $link-hover-color !default; // $pagination-hover-bg: $gray-200 !default; // $pagination-hover-border-color: $gray-300 !default; // @@ -674,23 +729,23 @@ // $card-columns-margin: $card-spacer-y !default; // // // Tooltips // -// $tooltip-font-size: $font-size-sm !default; -// $tooltip-max-width: 200px !default; -// $tooltip-color: $white !default; -// $tooltip-bg: $black !default; -// $tooltip-border-radius: $border-radius !default; -// $tooltip-opacity: .9 !default; -// $tooltip-padding-y: .25rem !default; -// $tooltip-padding-x: .5rem !default; -// $tooltip-margin: 0 !default; +// $tooltip-font-size: $font-size-sm !default; +// $tooltip-max-width: 200px !default; +// $tooltip-color: $white !default; +// $tooltip-bg: $black !default; +// $tooltip-border-radius: $border-radius !default; +// $tooltip-opacity: .9 !default; +// $tooltip-padding-y: .25rem !default; +// $tooltip-padding-x: .5rem !default; +// $tooltip-margin: 0 !default; // -// $tooltip-arrow-width: .8rem !default; -// $tooltip-arrow-height: .4rem !default; -// $tooltip-arrow-color: $tooltip-bg !default; +// $tooltip-arrow-width: .8rem !default; +// $tooltip-arrow-height: .4rem !default; +// $tooltip-arrow-color: $tooltip-bg !default; // // // Popovers // // $popover-font-size: $font-size-sm !default; @@ -732,30 +787,31 @@ // // // Modals // // Padding applied to the modal body -// $modal-inner-padding: 1rem !default; +// $modal-inner-padding: 1rem !default; // -// $modal-dialog-margin: .5rem !default; -// $modal-dialog-margin-y-sm-up: 1.75rem !default; +// $modal-dialog-margin: .5rem !default; +// $modal-dialog-margin-y-sm-up: 1.75rem !default; // // $modal-title-line-height: $line-height-base !default; // -// $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 .25rem .5rem rgba($black, .5) !default; -// $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default; +// $modal-content-bg: $white !default; +// $modal-content-border-color: rgba($black, .2) !default; +// $modal-content-border-width: $border-width !default; +// $modal-content-border-radius: $border-radius-lg !default; +// $modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default; +// $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default; // -// $modal-backdrop-bg: $black !default; -// $modal-backdrop-opacity: .5 !default; -// $modal-header-border-color: $gray-200 !default; -// $modal-footer-border-color: $modal-header-border-color !default; -// $modal-header-border-width: $modal-content-border-width !default; -// $modal-footer-border-width: $modal-header-border-width !default; -// $modal-header-padding: 1rem !default; +// $modal-backdrop-bg: $black !default; +// $modal-backdrop-opacity: .5 !default; +// $modal-header-border-color: $gray-200 !default; +// $modal-footer-border-color: $modal-header-border-color !default; +// $modal-header-border-width: $modal-content-border-width !default; +// $modal-footer-border-width: $modal-header-border-width !default; +// $modal-header-padding: 1rem !default; // // $modal-lg: 800px !default; // $modal-md: 500px !default; // $modal-sm: 300px !default; // @@ -840,13 +896,15 @@ // $breadcrumb-margin-bottom: 1rem !default; // // $breadcrumb-bg: $gray-200 !default; // $breadcrumb-divider-color: $gray-600 !default; // $breadcrumb-active-color: $gray-600 !default; -// $breadcrumb-divider: "/" !default; +// $breadcrumb-divider: quote("/") !default; // +// $breadcrumb-border-radius: $border-radius !default; // +// // Carousel // // $carousel-control-color: $white !default; // $carousel-control-width: 15% !default; // $carousel-control-opacity: .5 !default; @@ -862,10 +920,10 @@ // $carousel-control-icon-width: 20px !default; // // $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default; // $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default; // -// $carousel-transition: transform .6s ease !default; +// $carousel-transition: transform .6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`) // // // Close // // $close-font-size: $font-size-base * 1.5 !default;