update some styles
update some styles
This commit is contained in:
parent
4a260ed5e4
commit
e93f1e9a76
8 changed files with 115 additions and 4 deletions
|
@ -85,3 +85,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{form-item-prefix-cls}-error{
|
||||
.@{cascader-prefix-cls} {
|
||||
&-arrow{
|
||||
color: @error-color;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -39,6 +39,15 @@
|
|||
font-size: @font-size-small;
|
||||
}
|
||||
|
||||
&-error-tip{
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
line-height: 1;
|
||||
padding-top: 6px;
|
||||
color: @error-color;
|
||||
}
|
||||
|
||||
&-required {
|
||||
.@{form-item-prefix-cls}-label:before {
|
||||
content: '*';
|
||||
|
|
|
@ -184,3 +184,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{form-item-prefix-cls}-error {
|
||||
.@{input-number-prefix-cls}{
|
||||
.input-error;
|
||||
&-focused {
|
||||
.active-error;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -42,4 +42,16 @@
|
|||
|
||||
.@{input-prefix-cls}-group{
|
||||
.input-group(~"@{input-prefix-cls}");
|
||||
}
|
||||
|
||||
.@{form-item-prefix-cls}-error{
|
||||
.@{input-prefix-cls}{
|
||||
.input-error;
|
||||
&-icon{
|
||||
color: @error-color;
|
||||
}
|
||||
}
|
||||
.@{input-prefix-cls}-group{
|
||||
.input-group-error;
|
||||
}
|
||||
}
|
|
@ -217,3 +217,17 @@
|
|||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.@{form-item-prefix-cls}-error{
|
||||
.@{select-prefix-cls}{
|
||||
&-selection{
|
||||
border: 1px solid @error-color;
|
||||
}
|
||||
&-arrow{
|
||||
color: @error-color;
|
||||
}
|
||||
&-visible .@{select-prefix-cls}-selection{
|
||||
.active-error;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue