tinper-bee-core/scss/minxin-variables.scss

1452 lines
45 KiB
SCSS
Raw Normal View History

2016-10-10 10:01:52 +08:00
2016-11-15 17:01:16 +08:00
2016-10-10 10:01:52 +08:00
// $performance_font: 'Helvetica', 'Arial', sans-serif !default;
@import "minxin-colors";
2016-12-27 13:21:22 +08:00
2016-10-10 10:01:52 +08:00
@function strip-units($number) {
@return $number / ($number * 0 + 1);
}
$unit: 1rem !default;
2017-01-09 11:11:32 +08:00
// IMAGES
2016-10-10 10:01:52 +08:00
$image_path: '/images' !default;
2017-01-09 11:11:32 +08:00
//默认颜色
2016-10-10 10:01:52 +08:00
$trim-color-classes: false !default;
@import "minxin-themeColors";
2016-12-27 13:21:22 +08:00
//对比色
2016-10-10 10:01:52 +08:00
$color-primary-contrast: $color-dark-contrast !default;
$color-accent-contrast: $color-dark-contrast !default;
2016-12-27 13:21:22 +08:00
//字体颜色
2016-10-10 10:01:52 +08:00
$color-text: $palette-grey-900 !default;
2016-11-15 17:01:16 +08:00
//不明所以 $primary-color: unquote("rgba(#{$palette-grey-500}, 0.20)") !default;
2016-10-10 10:01:52 +08:00
2016-11-24 14:36:39 +08:00
// -- Fonts 字体大小权重预定义
2016-11-15 17:01:16 +08:00
$preferred-font: 'Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB','Microsoft YaHei',sans-serif !default;
2016-10-10 10:01:52 +08:00
$font-size: 1.6 * $unit !default;
$font-size-tiny: 1.2 * $unit !default;
$font-size-small: 1.4 * $unit !default;
$font-size-normal: $font-size !default;
$font-size-big: 1.8 * $unit !default;
$font-weight-thin: 300 !default;
$font-weight-normal: 400 !default;
$font-weight-semi-bold: 500 !default;
$font-weight-bold: 700 !default;
2016-12-27 13:21:22 +08:00
$font-color:unquote("rgb(#{$palette-u-gray-800})") !default;
2016-10-10 10:01:52 +08:00
$font-weight-override: false;
$font-weight-light: 300;
$font-weight-normal: 400;
$font-weight-medium: 500;
$font-weight-bold: 700;
$font-weight-base: $font-weight-normal;
$gray-base: unquote("rgb(#{$palette-grey-900})") !default;
$gray-darkest: unquote("rgb(#{$palette-grey-800})") !default;
$gray-darker: unquote("rgb(#{$palette-grey-700})") !default;
$gray-dark: unquote("rgb(#{$palette-grey-600})") !default;
$gray: unquote("rgb(#{$palette-grey-500})") !default;
$gray-light: unquote("rgb(#{$palette-grey-400})") !default;
$gray-lighter: unquote("rgb(#{$palette-grey-300})") !default;
$gray-lightest:unquote("rgb(#{$palette-grey-200})") !default;
$inverse: unquote("rgb(#{$color-white})") !default;
$border-color-base: $gray-lighter;
$line-height-base: 1.57142857;
2016-12-27 13:21:22 +08:00
2016-10-10 10:01:52 +08:00
2017-01-09 11:11:32 +08:00
// 阴影
2016-10-10 10:01:52 +08:00
$shadow-key-umbra-opacity: 0.2 !default;
$shadow-key-penumbra-opacity: 0.14 !default;
$shadow-ambient-shadow-opacity: 0.12 !default;
2017-01-06 09:18:45 +08:00
$shadow-base: 0 1px 5px $gray-lighter;
2016-10-10 10:01:52 +08:00
2016-11-15 17:01:16 +08:00
2016-10-10 10:01:52 +08:00
//-- Indexes
$z-index-highest: 300;
$z-index-higher: 200;
$z-index-high: 100;
$z-index-normal: 1;
$z-index-low: -100;
$z-index-lower: -200;
2017-07-27 14:57:43 +08:00
$zindex-modal: 1700;
2016-10-10 10:01:52 +08:00
$zindex-modal-background: 1600;
2016-12-29 17:02:02 +08:00
$zIndex-notification: 1560;
2016-12-29 14:16:46 +08:00
$zIndex-message: 1550;
2017-01-06 13:05:21 +08:00
$zIndex-popconfirm: 1540;
2016-12-29 17:02:02 +08:00
$zIndex-popover: 1540;
$zIndex-tooltip: 1530;
$zIndex-alert: 1510;
2016-10-10 10:01:52 +08:00
$zindex-navbar-fixed: 1500;
$zindex-menubar: 1400;
$zindex-overlay: 1300;
$zindex-dropdown: 1200;
$zindex-navbar: 1200;
$zindex-header: 1100;
$zindex-footer: 1000;
2017-07-14 14:59:28 +08:00
$zindex-backtop:2000;
2016-10-10 10:01:52 +08:00
2017-01-09 11:11:32 +08:00
// 文本字体
2016-10-10 10:01:52 +08:00
2016-12-27 13:21:22 +08:00
//todo
2016-10-10 10:01:52 +08:00
$text-color-primary: unquote("rgba(#{$color-black}, 0.87)") !default;
$text-link-color: unquote("rgb(#{$color-accent})") !default;
$target-elements-directly: true !default;
2017-01-12 08:55:34 +08:00
$global-selected-color: unquote("rgb(#{$palette-blue-100})") !default;
2016-10-10 10:01:52 +08:00
2017-01-09 11:11:32 +08:00
// 控件
2016-10-10 10:01:52 +08:00
$cursor-disabled: not-allowed;
$title-color: $gray-darkest;
2016-12-27 13:21:22 +08:00
//todo
2016-10-10 10:01:52 +08:00
$subtitle-color: $gray-darker;
$text-color: $gray-dark;
2016-12-27 13:21:22 +08:00
2016-10-10 10:01:52 +08:00
$prompt-color: $gray;
//全局不同状态颜色
2016-12-27 13:21:22 +08:00
//todo
$active-color-base: unquote("rgb(#{$palette-blue-800})") !default;
$normal-color-base: unquote("rgb(#{$palette-blue-600})") !default;
$hover-color-base: unquote("rgb(#{$palette-blue-400})") !default;
2016-10-10 10:01:52 +08:00
$bg-color-base: $gray-lightest;
2016-12-27 13:21:22 +08:00
//disable颜色
2016-10-10 10:01:52 +08:00
$disabled-color-base: $gray-light;
2016-12-27 13:21:22 +08:00
$disabled-border-color: $gray-lighter;
$disabled-bg-color: $gray-lightest;
2016-10-10 10:01:52 +08:00
// 全局链接颜色
$link-color: $normal-color-base;
$link-hover-color: $hover-color-base;
$link-active-color: $active-color-base;
$brand-default: $gray-lighter;
$brand-default-hover: $gray-lightest;
$brand-default-active: $gray-light;
2016-12-27 13:21:22 +08:00
$brand-primary : unquote("rgb(#{$color-primary})") !default;
$brand-primary-hover: unquote("rgb(#{$color-primary-light})") !default;
$brand-primary-active: unquote("rgb(#{$color-primary-dark})") !default;
2016-10-10 10:01:52 +08:00
$brand-success: unquote("rgb(#{$palette-green-500})") !default;
2016-12-27 13:21:22 +08:00
$brand-success-hover: unquote("rgb(#{$palette-green-300})") !default;
$brand-success-active: unquote("rgb(#{$palette-green-700})") !default;
2016-10-10 10:01:52 +08:00
$brand-info: unquote("rgb(#{$palette-cyan-500})") !default;
2016-12-27 13:21:22 +08:00
$brand-info-hover: unquote("rgb(#{$palette-cyan-300})") !default;
$brand-info-active: unquote("rgb(#{$palette-cyan-700})") !default;
2016-10-10 10:01:52 +08:00
$brand-warning: unquote("rgb(#{$palette-orange-500})") !default;
2016-12-27 13:21:22 +08:00
$brand-warning-hover: unquote("rgb(#{$palette-orange-300})") !default;
$brand-warning-active: unquote("rgb(#{$palette-orange-700})") !default;
2016-10-10 10:01:52 +08:00
2016-11-22 09:52:41 +08:00
2016-12-27 13:21:22 +08:00
$brand-news: unquote("rgb(#{$palette-blue-500})") !default;
$brand-news-hover: unquote("rgb(#{$palette-blue-300})") !default;
$brand-news-active: unquote("rgb(#{$palette-blue-700})") !default;
2016-11-22 09:52:41 +08:00
2016-10-10 10:01:52 +08:00
$brand-danger: unquote("rgb(#{$palette-red-500})") !default;
2016-12-27 13:21:22 +08:00
$brand-danger-hover: unquote("rgb(#{$palette-red-300})") !default;
$brand-danger-active: unquote("rgb(#{$palette-red-700})") !default;
2016-10-10 10:01:52 +08:00
$brand-dark: $gray-darker;
$brand-dark-hover: $gray-dark;
2016-12-27 13:21:22 +08:00
$brand-dark-active: $gray-darkest;
2016-10-10 10:01:52 +08:00
2016-12-27 13:21:22 +08:00
$brand-light-primary : unquote("rgb(#{$palette-blue-100})") !default;
2016-11-22 10:55:56 +08:00
$brand-light-success: unquote("rgb(#{$palette-green-100})") !default;
$brand-light-info: unquote("rgb(#{$palette-cyan-100})") !default;
$brand-light-warning: unquote("rgb(#{$palette-orange-100})") !default;
2016-12-27 13:21:22 +08:00
$brand-light-news: unquote("rgb(#{$palette-blue-100})") !default;
2016-11-22 10:55:56 +08:00
$brand-light-danger: unquote("rgb(#{$palette-red-100})") !default;
2017-01-09 11:11:32 +08:00
//不同背景下对应的文字颜色
2016-11-22 10:55:56 +08:00
2016-12-27 13:21:22 +08:00
$color-news: unquote("rgb(#{$palette-blue-500})") !default;
2016-11-22 10:55:56 +08:00
$color-success: unquote("rgb(#{$palette-green-500})") !default;
$color-info: unquote("rgb(#{$palette-cyan-500})") !default;
$color-warning: unquote("rgb(#{$palette-orange-500})") !default;
$color-danger: unquote("rgb(#{$palette-red-500})") !default;
2016-10-10 10:01:52 +08:00
2016-12-27 13:21:22 +08:00
//redius
2016-12-27 14:32:22 +08:00
$default-border-radius: 4px;
2016-12-27 13:21:22 +08:00
2017-01-09 11:11:32 +08:00
// UButton
2016-10-10 10:01:52 +08:00
// Default button colors.
2016-12-27 14:32:22 +08:00
$button-default-color: $brand-default;
$button-default-color-IE8: $brand-default;
2016-10-10 10:01:52 +08:00
2016-12-27 14:32:22 +08:00
$button-hover-color: $brand-default-hover;
$button-active-color: $brand-default-active;
$button-focus-color: $brand-default-active;
2016-10-10 10:01:52 +08:00
2016-12-27 15:18:59 +08:00
$button-text-color: unquote("rgb(#{$color-dark-contrast})") !default;
$button-default-text-color: unquote("rgb(#{$color-light-contrast})") !default;
2016-10-10 10:01:52 +08:00
2016-11-25 09:18:35 +08:00
$button-primary-color: $brand-primary;
$button-primary-active-color: $brand-primary-active;
$button-primary-hover-color: $brand-primary-hover;
$button-success-color: $brand-success;
$button-success-active-color: $brand-success-active;
$button-success-hover-color: $brand-success-hover;
$button-info-color: $brand-info;
$button-info-active-color: $brand-info-active;
$button-info-hover-color: $brand-info-hover;
$button-warning-color: $brand-warning;
$button-warning-active-color: $brand-warning-active;
$button-warning-hover-color: $brand-warning-hover;
$button-danger-color: $brand-danger;
$button-danger-active-color: $brand-danger-active;
$button-danger-hover-color: $brand-danger-hover;
$button-dark-color: $brand-dark;
$button-dark-active-color: $brand-dark-active;
$button-dark-hover-color: $brand-dark-hover;
2016-10-10 10:01:52 +08:00
// FAB colors and sizes.
$button-fab-color-alt: unquote("rgb(#{$color-accent})") !default;
$button-fab-hover-color-alt: unquote("rgb(#{$color-accent-light})") !default;
$button-fab-active-color-alt: unquote("rgb(#{$color-accent})") !default;
$button-fab-text-color-alt: unquote("rgb(#{$color-accent-contrast})") !default;
$button-fab-ripple-color-alt: unquote("rgb(#{$color-accent-contrast})") !default;
// Icon button colors and sizes.
$button-icon-color: unquote("rgb(#{$palette-grey-700})") !default;
$button-icon-focus-color: $button-focus-color !default;
//Dimensions
2016-12-27 13:21:22 +08:00
$button-min-width: 72/10 * $unit !default;
$button-height: 36/10 * $unit !default;
$button-padding: 5/10* $unit 13/10 * $unit !default;
2016-10-10 10:01:52 +08:00
$button-padding-IE8: 5px 13px !default;
2016-12-27 13:21:22 +08:00
$button-top-padding: 1310 * $unit !default;
$button-left-padding: 6/10* $unit !default;
2016-10-10 10:01:52 +08:00
$button-line-height:1.57142857;
2016-12-27 13:21:22 +08:00
$button-margin: 4/10 * $unit !default;
$button-border-radius: 4/10 * $unit !default;
2016-10-10 10:01:52 +08:00
2016-12-27 13:21:22 +08:00
$button-fab-size: 38/10 * $unit !default;
$button-fab-size-mini: 30/10 * $unit !default;
$button-fab-font-size: 14/10 * $unit !default;
2016-10-10 10:01:52 +08:00
2016-12-27 13:21:22 +08:00
$button-icon-size: 32/10 * $unit !default;
$button-icon-size-mini: 13/10 * $unit !default;
2016-10-10 10:01:52 +08:00
2016-12-27 13:21:22 +08:00
$button-raised-font-size: 14/10 * $unit !default;
2016-10-10 10:01:52 +08:00
$button-border-color:unquote("rgb(#{$palette-grey-300})") !default;
// 大按钮
2016-12-27 14:32:22 +08:00
$button-padding-y-lg:8px;
2016-10-10 10:01:52 +08:00
$button-padding-x-lg:15px;
2016-12-27 14:32:22 +08:00
$font-size-lg:1.4 * $unit;
2016-10-10 10:01:52 +08:00
//特大型按钮
$button-padding-y-xg:10px;
$button-padding-x-xg:18px;
2016-12-27 14:32:22 +08:00
$font-size-xg:1.6 * $unit;
2016-10-10 10:01:52 +08:00
//小型按钮
2016-12-27 14:32:22 +08:00
$button-padding-y-sm:3px;
2016-10-10 10:01:52 +08:00
$button-padding-x-sm:5px;
2016-12-27 14:32:22 +08:00
$font-size-sm:1.2 * $unit;
2016-10-10 10:01:52 +08:00
2017-01-09 11:11:32 +08:00
// UText
2017-01-04 16:30:26 +08:00
$form-control-border-radius: 3px;
$form-control-default-font-size: 1.4rem;
$form-control-lg-font-size: 1.4rem;
$form-control-sm-font-size: 1.2rem;
$form-control-default-height: 30px;
$form-control-lg-height: 38px;
$form-control-sm-height: 24px;
$form-control-color: #424242;
$form-control-bg-color: #fff;
$form-control-border-color: #bdbdbd;
$form-control-disable-bg-color: #eee;
$form-control-disable-color: #BDBDBD;
$form-control-disable-border-color: #e0e0e0;
2016-10-10 10:01:52 +08:00
$input-text-background-color: transparent !default;
$input-text-label-color: unquote("rgba(#{$color-black}, 0.26)") !default;
$input-text-bottom-border-color: unquote("rgba(#{$color-black}, 0.12)") !default;
$input-text-bottom-border-color-IE8: unquote("rgb(#{$color-black})") !default;
$input-text-highlight-color: unquote("rgb(#{$color-primary})") !default;
$input-text-disabled-color: $input-text-bottom-border-color !default;
$input-text-disabled-text-color: $input-text-label-color !default;
$input-text-error-color: unquote("rgb(222, 50, 38)") !default;
$input-text-must-color:unquote("rgb(#{$palette-red-A700})") !default;
$input-text-font-size: 14px !default;
$input-text-width: 100% !default;
$input-text-padding: 4px !default;
$input-text-vertical-spacing: 20px !default;
$input-text-button-size: 32px !default;
$input-text-floating-label-fontsize: 12px !default;
$input-text-expandable-icon-top: 16px !default;
$input-text-height:36px !default;
$input-text-normal-width:360px !default;
$input-text-short-width:180px !default;
$input-text-normal-border-color:unquote("rgb(#{$palette-u-gray-400})") !default;
$input-text-color:unquote("rgb(#{$palette-u-gray-A200})") !default
$input-text-focus-border-color:unquote("rgb(#{$palette-u-blue-400})") !default;
$input-lable-color:unquote("rgb(#{$palette-u-gray-900})") !default
2017-01-09 11:26:26 +08:00
2017-01-09 11:23:54 +08:00
/* FormGroup */
$error-input-border:$brand-danger;
$warning-input-border:$brand-warning;
$success-input-border:$brand-success;
$success-addon-bg: $brand-light-success;
$warning-addon-bg: $brand-light-warning;
$error-addon-bg: $brand-light-danger;
$form-group-margin-top: 15px;
$form-group-margin-bottom: 15px;
2016-10-10 10:01:52 +08:00
/* Navlayout */
$layout-nav-color: unquote("rgb(#{$palette-grey-100})") !default;
// Drawer
$layout-drawer-bg-color: unquote("rgb(#{$palette-grey-50})") !default;
$layout-drawer-border-color: unquote("rgb(#{$palette-grey-300})") !default;
$layout-text-color: unquote("rgb(#{$palette-grey-800})") !default;
$layout-drawer-navigation-color: #757575 !default;
$layout-drawer-navigation-link-active-background: unquote("rgb(#{$palette-grey-200})") !default;
$layout-drawer-navigation-link-active-color: $layout-text-color !default;
// Header
$layout-header-bg-color: unquote("rgb(#{$color-primary})") !default;
$layout-header-text-color: unquote("rgb(#{$color-primary-contrast})") !default;
$layout-header-nav-hover-color: unquote("rgba(#{$palette-grey-700}, 0.6)") !default;
$layout-header-tab-text-color: unquote("rgba(#{$color-primary-contrast}, 0.6)") !default;
// Tabs
$layout-header-tab-highlight: unquote("rgb(#{$color-accent})") !default;
$layout-nav-link-font-size: 13px !default;
$layout-drawer-narrow: 240px !default;
$layout-drawer-wide: 456px !default;
$layout-drawer-width: $layout-drawer-narrow !default;
$layout-header-icon-size: 32px !default;
$layout-screen-size-threshold: 1024px !default;
$layout-header-icon-margin: 24px !default;
$layout-drawer-button-mobile-size: 44px !default;
$layout-drawer-button-desktop-size: 34px !default;
$layout-drawer-button-desktop-margin-top: 5px !default;
$layout-drawer-button-mobile-margin-top: 10px !default;
$layout-header-mobile-row-height: 56px !default;
$layout-mobile-header-height: $layout-header-mobile-row-height;
$layout-header-desktop-row-height: 44px !default;
$layout-desktop-header-height: $layout-header-desktop-row-height;
$layout-header-desktop-baseline: 80px !default;
$layout-header-mobile-baseline: 72px !default;
$layout-header-mobile-indent: 16px !default;
$layout-header-desktop-indent: 40px !default;
$layout-tab-font-size: 14px !default;
$layout-tab-bar-height: 48px !default;
$layout-tab-mobile-padding: 12px !default;
$layout-tab-desktop-padding: 24px !default;
$layout-tab-highlight-thickness: 2px !default;
2017-01-09 11:11:32 +08:00
// gridlayout
2016-10-10 10:01:52 +08:00
// Extra small screen / phone
//$screen-xs: 480px;
$screen-xs-min: 480px;
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-phone` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-phone: @screen-xs-min;
// Small screen / tablet
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-sm` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-sm: 768px;
$screen-sm-min: 768px;
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-tablet` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-tablet: @screen-sm-min;
// Medium screen / desktop
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-md` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-md: 992px;
$screen-md-min: 992px;
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-desktop` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-desktop: @screen-md-min;
// Large screen / wide desktop
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-lg` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-lg: 1200px;
$screen-lg-min: 1200px;
2017-01-09 11:11:32 +08:00
// Deprecated `@screen-lg-desktop` as of v3.0.1
2016-10-10 10:01:52 +08:00
//@screen-lg-desktop: @screen-lg-min;
$screen-xs-max: ($screen-sm-min - 1 );
$screen-sm-max: ($screen-sm-min - 1 );
$screen-md-max: ($screen-lg-min - 1 );
2017-01-09 11:11:32 +08:00
// Number of columns in the grid.
2016-10-10 10:01:52 +08:00
$grid-columns: 12;
2017-01-09 11:11:32 +08:00
// Padding between columns. Gets divided in half for the left and right.
2016-10-10 10:01:52 +08:00
$grid-gutter-width: 30px;
// Navbar collapse
2017-01-09 11:11:32 +08:00
// Point at which the navbar becomes uncollapsed.
2016-10-10 10:01:52 +08:00
$grid-float-breakpoint: 768px;
2017-01-09 11:11:32 +08:00
// Point at which the navbar begins collapsing.
2016-10-10 10:01:52 +08:00
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
// Small screen / tablet
$container-tablet: (720px + $grid-gutter-width);
2017-01-09 11:11:32 +08:00
// For `@screen-sm-min` and up.
2016-10-10 10:01:52 +08:00
$container-sm: $container-tablet;
// Medium screen / desktop
$container-desktop: (940px + $grid-gutter-width);
2017-01-09 11:11:32 +08:00
// For `@screen-md-min` and up.
2016-10-10 10:01:52 +08:00
$container-md: $container-desktop;
// Large screen / wide desktop
$container-large-desktop: (1140px + $grid-gutter-width);
2017-01-09 11:11:32 +08:00
// For `@screen-lg-min` and up.
2016-10-10 10:01:52 +08:00
$container-lg: $container-large-desktop;
2017-01-09 11:11:32 +08:00
// menu
2016-10-10 10:01:52 +08:00
$default-dropdown-bg-color: unquote("rgb(#{$color-white})") !default;
$menu-expand-duration: 0.3s !default;
$menu-fade-duration: 0.2s !default;
// Default Item Colors
$default-item-text-color: unquote("rgba(#{$color-black}, 0.87)") !default;
$default-item-text-color-IE8: unquote("rgb(#{$color-black})") !default;
$default-item-outline-color: unquote("rgb(#{$palette-u-blue-400})") !default;
$default-item-hover-bg-color: unquote("rgb(#{$palette-u-blue-100})") !default;
$default-item-focus-bg-color: unquote("rgb(#{$palette-u-blue-200})") !default;
$default-item-active-bg-color: unquote("rgb(#{$palette-u-blue-200})") !default;
$default-item-divider-color: unquote("rgba(#{$color-black}, 0.12)") !default;
// Disabled Button Colors
$disabled-item-text-color: unquote("rgb(#{$palette-grey-400})") !default;
2017-01-09 11:11:32 +08:00
// Tile
2017-01-03 14:40:01 +08:00
$tile-width: 100%;
$tile-default-border-color: #e9e9e9;
$tile-default-hover-shadow-color: rgba(0, 0, 0, 0.2);
2017-01-03 15:40:22 +08:00
$tile-primary-border-color: $button-primary-color;
$tile-primary-hover-shadow-color: $button-primary-hover-color;
2017-01-03 14:40:01 +08:00
$tile-danger-border-color: $button-danger-color;
$tile-danger-hover-shadow-color: $button-danger-hover-color;
$tile-warning-border-color: $button-warning-color;
$tile-warning-hover-shadow-color: $button-warning-hover-color;
$tile-success-border-color: $button-success-color;
$tile-success-hover-shadow-color: $button-success-hover-color;
$tile-info-border-color: $button-info-color;
$tile-info-hover-shadow-color: $button-info-hover-color;
2017-01-09 11:11:32 +08:00
// Alert
2016-11-22 10:55:56 +08:00
$alert-news-bg: $brand-light-news;
$alert-success-bg: $brand-light-success;
$alert-info-bg: $brand-light-info;
$alert-warning-bg: $brand-light-warning;
$alert-danger-bg: $brand-light-danger;
$alert-dark-news-bg: $brand-news;
$alert-dark-success-bg: $brand-success;
$alert-dark-info-bg: $brand-info;
$alert-dark-warning-bg: $brand-warning;
$alert-dark-danger-bg: $brand-danger;
$alert-news-color: $color-news;
$alert-success-color: $color-success;
$alert-info-color: $color-info;
$alert-warning-color: $color-warning;
$alert-danger-color: $color-danger;
2016-10-10 10:01:52 +08:00
2017-08-07 20:13:23 +08:00
$timeline-news-color: $color-news;
$timeline-success-color: $color-success;
$timeline-info-color: $color-info;
$timeline-warning-color: $color-warning;
$timeline-danger-color: $color-danger;
2016-12-29 15:51:42 +08:00
$alert-padding:10px;
$alert-font-size:12px;
$alert-border-radius: 4px;
$alert-text-padding-left: 15px;
$alert-text-padding-right: 15px;
$alert-close-font-size: 21px;
$alert-close-opacity: .2;
$alert-close-font-weight: 700;
2017-01-09 11:11:32 +08:00
//Checkbox
2016-10-10 10:01:52 +08:00
$checkbox-color: unquote("rgb(#{$color-primary})") !default;
$checkbox-off-color: unquote("rgb(#{$palette-u-gray-600})") !default;
$checkbox-off-color-IE8: unquote("rgb(#{$palette-u-gray-600})") !default;
$checkbox-disabled-color: unquote("rgb(#{$palette-u-gray-600})") !default;
$checkbox-focus-color: unquote("rgba(#{$palette-u-blue-500}, 0.26)") !default;
$checkbox-image-path: $image_path;
$checkbox-label-font-size: 13px !default;
$checkbox-label-height: 24px !default;
$checkbox-button-size: 16px !default;
$checkbox-inner-margin: 2px !default;
$checkbox-padding: 8px !default;
$checkbox-top-offset:
($checkbox-label-height - $checkbox-button-size - $checkbox-inner-margin) / 2;
$checkbox-ripple-size: $checkbox-label-height * 1.5;
$checkbox-primary-bg: $brand-primary;
$checkbox-success-bg: $brand-success;
$checkbox-info-bg: $brand-info;
$checkbox-warning-bg: $brand-warning;
$checkbox-danger-bg: $brand-danger;
$checkbox-dark-bg: $brand-dark;
$progress-primary-bg: $brand-primary;
$progress-success-bg: $brand-success;
$progress-info-bg: $brand-info;
$progress-warning-bg: $brand-warning;
$progress-danger-bg: $brand-danger;
$progress-dark-bg: $brand-dark;
$color-primary-opacity:unquote("rgba(#{$color-primary}, 0.7)") !default;
$color-success-opacity:unquote("rgba(#{$palette-green-500}, 0.7)") !default;
$color-info-opacity:unquote("rgba(#{$palette-cyan-500}, 0.7)") !default;
$color-warning-opacity:unquote("rgba(#{$palette-orange-500}, 0.7)") !default;
$color-danger-opacity:unquote("rgba(#{$palette-red-500}, 0.7)") !default;
$color-dark-opacity:unquote("rgba(#{$palette-grey-700}, 0.7)") !default;
2017-01-04 15:14:47 +08:00
$progress-sm-height: 10px;
$progress-xs-height: 5px;
$progress-xs-width: 170px;
$progress-default-height: 20px;
$progress-sm-lable-font-size: 10px;
$progress-sm-lable-line-height: 10px;
$progress-xs-lable-line-height: 8px;
$progress-xs-lable-margin-left: 140px;
$progress-xs-lable-font-size: 10px;
$progress-xs-lable-color: #000;
2017-01-09 11:11:32 +08:00
// Radio
2016-10-10 10:01:52 +08:00
$radio-color: unquote("rgb(#{$color-primary})") !default;
$radio-off-color: unquote("rgb(#{$palette-u-gray-600})") !default;
$radio-off-color-IE8: unquote("rgb(#{$palette-u-gray-600})") !default;
$radio-disabled-color: unquote("rgb(#{$palette-u-gray-600})") !default;
$radio-label-font-size: 13px !default;
$radio-label-height: 32px !default;
$radio-button-size: 16px !default;
$radio-inner-margin: $radio-button-size / 4;
$radio-padding: 8px !default;
$radio-top-offset: ($radio-label-height - $radio-button-size) / 2;
$radio-ripple-size: 42px !default;
$radio-primary-bg: $brand-primary;
$radio-success-bg: $brand-success;
$radio-info-bg: $brand-info;
$radio-warning-bg: $brand-warning;
$radio-danger-bg: $brand-danger;
$radio-dark-bg: $brand-dark;
2017-01-07 12:45:53 +08:00
$radio-disabled-color: rgba(0, 0, 0, 0.25);
$radio-disabled-bg: #f7f7f7;
$radio-diabled-border-color: #d9d9d9;
$radio-border-color: #d9d9d9;
$radio-bg-color: #fff;
$radio-color: rgba(0, 0, 0, 0.65);
$radio-checked-bg-color: #fff;
$radio-checked-color: #108ee9;
$radio-checked-border-color: $radio-checked-color;
$radio-icon-height: 18px;
$radio-icon-width: 18px;
$radio-icon-checked-height: 8px;
$radio-icon-checked-width: 8px;
2017-07-27 14:32:25 +08:00
$radio-button-lg-height:42px;
$radio-button-lg-line-height:26px;
2017-01-07 12:45:53 +08:00
$radio-button-sm-height:22px;
$radio-button-sm-line-height:20px;
$radio-button-height: 28px;
$radio-button-line-height: 26px;
2016-10-10 10:01:52 +08:00
2017-01-09 11:11:32 +08:00
//loading
2016-10-10 10:01:52 +08:00
$loading-color-1: unquote("rgb(#{$palette-blue-400})") !default;
$loading-color-2: unquote("rgb(#{$palette-red-500})") !default;
$loading-color-3: unquote("rgb(#{$palette-yellow-600})") !default;
$loading-color-4: unquote("rgb(#{$palette-green-500})") !default;
$loading-single-color: unquote("rgb(#{$color-primary})") !default;
$loading-size: 28px !default;
$loading-stroke-width: 3px !default;
// Amount of circle the arc takes up.
$loading-arc-size: 270deg !default;
// Time it takes to expand and contract arc.
$loading-arc-time: 1333ms !default;
// How much the start location of the arc should rotate each time.
$loading-arc-start-rot: 216deg !default;
$loading-duration: 360 * $loading-arc-time / (
strip-units($loading-arc-start-rot + (360deg - $loading-arc-size)));
2017-01-09 11:11:32 +08:00
// datetimepicker
2016-10-10 10:01:52 +08:00
$date-bg-color: unquote("rgb(#{$color-primary})") !default;
2017-01-09 11:11:32 +08:00
// message
2016-10-10 10:01:52 +08:00
$snackbar-color: unquote("rgb(#{$color-white})") !default;
$snackbar-background-color: unquote("rgb(#{$color-primary})") !default;
$snackbar-color-cancel: unquote("rgb(#{$palette-red-500})") !default;
$snackbar-color-accept: unquote("rgb(#{$palette-green-500})") !default;
$snackbar-color-warning: unquote("rgb(#{$palette-lime-200})") !default;
2017-01-09 11:11:32 +08:00
// DATA TABLE
2016-10-10 10:01:52 +08:00
$data-table-font-size: 13px !default;
$data-table-header-font-size: 12px !default;
$data-table-header-sort-icon-size: 16px !default;
$data-table-header-color: rgba(#000, 0.54) !default;
$data-table-header-sorted-color: rgba(#000, 0.87) !default;
$data-table-divider-color: rgba(#000, 0.12) !default;
$data-table-divider-color-IE8: rgb(0,0,0) !default;
//$data-table-hover-color: #eeeeee !default;
$data-table-hover-color: #E9F7FC !default;
$data-table-selection-color: #C4EAF6 !default;
$data-table-dividers: 1px solid $data-table-divider-color !default;
$data-table-dividers-IE8: 1px solid $data-table-divider-color-IE8 !default;
$data-table-row-height: 48px !default;
$data-table-last-row-height: 56px !default;
$data-table-header-height: 56px !default;
$data-table-column-spacing: 36px !default;
$data-table-column-padding: $data-table-column-spacing / 2;
$data-table-card-header-height: 64px !default;
$data-table-card-title-top: 20px !default;
$data-table-card-padding: 24px !default;
$data-table-button-padding-right: 16px !default;
$data-table-cell-top: $data-table-card-padding / 2;
// $line-height-computed: round(($font-size-small * $line-height-base));
$line-height-computed: round((14px * $line-height-base));
$table-bg: transparent;
$table-cell-padding: 8px;
$table-border-color: $border-color-base;
$table-bg-hover: $bg-color-base;
$table-bg-active: $table-bg-hover;
$table-bg-accent: unquote("rgba(#{$palette-grey-200},.3)") !default;
2017-01-09 11:11:32 +08:00
// tooltip
2016-12-29 15:02:10 +08:00
$tooltip-max-width: 200px;
$tooltip-color: #fff;
$tooltip-bg: #000;
$tooltip-inverse-border-color: #d9d9d9;
$tooltip-inverse-color: rgb(51,51,51);
$tooltip-arrow-color: $tooltip-bg;
$tooltip-opacity: .9;
2016-10-10 10:01:52 +08:00
2017-01-09 11:11:32 +08:00
// 进度条
2016-10-10 10:01:52 +08:00
$bar-height: 4px !default;
$progress-main-color: unquote("rgb(#{$color-primary})") !default;
$progress-secondary-color: unquote("rgba(#{$color-primary-contrast}, 0.7)") !default;
$progress-fallback-buffer-color: unquote("rgba(#{$color-primary-contrast}, 0.9)") !default;
$progress-image-path: $image_path;
$progress-buffer-bar-border:unquote("rgb(#{$palette-u-gray-600})") !default;
// Tabs
$layout-header-tab-highlight: unquote("rgb(#{$color-accent})") !default;
2017-01-09 11:11:32 +08:00
2016-10-10 10:01:52 +08:00
$tab-highlight-color: unquote("rgb(#{$color-primary})") !default;
$tab-text-color: unquote("rgba(#{$color-black}, 0.54)") !default;
$tab-active-text-color: unquote("rgba(#{$color-black}, 0.87)") !default;
$tab-border-color: unquote("rgb(#{$palette-grey-300})") !default;
2017-01-09 11:11:32 +08:00
//CARD
2016-10-10 10:01:52 +08:00
$card-width: 330px !default;
$card-height: 200px !default;
$card-font-size: 13px !default;
$card-title-font-size: 24px !default;
$card-subtitle-font-size: 10px !default;
$card-horizontal-padding: 16px !default;
$card-vertical-padding: 16px !default;
$card-title-perspective-origin-x: 165px !default;
$card-title-perspective-origin-y: 56px !default;
$card-title-transform-origin-x: 165px !default;
$card-title-transform-origin-y: 56px !default;
$card-title-text-transform-origin-x: 149px !default;
$card-title-text-transform-origin-y: 48px !default;
2016-12-27 13:21:22 +08:00
$card-supporting-text-font-size: 1.4 * $unit !default;
2016-10-10 10:01:52 +08:00
$card-supporting-text-line-height: 18px !default;
$card-actions-font-size: 13px !default;
$card-title-text-font-weight: 300 !default;
$card-z-index: 1 !default;
2017-01-09 11:11:32 +08:00
// Cover image
2016-10-10 10:01:52 +08:00
$card-cover-image-height: 186px !default;
$card-background-image-url: '' !default;
2017-01-09 11:11:32 +08:00
2016-10-10 10:01:52 +08:00
$card-background-color: unquote("rgb(#{$color-white})") !default;
$card-text-color: unquote("rgb(#{$color-black})") !default;
$card-image-placeholder-color: unquote("rgb(#{$color-accent})") !default;
$card-supporting-text-text-color: unquote("rgba(#{$color-black}, 0.54)") !default;
$card-border-color: rgba(0,0,0,0.1) !default;
$card-subtitle-color: unquote("rgba(#{$color-black}, 0.54)") !default;
2017-01-09 11:11:32 +08:00
2016-10-10 10:01:52 +08:00
$input-border:unquote("rgb(#{$palette-u-gray-500})");
$input-border-focus:unquote("rgb(#{$color-primary})");
$input-border-disabled:unquote("rgb(#{$palette-u-gray-100})");
$input-bg-disabled:unquote("rgb(#{$palette-u-gray-100})");
$input-color:unquote("rgb(#{$palette-u-gray-A100})");
$form-input-height:36px;
$form-input-height-sm:28px;
$form-input-padding-left:12px;
$form-label-color:unquote("rgb(#{$palette-u-gray-900})");
$form-control-feedback-color:unquote("rgb(#{$palette-u-gray-700})");
$form-validate-error-color:unquote("rgb(#{$palette-u-red-600})");
2017-01-09 11:11:32 +08:00
// BADGE
2016-10-10 10:01:52 +08:00
$badge-font-size: 12px !default;
$badge-color: unquote("rgb(#{$color-accent-contrast})") !default;
$badge-color-inverse: unquote("rgb(#{$color-accent})") !default;
$badge-background: unquote("rgb(#{$color-accent})") !default;
$badge-background-inverse: unquote("rgba(#{$color-accent-contrast},0.2)") !default;
$badge-size : 22px !default;
$badge-padding: 2px !default;
$badge-overlap: 12px !default;
$badge-primary-color:#FFFFFF;
$badge-primary-bg:$brand-primary;
$badge-success-color:#FFFFFF;
$badge-success-bg: $brand-success;
$badge-info-color:#FFFFFF;
$badge-info-bg:$brand-info;
$badge-warning-color:#FFFFFF;
$badge-warning-bg:$brand-warning;
$badge-danger-color:#FFFFFF;
$badge-danger-bg:$brand-danger;
$badge-dark-color:#FFFFFF;
$badge-dark-bg:$brand-dark;
2017-01-03 15:40:22 +08:00
$badge-font-size: 12px;
$badge-font-dataicon-size: 10px;
$badge-default-dataicon-fontcolor: #757575;
$badge-default-dataicon-bgcolor: #fff;
$badge-default-dataicon-bordercolor: #ccc;
2016-10-10 10:01:52 +08:00
// labels
$tag-padding: .25em .6em .25em;
$tag-border-radius: 0.3em;
$tag-bg: #eeeeee;
$tag-round-border-radius: 1em;
$tag-default-color: #757575;
$tag-default-bg:#e0e0e0;
$tag-lg-font-size: 16px;
$tag-sm-font-size: 10px;
$tag-sm-padding: .1em .5em .1em;
$tag-default-hover-bg: $brand-default-hover;
$tag-primary-hover-bg: $brand-primary-hover;
$tag-success-hover-bg: $brand-success-hover;
$tag-info-hover-bg: $brand-info-hover;
$tag-warning-hover-bg: $brand-warning-hover;
$tag-danger-hover-bg: $brand-danger-hover;
$tag-dark-hover-bg: $brand-dark-hover;
$tag-default-bg: $brand-default;
$tag-primary-bg: $brand-primary;
$tag-success-bg: $brand-success;
$tag-info-bg: $brand-info;
$tag-warning-bg: $brand-warning;
$tag-danger-bg: $brand-danger;
$tag-dark-bg: $brand-dark;
$tag-default-hover-color:unquote("rgb(#{$palette-u-gray-500})");
// pagination
$pagination-gap-hover-border:unquote("rgb(#{$color-primary})");
$pagination-link-padding: 7px 13px;
$pagination-lg-font-size: 16px;
$pagination-lg-padding-vertical: 9px;
$pagination-lg-padding-horizontal: 15px;
$pagination-small-font-size: 14px;
$pagination-small-padding-vertical: 5px;
$pagination-small-padding-horizontal: 9px;
2017-01-06 11:20:03 +08:00
$pag-color: #666666;
$pag-bg-color: #fff;
$pag-border-color:#d7d7d7;
$pag-hover-color: #666;
$pag-hover-bg-color:#eee;
$pag-hover-border-color:#d7d7d7;
$pag-active-color: #fff;
$pag-active-bg-color:unquote("rgb(#{$color-primary})");
$pag-active-border-color:unquote("rgb(#{$color-primary})");
$pag-disabled-color: #777;
$pag-disabled-bg-color:#fff;
$pag-disabled-border-color:#ddd;
2016-10-10 10:01:52 +08:00
$border-radius-base: 3px;
$border-radius-large: 4px;
$border-radius-small: 2px;
$line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
$line-height-small: 1.5;
// widget
$widget-padding-left:30px;
$widget-padding-top:10px;
//tooltips
$tooltip-default-bg: $brand-default;
$tooltip-primary-bg: $brand-primary;
$tooltip-success-bg: $brand-success;
$tooltip-info-bg: $brand-info;
$tooltip-warning-bg: $brand-warning;
$tooltip-danger-bg: $brand-danger;
$tooltip-dark-bg: $brand-dark;
//menu Button
$menu-default-bg: $brand-default;
$menu-primary-bg: $brand-primary;
$menu-success-bg: $brand-success;
$menu-info-bg: $brand-info;
$menu-warning-bg: $brand-warning;
$menu-danger-bg: $brand-danger;
$menu-dark-bg: $brand-dark;
$menu-default-bg-hover: $brand-default-hover;
$menu-primary-bg-hover: $brand-primary-hover;
$menu-success-bg-hover: $brand-success-hover;
$menu-info-bg-hover: $brand-info-hover;
$menu-warning-bg-hover: $brand-warning-hover;
$menu-danger-bg-hover: $brand-danger-hover;
$menu-dark-bg-hover: $brand-dark-hover;
// breadcrumbs
$border-radius-base: 3px;
$border-radius-large: 4px;
$border-radius-small: 2px;
$breadcrumb-padding-vertical: 8px;
$breadcrumb-padding-horizontal: 10px;
$breadcrumb-separator: "/\00a0";
$breadcrumb-bg: transparent;
$breadcrumb-margin-bottom: 10px;
$breadcrumb-color: $link-color;
$breadcrumb-active-color: $text-color;
$breadcrumb-icon-margin-right: 10px;
$breadcrumb-arrow-separator: "\00bb\00a0";
2017-01-06 11:20:03 +08:00
$breadcrumb-bg-color: #f5f5f5;
$breadcrumb-active-color: #777;
$breadcrumb-separate-color: #ccc;
$breadcrumb-color: $brand-info;
2016-10-10 10:01:52 +08:00
// list-group
$list-group-media-heading-font-size : $font-size-small;//14px
$list-group-link-disabled-color : $disabled-color-base;
$list-group-link-disabled-bg : $gray-lightest;
$list-group-active-color : $brand-primary;
$list-group-link-active-color : unquote("rgb(#{$color-white})") !default;
$list-group-link-active-bg : $brand-primary;
$list-group-item-icon-margin-right : 10px;
$list-group-bg-inherit-item-border : rgba(0, 0, 0, 0.075);
$list-group-bg-inherit-item-hover-bg : rgba(0, 0, 0, 0.075);
$list-group-border-radius: $border-radius-base;
$list-group-link-color: $text-color;
$list-group-link-hover-color: $text-color;
$list-group-link-heading-color: $title-color;
$list-group-hover-bg: $bg-color-base;
$list-group-disabled-bg: transparent;
$list-group-disabled-color: $disabled-color-base;
$list-group-disabled-text-color: $list-group-disabled-color;
$list-group-active-bg: transparent;
$list-group-active-border: $list-group-active-bg;
// $list-group-active-text-color: lighten($list-group-active-color, 40%);
$list-group-active-text-color: $list-group-active-color;
$list-group-bg: #fff;
$list-group-border: transparent;
// $list-group-bordered-border : $border-color-base;
// $list-group-bordered-active-color : $component-active-color;
// $list-group-bordered-active-bg : $component-active-bg;
// $list-group-bordered-active-border : $list-group-bordered-active-bg;
// $list-group-gap-item-margin-bottom : 2px;
//step
$steps-margin-bottom: $line-height-computed;
$step-padding-horizontal:20px;
$step-padding-vertical: 12px;
$step-vertical-padding-horizontal: 20px;
$step-vertical-padding-vertical:18px;
$step-color: $gray;
$step-bg: $bg-color-base;
$step-number-bg: $gray-lighter;
$step-number-color: $inverse;
$step-current-color: $inverse;
$step-current-bg: $brand-primary;
$step-done-color: $inverse;
$step-done-bg:$brand-success;
$step-error-color: $inverse;
$step-error-bg: $brand-danger;
$step-disabled-color:$gray-light;
$step-font-size: inherit;
$step-title-font-size: 20px;
$step-icon-font-size:27px;
$step-number-font-size:24px;
$step-number-size: 40px;
$step-lg-padding-horizontal:20px;
$step-lg-padding-vertical:20px;
$step-lg-font-size: 16px;
$step-lg-title-font-size:22px;
$step-lg-icon-font-size: 32px;
$step-lg-number-font-size:28px;
$step-lg-number-size:46px;
$step-sm-font-size: 12px;
$step-sm-title-font-size: 18px;
$step-sm-icon-font-size: 24px;
$step-sm-number-font-size: 24px;
$step-sm-number-size: 30px;
$step-xs-font-size: 10px;
$step-xs-title-font-size: 16px;
$step-xs-icon-font-size: 22px;
$step-xs-number-font-size: 20px;
$step-xs-number-size: 24px;
// blog nav
$blognav-active-color:unquote("rgb(#{$color-primary})");
// widget
$widget-padding-left:30px;
$widget-padding-top:10px;
// couter 数据统计
$counter-number-color: $gray-darkest;
$counter-number-font-size: 20px;
$counter-icon-font-size: $counter-number-font-size;
$counter-lg-number-font-size: 40px;
$counter-md-number-font-size: 30px;
$counter-sm-number-font-size: 14px;
$counter-lg-icon-font-size: $counter-lg-number-font-size;
$counter-md-icon-font-size: $counter-md-number-font-size;
$counter-sm-icon-font-size: $counter-sm-number-font-size;
$counter-inverse-color: $inverse;
// navbar
2017-01-05 16:10:06 +08:00
$menu-active-color: #108ee9;
$menu-border-active-color: #108ee9;
$menu-selected-bg-color: #eaf8fe;
$menu-group-titil-color: #999;
$menu-group-title-padding-left: 32px;
$menu-color: #666;
$menu-border-color: #d9d9d9;
$navbar-default-bg-color: #f8f8f8;
$navbar-default-border-color: #e7e7e7;
$navbar-default-color: #777;
$navbar-default-hover-color: #333;
$navbar-inverse-hover-color: #fff;
$navbar-inverse-color: #9d9d9d;
$navbar-inverse-bg-color: #222;
$navbar-inverse-border-color: #080808;
$navbar-border-radius: 4px;
$navbar-side-container-border-color: #d9d9d9;
$navbar-side-container-width: 242px;
$navbar-side-container-border-shadow: #d9d9d9;
2016-10-10 10:01:52 +08:00
// Basics of a navbar
$navbar-height: 50px;
$navbar-margin-bottom: $line-height-computed;
$navbar-border-radius: $border-radius-base;
$navbar-padding-horizontal: floor(($grid-gutter-width / 2));
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
$navbar-collapse-max-height: 340px;
$navbar-avatar-margin-horizontal: (($navbar-height - 32px) / 2);
$navbar-brand-padding-horizontal: 20px;
$navbar-brand-logo-height: 32px;
$navbar-default-color: $text-color;
$navbar-default-bg: $inverse;
$navbar-default-border: $border-color-base;
// Navbar links
$navbar-default-link-color: $text-color;
$navbar-default-link-hover-color: $gray-darker;
$navbar-default-link-hover-bg: rgba(238,238,238, 30%);
$navbar-default-link-active-color: $navbar-default-link-hover-color;
$navbar-default-link-active-bg: rgba(238,238,238, 60%);
$navbar-default-link-disabled-color: $disabled-color-base;
$navbar-default-link-disabled-bg: transparent;
// Navbar brand label
$navbar-default-brand-color: $title-color;
$navbar-default-brand-hover-color: $navbar-default-brand-color;
$navbar-default-brand-hover-bg: none;
// Navbar toggle
$navbar-default-toggle-hover-bg: $navbar-default-link-hover-bg;
$navbar-default-toggle-icon-bar-bg: $navbar-default-color;
$navbar-default-toggle-border-color: transparent;
// Inverted navbar
// Reset inverted navbar basics
$navbar-inverse-bg: $brand-primary;
$navbar-inverse-border: rgba(0, 0, 0, .1);
// Inverted navbar links
$navbar-inverse-link-color: $inverse;
$navbar-inverse-link-hover-color: $inverse;
$navbar-inverse-link-hover-bg: rgba(0, 0, 0, .1);
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color;
$navbar-inverse-link-active-bg: $navbar-inverse-link-hover-bg;
$navbar-inverse-link-disabled-color: $inverse;
$navbar-inverse-link-disabled-bg: transparent;
// Inverted navbar brand label
$navbar-inverse-brand-color: $navbar-inverse-link-color;
$navbar-inverse-brand-hover-color: $inverse;
$navbar-inverse-brand-hover-bg: none;
// Inverted navbar toggle
$navbar-inverse-toggle-hover-bg: $navbar-inverse-link-hover-bg;
$navbar-inverse-toggle-icon-bar-bg: $inverse;
$navbar-inverse-toggle-border-color: transparent;
//hamburger
$hamburger-size: 17px;
2016-12-23 13:52:34 +08:00
//panel
$panel-header-padding : 10px 15px;
$panel-footer-padding : 10px 15px;
$panel-body-padding : 15px 15px;
$panel-header-bg-color : #f5f5f5;
$panel-footer-bg-color : #f5f5f5;
$panel-bg-color : #fff;
$panel-default-color : #757575;
$panel-inner-border-color: #ddd;
2016-12-23 14:45:50 +08:00
//modal
$modal-header-padding : 15px;
$modal-body-padding : 15px;
$modal-footer-padding : 15px;
$modal-content-bg-color: #fff;
$modal-backdrop-bg: #000;
$modal-backdrop-opacity: .6;
$modal-header-border-color: transparent;
$modal-footer-border-color: transparent;
$modal-xlg: 1200px;
$modal-lg: 900px;
$modal-sm: 300px;
$modal-default: 600px;
2016-12-27 13:21:22 +08:00
$modal-border-radius: 3px;
2016-12-29 14:16:46 +08:00
//notification
$zIndex-notification: $zIndex-notification;
$notification-top: 30px;
$notification-bottom: 30px;
$notification-right: 30px;
$notification-width: 300px;
$notification-text-margin-right: 15px;
$notice-padding: 15px;
$notice-background: $gray-darkest;
$notice-bottom: 15px;
//message
$message-font-size: 12px;
$message-right: 30px;
$message-width: 300px;
$message-text-margin-right: 15px;
$default-border-radius: 4px;
$message-padding: 0;
$message-content-padding: 15px;
$message-background: $gray-darkest;
2017-01-03 13:44:13 +08:00
//popconfirm
$popconfirm-max-width: 300px;
2017-01-06 13:05:21 +08:00
2017-01-03 13:44:13 +08:00
$popconfirm-dark-bg: $gray-darkest;
$popconfirm-fallback-dark-border-color: $gray-darkest;
$popconfirm-margin: 10px;
$popconfirm-title-bg: #fff;
$popconfirm-border-color:$border-color-base;
$popconfirm-arrow-width: 10px;
$popconfirm-arrow-color: $border-color-base;
2017-07-27 14:32:25 +08:00
$popconfirm-arrow-outer-width: 0;
2017-01-03 13:44:13 +08:00
$popconfirm-arrow-outer-color: $border-color-base;
$popconfirm-border-right-color: $border-color-base;
$popconfirm-fallback-border-color: #fff;
2017-01-06 13:05:21 +08:00
2017-01-09 11:11:32 +08:00
//select
2017-01-07 15:52:00 +08:00
$select-bg-color: #fff;
$select-border-color: #d9d9d9;
$select-border-radius: 4px;
$select-color: #666;
$select-font-size: 12px;
$select-dropdown-color: #666;
$select-dropdown-bg-color: #fff;
$select-dropdown-hover-bg: #e7f4fd;
$select-dropdown-selected-bg: #f7f7f7;
$select-dropdown-selected-color: #666;
$select-dropwdown-item-padding: 7px 16px;
$select-disabled-color: #ccc;
$select-disabled-bg: #f7f7f7;
$select-disabled-border-color: #d9d9d9;
2017-01-06 13:05:21 +08:00
//dropdown
$dropdown-item-hover-bg-color: unquote("rgb(#{$palette-grey-100})");
$dropdown-item-divier-bg-color: $gray-lighter;
$dropdown-border-color: $border-color-base;
$dropdown-border-radius:3px;
$dropdown-shadow: 0 1px 5px $dropdown-border-color;
$dropdown-margin: 5px 0 0 0;
$dropdown-menu-item-padding: 0px 16px 0 28px;
$dropdown-menu-font-size: 12px;
$dropdown-menu-item-height: 42px;
$dropdown-menu-item-light-height: 42px;
$dropdown-menu-title-font-size: 12px;
$dropdown-menu-title-color: #999;
$dropdown-menu-title-padding:8px 16px;
$dropdown-menu-title-line-height: 1.5;
2017-01-07 16:39:21 +08:00
//upload
$upload-list-color: #108ee9;
$upload-list-bg : #fff;
$upload-list-hover-bg: #e7f4fd;
$upload-list-error-color: #f50;
$upload-thumbnail-height: 48px;
$upload-thumbnail-width: 48px;
$upload-thumbnail-img-height: 48px;
$upload-thumbnail-img-width: 48px;
2017-01-06 13:05:21 +08:00
//loading
$loading-loadprimary: rgb(63, 81, 181);
$loading-loadsuccess: #4caf50;
$loading-loadwarn: rgb(255, 152, 0);
$loading-lineanimating: (
1:line-scale 1s 0.1s infinite cubic-bezier(.2, .68, .18, 1.08),
2:line-scale 1s 0.2s infinite cubic-bezier(.2, .68, .18, 1.08),
3:line-scale 1s 0.3s infinite cubic-bezier(.2, .68, .18, 1.08),
4:line-scale 1s 0.4s infinite cubic-bezier(.2, .68, .18, 1.08),
5:line-scale 1s 0.5s infinite cubic-bezier(.2, .68, .18, 1.08)
);
$loading-linebackcolor: (
1: #F44336,
2: #7ED321,
3: #0084FF,
4: #FF9800,
5: #D0021B
);
$loading-back-width: 120px;
$loading-back-height:110px;
$loading-desc-font-size: 16px;
$loading-desc-color: #cecece;
$loading-rotate-bor:#c2c3c5;
2017-01-09 11:11:32 +08:00
//两种加载的尺寸 width height
2017-01-06 13:05:21 +08:00
$loading-rotate-sm-size: 25px;
$loading-rotate-size:40px;
$loading-rotate-lg-size:60px;
$loading-line-sm-width: 4px;
$loading-line-sm-height:35px;
$loading-line-width:6px;
$loading-line-height:50px;
$loading-line-lg-width:8px;
$loading-line-lg-height:90px ;
2017-01-09 11:11:32 +08:00
//居中位置top left
2017-01-06 13:05:21 +08:00
$loading-center-top:50%;
$loading-center-left:50%;
$loading-rotate-center-sm: -15px ;
$loading-rotate-center:-22px;
$loading-rotate-center-lg:-35px ;
$loading-line-center-sm-top: -22px;
$loading-line-center-sm-left:-20px;
$loading-line-center-top:-30px;
$loading-line-center-left:-25px;
$loading-line-center-lg-top:-50px;
$loading-line-center-lg-left:-30px;
2017-01-06 15:30:51 +08:00
//switch
2017-01-09 11:11:32 +08:00
//color
2017-01-06 15:30:51 +08:00
$switch-border-color: $gray-lighter;
$switch-back-color: $gray-lighter;
$switch-checked-borColor: $brand-primary;
$switch-checked-backColor: $brand-primary;
2017-01-09 11:11:32 +08:00
// border-radius of different state switch
2017-01-06 15:30:51 +08:00
$switch-border-radius: 20px;
$switch-border-radius-after: 18px;
2017-01-09 11:11:32 +08:00
// width height line-height of the three switches
2017-01-06 15:30:51 +08:00
$switch-width: (default:44px, small:32px, large:60px);
$switch-height: (default:22px, small:16px, large:30px);
$switch-lineHeight: (default:20px, small:12px, large:12px);
2017-01-09 11:11:32 +08:00
// style of u-switch-inner
2017-01-06 15:30:51 +08:00
$switch-inner-fontSize: (default:12px, small:10px, large:18px);
$switch-inner-left: (default:22px, small:16px, large:30px);
$switch-inner-largeTop: 8px;
2017-01-09 11:11:32 +08:00
// style of u-switch:active:after
2017-01-06 15:30:51 +08:00
$switch-active-width: (default:24px, small:16px, large:32px);
2017-01-09 11:11:32 +08:00
// style of u-switch:after
2017-01-06 15:30:51 +08:00
$switch-after-widthHeight: 18px;
$switch-after-widthHeight-sm: 14px;
$switch-after-widthHeight-lg: 26px;
$switch-after-top: 1px;
$switch-after-top-sm: 0;
$switch-after-top-lg: 1px;
$switch-after-left: 0;
$switch-after-left-sm: 0;
$switch-after-left-lg: 0;
2017-01-09 11:11:32 +08:00
// style of u-switch.is-checked
2017-01-06 15:30:51 +08:00
$switch-checked-innerLeft: (default:8px, small:4px, large:8px);
$switch-checked-afterLeft: (default:24px, small:16px, large:32px);
$switch-checked-activeLeft: (default:16px, small:10px, large:26px);
2017-01-06 15:41:12 +08:00
$switch-primary-bg: $brand-primary;
$switch-dark-bg: $brand-dark;
$switch-success-bg: $brand-success;
$switch-warning-bg: $brand-warning;
$switch-danger-bg: $brand-danger;
$switch-info-bg: $brand-info;
2017-01-10 16:39:10 +08:00
//tabs
$tabs-basic-back: #f5f5f5;
$tabs-cls-color: #666;
$tabs-cls-width: 900px;
$tabs-simple-conHeight: 120px;
$tabs-simple-conPad: 16px;
$tabs-simple-conWidth: 100%;
$tabs-fontSize: (simple:14px, fill:14px, turn:14px, slide:14px, fade:14px, fadeup:14px);
$tabs-lineHeight: (simple:2.3, fill:2.3, turn:2.3, slide:2.3, fade:2.3, fadeup:2.3);
$tabs-marginBottom: -1px;
$tabs-simple-tab: (padding:0 16px, margin:5px 0 5px 5px, radius:0 0 0 0, back:#fff);
$tabs-simple-tabBorder: 1px solid #fff;
$tabs-simple-activeBorder: 1px solid $brand-primary;
$tabs-simple-activeColor: #fff;
$tabs-simple-activeBorBottom: 1px solid $brand-primary;
$tabs-simple-activeTopRadius: 5px;
$tabs-simple-fontWeight: bold;
$tabs-fill-tab: (padding: 0 16px, color:#666, back:#fff, afterBack:#d2d8d6, activeBack:$brand-primary);
$tabs-fill-tab-maright: 5px;
$tabs-fill-after-top: 0;
$tabs-fill-after-left: 0;
$tabs-fill-after-width: 100%;
$tabs-fill-after-height: 100%;
$tabs-fill-fontWeight: bold;
$tabs-turn-tab: (padding: 0 16px, color:#fff, back:#f5f5f5, afterBack:$brand-primary, activeBack:$brand-primary);
$tabs-turn-after-top: 0;
$tabs-turn-after-left: 0;
$tabs-turn-after-width: 100%;
$tabs-turn-after-height: 100%;
$tabs-turn-beforeBot: 32px;
$tabs-turn-beforeRight: 15px;
$tabs-turn-fontWeight: bold;
$tabs-moveleft-conHeight: 120px;
$tabs-moveleft-conPad: 16px;
$tabs-slide-tabs: (width:25%, padding: 0 16px, back:#f5f5f5);
$tabs-slide-child-bottom: 0;
$tabs-slide-child-left: 0;
$tabs-slide-child-height: 4px;
$tabs-slide-child-back: $brand-primary;
$tabs-slide-fontWeight: bold;
$tabs-fade-tab: (marLeft:5px, marTop:5px, color:#666, padding:0 16px, radius:0 0 0 0);
$tabs-fade-conPad: 16px;
$tabs-fade-conBor: 5px;
$tabs-fadeup-tab: (marTop:5px, color:#666, padding:0 16px, radius:0 0 0 0);
$tabs-fadeup-top: -5px;
$tabs-fadeup-left: 0;
$tabs-fadeup-width: 100%;
$tabs-fadeup-height: 100%;
$tabs-fadeup-color: #666;
$tabs-fadeup-conHeight: 120px;
$tabs-fadeup-conPad: 16px;
2017-06-02 14:23:42 +08:00
//rate
$rate-star-default-color:$gray-lightest;
$rate-star-active-color:$color-warning;
2017-07-14 14:59:28 +08:00
$rate-star-marginRight:8px;
//backtop
$back-top-padding:5px;
$backtop-background:unquote("rgb(#{$palette-u-gray-600})") !default;
$backtop-color:unquote("rgb(#{$color-white})") !default;
$backtop-right:10px;
2017-08-29 18:49:58 +08:00
$backtop-bottom:10px;
2017-09-04 14:38:12 +08:00
$backtop-dom-right:40px;
2017-08-29 18:49:58 +08:00
//dnd
$dnd-list-background:unquote("rgb(#{$palette-grey-400})")!default;
$dnd-list-padding:8px;
$dnd-list-dragging-background:unquote("rgb(#{$palette-light-blue-A200})")!default;
$dnd-item-color:unquote("rgb(#{$color-black})")!default;
$dnd-item-padding:16px;
$dnd-item-margin:4px;
$dnd-item-background:unquote("rgb(#{$palette-grey-500})")!default;
$dnd-item-dragging-background:unquote("rgb(#{$palette-blue-300})")!default;