mirror of https://github.com/mue/mue.git
37 lines
1.5 KiB
SCSS
37 lines
1.5 KiB
SCSS
select {
|
|
margin-left: 10px;
|
|
width: 120px;
|
|
color: var(--modal-text);
|
|
background: var(--sidebar);
|
|
border: none;
|
|
padding: 10px 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
// firefox dropdown
|
|
@supports (-moz-appearance: none) {
|
|
select {
|
|
-moz-appearance: none !important;
|
|
background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") right center no-repeat, var(--sidebar) !important;
|
|
}
|
|
|
|
.dark select {
|
|
background: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") right center no-repeat, var(--sidebar) !important;
|
|
}
|
|
|
|
option {
|
|
font: -moz-pull-down-menu !important;
|
|
}
|
|
}
|
|
|
|
// safari dropdown
|
|
@supports (-webkit-hyphens: none) {
|
|
select {
|
|
-webkit-appearance: none !important;
|
|
background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") right center no-repeat, var(--sidebar) !important;
|
|
}
|
|
|
|
.dark select {
|
|
background: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") right center no-repeat, var(--sidebar) !important;
|
|
}
|
|
} |