|
@@ -1,7 +1,6 @@
|
|
|
:root {
|
|
|
|
|
|
- /*
|
|
|
- Transition
|
|
|
+ /* Transition
|
|
|
-------------------------- */
|
|
|
--fade-transition: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
|
--fade-linear-transition: opacity 200ms linear;
|
|
@@ -33,11 +32,18 @@
|
|
|
--border-width-base: 1px;
|
|
|
--border-style-base: solid;
|
|
|
--border-color-base: var(--color-grey);
|
|
|
+ --border-color-hover: #8492a6;
|
|
|
--border-base: var(--border-width-base) var(--border-style-base) var(--border-color-base);
|
|
|
--border-radius-base: 4px;
|
|
|
+ --border-radius-small: 2px;
|
|
|
--border-radius-circle: 100%;
|
|
|
--shadow-base: 0 0 2px rgba(var(--color-black), 0.18), 0 0 1px var(--color-blue-light);
|
|
|
|
|
|
+ /* Box-shadow
|
|
|
+ -------------------------- */
|
|
|
+ --box-shadow-base: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
|
|
|
+ --box-shadow-dark: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .12);
|
|
|
+
|
|
|
/* Fill
|
|
|
-------------------------- */
|
|
|
--fill-base: var(--color-white);
|
|
@@ -124,6 +130,105 @@
|
|
|
|
|
|
--radio-button-font-size: var(--font-size-base);
|
|
|
|
|
|
+ /* Select
|
|
|
+ -------------------------- */
|
|
|
+ --select-border-color-hover: var(--border-color-hover);
|
|
|
+ --select-disabled-border: var(--disabled-border-base);
|
|
|
+ --select-font-size: var(--font-size-base);
|
|
|
+ --select-close-hover-color: #99a9bf;
|
|
|
+
|
|
|
+ --select-input-color: var(--color-grey);
|
|
|
+ --select-multiple-input-color: #666;
|
|
|
+ --select-input-focus-background: #2ea0ff;
|
|
|
+ --select-input-font-size: 12px;
|
|
|
+
|
|
|
+ --select-tag-height: 24px;
|
|
|
+ --select-tag-color: var(--color-white);
|
|
|
+ --select-tag-background: var(--color-primary);
|
|
|
+
|
|
|
+ --select-option-color: #475669;
|
|
|
+ --select-option-disabled-color: var(--color-grey);
|
|
|
+ --select-option-height: 36px;
|
|
|
+ --select-option-hover-background: #e5e9f2;
|
|
|
+ --select-option-selected: var(--color-primary);
|
|
|
+ --select-option-selected-hover: #1D8CE0;
|
|
|
+
|
|
|
+ --select-group-color: #999;
|
|
|
+ --select-group-height: 30px;
|
|
|
+ --select-group-font-size: 12px;
|
|
|
+
|
|
|
+ --select-dropdown-background: var(--color-white);
|
|
|
+ --select-dropdown-shadow: var(--box-shadow-base);
|
|
|
+ --select-dropdown-empty-color: #999;
|
|
|
+ --select-dropdown-max-height: 274px;
|
|
|
+ --select-dropdown-padding: 6px 0;
|
|
|
+ --select-dropdown-empty-padding: 10px 0;
|
|
|
+ --select-dropdown-border: solid 1px #d3dce6;
|
|
|
+
|
|
|
+ /* Alert
|
|
|
+ -------------------------- */
|
|
|
+ --alert-padding: 8px 16px;
|
|
|
+ --alert-border-radius: var(--border-radius-base);
|
|
|
+ --alert-title-font-size: 13px;
|
|
|
+ --alert-description-font-size: 12px;
|
|
|
+ --alert-close-font-size: 12px;
|
|
|
+ --alert-close-customed-font-size: 13px;
|
|
|
+
|
|
|
+ --alert-success-color: var(--color-success);
|
|
|
+ --alert-info-color: var(--color-info);
|
|
|
+ --alert-warning-color: var(--color-warning);
|
|
|
+ --alert-danger-color: var(--color-danger);
|
|
|
+
|
|
|
+ --alert-icon-size: 16px;
|
|
|
+ --alert-icon-large-size: 28px;
|
|
|
+
|
|
|
+ /* Message Box
|
|
|
+ -------------------------- */
|
|
|
+ --msgbox-width: 420px;
|
|
|
+ --msgbox-border-radius: 3px;
|
|
|
+ --msgbox-font-size: 16px;
|
|
|
+ --msgbox-content-font-size: 14px;
|
|
|
+ --msgbox-content-color: #475669;
|
|
|
+ --msgbox-error-font-size: 12px;
|
|
|
+
|
|
|
+ --msgbox-success-color: var(--color-success);
|
|
|
+ --msgbox-info-color: var(--color-info);
|
|
|
+ --msgbox-warning-color: var(--color-warning);
|
|
|
+ --msgbox-danger-color: var(--color-danger);
|
|
|
+
|
|
|
+ /* Message
|
|
|
+ -------------------------- */
|
|
|
+ --message-shadow: var(--box-shadow-base);
|
|
|
+ --message-min-width: 300px;
|
|
|
+ --message-padding: 10px 12px;
|
|
|
+ --message-content-color: #8492a6;
|
|
|
+ --message-close-color: var(--color-grey);
|
|
|
+ --message-close-hover-color: #99A9BF;
|
|
|
+
|
|
|
+ --message-success-color: var(--color-success);
|
|
|
+ --message-info-color: var(--color-info);
|
|
|
+ --message-warning-color: var(--color-warning);
|
|
|
+ --message-danger-color: var(--color-danger);
|
|
|
+
|
|
|
+ /* Notification
|
|
|
+ -------------------------- */
|
|
|
+ --notification-width: 330px;
|
|
|
+ --notification-padding: 20px;
|
|
|
+ --notification-shadow: var(--box-shadow-base);
|
|
|
+ --notification-icon-size: 40px;
|
|
|
+ --notification-font-size: var(--font-size-base);
|
|
|
+ --notification-color: #8492a6;
|
|
|
+ --notification-title-font-size: 16px;
|
|
|
+ --notification-title-color: #1f2d3d;
|
|
|
+
|
|
|
+ --notification-close-color: var(--color-grey);
|
|
|
+ --notification-close-hover-color: #99A9BF;
|
|
|
+
|
|
|
+ --notification-success-color: var(--color-success);
|
|
|
+ --notification-info-color: var(--color-info);
|
|
|
+ --notification-warning-color: var(--color-warning);
|
|
|
+ --notification-danger-color: var(--color-danger);
|
|
|
+
|
|
|
/* Input
|
|
|
-------------------------- */
|
|
|
--input-font-size: var(--font-size-base);
|
|
@@ -134,7 +239,7 @@
|
|
|
--input-border: var(--border-base);
|
|
|
--input-border-color: var(--border-color-base);
|
|
|
--input-border-radius: var(--border-radius-base);
|
|
|
- --input-border-color-hover: #8492A6;
|
|
|
+ --input-border-color-hover: var(--border-color-hover);
|
|
|
--input-fill: #fff;
|
|
|
--input-fill-disabled: var(--disabled-fill-base);
|
|
|
--input-color-disabled: var(--font-color-disabled-base);
|
|
@@ -142,7 +247,7 @@
|
|
|
--input-placeholder-color: #99a9bf;
|
|
|
--input-max-width: 314px;
|
|
|
|
|
|
- --input-hover-border: #8492A6;
|
|
|
+ --input-hover-border: var(--border-color-hover);
|
|
|
|
|
|
--input-focus-border: var(--color-primary);
|
|
|
--input-focus-fill: #fff;
|
|
@@ -182,13 +287,6 @@
|
|
|
--cascader-menu-option-pinyin-color: #999;
|
|
|
--cascader-menu-submenu-shadow: 1px 1px 2px rgba(var(--color-black), 0.14), 1px 0 2px rgba(var(--color-black), 0.14);
|
|
|
|
|
|
- /* Tag
|
|
|
- -------------------------- */
|
|
|
- --tag-color: var(--font-color-base);
|
|
|
- --tag-fill: #e2e2e2;
|
|
|
- --tag-border-radius: var(--border-radius-base);
|
|
|
- --tag-close-color: #666;
|
|
|
-
|
|
|
/* Group
|
|
|
-------------------------- */
|
|
|
--group-option-flex: 0 0 (1/5) * 100%;
|
|
@@ -279,10 +377,23 @@
|
|
|
--switch-disabled-color: #E5E9F3;
|
|
|
--switch-disabled-text-color: #F9FAFC;
|
|
|
|
|
|
+ --switch-font-size: var(--font-size-base);
|
|
|
+ --switch-core-border-radius: 12px;
|
|
|
+ --switch-size: 46px 22px;
|
|
|
+ --switch-button-size: 16px;
|
|
|
+
|
|
|
/* Dialog
|
|
|
-------------------------- */
|
|
|
--dialog-background-color: var(--color-blue);
|
|
|
--dialog-footer-background: var(--color-blue-lighter);
|
|
|
+ --dialog-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
|
+ --dialog-tiny-width: 30%;
|
|
|
+ --dialog-small-width: 50%;
|
|
|
+ --dialog-large-width: 90%;
|
|
|
+ --dialog-close-color: var(--color-grey);
|
|
|
+ --dialog-close-hover-color: var(--color-primary);
|
|
|
+ --dialog-title-font-size: 16px;
|
|
|
+ --dialog-font-size: 14px;
|
|
|
|
|
|
/* Table
|
|
|
-------------------------- */
|
|
@@ -297,7 +408,6 @@
|
|
|
--pagination-color: #475669;
|
|
|
--pagination-border-radius: 2px;
|
|
|
--pagination-button-color: #99a9bf;
|
|
|
- --pagination-button-disabled-color: #D3DCE6;
|
|
|
--pagination-button-size: 28px;
|
|
|
--pagination-button-disabled-color: #e4e4e4;
|
|
|
--pagination-button-disabled-fill: var(--color-white);
|
|
@@ -316,7 +426,7 @@
|
|
|
--popover-title-color: #1f2d3d;
|
|
|
|
|
|
/* Tooltip
|
|
|
- -------------------------- */
|
|
|
+ -------------------------- */
|
|
|
--tooltip-fill: #1f2d3d;
|
|
|
--tooltip-color: #fff;
|
|
|
--tooltip-font-size: 12px;
|
|
@@ -325,77 +435,93 @@
|
|
|
--tooltip-padding: 10px;
|
|
|
|
|
|
/* Tag
|
|
|
- -------------------------- */
|
|
|
- --tag-padding: 0 5px;
|
|
|
- --tag-fill: #8492a6;
|
|
|
- --tag-border: #8492a6;
|
|
|
- --tag-color: #fff;
|
|
|
- --tag-font-size: 12px;
|
|
|
- --tag-border-radius: 4px;
|
|
|
-
|
|
|
- --tag-gray-fill: #e5e9f2;
|
|
|
- --tag-gray-border: #e5e9f2;
|
|
|
- --tag-gray-color: #475669;
|
|
|
-
|
|
|
- --tag-primary-fill: rgba(32,159,255,0.10);
|
|
|
- --tag-primary-border: rgba(32,159,255,0.20);
|
|
|
- --tag-primary-color: #20a0ff;
|
|
|
-
|
|
|
- --tag-success-fill: rgba(18,206,102,0.10);
|
|
|
- --tag-success-border: rgba(18,206,102,0.20);
|
|
|
- --tag-success-color: #13ce66;
|
|
|
-
|
|
|
- --tag-warning-fill: rgba(247,186,41,0.10);
|
|
|
- --tag-warning-border: rgba(247,186,41,0.20);
|
|
|
- --tag-warning-color: #f7ba2a;
|
|
|
-
|
|
|
- --tag-danger-fill: rgba(255,73,73,0.10);
|
|
|
- --tag-danger-border: rgba(255,73,73,0.20);
|
|
|
- --tag-danger-color: #ff4949;
|
|
|
+ -------------------------- */
|
|
|
+ --tag-padding: 0 5px;
|
|
|
+ --tag-fill: #8492a6;
|
|
|
+ --tag-border: #8492a6;
|
|
|
+ --tag-color: #fff;
|
|
|
+ --tag-close-color: #666;
|
|
|
+ --tag-font-size: 12px;
|
|
|
+ --tag-border-radius: 4px;
|
|
|
+
|
|
|
+ --tag-gray-fill: #e5e9f2;
|
|
|
+ --tag-gray-border: #e5e9f2;
|
|
|
+ --tag-gray-color: #475669;
|
|
|
+
|
|
|
+ --tag-primary-fill: rgba(32,159,255,0.10);
|
|
|
+ --tag-primary-border: rgba(32,159,255,0.20);
|
|
|
+ --tag-primary-color: #20a0ff;
|
|
|
+
|
|
|
+ --tag-success-fill: rgba(18,206,102,0.10);
|
|
|
+ --tag-success-border: rgba(18,206,102,0.20);
|
|
|
+ --tag-success-color: #13ce66;
|
|
|
+
|
|
|
+ --tag-warning-fill: rgba(247,186,41,0.10);
|
|
|
+ --tag-warning-border: rgba(247,186,41,0.20);
|
|
|
+ --tag-warning-color: #f7ba2a;
|
|
|
+
|
|
|
+ --tag-danger-fill: rgba(255,73,73,0.10);
|
|
|
+ --tag-danger-border: rgba(255,73,73,0.20);
|
|
|
+ --tag-danger-color: #ff4949;
|
|
|
|
|
|
/* Dropdown
|
|
|
- -------------------------- */
|
|
|
- --dropdown-menu-box-shadow: 0 0 6px 0 rgba(0,0,0,.12), 0 2px 4px 0 rgba(0,0,0,.12);
|
|
|
- --dropdown-menuItem-hover-fill: #e5e9f2;
|
|
|
- --dropdown-menuItem-hover-color: #475669;
|
|
|
+ -------------------------- */
|
|
|
+ --dropdown-menu-box-shadow: var(--box-shadow-dark);
|
|
|
+ --dropdown-menuItem-hover-fill: #e5e9f2;
|
|
|
+ --dropdown-menuItem-hover-color: #475669;
|
|
|
|
|
|
/* Badge
|
|
|
- -------------------------- */
|
|
|
- --badge-fill: var(--color-danger);
|
|
|
- --badge-radius: 10px;
|
|
|
- --badge-font-size: 12px;
|
|
|
- --badge-padding: 6px;
|
|
|
- --badge-size: 18px;
|
|
|
-
|
|
|
- /*Card
|
|
|
- --------------------------*/
|
|
|
- --card-border-color: var(--disabled-border-base);
|
|
|
- --card-border-radius: 4px;
|
|
|
- --card-padding: 20px;
|
|
|
-
|
|
|
- /*Slider
|
|
|
- --------------------------*/
|
|
|
+ -------------------------- */
|
|
|
+ --badge-fill: var(--color-danger);
|
|
|
+ --badge-radius: 10px;
|
|
|
+ --badge-font-size: 12px;
|
|
|
+ --badge-padding: 6px;
|
|
|
+ --badge-size: 18px;
|
|
|
+
|
|
|
+ /* Card
|
|
|
+ --------------------------*/
|
|
|
+ --card-border-color: var(--disabled-border-base);
|
|
|
+ --card-border-radius: 4px;
|
|
|
+ --card-padding: 20px;
|
|
|
+
|
|
|
+ /* Slider
|
|
|
+ --------------------------*/
|
|
|
--slider-main-background-color: var(--color-primary);
|
|
|
--slider-runway-background-color: #e5e9f2;
|
|
|
--slider-button-hover-color: #1d8ce0;
|
|
|
- --slider-stop-background-color: #c0ccda;
|
|
|
- --slider-disable-color: #c0ccda;
|
|
|
-
|
|
|
- /*Steps
|
|
|
- --------------------------*/
|
|
|
- --steps-border-color: var(--disabled-border-base);
|
|
|
- --steps-border-radius: 4px;
|
|
|
- --steps-padding: 20px;
|
|
|
-
|
|
|
- /*Steps
|
|
|
- --------------------------*/
|
|
|
- --menu-item-color: #475669;
|
|
|
- --menu-item-fill: #eff2f7;
|
|
|
- --menu-item-hover-fill: #d3dce6;
|
|
|
- --submenu-item-fill: #e5e9f2;
|
|
|
-
|
|
|
- --dark-menu-item-color: #475669;
|
|
|
- --dark-menu-item-fill: #324057;
|
|
|
- --dark-menu-item-hover-fill: #475669;
|
|
|
- --dark-submenu-item-fill: #1f2d3d;
|
|
|
+ --slider-stop-background-color: var(--color-grey);
|
|
|
+ --slider-disable-color: var(--color-grey);
|
|
|
+
|
|
|
+ --slider-margin: 20px 0;
|
|
|
+ --slider-border-radius: 3px;
|
|
|
+ --slider-height: 4px;
|
|
|
+ --slider-button-size: 12px;
|
|
|
+ --slider-button-wrapper-size: 36px;
|
|
|
+ --slider-button-wrapper-offset: -16px;
|
|
|
+
|
|
|
+ /* Steps
|
|
|
+ --------------------------*/
|
|
|
+ --steps-border-color: var(--disabled-border-base);
|
|
|
+ --steps-border-radius: 4px;
|
|
|
+ --steps-padding: 20px;
|
|
|
+
|
|
|
+ /* Steps
|
|
|
+ --------------------------*/
|
|
|
+ --menu-item-color: #475669;
|
|
|
+ --menu-item-fill: #eff2f7;
|
|
|
+ --menu-item-hover-fill: #d3dce6;
|
|
|
+ --submenu-item-fill: #e5e9f2;
|
|
|
+
|
|
|
+ --dark-menu-item-color: #475669;
|
|
|
+ --dark-menu-item-fill: #324057;
|
|
|
+ --dark-menu-item-hover-fill: #475669;
|
|
|
+ --dark-submenu-item-fill: #1f2d3d;
|
|
|
+
|
|
|
+ /* Rate
|
|
|
+ --------------------------*/
|
|
|
+ --rate-height: 20px;
|
|
|
+ --rate-font-size: var(--font-size-base);
|
|
|
+ --rate-icon-size: 18px;
|
|
|
+ --rate-icon-margin: 6px;
|
|
|
+ --rate-icon-color: #C6D1DE;
|
|
|
}
|