optimize Tag border type style

optimize Tag border type style
This commit is contained in:
梁灏 2016-11-03 16:48:56 +08:00
parent 3e855e34df
commit b094c2b6b7
3 changed files with 34 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -76,15 +76,47 @@
&.@{tag-prefix-cls}-blue { &.@{tag-prefix-cls}-blue {
color: @link-color !important; color: @link-color !important;
border: 1px solid @link-color !important;
&:after{
background: @link-color;
}
.@{tag-close-prefix-cls}{
color: @link-color !important;
}
} }
&.@{tag-prefix-cls}-green { &.@{tag-prefix-cls}-green {
color: @success-color !important; color: @success-color !important;
border: 1px solid @success-color !important;
&:after{
background: @success-color;
}
.@{tag-close-prefix-cls}{
color: @success-color !important;
}
} }
&.@{tag-prefix-cls}-yellow { &.@{tag-prefix-cls}-yellow {
color: @warning-color !important; color: @warning-color !important;
border: 1px solid @warning-color !important;
&:after{
background: @warning-color;
}
.@{tag-close-prefix-cls}{
color: @warning-color !important;
}
} }
&.@{tag-prefix-cls}-red { &.@{tag-prefix-cls}-red {
color: @error-color !important; color: @error-color !important;
border: 1px solid @error-color !important;
&:after{
background: @error-color;
}
.@{tag-close-prefix-cls}{
color: @error-color !important;
}
} }
} }