From fad88cb5abdf315281a3217b08fcb2b8f9fd0d74 Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 2 Jun 2015 15:39:56 -0400 Subject: [PATCH] SAAS-833: Radio page UI improvements/fixes Removed scrolling on entire page and added it only to schedule widget --- airtime_mvc/public/css/radio-page/radio-page.css | 7 ++++--- .../public/css/radio-page/weekly-schedule-widget.css | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/airtime_mvc/public/css/radio-page/radio-page.css b/airtime_mvc/public/css/radio-page/radio-page.css index d7cede22a..1e443c610 100644 --- a/airtime_mvc/public/css/radio-page/radio-page.css +++ b/airtime_mvc/public/css/radio-page/radio-page.css @@ -4,7 +4,7 @@ html { -moz-background-size: cover; -o-background-size: cover; background-size: cover; - overflow-y: scroll; + overflow-y: hidden; } .bck_cover { @@ -32,11 +32,12 @@ body { /*display: none;*/ height: 100%; width: 100%; - max-width: 740px; + max-width: 760px; margin: 0 auto; margin-top: 20px; margin-bottom: 140px; padding: 10px; + padding-left: 0px; position: absolute; left: 50%; margin-left: -380px; @@ -149,7 +150,7 @@ input[type="submit"]:hover { margin-top: 0px; max-width: 100%; margin-left: auto; - left: -10px; + left: 0px; right: 10px; } diff --git a/airtime_mvc/public/css/radio-page/weekly-schedule-widget.css b/airtime_mvc/public/css/radio-page/weekly-schedule-widget.css index ad65b26fd..94648ec2c 100644 --- a/airtime_mvc/public/css/radio-page/weekly-schedule-widget.css +++ b/airtime_mvc/public/css/radio-page/weekly-schedule-widget.css @@ -8,7 +8,7 @@ body { text-align: center; visibility: hidden; width: 100%; - max-width: 740px; + max-width: 750px; margin: 0 auto; margin-top: 20px; margin-bottom: 140px; @@ -61,11 +61,13 @@ body { background: rgba(0, 0, 0, 0.3); max-height: 0px; transition: max-height 2s ease; + + overflow-y: scroll; /*transition-delay: 1s;*/ } .schedule.current .schedule_content { - max-height: 2000px; + max-height: 300px; } .schedule_content table {