// Color variables
$black: #000;
$white: #fff;
$red: #FF4556; //主色，用于导航栏、按钮、点缀主要元素及错误提醒
$blue: #4C90E1; //辅色，用于标签、图标
$orange: #F5B349; //辅色，用于警示内容、标签、图标
$orange-dark: #FFB900;
$orange-light: rgba(255, 185, 0, 0.1);
$green: #5EC087; //辅色，用于标签、成功文字图标
$toneDark:#213042;//主题黑色

$gray: #c8c9cc;
$gray-light: #e5e5e5;
$gray-darker: #7d7e80;
$gray-dark: #969799;

$title-color:#222222; //一级文字，用于标题、版块名称
$sub-title-color:#999999; //三级文字，用于说明、提示、副标题
$placeholder-color:#BCBCBC; //四级文字，用于placeholder等
$disabled-color:#DEDEDE; //未激活，用于disabled按钮等

// Default colors
$text-color: #222; //二级文字，用于正文
$border-color: #E7E7E7; //分割线，用于边框、分割线
$active-color: #F9F9F9;
$background-color: #F6F6F6;//背景色，用于APP大面积灰色背景色
$background-color-light: #F9F9F9; //色块，用于信息分级，强调信息

//picker
$pick-color:#828282;

$gray-1: #f7f8fa;
$gray-2: #f2f3f5;
$gray-3: #ebedf0;
$gray-4: #dcdee0;
$gray-5: #c8c9cc;
$gray-6: #969799;
$gray-7: #646566;
$gray-8: #323233;

// Padding
$padding-base: 4px;
$padding-xs: $padding-base * 2;
$padding-sm: $padding-base * 3;
$padding-md: $padding-base * 4;
$padding-lg: $padding-base * 6;
$padding-xl: $padding-base * 8;

// Font
$font-size-xs: 10px;
$font-size-sm: 12px;
$font-size-md: 14px;
$font-size-lg: 16px;
$font-weight-bold: 500;

// Animation
$animation-duration-base: .3s;
$animation-duration-fast: .2s;

// Border
$border-color: #ebedf0;
$border-width-base: 1px;
$border-radius-sm: 2px;
$border-radius-md: 4px;
$border-radius-max: 999px;


// ActionSheet
$action-sheet-max-height: 90%;
$action-sheet-header-height: 44px;
$action-sheet-padding: 10px 0;
$action-sheet-header-font-size: 16px;
$action-sheet-item-height: 34px;
$action-sheet-item-background: $white;
$action-sheet-item-font-size: 14px;
$action-sheet-item-text-color: $text-color;
$action-sheet-subname-color: $gray-darker;
$action-sheet-subname-font-size: 12px;
$action-sheet-close-icon-size: 18px;
$action-sheet-close-icon-color: $gray-dark;

// AddressEdit
$address-edit-buttons-padding: 30px 15px;
$address-edit-button-margin-bottom: 15px;
$address-edit-detail-finish-color: $blue;
$address-edit-detail-fnish-font-size: 12px;

// AddressList
$address-list-disabled-text-color: $gray-dark;
$address-list-disabled-text-font-size: 12px;
$address-list-disabled-text-line-height: 30px;
$address-list-add-button-z-index: 9999;
$address-list-item-padding: 15px;
$address-list-item-text-color: $gray-darker;
$address-list-item-disabled-text-color: $gray-dark;
$address-list-item-font-size: 12px;
$address-list-item-line-height: 16px;
$address-list-edit-icon-size: 16px;

// Button
$button-mini-height: 22px;
$button-mini-min-width: 40px;
$button-mini-font-size: 10px;
$button-mini-line-height: 20px;
$button-mini-line-padding:0px 10px;

$button-small-height: 28px;
$button-small-font-size: 12px;
$button-small-min-width: 60px;
$button-small-line-height: 26px;

$button-normal-font-size: 14px;

$button-large-height: 44px;
$button-large-line-height: 42px;

