mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-18 09:26:05 +00:00
849 lines
24 KiB
SCSS
849 lines
24 KiB
SCSS
|
/*!
|
|||
|
* Created by Kroplet (https://www.kroplet.com)
|
|||
|
* The easiest way to create Bootstrap 4 themes.
|
|||
|
*/
|
|||
|
|
|||
|
//
|
|||
|
//Colors
|
|||
|
//
|
|||
|
|
|||
|
// Base Colors
|
|||
|
|
|||
|
$white: #ffffff;
|
|||
|
$gray-100: #eceff1;
|
|||
|
$gray-200: #cfd8dc;
|
|||
|
$gray-300: #b0bec5;
|
|||
|
$gray-400: #90a4ae;
|
|||
|
$gray-500: #78909c;
|
|||
|
$gray-600: #607d8b;
|
|||
|
$gray-700: #546e7a;
|
|||
|
$gray-800: #455a64;
|
|||
|
$gray-900: #263238;
|
|||
|
$black: #000000;
|
|||
|
$blue: #2979ff;
|
|||
|
$indigo: #3d5afe;
|
|||
|
$purple: #d500f9;
|
|||
|
$pink: #f50057;
|
|||
|
$red: #ff1744;
|
|||
|
$orange: #ff9100;
|
|||
|
$yellow: #ffea00;
|
|||
|
$green: #00e676;
|
|||
|
$teal: #1de9b6;
|
|||
|
$cyan: #00e5ff;
|
|||
|
|
|||
|
// Theme Colors
|
|||
|
|
|||
|
$primary: $teal;
|
|||
|
$secondary: $white;
|
|||
|
$success: $green;
|
|||
|
$info: $cyan;
|
|||
|
$warning: $yellow;
|
|||
|
$danger: $red;
|
|||
|
$light: $gray-100;
|
|||
|
$dark: darken($gray-900, 10%);
|
|||
|
|
|||
|
$theme-colors: ();
|
|||
|
$theme-colors: map-merge(
|
|||
|
(
|
|||
|
'primary': $primary,
|
|||
|
'secondary': $secondary,
|
|||
|
'success': $success,
|
|||
|
'info': $info,
|
|||
|
'warning': $warning,
|
|||
|
'danger': $danger,
|
|||
|
'light': $light,
|
|||
|
'dark': $dark,
|
|||
|
),
|
|||
|
$theme-colors
|
|||
|
);
|
|||
|
$theme-color-interval: 8%;
|
|||
|
$yiq-contrasted-threshold: 150;
|
|||
|
$yiq-text-dark: darken($gray-900, 10%);
|
|||
|
$yiq-text-light: $white;
|
|||
|
|
|||
|
//
|
|||
|
//Global
|
|||
|
//
|
|||
|
|
|||
|
$enable-caret: true;
|
|||
|
$enable-rounded: true;
|
|||
|
$enable-shadows: false;
|
|||
|
$enable-gradients: false;
|
|||
|
$enable-transitions: true;
|
|||
|
$enable-hover-media-query: false;
|
|||
|
$enable-grid-classes: true;
|
|||
|
$enable-print-styles: true;
|
|||
|
|
|||
|
//
|
|||
|
//Spacing
|
|||
|
//
|
|||
|
|
|||
|
$spacer: 1rem;
|
|||
|
$spacers: (
|
|||
|
0: 0,
|
|||
|
1: (
|
|||
|
$spacer * 0.25,
|
|||
|
),
|
|||
|
2: (
|
|||
|
$spacer * 0.5,
|
|||
|
),
|
|||
|
3: $spacer,
|
|||
|
4: (
|
|||
|
$spacer * 1.5,
|
|||
|
),
|
|||
|
5: (
|
|||
|
$spacer * 3,
|
|||
|
),
|
|||
|
6: (
|
|||
|
$spacer * 6,
|
|||
|
),
|
|||
|
7: (
|
|||
|
$spacer * 9,
|
|||
|
),
|
|||
|
8: (
|
|||
|
$spacer * 12,
|
|||
|
),
|
|||
|
9: (
|
|||
|
$spacer * 15,
|
|||
|
),
|
|||
|
);
|
|||
|
$sizes: (
|
|||
|
25: 25%,
|
|||
|
50: 50%,
|
|||
|
75: 75%,
|
|||
|
100: 100%,
|
|||
|
);
|
|||
|
|
|||
|
//
|
|||
|
//Body
|
|||
|
//
|
|||
|
|
|||
|
$body-bg: $black;
|
|||
|
$body-color: $gray-200;
|
|||
|
|
|||
|
//
|
|||
|
//Links
|
|||
|
//
|
|||
|
|
|||
|
$link-color: $primary;
|
|||
|
$link-decoration: none;
|
|||
|
$link-hover-color: darken($primary, 20%);
|
|||
|
$link-hover-decoration: none;
|
|||
|
|
|||
|
//
|
|||
|
//Paragraphs
|
|||
|
//
|
|||
|
|
|||
|
$paragraph-margin-bottom: 1rem;
|
|||
|
|
|||
|
//
|
|||
|
//GridBreakpoints
|
|||
|
//
|
|||
|
|
|||
|
$grid-breakpoints: (
|
|||
|
xs: 0,
|
|||
|
sm: 576px,
|
|||
|
md: 768px,
|
|||
|
lg: 992px,
|
|||
|
xl: 1200px,
|
|||
|
);
|
|||
|
|
|||
|
//
|
|||
|
//GridContainers
|
|||
|
//
|
|||
|
|
|||
|
$container-max-widths: (
|
|||
|
sm: 540px,
|
|||
|
md: 720px,
|
|||
|
lg: 960px,
|
|||
|
xl: 1140px,
|
|||
|
);
|
|||
|
|
|||
|
//
|
|||
|
//GridColumns
|
|||
|
//
|
|||
|
|
|||
|
$grid-columns: 12;
|
|||
|
$grid-gutter-width: 30px;
|
|||
|
|
|||
|
//
|
|||
|
//Components
|
|||
|
//
|
|||
|
|
|||
|
$line-height-lg: 1.5;
|
|||
|
$line-height-sm: 1.5;
|
|||
|
$border-width: 2px;
|
|||
|
$border-color: $gray-200;
|
|||
|
$border-radius: 0.3rem;
|
|||
|
$border-radius-lg: 0.4rem;
|
|||
|
$border-radius-sm: 0.25rem;
|
|||
|
$box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075);
|
|||
|
$box-shadow: 0 0.5rem 1rem rgba($black, 0.15);
|
|||
|
$box-shadow-lg: 0 1rem 3rem rgba($black, 0.175);
|
|||
|
$component-active-color: $white;
|
|||
|
$component-active-bg: theme-color('primary');
|
|||
|
$caret-width: 0.3em;
|
|||
|
$transition-base: all 0.25s ease-in-out;
|
|||
|
$transition-fade: opacity 0.15s linear;
|
|||
|
$transition-collapse: height 0.35s ease;
|
|||
|
|
|||
|
//
|
|||
|
//Fonts
|
|||
|
//
|
|||
|
|
|||
|
$font-family-sans-serif: 'Inter UI', -apple-system, BlinkMacSystemFont,
|
|||
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
|
|||
|
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|||
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
|
|||
|
'Liberation Mono', 'Courier New', monospace;
|
|||
|
$font-family-base: $font-family-sans-serif;
|
|||
|
$font-size-base: 1rem;
|
|||
|
$font-size-lg: ($font-size-base * 1.25);
|
|||
|
$font-size-sm: ($font-size-base * 0.875);
|
|||
|
$font-weight-light: 300;
|
|||
|
$font-weight-normal: 400;
|
|||
|
$font-weight-bold: 700;
|
|||
|
$font-weight-base: $font-weight-normal;
|
|||
|
$line-height-base: 1.5;
|
|||
|
$h1-font-size: $font-size-base * 3;
|
|||
|
$h2-font-size: $font-size-base * 2.5;
|
|||
|
$h3-font-size: $font-size-base * 1.5;
|
|||
|
$h4-font-size: $font-size-base * 1.375;
|
|||
|
$h5-font-size: $font-size-base * 1.25;
|
|||
|
$h6-font-size: $font-size-base;
|
|||
|
$headings-margin-bottom: $spacer;
|
|||
|
$headings-font-family: inherit;
|
|||
|
$headings-font-weight: $font-weight-bold;
|
|||
|
$headings-line-height: 1.5;
|
|||
|
$headings-color: $white;
|
|||
|
$display1-size: 5rem;
|
|||
|
$display2-size: 4.5rem;
|
|||
|
$display3-size: 3.5rem;
|
|||
|
$display4-size: 2.5rem;
|
|||
|
$display1-weight: 300;
|
|||
|
$display2-weight: 300;
|
|||
|
$display3-weight: 300;
|
|||
|
$display4-weight: 300;
|
|||
|
$display-line-height: $headings-line-height;
|
|||
|
$lead-font-size: ($font-size-base * 1.2);
|
|||
|
$lead-font-weight: 500;
|
|||
|
$small-font-size: 80%;
|
|||
|
$text-muted: $gray-500;
|
|||
|
$blockquote-small-color: $gray-500;
|
|||
|
$blockquote-font-size: ($font-size-base * 1.25);
|
|||
|
$hr-border-color: $gray-800;
|
|||
|
$hr-border-width: $border-width;
|
|||
|
$mark-padding: 0.2em;
|
|||
|
$dt-font-weight: $font-weight-bold;
|
|||
|
$kbd-box-shadow: inset 0 -0.1rem 0 rgba($black, 0.25);
|
|||
|
$nested-kbd-font-weight: $font-weight-bold;
|
|||
|
$list-inline-padding: 0.5rem;
|
|||
|
$mark-bg: #fcf8e3;
|
|||
|
$hr-margin-y: $spacer;
|
|||
|
|
|||
|
//
|
|||
|
//Tables
|
|||
|
//
|
|||
|
|
|||
|
$table-cell-padding: 0.75rem;
|
|||
|
$table-cell-padding-sm: 0.3rem;
|
|||
|
$table-bg: transparent;
|
|||
|
$table-accent-bg: rgba($black, 0.05);
|
|||
|
$table-hover-bg: rgba($black, 0.075);
|
|||
|
$table-active-bg: $table-hover-bg;
|
|||
|
$table-border-width: $border-width;
|
|||
|
$table-border-color: $gray-100;
|
|||
|
$table-head-bg: $gray-100;
|
|||
|
$table-head-color: $gray-700;
|
|||
|
$table-dark-bg: $gray-900;
|
|||
|
$table-dark-accent-bg: rgba($white, 0.05);
|
|||
|
$table-dark-hover-bg: rgba($white, 0.075);
|
|||
|
$table-dark-border-color: lighten($gray-900, 7.5%);
|
|||
|
$table-dark-color: $body-bg;
|
|||
|
$table-striped-order: odd;
|
|||
|
$table-caption-color: $text-muted;
|
|||
|
|
|||
|
//
|
|||
|
//Buttons
|
|||
|
//
|
|||
|
|
|||
|
$input-btn-padding-y: 0.55rem;
|
|||
|
$input-btn-padding-x: 1.5rem;
|
|||
|
$input-btn-line-height: $line-height-base;
|
|||
|
$input-btn-focus-width: 0.2rem;
|
|||
|
$input-btn-focus-color: rgba(theme-color('primary'), 0.25);
|
|||
|
$input-btn-focus-box-shadow: none;
|
|||
|
$input-btn-padding-y-sm: 0.375rem;
|
|||
|
$input-btn-padding-x-sm: 1rem;
|
|||
|
$input-btn-line-height-sm: $line-height-sm;
|
|||
|
$input-btn-padding-y-lg: 0.75rem;
|
|||
|
$input-btn-padding-x-lg: 1.5rem;
|
|||
|
$input-btn-line-height-lg: $line-height-lg;
|
|||
|
$input-btn-border-width: $border-width;
|
|||
|
$btn-padding-y: $input-btn-padding-y;
|
|||
|
$btn-padding-x: $input-btn-padding-x;
|
|||
|
$btn-line-height: $input-btn-line-height;
|
|||
|
$btn-padding-y-sm: $input-btn-padding-y-sm;
|
|||
|
$btn-padding-x-sm: $input-btn-padding-x-sm;
|
|||
|
$btn-line-height-sm: $input-btn-line-height-sm;
|
|||
|
$btn-padding-y-lg: $input-btn-padding-y-lg;
|
|||
|
$btn-padding-x-lg: $input-btn-padding-x-lg;
|
|||
|
$btn-line-height-lg: $input-btn-line-height-lg;
|
|||
|
$btn-border-width: $input-btn-border-width;
|
|||
|
$btn-font-weight: 500;
|
|||
|
$btn-box-shadow: 0 2px 8px rgba($black, 0.1);
|
|||
|
$btn-focus-width: $input-btn-focus-width;
|
|||
|
$btn-focus-box-shadow: $input-btn-focus-box-shadow;
|
|||
|
$btn-disabled-opacity: 0.65;
|
|||
|
$btn-active-box-shadow: inset 0 3px 5px rgba($black, 0.125);
|
|||
|
$btn-link-disabled-color: $gray-600;
|
|||
|
$btn-block-spacing-y: 0.5rem;
|
|||
|
$btn-border-radius: $border-radius;
|
|||
|
$btn-border-radius-lg: $border-radius-lg;
|
|||
|
$btn-border-radius-sm: $border-radius-sm;
|
|||
|
$btn-transition: all 0.2s;
|
|||
|
|
|||
|
//
|
|||
|
//Forms
|
|||
|
//
|
|||
|
|
|||
|
$label-margin-bottom: 0.5rem;
|
|||
|
$input-padding-y: $input-btn-padding-y;
|
|||
|
$input-padding-x: $input-btn-padding-x;
|
|||
|
$input-line-height: $input-btn-line-height;
|
|||
|
$input-padding-y-sm: $input-btn-padding-y-sm;
|
|||
|
$input-padding-x-sm: $input-btn-padding-x-sm;
|
|||
|
$input-line-height-sm: $input-btn-line-height-sm;
|
|||
|
$input-padding-y-lg: $input-btn-padding-y-lg;
|
|||
|
$input-padding-x-lg: $input-btn-padding-x-lg;
|
|||
|
$input-line-height-lg: $input-btn-line-height-lg;
|
|||
|
$input-bg: $white;
|
|||
|
$input-disabled-bg: $gray-100;
|
|||
|
$input-color: $gray-700;
|
|||
|
$input-border-color: $border-color;
|
|||
|
$input-border-width: $border-width;
|
|||
|
$input-box-shadow: none;
|
|||
|
$input-border-radius: $border-radius;
|
|||
|
$input-border-radius-lg: $border-radius-lg;
|
|||
|
$input-border-radius-sm: $border-radius-sm;
|
|||
|
$input-focus-bg: $input-bg;
|
|||
|
$input-focus-border-color: $primary;
|
|||
|
$input-focus-color: $input-color;
|
|||
|
$input-focus-width: $input-btn-focus-width;
|
|||
|
$input-focus-box-shadow: $input-btn-focus-box-shadow;
|
|||
|
$input-placeholder-color: $gray-500;
|
|||
|
$input-plaintext-color: $body-color;
|
|||
|
$input-height-border: $input-btn-border-width * 2;
|
|||
|
$input-height-inner: ($font-size-base * $input-btn-line-height) +
|
|||
|
($input-btn-padding-y * 2);
|
|||
|
$input-height: calc(#{$input-height-inner} + #{$input-height-border});
|
|||
|
$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) +
|
|||
|
($input-btn-padding-y-sm * 2);
|
|||
|
$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border});
|
|||
|
$input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) +
|
|||
|
($input-btn-padding-y-lg * 2);
|
|||
|
$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border});
|
|||
|
$input-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|||
|
$form-text-margin-top: 0.25rem;
|
|||
|
$form-check-input-gutter: 1.25rem;
|
|||
|
$form-check-input-margin-y: 0.3rem;
|
|||
|
$form-check-input-margin-x: 0.25rem;
|
|||
|
$form-check-inline-margin-x: 0.75rem;
|
|||
|
$form-check-inline-input-margin-x: 0.3125rem;
|
|||
|
$form-group-margin-bottom: 1rem;
|
|||
|
$input-group-addon-color: $white;
|
|||
|
$input-group-addon-bg: $dark;
|
|||
|
$input-group-addon-border-color: $dark;
|
|||
|
$form-feedback-margin-top: $form-text-margin-top;
|
|||
|
$form-feedback-font-size: $small-font-size;
|
|||
|
$form-feedback-valid-color: theme-color('success');
|
|||
|
$form-feedback-invalid-color: theme-color('danger');
|
|||
|
|
|||
|
//
|
|||
|
//CustomForms
|
|||
|
//
|
|||
|
|
|||
|
$custom-control-gutter: 1.75rem;
|
|||
|
$custom-control-spacer-y: 0.25rem;
|
|||
|
$custom-control-spacer-x: 1rem;
|
|||
|
$custom-control-indicator-size: 1.125rem;
|
|||
|
$custom-control-indicator-bg: $gray-100;
|
|||
|
$custom-control-indicator-bg-size: 50% 50%;
|
|||
|
$custom-control-indicator-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1);
|
|||
|
$custom-control-indicator-disabled-bg: $input-disabled-bg;
|
|||
|
$custom-control-label-disabled-color: $gray-200;
|
|||
|
$custom-control-indicator-checked-color: $white;
|
|||
|
$custom-control-indicator-checked-bg: theme-color('primary');
|
|||
|
$custom-control-indicator-checked-box-shadow: none;
|
|||
|
$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg,
|
|||
|
$input-btn-focus-box-shadow;
|
|||
|
$custom-control-indicator-active-color: $white;
|
|||
|
$custom-control-indicator-active-bg: lighten(theme-color('primary'), 35%);
|
|||
|
$custom-control-indicator-active-box-shadow: none;
|
|||
|
$custom-checkbox-indicator-border-radius: $border-radius;
|
|||
|
$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'
|
|||
|
);
|
|||
|
$custom-checkbox-indicator-indeterminate-bg: theme-color('primary');
|
|||
|
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color;
|
|||
|
$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'
|
|||
|
);
|
|||
|
$custom-checkbox-indicator-indeterminate-box-shadow: none;
|
|||
|
$custom-radio-indicator-border-radius: 50%;
|
|||
|
$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'
|
|||
|
);
|
|||
|
$custom-select-padding-y: 0.375rem;
|
|||
|
$custom-select-padding-x: 0.75rem;
|
|||
|
$custom-select-height: $input-height;
|
|||
|
$custom-select-indicator-padding: 1rem;
|
|||
|
$custom-select-line-height: $input-btn-line-height;
|
|||
|
$custom-select-color: $input-color;
|
|||
|
$custom-select-disabled-color: $gray-600;
|
|||
|
$custom-select-bg: $input-bg;
|
|||
|
$custom-select-disabled-bg: $input-disabled-bg;
|
|||
|
$custom-select-bg-size: 8px 10px;
|
|||
|
$custom-select-indicator-color: $gray-800;
|
|||
|
$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'
|
|||
|
);
|
|||
|
$custom-select-border-width: $input-btn-border-width;
|
|||
|
$custom-select-border-color: $input-border-color;
|
|||
|
$custom-select-border-radius: $border-radius;
|
|||
|
$custom-select-focus-border-color: $input-focus-border-color;
|
|||
|
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, 0.075),
|
|||
|
$input-btn-focus-box-shadow;
|
|||
|
$custom-select-font-size-sm: 75%;
|
|||
|
$custom-select-height-sm: $input-height-sm;
|
|||
|
$custom-select-font-size-lg: 125%;
|
|||
|
$custom-select-height-lg: $input-height-lg;
|
|||
|
$custom-range-track-width: 100%;
|
|||
|
$custom-range-track-height: 0.5rem;
|
|||
|
$custom-range-track-cursor: pointer;
|
|||
|
$custom-range-track-bg: $gray-300;
|
|||
|
$custom-range-track-border-radius: 1rem;
|
|||
|
$custom-range-track-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1);
|
|||
|
$custom-range-thumb-width: 1rem;
|
|||
|
$custom-range-thumb-height: $custom-range-thumb-width;
|
|||
|
$custom-range-thumb-bg: $component-active-bg;
|
|||
|
$custom-range-thumb-border: 0;
|
|||
|
$custom-range-thumb-border-radius: 1rem;
|
|||
|
$custom-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1);
|
|||
|
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg,
|
|||
|
$input-btn-focus-box-shadow;
|
|||
|
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%);
|
|||
|
$custom-file-height: $input-height;
|
|||
|
$custom-file-focus-border-color: $input-focus-border-color;
|
|||
|
$custom-file-focus-box-shadow: $input-btn-focus-box-shadow;
|
|||
|
$custom-file-padding-y: $input-btn-padding-y;
|
|||
|
$custom-file-padding-x: $input-btn-padding-x;
|
|||
|
$custom-file-line-height: $input-btn-line-height;
|
|||
|
$custom-file-color: $gray-300;
|
|||
|
$custom-file-bg: $input-bg;
|
|||
|
$custom-file-border-width: $input-btn-border-width;
|
|||
|
$custom-file-border-color: $dark;
|
|||
|
$custom-file-border-radius: $input-border-radius;
|
|||
|
$custom-file-box-shadow: $input-box-shadow;
|
|||
|
$custom-file-button-color: $white;
|
|||
|
$custom-file-button-bg: $input-group-addon-bg;
|
|||
|
$custom-file-text: (
|
|||
|
en: 'Browse',
|
|||
|
);
|
|||
|
|
|||
|
//
|
|||
|
//Dropdowns
|
|||
|
//
|
|||
|
|
|||
|
$dropdown-min-width: 10rem;
|
|||
|
$dropdown-padding-y: 0.75rem;
|
|||
|
$dropdown-spacer: 0.125rem;
|
|||
|
$dropdown-bg: $white;
|
|||
|
$dropdown-border-color: $gray-100;
|
|||
|
$dropdown-border-radius: $border-radius;
|
|||
|
$dropdown-border-width: $border-width;
|
|||
|
$dropdown-divider-bg: $gray-100;
|
|||
|
$dropdown-box-shadow: 0 0.5rem 1rem rgba($black, 0.175);
|
|||
|
$dropdown-link-color: $gray-700;
|
|||
|
$dropdown-link-hover-color: $gray-900;
|
|||
|
$dropdown-link-hover-bg: $gray-100;
|
|||
|
$dropdown-link-active-color: $component-active-color;
|
|||
|
$dropdown-link-active-bg: $component-active-bg;
|
|||
|
$dropdown-link-disabled-color: $gray-600;
|
|||
|
$dropdown-item-padding-y: 0.25rem;
|
|||
|
$dropdown-item-padding-x: 1.5rem;
|
|||
|
$dropdown-header-color: $gray-400;
|
|||
|
|
|||
|
//
|
|||
|
//ZindexMasterList
|
|||
|
//
|
|||
|
|
|||
|
$zindex-dropdown: 1000;
|
|||
|
$zindex-sticky: 1020;
|
|||
|
$zindex-fixed: 1030;
|
|||
|
$zindex-modal-backdrop: 1040;
|
|||
|
$zindex-modal: 1050;
|
|||
|
$zindex-popover: 1060;
|
|||
|
$zindex-tooltip: 1070;
|
|||
|
|
|||
|
//
|
|||
|
//Navs
|
|||
|
//
|
|||
|
|
|||
|
$nav-link-padding-y: 0.25rem;
|
|||
|
$nav-link-padding-x: 1rem;
|
|||
|
$nav-link-disabled-color: $gray-400;
|
|||
|
$nav-tabs-border-color: $gray-100;
|
|||
|
$nav-tabs-border-width: $border-width;
|
|||
|
$nav-tabs-border-radius: $border-radius;
|
|||
|
$nav-tabs-link-hover-border-color: $gray-100 $gray-100 $nav-tabs-border-color;
|
|||
|
$nav-tabs-link-active-color: $white;
|
|||
|
$nav-tabs-link-active-bg: $dark;
|
|||
|
$nav-tabs-link-active-border-color: $gray-200 $gray-200 $nav-tabs-link-active-bg;
|
|||
|
$nav-pills-border-radius: $border-radius;
|
|||
|
$nav-pills-link-active-color: $component-active-color;
|
|||
|
$nav-pills-link-active-bg: $component-active-bg;
|
|||
|
$nav-divider-color: $gray-200;
|
|||
|
$nav-divider-margin-y: ($spacer / 2);
|
|||
|
|
|||
|
//
|
|||
|
//Navbar
|
|||
|
//
|
|||
|
|
|||
|
$navbar-padding-y: 1.5rem;
|
|||
|
$navbar-padding-x: 1.25rem;
|
|||
|
$navbar-nav-link-padding-x: 0.75rem;
|
|||
|
$navbar-brand-font-size: $font-size-lg;
|
|||
|
$nav-link-height: (
|
|||
|
$font-size-base * $line-height-base + $nav-link-padding-y * 2
|
|||
|
);
|
|||
|
$navbar-brand-height: $navbar-brand-font-size * $line-height-base;
|
|||
|
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2;
|
|||
|
$navbar-toggler-padding-y: 0.25rem;
|
|||
|
$navbar-toggler-padding-x: 0.75rem;
|
|||
|
$navbar-toggler-font-size: $font-size-lg;
|
|||
|
$navbar-toggler-border-radius: $btn-border-radius;
|
|||
|
$navbar-dark-color: rgba($white, 0.7);
|
|||
|
$navbar-dark-hover-color: rgba($white, 0.9);
|
|||
|
$navbar-dark-active-color: $white;
|
|||
|
$navbar-dark-disabled-color: rgba($white, 0.3);
|
|||
|
$navbar-dark-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-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"),
|
|||
|
'#',
|
|||
|
'%23'
|
|||
|
);
|
|||
|
$navbar-dark-toggler-border-color: rgba($white, 0.1);
|
|||
|
$navbar-light-color: rgba($black, 0.7);
|
|||
|
$navbar-light-hover-color: rgba($primary, 0.9);
|
|||
|
$navbar-light-active-color: $primary;
|
|||
|
$navbar-light-disabled-color: rgba($black, 0.3);
|
|||
|
$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'
|
|||
|
);
|
|||
|
$navbar-light-toggler-border-color: rgba($black, 0.1);
|
|||
|
|
|||
|
//
|
|||
|
//Pagination
|
|||
|
//
|
|||
|
|
|||
|
$pagination-padding-y: 0.5rem;
|
|||
|
$pagination-padding-x: 0.75rem;
|
|||
|
$pagination-padding-y-sm: 0.25rem;
|
|||
|
$pagination-padding-x-sm: 0.5rem;
|
|||
|
$pagination-padding-y-lg: 0.75rem;
|
|||
|
$pagination-padding-x-lg: 1.5rem;
|
|||
|
$pagination-line-height: 1;
|
|||
|
$pagination-color: $white;
|
|||
|
$pagination-bg: $dark;
|
|||
|
$pagination-border-width: 0px;
|
|||
|
$pagination-border-color: transparent;
|
|||
|
$pagination-focus-box-shadow: $input-btn-focus-box-shadow;
|
|||
|
$pagination-focus-outline: 0;
|
|||
|
$pagination-hover-color: $gray-100;
|
|||
|
$pagination-hover-bg: $gray-600;
|
|||
|
$pagination-hover-border-color: $gray-700;
|
|||
|
$pagination-active-color: $white;
|
|||
|
$pagination-active-bg: $gray-600;
|
|||
|
$pagination-active-border-color: $gray-700;
|
|||
|
$pagination-disabled-color: $white;
|
|||
|
$pagination-disabled-bg: $gray-400;
|
|||
|
$pagination-disabled-border-color: transparent;
|
|||
|
|
|||
|
//
|
|||
|
//Jumbotron
|
|||
|
//
|
|||
|
|
|||
|
$jumbotron-padding: 2rem;
|
|||
|
$jumbotron-bg: $gray-100;
|
|||
|
|
|||
|
//
|
|||
|
//Cards
|
|||
|
//
|
|||
|
|
|||
|
$card-spacer-y: 0.75rem;
|
|||
|
$card-spacer-x: 1.25rem;
|
|||
|
$card-border-width: 0px;
|
|||
|
$card-border-radius: $border-radius;
|
|||
|
$card-border-color: rgba($black, 0.125);
|
|||
|
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width});
|
|||
|
$card-cap-bg: rgba($black, 0.03);
|
|||
|
$card-bg: $gray-900;
|
|||
|
$card-img-overlay-padding: 1.25rem;
|
|||
|
$card-group-margin: ($grid-gutter-width / 2);
|
|||
|
$card-deck-margin: $card-group-margin;
|
|||
|
$card-columns-count: 3;
|
|||
|
$card-columns-gap: 1.25rem;
|
|||
|
$card-columns-margin: $card-spacer-y;
|
|||
|
|
|||
|
//
|
|||
|
//Tooltips
|
|||
|
//
|
|||
|
|
|||
|
$tooltip-font-size: $font-size-sm;
|
|||
|
$tooltip-max-width: 200px;
|
|||
|
$tooltip-color: $white;
|
|||
|
$tooltip-bg: $black;
|
|||
|
$tooltip-border-radius: $border-radius;
|
|||
|
$tooltip-opacity: 0.9;
|
|||
|
$tooltip-padding-y: 0.25rem;
|
|||
|
$tooltip-padding-x: 0.5rem;
|
|||
|
$tooltip-margin: 0;
|
|||
|
$tooltip-arrow-width: 0.8rem;
|
|||
|
$tooltip-arrow-height: 0.4rem;
|
|||
|
$tooltip-arrow-color: $tooltip-bg;
|
|||
|
|
|||
|
//
|
|||
|
//Popovers
|
|||
|
//
|
|||
|
|
|||
|
$popover-font-size: $font-size-sm;
|
|||
|
$popover-bg: $white;
|
|||
|
$popover-max-width: 276px;
|
|||
|
$popover-border-width: $border-width;
|
|||
|
$popover-border-color: rgba($black, 0.2);
|
|||
|
$popover-border-radius: $border-radius-lg;
|
|||
|
$popover-box-shadow: 0 0.25rem 0.5rem rgba($black, 0.2);
|
|||
|
$popover-header-bg: $dark;
|
|||
|
$popover-header-color: $white;
|
|||
|
$popover-header-padding-y: 0.65rem;
|
|||
|
$popover-header-padding-x: 0.85rem;
|
|||
|
$popover-body-color: $body-color;
|
|||
|
$popover-body-padding-y: $popover-header-padding-y;
|
|||
|
$popover-body-padding-x: $popover-header-padding-x;
|
|||
|
$popover-arrow-width: 1rem;
|
|||
|
$popover-arrow-height: 0.5rem;
|
|||
|
$popover-arrow-color: $popover-bg;
|
|||
|
$popover-arrow-outer-color: fade-in($popover-border-color, 0.05);
|
|||
|
|
|||
|
//
|
|||
|
//Badges
|
|||
|
//
|
|||
|
|
|||
|
$badge-font-size: 75%;
|
|||
|
$badge-font-weight: $font-weight-bold;
|
|||
|
$badge-padding-y: 0.35em;
|
|||
|
$badge-padding-x: 0.5em;
|
|||
|
$badge-border-radius: 4px;
|
|||
|
$badge-pill-padding-x: 0.6em;
|
|||
|
$badge-pill-border-radius: 10rem;
|
|||
|
|
|||
|
//
|
|||
|
//Modals
|
|||
|
//
|
|||
|
|
|||
|
$modal-inner-padding: 1.5rem;
|
|||
|
$modal-dialog-margin: 0.5rem;
|
|||
|
$modal-dialog-margin-y-sm-up: 1.75rem;
|
|||
|
$modal-title-line-height: $line-height-base;
|
|||
|
$modal-content-bg: $white;
|
|||
|
$modal-content-border-color: $modal-content-bg;
|
|||
|
$modal-content-border-width: $border-width;
|
|||
|
$modal-content-border-radius: $border-radius-lg;
|
|||
|
$modal-content-box-shadow-xs: 0 0.25rem 0.5rem rgba($black, 0.5);
|
|||
|
$modal-content-box-shadow-sm-up: 0 0.5rem 1rem rgba($black, 0.5);
|
|||
|
$modal-backdrop-bg: $black;
|
|||
|
$modal-backdrop-opacity: 0.5;
|
|||
|
$modal-header-border-color: $modal-content-bg;
|
|||
|
$modal-footer-border-color: $modal-header-border-color;
|
|||
|
$modal-header-border-width: $modal-content-border-width;
|
|||
|
$modal-footer-border-width: $modal-header-border-width;
|
|||
|
$modal-header-padding: 1.5rem;
|
|||
|
$modal-lg: 800px;
|
|||
|
$modal-md: 600px;
|
|||
|
$modal-sm: 400px;
|
|||
|
$modal-transition: transform 0.3s ease-out;
|
|||
|
|
|||
|
//
|
|||
|
//Alerts
|
|||
|
//
|
|||
|
|
|||
|
$alert-padding-y: 0.75rem;
|
|||
|
$alert-padding-x: 1.5rem;
|
|||
|
$alert-margin-bottom: 1rem;
|
|||
|
$alert-border-radius: $border-radius;
|
|||
|
$alert-link-font-weight: $font-weight-bold;
|
|||
|
$alert-border-width: $border-width;
|
|||
|
$alert-bg-level: -11;
|
|||
|
$alert-border-level: -11;
|
|||
|
$alert-color-level: 6;
|
|||
|
|
|||
|
//
|
|||
|
//ProgressBars
|
|||
|
//
|
|||
|
|
|||
|
$progress-height: 0.375rem;
|
|||
|
$progress-font-size: ($font-size-base * 0.75);
|
|||
|
$progress-bg: $gray-200;
|
|||
|
$progress-border-radius: $border-radius;
|
|||
|
$progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1);
|
|||
|
$progress-bar-color: $white;
|
|||
|
$progress-bar-bg: theme-color('primary');
|
|||
|
$progress-bar-animation-timing: 1s linear infinite;
|
|||
|
$progress-bar-transition: width 0.6s ease;
|
|||
|
|
|||
|
//
|
|||
|
//ListGroup
|
|||
|
//
|
|||
|
|
|||
|
$list-group-bg: $white;
|
|||
|
$list-group-border-color: rgba($black, 0.125);
|
|||
|
$list-group-border-width: $border-width;
|
|||
|
$list-group-border-radius: $border-radius;
|
|||
|
$list-group-item-padding-y: 0.75rem;
|
|||
|
$list-group-item-padding-x: 1.25rem;
|
|||
|
$list-group-hover-bg: $gray-100;
|
|||
|
$list-group-active-color: $component-active-color;
|
|||
|
$list-group-active-bg: $component-active-bg;
|
|||
|
$list-group-active-border-color: $list-group-active-bg;
|
|||
|
$list-group-disabled-color: $gray-400;
|
|||
|
$list-group-disabled-bg: $list-group-bg;
|
|||
|
$list-group-action-color: $gray-700;
|
|||
|
$list-group-action-hover-color: $list-group-action-color;
|
|||
|
$list-group-action-active-color: $body-color;
|
|||
|
$list-group-action-active-bg: $gray-100;
|
|||
|
|
|||
|
//
|
|||
|
//Images
|
|||
|
//
|
|||
|
|
|||
|
$thumbnail-padding: 0px;
|
|||
|
$thumbnail-bg: $white;
|
|||
|
$thumbnail-border-width: 2px;
|
|||
|
$thumbnail-border-color: $gray-100;
|
|||
|
$thumbnail-border-radius: $border-radius;
|
|||
|
$thumbnail-box-shadow: 0 1px 2px rgba($black, 0.075);
|
|||
|
|
|||
|
//
|
|||
|
//Figures
|
|||
|
//
|
|||
|
|
|||
|
$figure-caption-font-size: 90%;
|
|||
|
$figure-caption-color: $gray-400;
|
|||
|
|
|||
|
//
|
|||
|
//Breadcrumbs
|
|||
|
//
|
|||
|
|
|||
|
$breadcrumb-padding-y: 0.75rem;
|
|||
|
$breadcrumb-padding-x: 1rem;
|
|||
|
$breadcrumb-item-padding: 0.5rem;
|
|||
|
$breadcrumb-margin-bottom: 1rem;
|
|||
|
$breadcrumb-bg: $gray-100;
|
|||
|
$breadcrumb-divider-color: $gray-400;
|
|||
|
$breadcrumb-active-color: $gray-400;
|
|||
|
$breadcrumb-divider: '/';
|
|||
|
$breadcrumb-border-radius: $border-radius;
|
|||
|
|
|||
|
//
|
|||
|
//Carousel
|
|||
|
//
|
|||
|
|
|||
|
$carousel-control-color: $white;
|
|||
|
$carousel-control-width: 15%;
|
|||
|
$carousel-control-opacity: 0.5;
|
|||
|
$carousel-indicator-width: 30px;
|
|||
|
$carousel-indicator-height: 3px;
|
|||
|
$carousel-indicator-spacer: 3px;
|
|||
|
$carousel-indicator-active-bg: $white;
|
|||
|
$carousel-caption-width: 70%;
|
|||
|
$carousel-caption-color: $white;
|
|||
|
$carousel-control-icon-width: 20px;
|
|||
|
$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'
|
|||
|
);
|
|||
|
$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'
|
|||
|
);
|
|||
|
$carousel-transition: transform 0.6s ease;
|
|||
|
|
|||
|
//
|
|||
|
//Close
|
|||
|
//
|
|||
|
|
|||
|
$close-font-size: $font-size-base * 2;
|
|||
|
$close-font-weight: $font-weight-bold;
|
|||
|
$close-color: $black;
|
|||
|
$close-text-shadow: 0 1px 0 $white;
|
|||
|
|
|||
|
//
|
|||
|
//Code
|
|||
|
//
|
|||
|
|
|||
|
$code-font-size: 87.5%;
|
|||
|
$code-color: $pink;
|
|||
|
$kbd-padding-y: 0.2rem;
|
|||
|
$kbd-padding-x: 0.4rem;
|
|||
|
$kbd-font-size: $code-font-size;
|
|||
|
$kbd-color: $white;
|
|||
|
$kbd-bg: $gray-900;
|
|||
|
$pre-color: $gray-900;
|
|||
|
$pre-scrollable-max-height: 340px;
|
|||
|
$print-page-size: a3;
|
|||
|
$print-body-min-width: map-get($grid-breakpoints, 'lg');
|
|||
|
|
|||
|
//
|
|||
|
//Extra SASS variables
|
|||
|
//
|
|||
|
|
|||
|
$link-border-width: 0px;
|
|||
|
$link-border-style: solid;
|
|||
|
$link-border-color: transparent;
|
|||
|
$link-hover-border-width: 0px;
|
|||
|
$link-hover-border-style: solid;
|
|||
|
$link-hover-border-color: transparent;
|
|||
|
$link-font-size: inherit;
|
|||
|
$link-font-weight: inherit;
|
|||
|
$link-background-color: transparent;
|
|||
|
$link-hover-background-color: transparent;
|
|||
|
$link-footer-color: $link-color;
|
|||
|
$link-footer-decoration: $link-decoration;
|
|||
|
$link-footer-hover-color: $link-hover-color;
|
|||
|
$link-footer-hover-decoration: $link-hover-decoration;
|
|||
|
$paragraph-color: inherit;
|
|||
|
$paragraph-bold-text-weight: bolder;
|
|||
|
$paragraph-bold-text-color: inherit;
|
|||
|
$btn-text-transform: none;
|
|||
|
$btn-font-size: $font-size-base;
|
|||
|
$btn-font-size-lg: $font-size-lg;
|
|||
|
$btn-font-size-sm: $font-size-sm;
|
|||
|
$btn-background-image: none;
|
|||
|
$btn-hover-background-image: none;
|
|||
|
$navbar-nav-link-padding-y: 0.5rem;
|
|||
|
$navbar-nav-link-text-transform: none;
|
|||
|
$navbar-nav-link-font-size: inherit;
|
|||
|
$navbar-nav-link-font-weight: inherit;
|