update list styles
This commit is contained in:
parent
559d8eb5f6
commit
2b483db762
21 changed files with 82 additions and 111 deletions
|
@ -15,12 +15,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.58",
|
||||
"_release": "1.4.58",
|
||||
"version": "1.4.59",
|
||||
"_release": "1.4.59",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.58",
|
||||
"commit": "2bbc190d69ad89110a7b83eec624fbd44df9b17c"
|
||||
"tag": "1.4.59",
|
||||
"commit": "7e348b4fcb9c8728789b0b54f465eaa4a32a5e69"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
|
||||
if (userAgent.toLowerCase().indexOf("playstation 4") != -1) {
|
||||
browser.ps4 = true;
|
||||
browser.tv = true;
|
||||
}
|
||||
|
||||
if (isMobile.any) {
|
||||
|
|
|
@ -172,7 +172,6 @@ define(['browser'], function (browser) {
|
|||
|
||||
if (browser.tizen) {
|
||||
|
||||
return 10000000;
|
||||
// 2015 models
|
||||
if (userAgent.indexOf('tizen 2.3') != -1) {
|
||||
return 20000000;
|
||||
|
|
|
@ -14,7 +14,8 @@ button.listItem {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding: .25em 1.25em !important;
|
||||
padding: 0 1em !important;
|
||||
line-height: 170%;
|
||||
}
|
||||
|
||||
.listItem.largeImage {
|
||||
|
@ -27,15 +28,32 @@ button.listItem {
|
|||
|
||||
.listItemBody {
|
||||
flex-grow: 1;
|
||||
padding: .85em 1.25em;
|
||||
padding: 0 1.15em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
vertical-align: middle;
|
||||
justify-content: center;
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.listItemBody.two-line {
|
||||
min-height: 72px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.listItemBody.three-line {
|
||||
min-height: 88px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.listItemBody h3 {
|
||||
margin: 0;
|
||||
font-weight: normal;
|
||||
padding: .25em 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
@ -44,6 +62,10 @@ button.listItem {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.listItemBody > div:not(.secondary) {
|
||||
font-size: 115%;
|
||||
}
|
||||
|
||||
.listItemBodyText {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -55,6 +77,7 @@ button.listItem {
|
|||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
flex-shrink: 0;
|
||||
margin-left: -.9em;
|
||||
}
|
||||
|
||||
.listItemIcon {
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
|
||||
itemHtml += '<i class="listItemIcon md-icon">closed_caption</i>';
|
||||
|
||||
itemHtml += '<div class="listItemBody">';
|
||||
itemHtml += '<div class="listItemBody two-line">';
|
||||
|
||||
itemHtml += '<h3 class="listItemBodyText">';
|
||||
itemHtml += s.DisplayTitle || '';
|
||||
|
@ -237,7 +237,7 @@
|
|||
|
||||
html += '<i class="listItemIcon md-icon">closed_caption</i>';
|
||||
|
||||
html += '<div class="listItemBody">';
|
||||
html += '<div class="listItemBody two-line">';
|
||||
|
||||
//html += '<a class="btnViewSubtitle" href="#" data-subid="' + result.Id + '">';
|
||||
|
||||
|
|
|
@ -28,14 +28,14 @@
|
|||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/polymerelements/iron-resizable-behavior",
|
||||
"homepage": "https://github.com/PolymerElements/iron-resizable-behavior",
|
||||
"_release": "1.0.3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.3",
|
||||
"commit": "dda1df6aaf452aedf3e52ff0cf69e72439452216"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-resizable-behavior.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-resizable-behavior.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-resizable-behavior"
|
||||
"_originalSource": "PolymerElements/iron-resizable-behavior"
|
||||
}
|
|
@ -36,7 +36,7 @@
|
|||
"tag": "v1.5.2",
|
||||
"commit": "18e8e12dcd9a4560de480562f65935feed334b86"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-selector"
|
||||
"_originalSource": "PolymerElements/iron-selector"
|
||||
}
|
|
@ -39,6 +39,6 @@
|
|||
"commit": "ce5b9fb2d8aa03c698410e2e55cffcfa0b788a3a"
|
||||
},
|
||||
"_source": "git://github.com/Polymer/polymer.git",
|
||||
"_target": "^1.1.0",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "Polymer/polymer"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue