mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
switch to shared components
This commit is contained in:
parent
c216a7ecdc
commit
e305bf40c8
28 changed files with 789 additions and 723 deletions
|
@ -39,10 +39,16 @@
|
|||
}
|
||||
|
||||
.cardOverlayButtons .fab {
|
||||
background-color: #333;
|
||||
background-color: #282828;
|
||||
margin-right: .25em;
|
||||
}
|
||||
|
||||
.cardOverlayButtons .fab i.md-icon {
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
font-size: 20px !important;
|
||||
}
|
||||
|
||||
@media all and (max-width: 1200px) {
|
||||
|
||||
.cardOverlayInner {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
var preventHover = false;
|
||||
var showOverlayTimeout;
|
||||
var hoveringElement;
|
||||
|
||||
function parentWithAttribute(elem, name) {
|
||||
|
||||
|
@ -21,10 +20,6 @@
|
|||
|
||||
var elem = e.target;
|
||||
|
||||
if (elem != hoveringElement) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (showOverlayTimeout) {
|
||||
clearTimeout(showOverlayTimeout);
|
||||
showOverlayTimeout = null;
|
||||
|
@ -244,7 +239,6 @@
|
|||
}
|
||||
|
||||
elem = parentWithAttribute(elem, 'data-id');
|
||||
hoveringElement = elem;
|
||||
|
||||
showOverlayTimeout = setTimeout(function () {
|
||||
onShowTimerExpired(elem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue