Add @highlight-color less variables

This commit is contained in:
afc163 2016-11-09 21:30:02 +08:00
parent 64e549be9d
commit 5d2a2cc39b
4 changed files with 6 additions and 14 deletions

View File

@ -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 {

View File

@ -180,7 +180,7 @@
}
& &-keyword {
color: @error-color;
color: @highlight-color;
}
}
}

View File

@ -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;

View File

@ -42,7 +42,7 @@
}
&.filter-node {
> a {
color: @error-color!important;
color: @highlight-color!important;
font-weight: bold!important;
}
}