$button-default-height: 44px;
$button-default-line-height: 42px;
$button-default-font-size: 14px;
$button-default-color: $text-color;
$button-default-background-color: $white;
$button-default-border-color: $border-color;

$button-primary-color: $white;
$button-primary-background-color: $red;
$button-primary-border-color: $red;

$button-info-color: $white;
$button-info-background-color: $blue;
$button-info-border-color: $blue;

$button-danger-color: $white;
$button-danger-background-color: $red;
$button-danger-border-color: $red;

$button-warning-color: $white;
$button-warning-background-color: $orange;
$button-warning-border-color: $orange;

$button-border-width: 1px;
$button-border-radius: 0;
$button-round-border-radius: 10em;
$button-plain-background-color: $white;
$button-disabled-opacity: .5;

// Card
$card-padding: 5px 15px;
$card-font-size: 12px;
$card-text-color: $text-color;
$card-background-color: $background-color-light;
$card-thumb-size: 90px;
$card-title-line-height: 16px;
$card-desc-color: $gray-darker;
$card-desc-line-height: 20px;
$card-price-color: $red;
$card-origin-price-color: $gray-darker;
$card-origin-price-font-size: 10px;

// Cell
$cell-font-size: 12px;
$cell-line-height: 24px;
$cell-vertical-padding: 14px;
$cell-horizontal-padding: 15px;
$cell-text-color: $text-color;
$cell-background-color: $white;
$cell-border-color: $border-color;
$cell-active-color: $active-color;
$cell-required-color: $red;
$cell-label-color: $gray-dark;
$cell-label-color: $sub-title-color;
$cell-label-font-size: 12px;
$cell-label-line-height: 18px;
$cell-label-margin-top: 3px;
$cell-value-color: $gray-dark;
$cell-icon-size: 16px;
$cell-right-icon-color: $gray-dark;
$cell-large-vertical-padding: 12px;
$cell-large-title-font-size: 16px;
$cell-large-label-font-size: 14px;

// CellGroup
$cell-group-background-color: $white;
$cell-group-title-color: $gray-dark;
$cell-group-title-padding: 15px 15px 5px;
$cell-group-title-font-size: 14px;
$cell-group-title-line-height: 16px;

// Checkbox
$checkbox-size: 20px;
$checkbox-border-color: $gray-light;
$checkbox-transition-duration: .2s;
$checkbox-label-margin: 10px;
$checkbox-label-color: $text-color;
$checkbox-checked-icon-color: $green;
$checkbox-disabled-icon-color: $gray;
$checkbox-disabled-label-color: $gray;
$checkbox-disabled-background-color: $border-color;

// Circle
$circle-text-color: $text-color;

// Collapse
$collapse-item-transition-duration: .3s;
$collapse-item-content-padding: 15px;
$collapse-item-content-font-size: 13px;
$collapse-item-content-line-height: 1.5;
$collapse-item-content-text-color: $gray-dark;
$collapse-item-content-background-color: $white;
$collapse-item-title-disabled-color: $gray;

// ContactCard
$contact-card-padding: 15px;
$contact-card-add-icon-size: 40px;
$contact-card-add-icon-color: $blue;
$contact-card-value-line-height: 20px;

// ContactEdit
$contact-edit-buttons-padding: 30px 15px;
$contact-edit-button-margin-bottom: 15px;
$contact-edit-field-label-width: 65px;

// ContactList
$contact-list-edit-icon-size: 16px;
$contact-list-add-button-z-index: 9999;
$contact-list-item-padding: 15px;

// CountDown
$count-down-text-color: $text-color;
$count-down-font-size: 14px;
$count-down-line-height: 20px;

// Coupon
$coupon-margin: 0 15px 15px;
$coupon-content-height: 100px;
$coupon-content-padding: 24px 0 0 15px;
$coupon-background-color: $white;
$coupon-active-background-color: $active-color;
$coupon-border-radius: 4px;
$coupon-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
$coupon-head-width: 85px;
$coupon-amount-color: $red;
$coupon-amount-font-size: 24px;
$coupon-currency-font-size: 50%;
$coupon-name-font-size: 16px;
$coupon-disabled-text-color: $gray-dark;
$coupon-description-padding: 7px 15px;
$coupon-description-background-color: $background-color-light;
$coupon-description-border-color: $border-color;

