mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
feat: remove date input icon in Firefox
This commit is contained in:
parent
84ff387636
commit
ef2e8778ac
13 changed files with 53 additions and 9 deletions
|
@ -71,6 +71,20 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]) {
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
// Calendar icons are hidden in Firefox
|
||||
@if $enable-important {
|
||||
@-moz-document url-prefix() {
|
||||
[type="date"],
|
||||
[type="datetime-local"],
|
||||
[type="month"],
|
||||
[type="time"],
|
||||
[type="week"] {
|
||||
padding-right: var(--form-element-spacing-horizontal) !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// File
|
||||
[type="file"] {
|
||||
--color: var(--muted-color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue