mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Add native color picker option (fix for firefox) (#16729)
This commit is contained in:
parent
b63a32109e
commit
928b4e6f1e
@ -603,6 +603,7 @@ class LightColorPicker extends LitElement {
|
||||
input[type="color"] {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
display: block;
|
||||
@ -628,6 +629,10 @@ class LightColorPicker extends LitElement {
|
||||
background: none;
|
||||
}
|
||||
|
||||
input[type="color"]::-moz-color-swatch {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type="color"]::-webkit-color-swatch {
|
||||
border: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user