// CouponCell
$coupon-cell-selected-text-color: $text-color;

// CouponList
$coupon-list-background-color: $background-color;
$coupon-list-field-padding: 7px 15px;
$coupon-list-exchange-button-height: 32px;
$coupon-list-empty-image-size: 200px;
$coupon-list-empty-tip-color: $gray-dark;
$coupon-list-empty-tip-font-size: 14px;
$coupon-list-empty-tip-line-height: 20px;

// Dialog
$dialog-width: 85%;
$dialog-font-size: 16px;
$dialog-transition: .3s;
$dialog-border-radius: 8px;
$dialog-background-color: $white;
$dialog-header-font-weight: 600;
$dialog-header-padding-top: 30px;
$dialog-header-isolated-padding: 25px 0;
$dialog-message-padding:25px 30px 20px;
$dialog-message-font-size: 14px;
$dialog-message-line-height: 24px;
$dialog-message-max-height: 60vh;
$dialog-has-title-message-text-color: $gray-darker;
$dialog-has-title-message-padding-top: 15px;
$dialog-confirm-button-text-color: $blue;

// Divider
$divider-margin: 15px 0;
$divider-text-color: $gray-dark;
$divider-font-size: 14px;
$divider-line-height: 24px;
$divider-border-color: $border-color;
$divider-content-padding: 15px;
$divider-content-left-width: 10%;
$divider-content-right-width: 10%;

// DropdownMenu
$dropdown-menu-height: 50px;
$dropdown-menu-background-color: $white;
$dropdown-menu-title-font-size: 15px;

// Field
$field-label-width: 6.2em;
$field-label-color: $gray-7;
$field-label-margin-right: $padding-sm;
$field-input-text-color: $text-color;
$field-input-error-text-color: $red;
$field-input-disabled-text-color: $gray-5;
$field-placeholder-text-color: $gray-5;
$field-icon-size: 16px;
$field-clear-icon-size: 16px;
$field-clear-icon-color: $gray-5;
$field-right-icon-color: $gray-6;
$field-error-message-color: $red;
$field-error-message-text-color: 12px;
$field-text-area-min-height: 60px;
$field-word-limit-color: $gray-7;
$field-word-limit-font-size: $font-size-sm;
$field-word-limit-line-height: 16px;
$field-disabled-text-color: $gray-5;



// GridItem
$grid-item-content-padding: 7px 10px;
$grid-item-content-background-color: $white;
$grid-item-content-active-color: $active-color;
$grid-item-icon-size: 28px;
$grid-item-text-color: $gray-darker;
$grid-item-text-font-size: 12px;


// GoodsAction
$goods-action-background-color: $white;
$goods-action-icon-width: 48px;
$goods-action-icon-height: 50px;
$goods-action-icon-color: $text-color;
$goods-action-icon-size: 18px;
$goods-action-icon-font-size: 10px;
$goods-action-icon-active-color: $active-color;
$goods-action-icon-text-color: $gray-darker;

// IndexAnchor
$index-anchor-padding: 0 15px;
$index-anchor-text-color: $text-color;
$index-anchor-font-weight: 500;
$index-anchor-font-size: 14px;
$index-anchor-line-height: 32px;
$index-anchor-background-color: transparent;
$index-anchor-sticky-background-color: $white;

// IndexBar
$index-bar-index-font-size: 10px;
$index-bar-index-line-height: 14px;

// Info
$info-size: 20px;
$info-color: $white;
$info-padding: 0 2px;
$info-font-size: 11px;
$info-font-weight: 400;
$info-border-width: 1px;
$info-background-color: $red;
$info-font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;

// Image
$image-placeholder-text-color: $gray-dark;
$image-placeholder-font-size: 14px;
$image-placeholder-background-color: $background-color;

// ImagePreview
$image-preview-index-text-color: $white;
$image-preview-index-font-size: 14px;
$image-preview-overlay-background-color: rgba(0, 0, 0, .9);

// List
$list-icon-margin-right: 5px;
$list-text-color: $gray-dark;
$list-text-font-size: 13px;
$list-text-line-height: 50px;

// Loading
$loading-text-color: $gray-dark;
$loading-text-font-size: 14px;

// NavBar
$nav-bar-height: 44px;
$nav-bar-background-color: $toneDark;
$nav-bar-arrow-size: 16px;
$nav-bar-icon-color: $white;
$nav-bar-text-color: $white;
$nav-bar-title-font-size: 16px;
$nav-bar-title-text-color: $white;

// NoticeBar
$notice-bar-height: 28px;
$notice-bar-padding: 0 15px;
$notice-bar-wrapable-padding: 8px 15px;
$notice-bar-text-color: $orange-dark;
$notice-bar-font-size: 12px;
$notice-bar-line-height: 24px;
$notice-bar-background-color: $orange-light;
$notice-bar-icon-size: 14px;
$notice-bar-icon-min-width: 22px;

// Notify
$notify-padding: 6px 15px;
$notify-font-size: 14px;
$notify-line-height: 20px;

// NumberKeyboard
$number-keyboard-background-color: $white;
$number-keyboard-key-height: 54px;
$number-keyboard-key-background: #ebedf0;
$number-keyboard-key-font-size: 24px;
$number-keyboard-key-active-color: $active-color;
$number-keyboard-delete-font-size: 16px;
$number-keyboard-title-color: $gray-darker;
$number-keyboard-title-height: 30px;
$number-keyboard-title-font-size: 14px;
$number-keyboard-close-padding: 0 15px;
$number-keyboard-close-color: $blue;
$number-keyboard-close-font-size: 14px;
$number-keyboard-button-text-color: $white;
$number-keyboard-button-background-color: $blue;

// Overlay
$overlay-background-color: rgba(0, 0, 0, 0.6);

// Pagination
$pagination-height: 40px;
$pagination-font-size: 14px;
$pagination-item-width: 36px;
$pagination-item-default-color: $blue;
$pagination-item-disabled-color: $gray-darker;
$pagination-item-disabled-background-color: $background-color;
$pagination-background-color: $white;
$pagination-desc-color: $gray-darker;
$pagination-disabled-opacity: 0.6;

// Panel
$panel-background-color: $white;
$panel-header-value-color: $red;
$panel-footer-padding: 10px 15px;

// PasswordInput
$password-input-height: 50px;
$password-input-margin: 0 15px;
$password-input-font-size: 20px;
$password-input-border-radius: 6px;
$password-input-background-color: $white;
$password-input-info-color: $gray-dark;
$password-input-info-font-size: 14px;
$password-input-error-info-color: $red;
$password-input-dot-size: 10px;
$password-input-dot-color: $black;

// Picker
$picker-background-color: $white;
$picker-toolbar-height: 44px;
$picker-title-font-size: 16px;
$picker-action-padding: 0 15px;
$picker-action-font-size: 14px;
$picker-action-text-color: $pick-color;
$picker-action-cancel-color: $blue;
$picker-action-confirm-color: $red;
$picker-action-active-color: $active-color;
$picker-option-font-size: 16px;
$picker-option-text-color: $title-color;
$picker-option-disabled-opacity: .3;

// Popup
$popup-background-color: $white;
$popup-transition: .3s ease-out;
$popup-round-border-radius: 8px;

// Progress
$progress-height: 4px;
$progress-background-color: $gray-light;
$progress-pivot-padding: 0 5px;
$progress-pivot-font-size: 10px;
$progress-pivot-line-height: 1.6;
$progress-pivot-background-color: $gray-light;

// PullRefresh
$pull-refresh-head-height: 50px;
$pull-refresh-head-font-size: 14px;
$pull-refresh-head-text-color: $gray-dark;

// Radio
$radio-size: 20px;
$radio-border-color: $gray-light;
$radio-transition-duration: .2s;
$radio-label-margin: 10px;
$radio-label-color: $text-color;
$radio-checked-icon-color: $green;
$radio-disabled-icon-color: $gray;
$radio-disabled-label-color: $gray;
$radio-disabled-background-color: $border-color;

// Rate
$rate-icon-size: 20px;
$rate-icon-gutter: 4px;

// Search
$search-padding: 15px 12px;
$search-background-color: $background-color;
$search-input-height: 34px;
$search-label-padding: 0 5px;
$search-label-color: $text-color;
$search-label-font-size: 14px;
$search-left-icon-color: $gray-dark;
$search-action-padding: 0 10px;
$search-action-text-color: $text-color;
$search-action-font-size: 14px;

// Sidebar
$sidebar-width: 80px;

// SidebarItem
$sidebar-font-size: 12px;
$sidebar-line-height: 1.4;
$sidebar-text-color: $gray-darker;
$sidebar-padding: 14px 12px 15px 12px;
$sidebar-active-color: $active-color;
$sidebar-background-color: $background-color;
$sidebar-selected-font-weight: 500;
$sidebar-selected-text-color: $text-color;
$sidebar-selected-border-color: $red;
$sidebar-selected-background-color: $white;

// Skeleton
$skeleton-row-height: 16px;
$skeleton-row-background-color: $active-color;
$skeleton-row-margin-top: 12px;
$skeleton-avatar-background-color: $active-color;
$skeleton-animation-duration: 1.2s;

// Slider
$slider-active-background-color: $blue;
$slider-inactive-background-color: $gray-light;
$slider-disabled-opacity: .3;
$slider-button-width: 20px;
$slider-button-height: 20px;
$slider-button-border-radius: 50%;
$slider-button-background-color: $white;
$slider-button-box-shadow: 0 1px 2px rgba(0, 0, 0, .5);

// Step
$step-text-color: $gray-dark;
$step-process-text-color: $text-color;
$step-font-size: 14px;
$step-line-color: $border-color;
$step-finish-line-color: $green;
$step-finish-text-color: $text-color;
$step-icon-size: 12px;
$step-circle-size: 5px;
$step-circle-color: $gray-dark;
$step-horizontal-title-font-size: 12px;

// Steps
$steps-background-color: $white;

// Sticky
$sticky-z-index: 99;

// Stepper
$stepper-active-color: #e8e8e8;
$stepper-background-color: $active-color;
$stepper-button-icon-color: $text-color;
$stepper-button-disabled-color: #f7f8fa;
$stepper-button-disabled-icon-color: $gray;
$stepper-input-width: 32px;
$stepper-input-height: 28px;
$stepper-input-font-size: 14px;
$stepper-input-text-color: $text-color;
$stepper-input-disabled-text-color: $gray;
$stepper-input-disabled-background-color: $active-color;
$stepper-border-radius: 4px;

// SubmitBar
$submit-bar-height: 44px;
$submit-bar-z-index: 100;
$submit-bar-background-color: $white;
$submit-bar-button-width: 110px;
$submit-bar-price-color: $red;
$submit-bar-price-font-size: 18px;
$submit-bar-currency-font-size: 14px;
$submit-bar-text-color: $text-color;
$submit-bar-text-font-size: 14px;
$submit-bar-tip-padding: 10px;
$submit-bar-tip-font-size: 12px;
$submit-bar-tip-line-height: 1.5;
$submit-bar-tip-color: #f56723;
$submit-bar-tip-background-color: #fff7cc;
$submit-bar-tip-icon-size: 12px;

// Swipe
$swipe-indicator-size: 6px;
$swipe-indicator-margin: 10px;
$swipe-indicator-active-opacity: 1;
$swipe-indicator-inactive-opacity: .3;
$swipe-indicator-active-background-color: $blue;
$swipe-indicator-inactive-background-color: $border-color;

