2015-12-03 01:31:26 +03:00
|
|
|
@import 'colors';
|
|
|
|
|
2015-11-26 03:19:13 +03:00
|
|
|
// Typography elements FIXME: review to see if we actually need these
|
2015-12-03 23:15:52 +03:00
|
|
|
$mdb-text-color-light: rgba(255, 255, 255, 0.84) !default; //hsla(0, 0%, 100%, 0.84) !default; // white 0.84 //unquote("rgba(#{$rgb-white}, 0.84)") !default;
|
|
|
|
$mdb-text-color-primary: rgba(0, 0, 0, 0.87) !default;
|
2015-11-30 20:15:59 +03:00
|
|
|
$icon-color: rgba(0, 0, 0, 0.5) !default;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-12-04 00:02:00 +03:00
|
|
|
|
|
|
|
// redefine ? TODO: do we need this mdb variant?
|
|
|
|
$gray-dark: $mdb-text-color-primary;
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
//---
|
2015-11-26 03:19:13 +03:00
|
|
|
// Customized BS variables
|
2015-12-04 00:02:00 +03:00
|
|
|
$enable-flex: true;
|
|
|
|
@import 'variables/brand';
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-25 01:34:17 +03:00
|
|
|
$border-radius-base: 2px !default;
|
|
|
|
$border-radius-small: 1px !default;
|
|
|
|
|
2015-12-04 00:02:00 +03:00
|
|
|
@import 'variables/type';
|
|
|
|
@import 'variables/body';
|
|
|
|
@import 'variables/buttons';
|
2015-12-03 19:21:30 +03:00
|
|
|
|
|
|
|
|
2015-11-21 19:37:35 +03:00
|
|
|
//---
|
2015-11-25 01:34:17 +03:00
|
|
|
// Bootstrap Material Design variables start with mdb-
|
|
|
|
$mdb-brand-inverse: $indigo !default;
|
|
|
|
|
|
|
|
/* ANIMATION */
|
|
|
|
$mdb-animation-curve-fast-out-slow-in: cubic-bezier(0.4, 0, 0.2, 1) !default;
|
|
|
|
$mdb-animation-curve-linear-out-slow-in: cubic-bezier(0, 0, 0.2, 1) !default;
|
|
|
|
$mdb-animation-curve-fast-out-linear-in: cubic-bezier(0.4, 0, 1, 1) !default;
|
|
|
|
$mdb-animation-curve-default: $mdb-animation-curve-fast-out-slow-in !default;
|
|
|
|
|
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-22 19:23:34 +03:00
|
|
|
$contrast-factor: 40% !default;
|
2015-11-21 19:37:35 +03:00
|
|
|
//---
|
2015-11-02 23:39:13 +03:00
|
|
|
|
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
|
|
|
// FIXME: with #733 customization of bootstrap, consider how these could be based on the original bs customized variables
|
2015-11-26 03:19:13 +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-30 20:15:59 +03:00
|
|
|
$mdb-input-padding-y-base: .4375rem !default; // 7px
|
|
|
|
$mdb-label-as-placeholder-shim-base: 0 !default; // manual adjustment of label top when positioned as placeholder
|
|
|
|
$mdb-label-top-margin-base: 1rem !default;
|
2015-11-26 03:19:13 +03:00
|
|
|
//
|
2015-11-30 20:15:59 +03:00
|
|
|
$mdb-input-padding-y-lg: .5625rem !default; // 9px
|
|
|
|
$mdb-label-as-placeholder-shim-lg: 0 !default; // -4px // manual adjustment of label top when positioned as placeholder
|
|
|
|
$mdb-label-top-margin-lg: 1rem !default; // 16px
|
2015-11-26 03:19:13 +03:00
|
|
|
//
|
2015-11-30 20:15:59 +03:00
|
|
|
$mdb-input-padding-y-sm: .1875 !default; // 3px
|
|
|
|
$mdb-label-as-placeholder-shim-sm: 0 !default; // 8px // manual adjustment of label top when positioned as placeholder
|
|
|
|
$mdb-label-top-margin-sm: .75rem !default; // 12px
|
2015-11-10 22:36:15 +03:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// Card
|
2015-11-25 01:34:17 +03:00
|
|
|
$mdb-card-body-text: $mdb-text-color-primary !default;
|
2015-11-21 19:37:35 +03:00
|
|
|
$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-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;
|
2015-11-25 02:40:52 +03:00
|
|
|
$mdb-radio-color-off: $mdb-checkbox-border-color !default;
|
|
|
|
$mdb-radio-color-on: $brand-primary !default;
|
2015-11-25 01:34:17 +03:00
|
|
|
|
|
|
|
// Buttons:
|
|
|
|
$mdb-btn-font-size-base: 14px !default;
|
|
|
|
$mdb-btn-font-size-lg: 16px !default;
|
|
|
|
$mdb-btn-font-size-sm: 12px !default;
|
|
|
|
$mdb-btn-font-size-xs: 10px !default;
|
|
|
|
|
|
|
|
$mdb-btn-background-color: transparent !default;
|
|
|
|
$mdb-btn-background-color-text: $mdb-text-color-primary !default;
|
|
|
|
|
|
|
|
$mdl-btn-border-radus: 2px !default;
|
|
|
|
//$mdb-btn-primary-color: unquote("rgba(#{$rgb-grey-500}, 0.20)") !default;
|
|
|
|
|
|
|
|
$mdb-btn-fab-size: 56px !default;
|
|
|
|
$mdb-btn-fab-size-mini: 40px !default;
|
|
|
|
$mdb-btn-fab-font-size: 24px !default;
|
|
|
|
|
|
|
|
$mdb-btn-icon-size: 32px !default;
|
|
|
|
$mdb-btn-icon-size-mini: 24px !default;
|
|
|
|
|
|
|
|
/* SHADOWS */
|
|
|
|
$mdb-shadow-key-umbra-opacity: 0.2 !default;
|
|
|
|
$mdb-shadow-key-penumbra-opacity: 0.14 !default;
|
|
|
|
$mdb-shadow-ambient-shadow-opacity: 0.12 !default;
|