Badge add type prop, close #3425
This commit is contained in:
parent
457fe0874c
commit
cc27c42a0d
4 changed files with 51 additions and 2 deletions
|
@ -38,6 +38,26 @@
|
|||
position: relative;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
&-primary{
|
||||
background: @primary-color;
|
||||
}
|
||||
&-success{
|
||||
background: @success-color;
|
||||
}
|
||||
&-error{
|
||||
background: @error-color;
|
||||
}
|
||||
&-warning{
|
||||
background: @warning-color;
|
||||
}
|
||||
&-info{
|
||||
background: @info-color;
|
||||
}
|
||||
&-normal{
|
||||
background: @normal-color;
|
||||
color: @subsidiary-color;
|
||||
}
|
||||
}
|
||||
|
||||
&-dot {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
@processing-color : @primary-color;
|
||||
@warning-color : #ff9900;
|
||||
@error-color : #ed3f14;
|
||||
@normal-color : #d9d9d9;
|
||||
@normal-color : #e6ebf1;
|
||||
@link-color : #2D8cF0;
|
||||
@link-hover-color : tint(@link-color, 20%);
|
||||
@link-active-color : shade(@link-color, 5%);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue