update multicast loopback handling

This commit is contained in:
Luke Pulverenti 2016-09-15 16:32:49 -04:00
parent 768584e43e
commit 17af3ec3ef
6 changed files with 50 additions and 29 deletions

View File

@ -14,12 +14,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.4.246", "version": "1.4.247",
"_release": "1.4.246", "_release": "1.4.247",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.4.246", "tag": "1.4.247",
"commit": "d8da2a13a208bc2dcb8e6ce4af6f81b114eeb7cd" "commit": "f5678d95ef2db4849be318783e3efa76bf3c9698"
}, },
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1", "_target": "^1.2.1",

View File

@ -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) { var uaMatch = function (ua) {
ua = ua.toLowerCase(); ua = ua.toLowerCase();
@ -178,5 +206,7 @@
browser.touch = true; browser.touch = true;
} }
browser.keyboard = hasKeyboard(browser);
return browser; return browser;
}); });

View File

@ -39,12 +39,12 @@
.emby-button > i { .emby-button > i {
/* For non-fab buttons that have icons */ /* For non-fab buttons that have icons */
font-size: 1.5em; font-size: 1.2em;
width: auto; width: auto;
height: auto; height: auto;
} }
.emby-button.fab { .fab {
display: inline-flex; display: inline-flex;
border-radius: 50%; border-radius: 50%;
background-color: #444; background-color: #444;
@ -57,7 +57,7 @@
margin: 0; margin: 0;
} }
.emby-button.fab > i { .fab > i {
height: auto; height: auto;
width: auto; width: auto;
vertical-align: middle; vertical-align: middle;
@ -69,11 +69,11 @@
white-space: nowrap; white-space: nowrap;
} }
.emby-button.fab.mini { .fab.mini {
padding: 8px; padding: 8px;
} }
.emby-button.fab.mini > i { .fab.mini > i {
height: auto; height: auto;
width: auto; width: auto;
font-size: 1.72em; font-size: 1.72em;
@ -87,7 +87,7 @@
width: 100%; 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); 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); transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
} }
@ -96,22 +96,10 @@
margin-left: .5em; margin-left: .5em;
} }
.emby-button span + i { .emby-button > span + i {
margin-left: .5em; 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 { .paper-icon-button-light {
position: relative; position: relative;
display: inline-flex; display: inline-flex;

View File

@ -30,6 +30,9 @@
.emby-collapse-expandIcon { .emby-collapse-expandIcon {
transform-origin: 50% 50%; transform-origin: 50% 50%;
transition: transform 180ms ease-out; transition: transform 180ms ease-out;
position: absolute;
right: .5em;
font-size: 1.5em;
} }
.emby-collapse-expandIconExpanded { .emby-collapse-expandIconExpanded {

View File

@ -32,14 +32,14 @@
"web-component-tester": "^4.0.0", "web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.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", "_release": "1.0.10",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.10", "tag": "v1.0.10",
"commit": "f4e146da4982ff96bb25db85290c09e8de4ec734" "commit": "f4e146da4982ff96bb25db85290c09e8de4ec734"
}, },
"_source": "git://github.com/PolymerElements/iron-icon.git", "_source": "git://github.com/polymerelements/iron-icon.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-icon" "_originalSource": "polymerelements/iron-icon"
} }

View File

@ -32,14 +32,14 @@
"iron-component-page": "polymerElements/iron-component-page#^1.1.6" "iron-component-page": "polymerElements/iron-component-page#^1.1.6"
}, },
"private": true, "private": true,
"homepage": "https://github.com/polymer/polymer", "homepage": "https://github.com/Polymer/polymer",
"_release": "1.6.1", "_release": "1.6.1",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.6.1", "tag": "v1.6.1",
"commit": "1f197d9d7874b1e5808b2a5c26f34446a7d912fc" "commit": "1f197d9d7874b1e5808b2a5c26f34446a7d912fc"
}, },
"_source": "git://github.com/polymer/polymer.git", "_source": "git://github.com/Polymer/polymer.git",
"_target": "^1.1.0", "_target": "^1.1.0",
"_originalSource": "polymer/polymer" "_originalSource": "Polymer/polymer"
} }