mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-23 18:14:04 +03:00
173 lines
6.1 KiB
SCSS
173 lines
6.1 KiB
SCSS
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
|
|
|
|
// Material Global vars
|
|
$zero: 0 !default;
|
|
|
|
// material icons path
|
|
$material-font-path: "../fonts" !default;
|
|
|
|
// Bootstrap shades
|
|
$primary: $teal !default;
|
|
$success: $green !default;
|
|
$info: $light-blue !default;
|
|
$warning: $deep-orange !default;
|
|
$danger: $red !default;
|
|
|
|
$brand-primary: $primary !default;
|
|
$brand-success: $success !default;
|
|
$brand-danger: $danger !default;
|
|
$brand-warning: $warning !default;
|
|
$brand-info: $info !default;
|
|
|
|
// Typography elements for Material
|
|
$darkbg-text: rgba(255,255,255,0.84) !default;
|
|
$lightbg-text: rgba(0,0,0,0.84) !default;
|
|
$icon-color: rgba(0,0,0,0.5) !default;
|
|
|
|
|
|
// Bootstrap variables
|
|
$body-bg: #EEEEEE !default;
|
|
|
|
$btn-default: transparent !default;
|
|
$btn-default-text: $lightbg-text !default;
|
|
|
|
$btn-primary: $primary !default;
|
|
$btn-primary-text: $darkbg-text !default;
|
|
|
|
$btn-success: $success !default;
|
|
$btn-success-text: $darkbg-text !default;
|
|
|
|
$btn-info: $info !default;
|
|
$btn-info-text: $darkbg-text !default;
|
|
|
|
$btn-warning: $warning !default;
|
|
$btn-warning-text: $darkbg-text !default;
|
|
|
|
$btn-danger: $danger !default;
|
|
$btn-danger-text: $darkbg-text !default;
|
|
|
|
$input-unchecked: rgba(137, 137, 137, 0.3) !default;
|
|
$input-checked: rgba(15, 157, 88, 0.3) !default;
|
|
|
|
$radio-default: $lightbg-text !default;
|
|
$radio-primary: $primary !default;
|
|
$radio-success: $success !default;
|
|
$radio-info: $info !default;
|
|
$radio-warning: $warning !default;
|
|
$radio-danger: $danger !default;
|
|
|
|
$input-danger: $danger !default;
|
|
$input-default: $primary !default;
|
|
$input-warning: $warning !default;
|
|
$input-success: $success !default;
|
|
$input-info: $info !default;
|
|
|
|
$alert-success: $success !default;
|
|
$alert-info: $info !default;
|
|
$alert-warning: $warning !default;
|
|
$alert-danger: $danger !default;
|
|
|
|
$progress-success: $success !default;
|
|
$progress-info: $info !default;
|
|
$progress-warning: $warning !default;
|
|
$progress-danger: $danger !default;
|
|
|
|
$font-size-base: 14px !default;
|
|
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
|
|
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
|
|
|
|
$screen-sm: 768px !default;
|
|
$screen-sm-min: $screen-sm !default;
|
|
|
|
|
|
// Global Material variables
|
|
$material-border-radius: 2px !default;
|
|
|
|
// --------------------
|
|
// inputs
|
|
$input-placeholder-color: #BDBDBD !default;
|
|
$label-floating-size-ratio: 75 / 100 !default;
|
|
$help-block-size-ratio: 75 / 100 !default;
|
|
$input-underline-color: #D2D2D2 !default;
|
|
|
|
$md-input-font-size-base: 16px !default;
|
|
$md-input-font-size-large: ceil(($font-size-base * 1.25)) !default; // ~20px
|
|
$md-input-font-size-small: ceil(($font-size-base * 0.75)) !default; // ~12px
|
|
|
|
// size when static or floating with focus i.e. 16px
|
|
//$md-input-label-font-size-base: ceil(($label-floating-size-ratio * $md-input-font-size-base)) !default;
|
|
//$md-input-label-font-size-small:ceil(( $label-floating-size-ratio * $md-input-font-size-small)) !default;
|
|
//$md-input-label-font-size-large: ceil(($label-floating-size-ratio * $md-input-font-size-large)) !default;
|
|
|
|
//** Unit-less `line-height` for use in components like buttons.
|
|
$md-input-line-height-base: 1.428571429 !default; // 20/14
|
|
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
|
$md-input-line-height-computed: floor(($md-input-font-size-base * $md-input-line-height-base)) !default; // ~20px
|
|
$md-input-line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
|
|
$md-input-line-height-small: 1.5 !default;
|
|
|
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
|
$md-input-padding-base-vertical: 8px - 1px !default; // was 6.
|
|
$md-input-padding-base-horizontal: 0px !default; // was 12.
|
|
$md-label-as-placeholder-shim-base: 0px !default; // manual adjustment of label top when positioned as placeholder
|
|
$md-label-top-margin-base: 16px !default;
|
|
|
|
$md-input-padding-large-vertical: 10px - 1px !default; // 10
|
|
$md-input-padding-large-horizontal: 0px !default; // 16
|
|
$md-label-as-placeholder-shim-large: -4px !default; // manual adjustment of label top when positioned as placeholder
|
|
$md-label-top-margin-large: 16px !default;
|
|
|
|
$md-input-padding-small-vertical: 4px - 1px !default; // 5
|
|
$md-input-padding-small-horizontal: 0px !default; // 10
|
|
$md-label-as-placeholder-shim-small: 8px !default; // manual adjustment of label top when positioned as placeholder
|
|
$md-label-top-margin-small: 12px !default;
|
|
|
|
$md-input-padding-xs-vertical: 2px !default; // 1
|
|
$md-input-padding-xs-horizontal: 0px !default; // 5
|
|
|
|
$md-input-border-radius-base: 4px !default;
|
|
$md-input-border-radius-large: 6px !default;
|
|
$md-input-border-radius-small: 3px !default;
|
|
|
|
|
|
//** Default `.form-control` height
|
|
$md-input-height-base: ($md-input-line-height-computed + ($md-input-padding-base-vertical * 2) + 2) !default;
|
|
//** Large `.form-control` height
|
|
$md-input-height-large: (ceil($md-input-font-size-large * $md-input-line-height-large) + ($md-input-padding-large-vertical * 2) + 2) !default;
|
|
//** Small `.form-control` height
|
|
$md-input-height-small: (floor($md-input-font-size-small * $md-input-line-height-small) + ($md-input-padding-small-vertical * 2) + 2) !default;
|
|
|
|
|
|
|
|
|
|
// Card
|
|
$card-body-text: $lightbg-text !default;
|
|
$card-body-background: #fff !default;
|
|
$card-image-headline: #fff !default;
|
|
|
|
$text-disabled: #a8a8a8 !default;
|
|
$background-disabled: #eaeaea !default;
|
|
|
|
// Checkboxes
|
|
$checkbox-size: 20px !default;
|
|
$checkbox-animation-ripple: 500ms !default;
|
|
$checkbox-animation-check: 0.3s !default;
|
|
$checkbox-checked-color: #4caf50 !default;
|
|
$checkbox-label-color: rgba(0, 0, 0, .54) !default;
|
|
$checkbox-border-color: $checkbox-label-color !default;
|
|
|
|
// Popovers and Popups
|
|
$popover-background: rgba(101, 101, 101, 0.9) !default;
|
|
$popover-color: #ececec !default;
|
|
|
|
// Dropdown Menu
|
|
$dropdown-radius: 2px !default;
|
|
$dropdown-font-size: 16px !default;
|
|
|
|
// Toggle
|
|
$togglebutton-label-color: $checkbox-label-color !default;
|
|
|
|
// Radio:
|
|
$radio-label-color: $checkbox-label-color !default;
|
|
$radio-border-color: $checkbox-border-color !default;
|