1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-07-07 00:28:58 -04:00
parent 9a4a0e78a9
commit 5d6cee1223
4 changed files with 33 additions and 11 deletions

View file

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.69",
"_release": "1.4.69",
"version": "1.4.70",
"_release": "1.4.70",
"_resolution": {
"type": "version",
"tag": "1.4.69",
"commit": "24a5ea44282dc2e0a537c6245aedd88877ebb9ad"
"tag": "1.4.70",
"commit": "d1263e18e331a87300ac4580536b26931cea87c9"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View file

@ -20,14 +20,29 @@
cursor: pointer;
outline: none !important;
width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
[is="emby-select"] option {
color: initial;
}
[is="emby-select"] option {
color: initial;
}
.selectContainer {
margin-bottom: 2em;
position: relative;
}
.selectArrowContainer {
position: absolute;
right: 0;
top: .25em;
color: inherit;
}
.selectArrow {
margin-top: .35em;
}
.selectLabel {

View file

@ -153,6 +153,17 @@
var div = document.createElement('div');
div.classList.add('emby-select-selectionbar');
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 = '&#xE313;';
arrowContainer.appendChild(arrow);
}
};

View file

@ -125,10 +125,6 @@ define(['visibleinviewport', 'imageFetcher', 'layoutManager', 'events', 'browser
fillImage(target);
filledCount++;
}
if (filledCount >= images.length) {
observer.disconnect();
}
},
options
);