mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 16:59:22 +00:00
FIX: Fix custom login input label animations (#24497)
This commit is contained in:
parent
7ce386248c
commit
e9f604b567
@ -253,7 +253,8 @@
|
||||
.user-fields .input-group {
|
||||
.user-field {
|
||||
&.text {
|
||||
&.value-entered label.control-label {
|
||||
&.value-entered label.alt-placeholder.control-label,
|
||||
input:focus + label.alt-placeholder.control-label {
|
||||
top: -8px;
|
||||
left: calc(1em - 0.25em);
|
||||
background-color: var(--secondary);
|
||||
@ -261,12 +262,11 @@
|
||||
font-size: 14px;
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
label.control-label {
|
||||
label.alt-placeholder.control-label {
|
||||
color: var(--primary-medium);
|
||||
font-size: 16px;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
left: 1em;
|
||||
top: 12px;
|
||||
transition: 0.2s ease all;
|
||||
max-width: calc(100% - 2em);
|
||||
|
Loading…
x
Reference in New Issue
Block a user