CC-6110 - Change header to be more responsive
This commit is contained in:
parent
d7d27d3c36
commit
5e024023eb
2 changed files with 28 additions and 50 deletions
|
@ -3,10 +3,11 @@
|
|||
|
||||
/*---//////////////////// SOURCE INFO ////////////////////---*/
|
||||
.source-info-block {
|
||||
padding:0 0 0 2px;
|
||||
padding: 0;
|
||||
background: url(images/masterpanel_spacer.png) no-repeat 0 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
flex: 0 0 0;
|
||||
}
|
||||
.source-info-block h3, .on-air-block h3 {
|
||||
margin: 0 0 10px -1px;
|
||||
padding:3px 0 2px 8px;
|
||||
|
@ -226,6 +227,7 @@
|
|||
|
||||
.source-info-block + .on-air-block {
|
||||
padding-right:2px;
|
||||
flex: 0 100px;
|
||||
}
|
||||
|
||||
.source-info-block + .on-air-block .on-air-info, .source-info-block + .on-air-block .listen-control-button {
|
||||
|
|
|
@ -231,6 +231,14 @@ select {
|
|||
}
|
||||
|
||||
#master-panel {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-flex-flow: row wrap;
|
||||
flex-flow: row wrap;
|
||||
|
||||
position:relative;
|
||||
height:100px;
|
||||
background:#3d3d3d url(images/masterpanel_bg.png) repeat-x 0 0;
|
||||
|
@ -283,13 +291,15 @@ select {
|
|||
color:#ff5d1a;
|
||||
}
|
||||
.now-playing-block {
|
||||
width:35%;
|
||||
/*width:35%;*/
|
||||
flex: 1 auto;
|
||||
background: url(images/masterpanel_spacer.png) no-repeat 0 0;
|
||||
margin-left: 152px;
|
||||
padding-left: 14px;
|
||||
}
|
||||
.show-block {
|
||||
width:30%;
|
||||
/*width:30%;*/
|
||||
flex: 1 auto;
|
||||
}
|
||||
.text-row {
|
||||
height:30px;
|
||||
|
@ -368,53 +378,21 @@ select {
|
|||
background:url(images/masterpanel_spacer.png) no-repeat right 0;
|
||||
}
|
||||
.time-info-block {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
flex: 0 150px;
|
||||
/*position: absolute;*/
|
||||
/*top: 0;*/
|
||||
/*right: 0;*/
|
||||
}
|
||||
#navlist {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
@media screen and (max-width: 1575px) {
|
||||
.now-playing-block {
|
||||
width: 30%;
|
||||
}
|
||||
.show-block {
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1250px) {
|
||||
.now-playing-block {
|
||||
width: 50%;
|
||||
}
|
||||
.show-block {
|
||||
display: none;
|
||||
}
|
||||
.personal-block.solo {
|
||||
right: 10px !important;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1075px) {
|
||||
.now-playing-block {
|
||||
width: 40%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 900px) {
|
||||
.now-playing-block {
|
||||
width: 30%;
|
||||
/*display: none;*/
|
||||
}
|
||||
/*#nav li.top {*/
|
||||
/*display: -webkit-box;*/
|
||||
/*display: -moz-box;*/
|
||||
/*display: -ms-flexbox;*/
|
||||
/*display: -webkit-flex;*/
|
||||
/*display: flex;*/
|
||||
/*width: 110px;*/
|
||||
/*}*/
|
||||
}
|
||||
@media screen and (max-width: 775px) {
|
||||
@media screen and (max-width: 875px) {
|
||||
.now-playing-block {
|
||||
display: none;
|
||||
}
|
||||
|
@ -422,12 +400,10 @@ select {
|
|||
margin-left: 152px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 520px) {
|
||||
.logo {
|
||||
display: none;
|
||||
}
|
||||
.source-info-block {
|
||||
margin-left: 0;
|
||||
@media screen and (max-width: 630px) {
|
||||
#master-panel {
|
||||
/*display: block;*/
|
||||
min-width: 630px;
|
||||
}
|
||||
}
|
||||
.time-info-block ul {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue