diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 33de6aaf88..43cb5a9fca 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -14,12 +14,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.246", - "_release": "1.4.246", + "version": "1.4.247", + "_release": "1.4.247", "_resolution": { "type": "version", - "tag": "1.4.246", - "commit": "d8da2a13a208bc2dcb8e6ce4af6f81b114eeb7cd" + "tag": "1.4.247", + "commit": "f5678d95ef2db4849be318783e3efa76bf3c9698" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/browser.js b/dashboard-ui/bower_components/emby-webcomponents/browser.js index b4e05c5a43..caad74df9d 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browser.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browser.js @@ -87,6 +87,34 @@ } } + function hasKeyboard(browser) { + + if (browser.touch) { + return true; + } + + if (browser.xboxOne) { + return true; + } + + if (browser.ps4) { + return true; + } + + if (browser.edgeUwp) { + // This is OK for now, but this won't always be true + // Should we use this? + // https://gist.github.com/wagonli/40d8a31bd0d6f0dd7a5d + return true; + } + + if (browser.tv) { + return true; + } + + return false; + } + var uaMatch = function (ua) { ua = ua.toLowerCase(); @@ -178,5 +206,7 @@ browser.touch = true; } + browser.keyboard = hasKeyboard(browser); + return browser; }); \ No newline at end of file diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css b/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css index 08c4413bca..d7ef9e7faa 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css @@ -39,12 +39,12 @@ .emby-button > i { /* For non-fab buttons that have icons */ - font-size: 1.5em; + font-size: 1.2em; width: auto; height: auto; } -.emby-button.fab { +.fab { display: inline-flex; border-radius: 50%; background-color: #444; @@ -57,7 +57,7 @@ margin: 0; } - .emby-button.fab > i { + .fab > i { height: auto; width: auto; vertical-align: middle; @@ -69,11 +69,11 @@ white-space: nowrap; } -.emby-button.fab.mini { +.fab.mini { padding: 8px; } - .emby-button.fab.mini > i { + .fab.mini > i { height: auto; width: auto; font-size: 1.72em; @@ -87,7 +87,7 @@ width: 100%; } -.emby-button.raised:focus { +.raised:focus { box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4); transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } @@ -96,22 +96,10 @@ margin-left: .5em; } -.emby-button span + i { +.emby-button > span + i { margin-left: .5em; } -.emby-button.iconRight > i { - margin-left: auto; - margin-right: .25em; -} - -.emby-button-noflex.iconRight > i { - position: absolute; - right: 0; - top: 25%; - margin-right: .5em; -} - .paper-icon-button-light { position: relative; display: inline-flex; diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css b/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css index 3b48008679..bad9223435 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css @@ -30,6 +30,9 @@ .emby-collapse-expandIcon { transform-origin: 50% 50%; transition: transform 180ms ease-out; + position: absolute; + right: .5em; + font-size: 1.5em; } .emby-collapse-expandIconExpanded { diff --git a/dashboard-ui/bower_components/iron-icon/.bower.json b/dashboard-ui/bower_components/iron-icon/.bower.json index f76855b27a..87e3dad5d3 100644 --- a/dashboard-ui/bower_components/iron-icon/.bower.json +++ b/dashboard-ui/bower_components/iron-icon/.bower.json @@ -32,14 +32,14 @@ "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/PolymerElements/iron-icon", + "homepage": "https://github.com/polymerelements/iron-icon", "_release": "1.0.10", "_resolution": { "type": "version", "tag": "v1.0.10", "commit": "f4e146da4982ff96bb25db85290c09e8de4ec734" }, - "_source": "git://github.com/PolymerElements/iron-icon.git", + "_source": "git://github.com/polymerelements/iron-icon.git", "_target": "^1.0.0", - "_originalSource": "PolymerElements/iron-icon" + "_originalSource": "polymerelements/iron-icon" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json index 25eb84c037..a96f0f050e 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -32,14 +32,14 @@ "iron-component-page": "polymerElements/iron-component-page#^1.1.6" }, "private": true, - "homepage": "https://github.com/polymer/polymer", + "homepage": "https://github.com/Polymer/polymer", "_release": "1.6.1", "_resolution": { "type": "version", "tag": "v1.6.1", "commit": "1f197d9d7874b1e5808b2a5c26f34446a7d912fc" }, - "_source": "git://github.com/polymer/polymer.git", + "_source": "git://github.com/Polymer/polymer.git", "_target": "^1.1.0", - "_originalSource": "polymer/polymer" + "_originalSource": "Polymer/polymer" } \ No newline at end of file