mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
9a4a0e78a9
commit
5d6cee1223
4 changed files with 33 additions and 11 deletions
|
@ -15,12 +15,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.4.69",
|
"version": "1.4.70",
|
||||||
"_release": "1.4.69",
|
"_release": "1.4.70",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.4.69",
|
"tag": "1.4.70",
|
||||||
"commit": "24a5ea44282dc2e0a537c6245aedd88877ebb9ad"
|
"commit": "d1263e18e331a87300ac4580536b26931cea87c9"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "^1.2.0",
|
"_target": "^1.2.0",
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
[is="emby-select"] option {
|
[is="emby-select"] option {
|
||||||
|
@ -28,6 +31,18 @@
|
||||||
|
|
||||||
.selectContainer {
|
.selectContainer {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selectArrowContainer {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: .25em;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selectArrow {
|
||||||
|
margin-top: .35em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.selectLabel {
|
.selectLabel {
|
||||||
|
|
|
@ -153,6 +153,17 @@
|
||||||
var div = document.createElement('div');
|
var div = document.createElement('div');
|
||||||
div.classList.add('emby-select-selectionbar');
|
div.classList.add('emby-select-selectionbar');
|
||||||
this.parentNode.insertBefore(div, this.nextSibling);
|
this.parentNode.insertBefore(div, this.nextSibling);
|
||||||
|
|
||||||
|
var arrowContainer = document.createElement('div');
|
||||||
|
arrowContainer.classList.add('selectArrowContainer');
|
||||||
|
arrowContainer.innerHTML = '<div style="visibility:hidden;">0</div>';
|
||||||
|
this.parentNode.appendChild(arrowContainer);
|
||||||
|
|
||||||
|
var arrow = document.createElement('i');
|
||||||
|
arrow.classList.add('md-icon');
|
||||||
|
arrow.classList.add('selectArrow');
|
||||||
|
arrow.innerHTML = '';
|
||||||
|
arrowContainer.appendChild(arrow);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -125,10 +125,6 @@ define(['visibleinviewport', 'imageFetcher', 'layoutManager', 'events', 'browser
|
||||||
fillImage(target);
|
fillImage(target);
|
||||||
filledCount++;
|
filledCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filledCount >= images.length) {
|
|
||||||
observer.disconnect();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
options
|
options
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue