diff --git a/server/public/assets/css/style.css b/server/public/assets/css/style.css index 18c2357c..07e1e6e7 100755 --- a/server/public/assets/css/style.css +++ b/server/public/assets/css/style.css @@ -1969,10 +1969,11 @@ nav .zbrand.channel-logo-container { .castButton { /* display: none; !important*/ - height: 32px; + /* height: 32px; width: 32px; - padding-top: 3px; - padding-bottom: 2px; +*/ + padding: 20px 0px; + height: 64px; background: transparent; border: none; float: right; @@ -2681,10 +2682,19 @@ margin-right: 52%; margin-left: 10px; } -.skip_next_client { +.skip_next_client, +.cast-button-header { float: left; } +.cast-button-header { + display: none; + height: 64px; + width: 64px; + justify-content: center; + align-items: center; +} + #volume-button { padding-top: 3px; padding-left: 2px; diff --git a/server/public/assets/js/channel.js b/server/public/assets/js/channel.js index 73d1d327..42068481 100644 --- a/server/public/assets/js/channel.js +++ b/server/public/assets/js/channel.js @@ -419,7 +419,7 @@ var Channel = { if (!Helper.mobilecheck() && !client) { Helper.tooltip(".castButton", { delay: 5, - position: "top", + position: "bottom", html: "Cast Zoff to TV" }); } @@ -451,7 +451,7 @@ var Channel = { !Helper.mobilecheck() && !client ) { - Helper.css(".castButton", "display", "none"); + Helper.css(".cast-button-header", "display", "none"); } Helper.log([ diff --git a/server/public/assets/js/listeners.js b/server/public/assets/js/listeners.js index aab85416..e64a3498 100755 --- a/server/public/assets/js/listeners.js +++ b/server/public/assets/js/listeners.js @@ -457,7 +457,7 @@ initializeCastApi = function() { function(event) { Helper.log(["cast state", event.castState]); if (event.castState == "NOT_CONNECTED") { - Helper.css(".castButton", "display", "block"); + Helper.css(".cast-button-header", "display", "inline-flex"); Helper.addClass(".volume-container", "volume-container-cast"); cast_ready_connect = true; var _chSeen; @@ -489,7 +489,7 @@ initializeCastApi = function() { ); if (context.getCastState() == "NOT_CONNECTED") { - Helper.css(".castButton", "display", "block"); + Helper.css(".cast-button-header", "display", "inline-flex"); Helper.removeClass(".castButton", "castButton-white-active"); cast_ready_connect = true; } diff --git a/server/public/partials/channel/header.handlebars b/server/public/partials/channel/header.handlebars index 0c5afa80..26e3fc63 100644 --- a/server/public/partials/channel/header.handlebars +++ b/server/public/partials/channel/header.handlebars @@ -37,7 +37,9 @@ - +