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

update subtitle editor

This commit is contained in:
Luke Pulverenti 2016-05-31 11:29:00 -04:00
parent 6697f8685d
commit 5361e0d2a5
18 changed files with 446 additions and 406 deletions

View file

@ -1,27 +1,52 @@
button.listItem {
background: transparent;
border: 0 !important;
cursor: pointer;
outline: none !important;
color: inherit;
width: 100%;
vertical-align: middle;
font-family: inherit;
font-size: inherit;
}
.listItem {
display: flex;
align-items: center;
text-align: left;
padding: .1em 1.25em !important;
outline: none !important;
padding: .25em 1.25em !important;
}
.listItem.largeImage {
padding: 1em 0 1em 1em;
}
.listItem > *:not(.listItemBody) {
flex-shrink: 0;
}
.listItemBody {
flex-grow: 1;
padding: .35em 1.25em;
overflow: hidden;
text-overflow: ellipsis;
}
.listItemBody h3 {
margin: 0;
font-weight: normal;
padding: .25em 0;
overflow: hidden;
text-overflow: ellipsis;
}
.layout-tv .listItemBody h3 {
padding: 0;
}
.listItemBodyText {
padding: .25em 0;
overflow: hidden;
text-overflow: ellipsis;
}
.listItemImage {
@ -32,6 +57,11 @@
flex-shrink: 0;
}
.listItemIcon {
width: 3vh;
height: 3vh;
}
.listItem.largeImage .listItemImage {
width: 45vh;
height: 30vh;
@ -62,6 +92,11 @@
.paperList {
padding: .5em 0;
margin: 12px auto;
margin: 1em auto;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
.paperList.clear {
box-shadow: none !important;
background-color: transparent !important;
}

View file

@ -1,4 +1,4 @@
define(['itemHelper', 'mediaInfo', 'indicators', 'clearButtonStyle', 'css!./listview'], function (itemHelper, mediaInfo, indicators) {
define(['itemHelper', 'mediaInfo', 'indicators', 'css!./listview'], function (itemHelper, mediaInfo, indicators) {
function getListViewHtml(items, options) {
@ -15,7 +15,7 @@ define(['itemHelper', 'mediaInfo', 'indicators', 'clearButtonStyle', 'css!./list
var html = '';
var cssClass = "itemAction clearButton listItem";
var cssClass = "itemAction listItem";
var downloadWidth = 80;