|
|
@ -95,7 +95,7 @@ |
|
|
|
&.error { |
|
|
|
&.error { |
|
|
|
border-color: $color-error; |
|
|
|
border-color: $color-error; |
|
|
|
|
|
|
|
|
|
|
|
& + label { |
|
|
|
& ~ label { |
|
|
|
color: $color-error!important; |
|
|
|
color: $color-error!important; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -103,7 +103,7 @@ |
|
|
|
&.valid { |
|
|
|
&.valid { |
|
|
|
border-color: #26962F; |
|
|
|
border-color: #26962F; |
|
|
|
|
|
|
|
|
|
|
|
& + label { |
|
|
|
& ~ label { |
|
|
|
color: #26962F !important; |
|
|
|
color: #26962F !important; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -119,11 +119,11 @@ |
|
|
|
border-color: $button-primary-background; |
|
|
|
border-color: $button-primary-background; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:focus + label { |
|
|
|
&:focus ~ label { |
|
|
|
color: $button-primary-background; |
|
|
|
color: $button-primary-background; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:focus + label, &:valid + label, &:not(:empty) + label, &:disabled + label { |
|
|
|
&:focus ~ label, &:valid ~ label, &:not(:empty) ~ label, &:disabled ~ label { |
|
|
|
top: -.5rem; |
|
|
|
top: -.5rem; |
|
|
|
transform: none; |
|
|
|
transform: none; |
|
|
|
padding: 0 5px; |
|
|
|
padding: 0 5px; |
|
|
@ -217,7 +217,7 @@ input:focus, button:focus { |
|
|
|
background-color: transparent; |
|
|
|
background-color: transparent; |
|
|
|
border-color: $button-primary-background; |
|
|
|
border-color: $button-primary-background; |
|
|
|
|
|
|
|
|
|
|
|
& + .tgico { |
|
|
|
& ~ .tgico { |
|
|
|
color: $button-primary-background; |
|
|
|
color: $button-primary-background; |
|
|
|
opacity: 1; |
|
|
|
opacity: 1; |
|
|
|
} |
|
|
|
} |
|
|
|