mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +01:00
fix form label transition
This commit is contained in:
parent
41c3b7e122
commit
6f42576f55
@ -73,6 +73,7 @@
|
|||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
line-height: $line-height;
|
line-height: $line-height;
|
||||||
color: $input-color-placeholder;
|
color: $input-color-placeholder;
|
||||||
|
transform-origin: left;
|
||||||
|
|
||||||
.background--photo & {
|
.background--photo & {
|
||||||
color: rgba(#fff, .5);
|
color: rgba(#fff, .5);
|
||||||
@ -87,7 +88,6 @@
|
|||||||
//&.parsley-error ~ .form-label,
|
//&.parsley-error ~ .form-label,
|
||||||
&.parsley-success ~ .form-label {
|
&.parsley-success ~ .form-label {
|
||||||
transform: translate3d(0, -(($spacer / 1.5) + $input-padding-x), 0) scale(.7);
|
transform: translate3d(0, -(($spacer / 1.5) + $input-padding-x), 0) scale(.7);
|
||||||
transform-origin: left;
|
|
||||||
color: $input-border-focus;
|
color: $input-border-focus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user