2015-11-05 17:25:02 +03:00
|
|
|
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
|
2015-11-05 01:54:57 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
@import '_colors';
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// Material Global vars
|
|
|
|
$zero: 0 !default;
|
|
|
|
|
2014-10-31 11:26:12 +03:00
|
|
|
// material icons path
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-font-path: "../fonts" !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2014-10-03 15:58:24 +04:00
|
|
|
// Typography elements for Material
|
2015-11-02 23:39:13 +03:00
|
|
|
$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;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
// import bs variables for less, last declared wins.
|
|
|
|
@import '_import-bs-less';
|
|
|
|
|
|
|
|
//---
|
|
|
|
// Converted bs variables
|
|
|
|
|
|
|
|
// Bootstrap brand color customization
|
|
|
|
$brand-primary: $teal !default;
|
|
|
|
$brand-success: $green !default;
|
|
|
|
$brand-danger: $red !default;
|
|
|
|
$brand-warning: $deep-orange !default;
|
|
|
|
$brand-info: $light-blue !default;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
$body-bg: #EEEEEE !default;
|
2015-11-21 19:37:35 +03:00
|
|
|
//---
|
|
|
|
|
|
|
|
// import bs variables for sass, first declared wins.
|
|
|
|
@import '_import-bs-sass';
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
//---
|
|
|
|
// FIXME: Similar but not quite the same as Bootstrap variables
|
|
|
|
// FIXME: these need to either a) be converted to $mdb- or b) converted to bs variables
|
2015-11-02 23:39:13 +03:00
|
|
|
$btn-default: transparent !default;
|
|
|
|
$btn-default-text: $lightbg-text !default;
|
2015-11-21 19:37:35 +03:00
|
|
|
//---
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$btn-primary: $brand-primary !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
$btn-primary-text: $darkbg-text !default;
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$btn-success: $brand-success !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
$btn-success-text: $darkbg-text !default;
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$btn-info: $brand-info !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
$btn-info-text: $darkbg-text !default;
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$btn-warning: $brand-warning !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
$btn-warning-text: $darkbg-text !default;
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$btn-danger: $brand-danger !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
$btn-danger-text: $darkbg-text !default;
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-unchecked: rgba(137, 137, 137, 0.3) !default;
|
|
|
|
$mdb-input-checked: rgba(15, 157, 88, 0.3) !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-radio-default: $lightbg-text !default;
|
|
|
|
$mdb-radio-primary: $brand-primary !default;
|
|
|
|
$mdb-radio-success: $brand-success !default;
|
|
|
|
$mdb-radio-info: $brand-info !default;
|
|
|
|
$mdb-radio-warning: $brand-warning !default;
|
|
|
|
$mdb-radio-danger: $brand-danger !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-danger: $brand-danger !default;
|
|
|
|
$mdb-input-default: $brand-primary !default;
|
|
|
|
$mdb-input-warning: $brand-warning !default;
|
|
|
|
$mdb-input-success: $brand-success !default;
|
|
|
|
$mdb-input-info: $brand-info !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$alert-success: $brand-success !default;
|
|
|
|
$alert-info: $brand-info !default;
|
|
|
|
$alert-warning: $brand-warning !default;
|
|
|
|
$alert-danger: $brand-danger !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$progress-success: $brand-success !default;
|
|
|
|
$progress-info: $brand-info !default;
|
|
|
|
$progress-warning: $brand-warning !default;
|
|
|
|
$progress-danger: $brand-danger !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
|
|
|
$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
|
|
|
|
|
2015-11-10 22:36:15 +03:00
|
|
|
$screen-sm: 768px !default;
|
|
|
|
$screen-sm-min: $screen-sm !default;
|
|
|
|
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// Global Material variables
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-border-radius: 2px !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
|
|
|
// --------------------
|
|
|
|
// inputs
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-placeholder-color: #BDBDBD !default;
|
|
|
|
$mdb-input-underline-color: #D2D2D2 !default;
|
|
|
|
$mdb-label-static-size-ratio: 75 / 100 !default;
|
|
|
|
$mdb-help-block-size-ratio: 75 / 100 !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-font-size-base: 16px !default;
|
|
|
|
$mdb-input-font-size-large: ceil(($font-size-base * 1.25)) !default; // ~20px
|
|
|
|
$mdb-input-font-size-small: ceil(($font-size-base * 0.75)) !default; // ~12px
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
// FIXME: with #733 customization of bootstrap, consider how these could be based on the original bs customized variables
|
2015-11-10 22:36:15 +03:00
|
|
|
//** Unit-less `line-height` for use in components like buttons.
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-line-height-base: 1.428571429 !default; // 20/14
|
2015-11-10 22:36:15 +03:00
|
|
|
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-line-height-computed: floor(($mdb-input-font-size-base * $mdb-input-line-height-base)) !default; // ~20px
|
|
|
|
$mdb-input-line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
|
|
|
|
$mdb-input-line-height-small: 1.5 !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
|
|
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-padding-base-vertical: 8px - 1px !default; // was 6.
|
|
|
|
$mdb-input-padding-base-horizontal: 0px !default; // was 12.
|
|
|
|
$mdb-label-as-placeholder-shim-base: 0px !default; // manual adjustment of label top when positioned as placeholder
|
|
|
|
$mdb-label-top-margin-base: 16px !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-padding-large-vertical: 10px - 1px !default; // 10
|
|
|
|
$mdb-input-padding-large-horizontal: 0px !default; // 16
|
|
|
|
$mdb-label-as-placeholder-shim-large: -4px !default; // manual adjustment of label top when positioned as placeholder
|
|
|
|
$mdb-label-top-margin-large: 16px !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-padding-small-vertical: 4px - 1px !default; // 5
|
|
|
|
$mdb-input-padding-small-horizontal: 0px !default; // 10
|
|
|
|
$mdb-label-as-placeholder-shim-small: 8px !default; // manual adjustment of label top when positioned as placeholder
|
|
|
|
$mdb-label-top-margin-small: 12px !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-padding-xs-vertical: 2px !default; // 1
|
|
|
|
$mdb-input-padding-xs-horizontal: 0px !default; // 5
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-border-radius-base: 4px !default;
|
|
|
|
$mdb-input-border-radius-large: 6px !default;
|
|
|
|
$mdb-input-border-radius-small: 3px !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
|
|
|
|
|
|
|
//** Default `.form-control` height
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-height-base: ($mdb-input-line-height-computed + ($mdb-input-padding-base-vertical * 2) + 2) !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
//** Large `.form-control` height
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-height-large: (ceil($mdb-input-font-size-large * $mdb-input-line-height-large) + ($mdb-input-padding-large-vertical * 2) + 2) !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
//** Small `.form-control` height
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-input-height-small: (floor($mdb-input-font-size-small * $mdb-input-line-height-small) + ($mdb-input-padding-small-vertical * 2) + 2) !default;
|
2015-11-10 22:36:15 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// Card
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-card-body-text: $lightbg-text !default;
|
|
|
|
$mdb-card-body-background: #fff !default;
|
|
|
|
$mdb-card-image-headline: #fff !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
|
|
|
$text-disabled: #a8a8a8 !default;
|
|
|
|
$background-disabled: #eaeaea !default;
|
|
|
|
|
|
|
|
// Checkboxes
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-checkbox-size: 20px !default;
|
|
|
|
$mdb-checkbox-animation-ripple: 500ms !default;
|
|
|
|
$mdb-checkbox-animation-check: 0.3s !default;
|
|
|
|
$mdb-checkbox-checked-color: #4caf50 !default;
|
|
|
|
$mdb-checkbox-label-color: rgba(0, 0, 0, .54) !default;
|
|
|
|
$mdb-checkbox-border-color: $mdb-checkbox-label-color !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
|
|
|
// Popovers and Popups
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-popover-background: rgba(101, 101, 101, 0.9) !default;
|
|
|
|
$mdb-popover-color: #ececec !default;
|
2015-11-02 23:39:13 +03:00
|
|
|
|
|
|
|
// Dropdown Menu
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-dropdown-radius: 2px !default;
|
|
|
|
$mdb-dropdown-font-size: 16px !default;
|
2015-11-18 23:53:05 +03:00
|
|
|
|
|
|
|
// Toggle
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-toggle-label-color: $mdb-checkbox-label-color !default;
|
2015-11-18 23:53:05 +03:00
|
|
|
|
|
|
|
// Radio:
|
2015-11-21 19:37:35 +03:00
|
|
|
$mdb-radio-label-color: $mdb-checkbox-label-color !default;
|
|
|
|
$mdb-radio-border-color: $mdb-checkbox-border-color !default;
|