update components
This commit is contained in:
parent
46043aae83
commit
1eb2690523
10 changed files with 39 additions and 47 deletions
|
@ -14,12 +14,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.227",
|
||||
"_release": "1.4.227",
|
||||
"version": "1.4.228",
|
||||
"_release": "1.4.228",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.227",
|
||||
"commit": "2505460646b01598627d65be60949d0ca0422b9f"
|
||||
"tag": "1.4.228",
|
||||
"commit": "1cfdbd2cf131d65f407bb004f8840f8b0cb929ea"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.1",
|
||||
|
|
|
@ -89,3 +89,9 @@
|
|||
.actionsheet-extraSpacing {
|
||||
font-size: 108%;
|
||||
}
|
||||
|
||||
.btnCloseActionSheet {
|
||||
position: fixed;
|
||||
top: .5em;
|
||||
left: .25em;
|
||||
}
|
|
@ -155,6 +155,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (layoutManager.tv) {
|
||||
html += '<button is="paper-icon-button-light" class="btnCloseActionSheet" tabindex="-1"><i class="md-icon"></i></button>';
|
||||
}
|
||||
|
||||
// If any items have an icon, give them all an icon just to make sure they're all lined up evenly
|
||||
var center = options.title && (!renderIcon /*|| itemsWithIcons.length != options.items.length*/);
|
||||
|
||||
|
@ -215,7 +219,7 @@
|
|||
|
||||
if (options.showCancel) {
|
||||
html += '<div class="buttons">';
|
||||
html += '<button is="emby-button" type="button" class="btnCancel">' + globalize.translate('sharedcomponents#ButtonCancel') + '</button>';
|
||||
html += '<button is="emby-button" type="button" class="btnCloseActionSheet">' + globalize.translate('sharedcomponents#ButtonCancel') + '</button>';
|
||||
html += '</div>';
|
||||
}
|
||||
html += '</div>';
|
||||
|
@ -226,8 +230,9 @@
|
|||
centerFocus(dlg.querySelector('.actionSheetScroller'), false, true);
|
||||
}
|
||||
|
||||
if (options.showCancel) {
|
||||
dlg.querySelector('.btnCancel').addEventListener('click', function () {
|
||||
var btnCloseActionSheet = dlg.querySelector('.btnCloseActionSheet');
|
||||
if (btnCloseActionSheet) {
|
||||
dlg.querySelector('.btnCloseActionSheet').addEventListener('click', function () {
|
||||
dialogHelper.close(dlg);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -3,12 +3,13 @@
|
|||
}
|
||||
|
||||
.collapseContent {
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-width: 0;
|
||||
padding: 1.25em 1.25em;
|
||||
height: 0;
|
||||
transition-property: height;
|
||||
transition-duration: 300ms;
|
||||
overflow: hidden;
|
||||
background: #222;
|
||||
}
|
||||
|
||||
.emby-collapsible-button {
|
||||
|
@ -18,6 +19,9 @@
|
|||
text-transform: none;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border: 0;
|
||||
text-transform: none;
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
|
||||
.emby-collapse-expandIcon {
|
||||
|
@ -28,3 +32,8 @@
|
|||
.emby-collapse-expandIconExpanded {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.emby-collapsible-title {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
|
@ -59,7 +59,7 @@
|
|||
}
|
||||
|
||||
.newTvProgram {
|
||||
background: #43A047;
|
||||
background: #64A239;
|
||||
}
|
||||
|
||||
.liveTvProgram {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue