mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
359e84bd6b
3 changed files with 11 additions and 7 deletions
|
@ -42,13 +42,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.actionSheetMenuItem {
|
.actionSheetMenuItem {
|
||||||
padding: .8em 1.6em;
|
padding: 0 1.6em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-align: inherit;
|
text-align: inherit;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actionSheetItemText {
|
||||||
|
padding: .8em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-tv .actionSheetMenuItem {
|
.layout-tv .actionSheetMenuItem {
|
||||||
|
|
|
@ -160,7 +160,7 @@
|
||||||
var option = options.items[i];
|
var option = options.items[i];
|
||||||
|
|
||||||
var autoFocus = option.selected ? ' autoFocus' : '';
|
var autoFocus = option.selected ? ' autoFocus' : '';
|
||||||
html += '<' + itemTagName + autoFocus + ' class="actionSheetMenuItem" data-id="' + option.id + '" style="display:block;">';
|
html += '<' + itemTagName + autoFocus + ' class="actionSheetMenuItem" data-id="' + option.id + '">';
|
||||||
|
|
||||||
if (option.ironIcon) {
|
if (option.ironIcon) {
|
||||||
html += '<iron-icon class="actionSheetItemIcon" icon="' + option.ironIcon + '"></iron-icon>';
|
html += '<iron-icon class="actionSheetItemIcon" icon="' + option.ironIcon + '"></iron-icon>';
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
else if (renderIcon && !center) {
|
else if (renderIcon && !center) {
|
||||||
html += '<iron-icon class="actionSheetItemIcon"></iron-icon>';
|
html += '<iron-icon class="actionSheetItemIcon"></iron-icon>';
|
||||||
}
|
}
|
||||||
html += '<span>' + option.name + '</span>';
|
html += '<div class="actionSheetItemText">' + option.name + '</div>';
|
||||||
html += '</' + itemTagName + '>';
|
html += '</' + itemTagName + '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
if (stream.Index == currentIndex) {
|
if (stream.Index == currentIndex) {
|
||||||
opt.ironIcon = "check";
|
opt.selected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return opt;
|
return opt;
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
if (o.selected) {
|
if (o.selected) {
|
||||||
opt.ironIcon = "check";
|
opt.selected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return opt;
|
return opt;
|
||||||
|
@ -234,7 +234,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
if (stream.Index == currentIndex) {
|
if (stream.Index == currentIndex) {
|
||||||
opt.ironIcon = "check";
|
opt.selected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return opt;
|
return opt;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue