// Prefix
@css-prefix             : ivu-;
@css-prefix-iconfont    : ivu-icon;


// Color
@back-color             : #8c8c8c; //回退按钮色
@status-tip-color       : #515a6e;  //状态提示暂无原型
@status-tip-border-color: #ffd77a;  //状态提示暂无原型
@status-tip-background-color: #fff9e6;  //状态提示暂无原型
@bg-info-color          : #f0faff;
@bg-success-color       : #edfff3;
@bg-warning-color       : #fff9e6;
@bg-error-color         : #ffefe6;
@disabled-color         : #BFBFBF;


@primary-color          : #228EF8;  //主题色
@info-color             : #1890ff; //信息颜色
@success-color          : #19be6b; //成功颜色
@processing-color       : @primary-color;
@warning-color          : #ff9900; //警告颜色
@error-color            : #ed4014; //失败颜色
@highlight-color        : @red-6;
@back-background-color  : #8c8c8c; //回退按钮背景色
@normal-color           : @primary-color;
@link-color             : @primary-color;  //链接颜色
@link-hover-color       : #4dacff; //hover颜色
@link-active-color      : #136cd1; //链接active颜色
@selected-color         : #136cd1;
@tooltip-color          : #fff;
@subsidiary-color       : #808695;
@rate-star-color        : #f5a623;
@white                  : #fff;
@black                  : #000;


@primary-1: color(~`colorPalette('@{primary-color}', 1) `);
@primary-2: color(~`colorPalette('@{primary-color}', 2) `);
@primary-3: color(~`colorPalette('@{primary-color}', 3) `);
@primary-4: color(~`colorPalette('@{primary-color}', 4) `);
@primary-5: color(~`colorPalette('@{primary-color}', 5) `);
@primary-6: @primary-color;
@primary-7: color(~`colorPalette('@{primary-color}', 7) `);
@primary-8: color(~`colorPalette('@{primary-color}', 8) `);
@primary-9: color(~`colorPalette('@{primary-color}', 9) `);
@primary-10: color(~`colorPalette('@{primary-color}', 10) `);

@info-1: color(~`colorPalette('@{info-color}', 1) `);
@info-3: color(~`colorPalette('@{info-color}', 3) `);
@info-5: color(~`colorPalette('@{info-color}', 5) `);
@info-7: color(~`colorPalette('@{info-color}', 7) `);

@success-1: color(~`colorPalette('@{success-color}', 1) `);
@success-3: color(~`colorPalette('@{success-color}', 3) `);
@success-5: color(~`colorPalette('@{success-color}', 5) `);
@success-7: color(~`colorPalette('@{success-color}', 7) `);

@warning-1: color(~`colorPalette('@{warning-color}', 1) `);
@warning-3: color(~`colorPalette('@{warning-color}', 3) `);
@warning-5: color(~`colorPalette('@{warning-color}', 5) `);
@warning-7: color(~`colorPalette('@{warning-color}', 7) `);

@error-1: color(~`colorPalette('@{error-color}', 1) `);
@error-3: color(~`colorPalette('@{error-color}', 3) `);
@error-5: color(~`colorPalette('@{error-color}', 5) `);
@error-7: color(~`colorPalette('@{error-color}', 7) `);

@back-1: color(~`colorPalette('@{back-color}', 1) `);
@back-3: color(~`colorPalette('@{back-color}', 3) `);
@back-5: color(~`colorPalette('@{back-color}', 5) `);
@back-7: color(~`colorPalette('@{back-color}', 7) `);


// Base
@body-background        : #fff;
@font-family            : "Microsoft YaHei","微软雅黑","SimHei","黑体",Arial;
@code-family            : Consolas,Menlo,Courier,monospace;
@title-color            : #262626;  //标题颜色
@text-color             : #595959;  //正文颜色
@sub-color              : #8C8C8C;
@font-size-base         : 14px;
@font-size-small        : 12px;
@font-size-large        : 16px;
@line-height-base       : 1.5;
@line-height-computed   : floor((@font-size-base * @line-height-base));
@border-radius-base     : 0;
@border-radius-small    : 0;
@cursor-disabled        : not-allowed;

// Border color
@border-color-base      : #d7d7d7;  // 边框颜色
@border-color-split     : #e4e4e4;  // 分割线颜色
@border-width-base      : 1px;      //边框宽度
@border-style-base      : solid;    //组件边框样式默认为实线
@border-info-color          : #abdcff;
@border-success-color       : #8ce6b0;
@border-warning-color       : #ffd77a;
@border-error-color         : #ffb08f;

// Background color
@background-color-base        : #F5F5F5;  // 背景
@component-background         : #fafafa;
@background-color-select-hover: @input-disabled-bg;
@tooltip-bg                   : rgba(70, 76, 91, .9);
@head-bg                      : #f9fafc;
@table-thead-bg               : #f2f2f2;  //table头部背景
@table-td-stripe-bg           : #f8f8f9;
@table-td-hover-bg            : #ebf7ff;
@table-td-highlight-bg        : #ebf7ff;
@menu-dark-title              : #515a6e;
@menu-dark-active-bg          : #363e4f;
@menu-dark-subsidiary-color   : rgba(255,255,255,.7);
@menu-dark-group-title-color  : rgba(255,255,255,.36);
@date-picker-cell-hover-bg    : #e1f0fe;

