mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework result factory
This commit is contained in:
parent
2839c095b4
commit
41c7f70286
5 changed files with 25 additions and 27 deletions
|
@ -2,7 +2,6 @@
|
|||
display: block;
|
||||
margin: 0;
|
||||
margin-bottom: 0 !important;
|
||||
background: none;
|
||||
border: 1px solid #383838;
|
||||
border-width: 0 0 1px 0;
|
||||
/* Prefixed box-sizing rules necessary for older browsers */
|
||||
|
@ -15,17 +14,21 @@
|
|||
/* General select styles: change as needed */
|
||||
font-family: inherit;
|
||||
font-weight: inherit;
|
||||
color: inherit;
|
||||
padding: .35em .8em .3em 0;
|
||||
cursor: pointer;
|
||||
outline: none !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.emby-select-withoptioncolor {
|
||||
color: inherit;
|
||||
background: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.emby-select option {
|
||||
.emby-select-withoptioncolor > option {
|
||||
color: initial;
|
||||
}
|
||||
|
||||
|
|
|
@ -118,6 +118,10 @@
|
|||
inputId++;
|
||||
}
|
||||
|
||||
if (!browser.firefox) {
|
||||
this.classList.add('emby-select-withoptioncolor');
|
||||
}
|
||||
|
||||
this.addEventListener('mousedown', onMouseDown);
|
||||
this.addEventListener('keydown', onKeyDown);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue