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": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.4.110", "version": "1.4.112",
"_release": "1.4.110", "_release": "1.4.112",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.4.110", "tag": "1.4.112",
"commit": "fec7da49cf36f8177347d4ad14e443db644dc7f5" "commit": "3dcd3f9498f9c9963f5d195179b3ae0f85a1e909"
}, },
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0", "_target": "^1.2.0",

View File

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

View File

@ -3,7 +3,6 @@
border-radius: 1px; border-radius: 1px;
z-index: 999999 !important; z-index: 999999 !important;
position: fixed; position: fixed;
margin: 24px 40px;
-webkit-font-smoothing: antialiased; -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); 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; height: auto;
@ -71,9 +70,8 @@
.dialog .buttons { .dialog .buttons {
position: relative; position: relative;
padding: 8px 8px 8px 24px; padding: 0;
margin: 0; margin: 1em;
color: #3f51b5;
display: -ms-flexbox; display: -ms-flexbox;
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
@ -85,6 +83,17 @@
justify-content: flex-end; 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 { .dialogBackdrop {
background-color: #000; background-color: #000;
opacity: 0; opacity: 0;

View File

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

View File

@ -118,9 +118,9 @@
"RemoveFromPlaylist": "Remove from playlist", "RemoveFromPlaylist": "Remove from playlist",
"RemoveFromCollection": "Remove from collection", "RemoveFromCollection": "Remove from collection",
"Trailer": "Trailer", "Trailer": "Trailer",
"MarkPlayed": "Mark Played", "MarkPlayed": "Mark played",
"MarkUnplayed": "Mark Unplayed", "MarkUnplayed": "Mark unplayed",
"GroupVersions": "Group Versions", "GroupVersions": "Group versions",
"PleaseSelectTwoItems": "Please select at least two items.", "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?", "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", "TryMultiSelect": "Try Multi-Select",

View File

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

View File

@ -95,7 +95,7 @@ function (dialogHelper, loading, connectionManager, globalize, actionsheet) {
html += '<div class="listItem">'; 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 += '<div class="listItemBody two-line">';
html += '<h3>'; html += '<h3>';