Commit d9e68487 authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3230390 by pivica: Floating label label bg color should not be applied...

Issue #3230390 by pivica: Floating label label bg color should not be applied for disabled and auto filled input fields
parent 501e2266
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -75,6 +75,16 @@
      pointer-events: initial;
    }
  }

  // If element is disabled we should remove label bg color because disabled
  // element have it's own bg color.
  &[disabled],
  // Chrome autofill style.
  &:-internal-autofill-selected {
    ~ label {
      background-color: transparent;
    }
  }
}

.form--floating-labels {