update components

This commit is contained in:
Luke Pulverenti 2016-07-21 13:23:25 -04:00
parent b1bc63f509
commit fdb13570d7
7 changed files with 34 additions and 20 deletions

View File

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.110",
"_release": "1.4.110",
"version": "1.4.112",
"_release": "1.4.112",
"_resolution": {
"type": "version",
"tag": "1.4.110",
"commit": "fec7da49cf36f8177347d4ad14e443db644dc7f5"
"tag": "1.4.112",
"commit": "3dcd3f9498f9c9963f5d195179b3ae0f85a1e909"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View File

@ -52,12 +52,12 @@ define(['layoutManager', 'globalize'], function (layoutManager, globalize) {
if (options.title) {
html += '<h2>' + options.title + '</h2>';
}
}
var text = options.html || options.text;
if (text) {
html += '<div>' + text + '</div>';
html += '<div style="margin:1em 0;">' + text + '</div>';
}
html += '<div class="buttons">';

View File

@ -3,7 +3,6 @@
border-radius: 1px;
z-index: 999999 !important;
position: fixed;
margin: 24px 40px;
-webkit-font-smoothing: antialiased;
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);
height: auto;
@ -71,9 +70,8 @@
.dialog .buttons {
position: relative;
padding: 8px 8px 8px 24px;
margin: 0;
color: #3f51b5;
padding: 0;
margin: 1em;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
@ -85,6 +83,17 @@
justify-content: flex-end;
}
.dialog .buttons button {
color: #52B54B;
padding: 0.35em 1em;
margin: 0;
}
.dialog .buttons button:focus {
color: #fff;
background-color: #52B54B;
}
.dialogBackdrop {
background-color: #000;
opacity: 0;

View File

@ -102,11 +102,16 @@ div.listItem {
}
.listItemIcon {
width: 3vh;
height: 3vh;
font-size: 3vh;
width: auto !important;
height: auto !important;
font-size: 120%;
border-radius: 500px;
background-color: #52B54B;
padding: .5em;
color: #fff;
}
.listItem.largeImage .listItemImage {
width: 45vh;
height: 30vh;

View File

@ -118,9 +118,9 @@
"RemoveFromPlaylist": "Remove from playlist",
"RemoveFromCollection": "Remove from collection",
"Trailer": "Trailer",
"MarkPlayed": "Mark Played",
"MarkUnplayed": "Mark Unplayed",
"GroupVersions": "Group Versions",
"MarkPlayed": "Mark played",
"MarkUnplayed": "Mark unplayed",
"GroupVersions": "Group versions",
"PleaseSelectTwoItems": "Please select at least two items.",
"TheSelectedItemsWillBeGrouped": "The selected videos will be grouped into one virtual item. Emby apps will automatically choose which version to play based on device and network performance. Are you sure you wish to continue?",
"TryMultiSelect": "Try Multi-Select",

View File

@ -125,9 +125,9 @@
itemHtml += '<div class="listItemBody two-line">';
itemHtml += '<h3 class="listItemBodyText">';
itemHtml += '<div>';
itemHtml += s.DisplayTitle || '';
itemHtml += '</h3>';
itemHtml += '</div>';
if (s.Path) {
itemHtml += '<div class="secondary listItemBodyText">' + (s.Path) + '</div>';
@ -241,7 +241,7 @@
//html += '<a class="btnViewSubtitle" href="#" data-subid="' + result.Id + '">';
html += '<h3 class="listItemBodyText">' + (result.Name) + '</h3>';
html += '<div>' + (result.Name) + '</div>';
html += '<div class="secondary listItemBodyText">' + (result.Format) + '</div>';
if (result.Comment) {

View File

@ -95,7 +95,7 @@ function (dialogHelper, loading, connectionManager, globalize, actionsheet) {
html += '<div class="listItem">';
html += '<button is="emby-button" type="button" class="fab autoSize mini" style="background:#52B54B;"><i class="md-icon listItemIcon">dvr</i></button>';
html += '<i class="md-icon listItemIcon">dvr</i>';
html += '<div class="listItemBody two-line">';
html += '<h3>';