mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
Add @highlight-color less variables
This commit is contained in:
parent
64e549be9d
commit
5d2a2cc39b
@ -16,7 +16,7 @@
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
min-width: 20px;
|
||||
background: @error-color;
|
||||
background: @highlight-color;
|
||||
border: 1px solid transparent;
|
||||
color: #fff;
|
||||
line-height: 18px;
|
||||
@ -42,7 +42,7 @@
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
border-radius: 100%;
|
||||
background: @error-color;
|
||||
background: @highlight-color;
|
||||
z-index: 10;
|
||||
box-shadow: 0 0 0 1px #fff;
|
||||
}
|
||||
@ -109,15 +109,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
a & {
|
||||
&-count:hover {
|
||||
background: tint(@error-color, 20%);
|
||||
}
|
||||
&-count:active {
|
||||
background: shade(@error-color, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.@{number-prefix-cls} {
|
||||
overflow: hidden;
|
||||
&-only {
|
||||
|
@ -180,7 +180,7 @@
|
||||
}
|
||||
|
||||
& &-keyword {
|
||||
color: @error-color;
|
||||
color: @highlight-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
@info-color : #2db7f5;
|
||||
@success-color : #87d068;
|
||||
@error-color : #f50;
|
||||
@highlight-color : #f50;
|
||||
@warning-color : #fa0;
|
||||
@normal-color : #d9d9d9;
|
||||
|
||||
@ -141,7 +142,7 @@
|
||||
|
||||
// Form
|
||||
// ---
|
||||
@label-required-color : #f50;
|
||||
@label-required-color : @highlight-color;
|
||||
@label-color : @text-color;
|
||||
@form-item-margin-bottom : 24px;
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
}
|
||||
&.filter-node {
|
||||
> a {
|
||||
color: @error-color!important;
|
||||
color: @highlight-color!important;
|
||||
font-weight: bold!important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user