windy 7 years ago
parent
commit
72308283ce
  1. 6
      dist/base.css
  2. 6
      dist/bundle.css
  3. 2
      dist/bundle.min.css
  4. 2
      src/css/base/single/tip/tip.bubble.css
  5. 2
      src/css/base/single/tip/tip.toast.css
  6. 2
      src/css/base/single/tip/tip.tooltip.css
  7. 2
      src/less/base/single/tip/tip.bubble.less
  8. 4
      src/less/base/single/tip/tip.toast.less
  9. 4
      src/less/base/single/tip/tip.tooltip.less
  10. 13
      src/less/lib/colors.less
  11. 3
      src/less/lib/constant.less

6
dist/base.css vendored

@ -997,7 +997,7 @@ body .bi-button.button-ignore.disabled.clear:active,
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #ff4949;
background: #fddddd;
color: #ff4949;
}
.bi-tip {
@ -1014,7 +1014,7 @@ body .bi-button.button-ignore.disabled.clear:active,
color: #5cb75d;
}
.bi-toast.toast-warning {
background: #ff4949;
background: #fddddd;
color: #ff4949;
}
.bi-tooltip {
@ -1030,7 +1030,7 @@ body .bi-button.button-ignore.disabled.clear:active,
color: #1a1a1a;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
background: #fddddd;
color: #ff4949;
border: 1px solid #f4cbcb;
}

6
dist/bundle.css vendored

@ -2592,7 +2592,7 @@ body .bi-button.button-ignore.disabled.clear:active,
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #ff4949;
background: #fddddd;
color: #ff4949;
}
.bi-tip {
@ -2609,7 +2609,7 @@ body .bi-button.button-ignore.disabled.clear:active,
color: #5cb75d;
}
.bi-toast.toast-warning {
background: #ff4949;
background: #fddddd;
color: #ff4949;
}
.bi-tooltip {
@ -2625,7 +2625,7 @@ body .bi-button.button-ignore.disabled.clear:active,
color: #1a1a1a;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
background: #fddddd;
color: #ff4949;
border: 1px solid #f4cbcb;
}

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

2
src/css/base/single/tip/tip.bubble.css

@ -5,6 +5,6 @@
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #ff4949;
background: #fddddd;
color: #ff4949;
}

2
src/css/base/single/tip/tip.toast.css

@ -9,6 +9,6 @@
color: #5cb75d;
}
.bi-toast.toast-warning {
background: #ff4949;
background: #fddddd;
color: #ff4949;
}

2
src/css/base/single/tip/tip.tooltip.css

@ -11,7 +11,7 @@
color: #1a1a1a;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
background: #fddddd;
color: #ff4949;
border: 1px solid #f4cbcb;
}

2
src/less/base/single/tip/tip.bubble.less

@ -4,7 +4,7 @@
font-size: @font-size-14;
& .bubble-text{
.border-radius(2px);
background: @color-bi-tip-warning-background;
background: @color-bi-background-light-failure;
color: @color-bi-text-failure;
}
}

4
src/less/base/single/tip/tip.toast.less

@ -4,11 +4,11 @@
font-size: @font-size-14;
.border-radius(2px);
&.toast-success{
background: @color-bi-toast-success-background;
background: @color-bi-background-light-success;
color: @color-bi-text-success;
}
&.toast-warning{
background: @color-bi-tip-warning-background;
background: @color-bi-background-light-failure;
color: @color-bi-text-failure;
}
}

4
src/less/base/single/tip/tip.tooltip.less

@ -10,8 +10,8 @@
color: @color-bi-text-black;
}
&.tooltip-warning{
background: @color-bi-tip-warning-background;
background: @color-bi-background-light-failure;
color: @color-bi-text-failure;
border: 1px solid @color-bi-tooltip-warning-border;
border: 1px solid @color-bi-tooltip-failure-border;
}
}

13
src/less/lib/colors.less

@ -46,8 +46,12 @@
@color-bi-background-disabled: @background-color-disabled;
//成功背景色
@color-bi-background-success: @background-color-dark-success;
//成功背景色(浅)
@color-bi-background-light-success: @background-color-light-success;
//失败背景色
@color-bi-background-failure: @background-color-negative;
//失败背景色(浅)
@color-bi-background-light-failure: @background-color-light-negative;
//警示背景色
@color-bi-background-warning: @background-color-warning;
//背景提亮色
@ -72,20 +76,13 @@
//边框提亮
@color-bi-border-highlight: @border-color-highlight;
//bubble、toast、tooltip通用
@color-bi-tip-warning-background: @background-color-negative;
//toast
//成功背景
@color-bi-toast-success-background: @background-color-light-success;
//tooltip
//成功背景
@color-bi-tooltip-success-background: @background-color-normal-success;
//成功边框
@color-bi-tooltip-success-border: @border-color-normal-success;
//失败边框
@color-bi-tooltip-warning-border: @border-color-error;
@color-bi-tooltip-failure-border: @border-color-light-negative;
//mask颜色
@color-bi-button-mask: @color-bi-background-black;

3
src/less/lib/constant.less

@ -41,6 +41,7 @@
@background-color-disabled: #cccccc;
@background-color-negative: #ff4949;
@background-color-light-negative: #fddddd;
@background-color-warning: #faaa39;
@background-color-dark-success: #58cc7d;
@ -57,7 +58,7 @@
@border-color-warning: #fbb03b;
@border-color-negative: #e85050;
@border-color-success: #58cc7d;
@border-color-error: #f4cbcb;
@border-color-light-negative: #f4cbcb;
@border-color-normal-success: #eddea2;
//split color

Loading…
Cancel
Save