Browse Source

Merge pull request #71878 in DEC/fineui from master to feature/x

* commit 'c9d0f87da35ee85dfc8f655e20ef37731f7cc8cf':
  DESIGN-3918 feat: BI6.0toast实例
es6
superman 2 years ago
parent
commit
227c87eaa7
  1. 4
      bi.lessconfig.json
  2. 1
      src/less/base/single/tip/tip.toast.less
  3. 1
      src/less/lib/theme.less

4
bi.lessconfig.json

@ -16,7 +16,6 @@
"@font-color-light-gray": "rgba(9, 30, 64, 0.66)", "@font-color-light-gray": "rgba(9, 30, 64, 0.66)",
"@font-color-tips": "rgba(9, 30, 64, 0.47)", "@font-color-tips": "rgba(9, 30, 64, 0.47)",
"@font-color-disabled": "rgba(9, 30, 64, 0.25)", "@font-color-disabled": "rgba(9, 30, 64, 0.25)",
"@color-bi-background-active-radio": "transparent", "@color-bi-background-active-radio": "transparent",
"@color-bi-border-radio": "rgba(9, 30, 64, 0.37)", "@color-bi-border-radio": "rgba(9, 30, 64, 0.37)",
"@color-bi-border-disabled-radio": "rgba(9, 30, 64, 0.19)", "@color-bi-border-disabled-radio": "rgba(9, 30, 64, 0.19)",
@ -36,5 +35,6 @@
"@color-bi-color-toast-warning": "#FAAA39", "@color-bi-color-toast-warning": "#FAAA39",
"@color-bi-color-toast-error": "#E65251", "@color-bi-color-toast-error": "#E65251",
"@color-bi-color-toast-normal": "#2C60DB", "@color-bi-color-toast-normal": "#2C60DB",
"@color-bi-color-toast-text": "#000A19" "@color-bi-color-toast-text": "#000A19",
"@color-bi-color-toast-shadow": "rgba(9, 30, 64, 0.16)"
} }

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

@ -4,6 +4,7 @@
color: @color-bi-color-toast-text; color: @color-bi-color-toast-text;
line-height: @font-size-16; line-height: @font-size-16;
.border-radius(2px); .border-radius(2px);
.box-shadow(0 6px 20px -2px, @color-bi-color-toast-shadow);
&.toast-success { &.toast-success {
background: @color-bi-background-toast-success; background: @color-bi-background-toast-success;

1
src/less/lib/theme.less

@ -32,6 +32,7 @@
@color-bi-color-toast-error: @color-bi-text; @color-bi-color-toast-error: @color-bi-text;
@color-bi-color-toast-normal: @color-bi-text; @color-bi-color-toast-normal: @color-bi-text;
@color-bi-color-toast-text: @color-bi-text; @color-bi-color-toast-text: @color-bi-text;
@color-bi-color-toast-shadow: @color-bi-background-black;
//bubble //bubble
@color-bi-background-bubble-success: @color-bi-background-light-success; @color-bi-background-bubble-success: @color-bi-background-light-success;

Loading…
Cancel
Save