// Switch
$switch-width: 2em;
$switch-height: 1em;
$switch-node-size: 1em;
$switch-node-z-index: 1;
$switch-node-background-color: $white;
$switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05);
$switch-background-color: $white;
$switch-on-background-color: $green;
$switch-transition-duration: .3s;
$switch-disabled-opacity: .4;
$switch-border: 1px solid rgba(0, 0, 0, .1);

// SwitchCell
$switch-cell-padding-top: $cell-vertical-padding - 1px;
$switch-cell-padding-bottom: $cell-vertical-padding - 1px;
$switch-cell-large-padding-top: $cell-large-vertical-padding - 1px;
$switch-cell-large-padding-bottom: $cell-large-vertical-padding - 1px;

// Tabbar
$tabbar-height: 54px;
$tabbar-background-color: $white;

// TabbarItem
$tabbar-item-font-size: 12px;
$tabbar-item-text-color: $gray-darker;
$tabbar-item-active-color: $blue;
$tabbar-item-line-height: 1;
$tabbar-item-icon-size: 18px;
$tabbar-item-margin-bottom: 5px;

// Tab
$tab-text-color: $gray-darker;
$tab-active-text-color: $text-color;
$tab-disabled-text-color: $gray;
$tab-font-size: 14px;

// Tabs
$tabs-default-color: $red;
$tabs-line-height: 42px;
$tabs-card-height: 30px;
$tabs-nav-background-color: $white;
$tabs-bottom-bar-height: 3px;
$tabs-bottom-bar-color: $red;

// Tag
//$tag-padding: 5px 10px;
//$tag-font-size: 10px;
//$tag-medium-font-size: 12px;
//$tag-large-font-size: 14px;
//$tag-text-color: $white;
//$tag-border-radius: 2px;
//$tag-round-border-radius: 15px;
//$tag-dander-color: $red;
//$tag-primary-color: $blue;
//$tag-success-color: $green;
//$tag-default-color: $gray-dark;
//$tag-plain-background-color: $white;

$tag-padding: .2em .5em;
$tag-font-size: 10px;
$tag-medium-font-size: 12px;
$tag-large-font-size: 14px;
$tag-text-color: $white;
$tag-border-radius: .2em;
$tag-round-border-radius: .8em;
$tag-dander-color: $red;
$tag-primary-color: $blue;
$tag-success-color: $green;
$tag-default-color: $gray-dark;
$tag-plain-background-color: $white;

// Toast
$toast-max-width: 80%;
$toast-font-size: 12px;
$toast-text-color: $white;
$toast-line-height: 20px;
$toast-border-radius: 8px;
$toast-background-color: rgba($text-color, .8);
$toast-icon-size: 40px;
$toast-text-min-width: 120px;
$toast-text-padding: 10px 16px;
$toast-default-padding: 10px;
$toast-default-width: 120px;
$toast-default-min-height: 120px;
$toast-position-top-distance: 50px;
$toast-position-bottom-distance: 50px;

// TreeSelect
$tree-select-font-size: 14px;
$tree-select-nav-background-color: $background-color-light;
$tree-select-content-background-color: $white;
$tree-select-nav-item-padding: 0 9px 0 12px;
$tree-select-nav-item-active-border-color: $red;
$tree-select-nav-item-active-background-color: $white;
$tree-select-nav-item-disabled-color: $gray-dark;
$tree-select-item-height: 44px;
$tree-select-item-active-color: $red;
$tree-select-item-disabled-color: $gray;

// Uploader
$uploader-size: 80px;
$uploader-icon-size: 24px;
$uploader-icon-color: $gray-dark;
$uploader-text-color: $gray-dark;
$uploader-text-font-size: 12px;
$uploader-upload-border-color: $gray-light;
$uploader-upload-background-color: $white;
$uploader-delete-color: $white;
$uploader-delete-background-color: rgba(0, 0, 0, .45);


