SAAS-833: Radio page UI improvements/fixes

Moved player bar buttons to float right
This commit is contained in:
drigato 2015-06-02 16:27:37 -04:00
parent 43815510dc
commit 2cf6cb549e
2 changed files with 4 additions and 3 deletions

View file

@ -33,9 +33,10 @@
$(document).ready(function(){ $(document).ready(function(){
$("#player_iframe").load(function () { $("#player_iframe").load(function () {
$("#player_iframe").contents().find('.bottom_bar').append("<div class='schedule_btn button current' data-tab='tab-1'></div>");
$("#player_iframe").contents().find('.bottom_bar').append("<div class='about_us_btn button' data-tab='tab-2'></div>");
$("#player_iframe").contents().find('.bottom_bar').append("<a class='login_btn button' target='_parent' href='/login'></a>"); $("#player_iframe").contents().find('.bottom_bar').append("<a class='login_btn button' target='_parent' href='/login'></a>");
$("#player_iframe").contents().find('.bottom_bar').append("<div class='about_us_btn button' data-tab='tab-2'></div>");
$("#player_iframe").contents().find('.bottom_bar').append("<div class='schedule_btn button current' data-tab='tab-1'></div>");
$("#player_iframe").contents().find('.bottom_bar .button').click(function(){ $("#player_iframe").contents().find('.bottom_bar .button').click(function(){
var tab_id = $(this).attr('data-tab'); var tab_id = $(this).attr('data-tab');

View file

@ -60,6 +60,7 @@ body {
display: inline-block; display: inline-block;
margin: 35px 40px; margin: 35px 40px;
cursor: pointer; cursor: pointer;
float: right;
} }
.bottom_bar .schedule_btn { .bottom_bar .schedule_btn {
@ -80,7 +81,6 @@ body {
.bottom_bar .login_btn { .bottom_bar .login_btn {
background: url('img/login.png') no-repeat center 0px; background: url('img/login.png') no-repeat center 0px;
float: right;
} }
.bottom_bar .login_btn.current { .bottom_bar .login_btn.current {