From e8d28d4262db40d0b35af36f7fc45c0d6c25615b Mon Sep 17 00:00:00 2001 From: Ray Tiley Date: Wed, 10 Aug 2022 17:04:38 -0400 Subject: [PATCH] Revert "CC-3208 IFrame Styling Backport" --- app/styles/app.scss | 8 +- app/templates/show.hbs | 181 ++++++++++++++++++++--------------------- 2 files changed, 94 insertions(+), 95 deletions(-) diff --git a/app/styles/app.scss b/app/styles/app.scss index 7a8a92c..1795eac 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -310,13 +310,13 @@ body { } .show-page-section-btns-wrapper { - margin: 0px 0 20px 0; + margin: 10px 0 20px 0; } .show-page-section-btn { text-transform: uppercase; width: 100%; - margin: 0px 0; + margin: 2px 0; @media (min-width: $xs) { border-radius: 0; box-sizing: border-box; @@ -503,7 +503,7 @@ body { } .vod-chapters { - min-height: 370px; + min-height: 300px; @media (min-width: $xs) { max-height: 350px; overflow: auto; @@ -516,7 +516,7 @@ body { } .show-page-last-row { - padding-top: 20px; + padding-bottom: 20px; } .vod-chapters .vod-chapters-chapter:nth-of-type(even) { diff --git a/app/templates/show.hbs b/app/templates/show.hbs index 2056c26..caed278 100644 --- a/app/templates/show.hbs +++ b/app/templates/show.hbs @@ -1,121 +1,120 @@ {{#if (or embediFrame embededPdf)}} -
-
-

{{show.cgTitle}}

- +
+
+

{{show.cgTitle}}

+
+
-
- {{! VOD or Image}} -
- {{#if (or show.vods.firstObject.isWatchable show.vods.firstObject.isReady)}} -
- {{{show.vods.firstObject.embedCode}}} -
- {{else}} -
- {{show-thumbnail show=show quality='Large' class="img-responsive"}} +
+
+
+ {{! VOD or Image}} +
+ {{#if (or show.vods.firstObject.isWatchable show.vods.firstObject.isReady)}} +
+ {{{show.vods.firstObject.embedCode}}} +
+ {{else}} +
+ {{show-thumbnail show=show quality='Large' class="img-responsive"}} +
+ {{/if}} + - {{/if}} - -
- {{!Chapters / details Tabs}} -
-
- {{#if vodChapters}} - - - Open {{embededPdf.fieldDisplay.label}} {{fa-icon 'external-link'}} - {{else}} -

Show Details

- {{/if}} + {{!Chapters / details Tabs}} +
+
+ {{#if vodChapters}} + + + Open {{embededPdf.fieldDisplay.label}} {{fa-icon 'external-link'}} + {{else}} +

Show Details

+ {{/if}} +
-
- {{! Show Details / Chapters}} -
+
+ {{! Show Details / Chapters}} {{#if (eq activeTab 'details')}} {{show-details show=show producer=producer reels=reels runs=runs currentChannelId=currentChannelId}}

Upcoming air times

{{#each runs as |run|}} -
- {{moment-calendar run.runDateTime}} -
+
+ {{moment-calendar run.runDateTime}} +
{{else}} - There are currently no upcoming air times. + There are currently no upcoming air times. {{/each}} {{else}} {{vod-chapters chapters=vodChapters seekto=seekto setSeekTo=(action 'setSeekTo')}} {{/if}}
- -
-
- {{#if embededPdf}} - {{pdf-viewer url=embededPdf.url class="hidden-xs"}} - {{!pdf-js pdf=documentUrl toolbarComponent=null}} - {{/if}} - {{#if embediFrame}} - - {{/if}} -
+
+ {{#if embededPdf}} + {{pdf-viewer url=embededPdf.url class="hidden-xs"}} + {{/if}} + {{#if embediFrame}} + + {{/if}} + {{!pdf-js pdf=documentUrl toolbarComponent=null}}
- +
{{else}} -
-
- {{#if (or show.vods.firstObject.isWatchable show.vods.firstObject.isReady)}} -
- {{{show.vods.firstObject.embedCode}}} -
- {{else}} - {{#if show.showThumbnails}} -
- {{show-thumbnail show=show quality='Large' class="img-responsive"}} -
- {{/if}} +
+
+ {{#if (or show.vods.firstObject.isWatchable show.vods.firstObject.isReady)}} +
+ {{{show.vods.firstObject.embedCode}}} +
+ {{else}} + {{#if show.showThumbnails}} +
+ {{show-thumbnail show=show quality='Large' class="img-responsive"}} +
{{/if}} -
+ {{/if}}
+
-
-
-

{{show.cgTitle}}

- +
+
+

{{show.cgTitle}}

+
+
-
-
-

Show Details

- {{show-details show=show producer=producer reels=reels runs=runs currentChannelId=currentChannelId}} -
-
- {{#if (and show.vods.firstObject.chapters show.vods.firstObject.chaptersPublished)}} -

Chapters

- {{vod-chapters chapters=vodChapters seekto=seekto setSeekTo=(action 'setSeekTo')}} -
- {{/if}} -

Upcoming air times

- {{#each runs as |run|}} -
- {{moment-calendar run.runDateTime}} -
- {{else}} - There are currently no upcoming air times. - {{/each}} -
+
+
+

Show Details

+ {{show-details show=show producer=producer reels=reels runs=runs currentChannelId=currentChannelId}} +
+
+ {{#if (and show.vods.firstObject.chapters show.vods.firstObject.chaptersPublished)}} +

Chapters

+ {{vod-chapters chapters=vodChapters seekto=seekto setSeekTo=(action 'setSeekTo')}} +
+ {{/if}} +

Upcoming air times

+ {{#each runs as |run|}} +
+ {{moment-calendar run.runDateTime}} +
+ {{else}} + There are currently no upcoming air times. + {{/each}}
+
{{/if}}