// Shadow
@shadow-color           : rgba(0, 0, 0, .2);
@shadow-base            : @shadow-down;
@shadow-card            : 0 1px 1px 0 rgba(0,0,0,.1);
@shadow-up              : 0 -1px 6px @shadow-color;
@shadow-down            : 0 1px 6px @shadow-color;
@shadow-left            : -1px 0 6px @shadow-color;
@shadow-right           : 1px 0 6px @shadow-color;

// Button
@btn-font-weight        : normal;
@btn-padding-large      : 0 24px;   //大
@btn-padding-base       : 0 16px;   //中
@btn-padding-small      : 0 8px;    //小
@btn-padding-base-icon  : 5px 15px 6px;
@btn-padding-large-icon : 6px 15px 6px 15px;
@btn-padding-small-icon : 1px 7px 2px;
@btn-font-size          : 12px;
@btn-font-size-large    : 14px;
@btn-border-radius      : 0;
@btn-border-radius-small: 0;
@btn-group-border       : shade(@primary-color, 5%);

@btn-disable-color      : #D7D7D7;//禁用字色
@btn-disable-bg         : #F5F5F5;//禁用背景
@btn-disable-border     : @btn-disable-color;

@btn-default-color      : @text-color;
@btn-default-bg         : #fff;
@btn-default-border     : @border-color-base;

@btn-primary-color      : #fff;
@btn-primary-bg         : @primary-color;

@btn-ghost-color        : @text-color;
@btn-ghost-bg           : #fff;
@btn-ghost-border       : @border-color-base;

@btn-circle-size        : 32px;
@btn-circle-size-large  : 36px;
@btn-circle-size-small  : 24px;

// Layout and Grid
@grid-columns                : 24;
@grid-gutter-width           : 0;
@layout-body-background      : #f5f7f9;
@layout-header-background    : #515a6e;
@layout-header-height        : 64px;
@layout-header-padding       : 0 50px;
@layout-footer-padding       : 24px 50px;
@layout-footer-background    : @layout-body-background;
@layout-sider-background     : @layout-header-background;
@layout-trigger-height       : 48px;
@layout-trigger-color        : #fff;
@layout-zero-trigger-width   : 36px;
@layout-zero-trigger-height  : 42px;

// Legend
@legend-color           : #999;

// Input
@input-height-base           : 32px;
@input-height-large          : 36px;
@input-height-small          : 24px;

@input-padding-horizontal    : 7px;
@input-padding-vertical-base : 4px;
@input-padding-vertical-small: 1px;
@input-padding-vertical-large: 6px;

@input-placeholder-color     : @btn-disable-color;
@input-color                 : @text-color;
@input-border-color          : @border-color-base;
@input-bg                    : #fff;
@input-group-bg              : #f8f8f9;

@input-hover-border-color    : @primary-color;
@input-focus-border-color    : @primary-color;
@input-disabled-bg           : #f3f3f3;

// Tag
@tag-font-size          : 12px;

// Media queries breakpoints
// Extra small screen / phone
@screen-xs              : 480px;
@screen-xs-min          : @screen-xs;
@screen-xs-max          : (@screen-xs-min - 1);

// Small screen / tablet
@screen-sm              : 768px;
@screen-sm-min          : @screen-sm;
@screen-sm-max          : (@screen-sm-min - 1);

// Medium screen / desktop
@screen-md              : 992px;
@screen-md-min          : @screen-md;
@screen-md-max          : (@screen-md-min - 1);

// Large screen / wide desktop
@screen-lg              : 1200px;
@screen-lg-min          : @screen-lg;
@screen-lg-max          : (@screen-lg-min - 1);

// Z-index
@zindex-spin            : 8;
@zindex-affix           : 10;
@zindex-back-top        : 10;
@zindex-select          : 900;
@zindex-modal           : 1000;
@zindex-drawer          : 1000;
@zindex-message         : 1010;
@zindex-notification    : 1010;
@zindex-tooltip         : 1060;
@zindex-transfer        : 1060;
@zindex-loading-bar     : 2000;
@zindex-spin-fullscreen : 2010;

// Animation
@animation-time         : .3s;
@transition-time        : .2s;
@ease-in-out            : ease-in-out;

// Slider
@slider-color              : tint(@primary-color, 20%);
@slider-height             : 4px;
@slider-margin             : 16px 0;
@slider-button-wrap-size   : 18px;
@slider-button-wrap-offset : -4px;
@slider-disabled-color     : #ccc;

// Avatar
@avatar-size-base: 32px;
@avatar-size-lg: 40px;
@avatar-size-sm: 24px;
@avatar-font-size-base: 18px;
@avatar-font-size-lg: 24px;
@avatar-font-size-sm: 14px;
@avatar-bg: #ccc;
@avatar-color: #fff;
@avatar-border-radius: @border-radius-small;

// Anchor
@anchor-border-width: 2px;
