609 lines
11 KiB
CSS
609 lines
11 KiB
CSS
/*
|
|
* Mopidy Webclient CSS
|
|
* (c) Wouter van Wijk 2012-2013
|
|
*/
|
|
|
|
/****************************
|
|
* Responsive stuff
|
|
* * iphone 3 20em
|
|
* landscape 30
|
|
* iphone 4 40em
|
|
* landscape 60
|
|
* ipad landsc 64
|
|
* portr 48
|
|
****************************/
|
|
|
|
@media all and (min-width: 961px) {
|
|
/*header*/
|
|
.header-breakpoint.ui-grid-b .ui-block-a {
|
|
width: 30%;
|
|
}
|
|
|
|
.header-breakpoint.ui-grid-b .ui-block-b {
|
|
width: 30%;
|
|
}
|
|
|
|
.header-breakpoint.ui-grid-b .ui-block-c {
|
|
width: 30.1%;
|
|
}
|
|
|
|
/*playlists*/
|
|
.pl-breakpoint.ui-grid-a .ui-block-a {
|
|
width: 32.95%;
|
|
}
|
|
|
|
.pl-breakpoint.ui-grid-a .ui-block-b {
|
|
width: 65.4%;
|
|
}
|
|
|
|
.pl-breakpoint.ui-grid-a .ui-block-a {
|
|
clear: left;
|
|
}
|
|
|
|
.pl-breakpoint.ui-grid-a .ui-block-a {
|
|
clear: left;
|
|
}
|
|
|
|
#playlisttracksdiv {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#playlisttracksback {
|
|
display:none;
|
|
}
|
|
|
|
#playlisttracksdiv {
|
|
display:block;
|
|
}
|
|
|
|
#playlistslistdiv {
|
|
display:block;
|
|
}
|
|
|
|
/*search*/
|
|
.srch-breakpoint.ui-grid-a .ui-block-b {
|
|
margin-left: .5em;
|
|
}
|
|
|
|
.srch-breakpoint.ui-grid-a .ui-block-a, .srch-breakpoint.ui-grid-a .ui-block-b {
|
|
width: 49%;
|
|
}
|
|
}
|
|
|
|
/* phone landscape */
|
|
@media all and (max-width: 960px) {
|
|
/*header*/
|
|
.header-breakpoint.ui-grid-b .ui-block-a {
|
|
width: 35%;
|
|
clear: left;
|
|
}
|
|
|
|
.header-breakpoint.ui-grid-b .ui-block-b {
|
|
display: none;
|
|
}
|
|
|
|
.header-breakpoint.ui-grid-b .ui-block-c {
|
|
width: 33%;
|
|
}
|
|
|
|
/*playlists*/
|
|
.pl-breakpoint .ui-block-a, .pl-breakpoint .ui-block-b {
|
|
width: 100%;
|
|
}
|
|
|
|
/*search*/
|
|
.srch-breakpoint.ui-grid-a .ui-block-a, .srch-breakpoint.ui-grid-a .ui-block-b {
|
|
width: 100%;
|
|
}
|
|
|
|
#playlisttracksback {
|
|
display:block;
|
|
}
|
|
|
|
#playlisttracksdiv {
|
|
display:none;
|
|
}
|
|
|
|
#playlistslistdiv {
|
|
display:block;
|
|
}
|
|
|
|
}
|
|
|
|
/*****************************
|
|
* Side Panel and Navigation *
|
|
*****************************/
|
|
.mainNav .fa{
|
|
float: right;
|
|
}
|
|
|
|
.mainNav .navtxt{
|
|
float: left;
|
|
}
|
|
|
|
.mainNav .navtxt:after{
|
|
clear: left;
|
|
}
|
|
|
|
.bottom{
|
|
width: 100%;
|
|
margin: -15px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
/**headers and controls**/
|
|
#nextimg, #previmg, #backimg, #controlsimg {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
#contentHeadline a {
|
|
color:white;
|
|
}
|
|
|
|
#headermenubtn {
|
|
padding-top: 2px;
|
|
}
|
|
|
|
#headersearchbtn span {
|
|
font-size: 15px;
|
|
}
|
|
|
|
/******************
|
|
* Track Slider *
|
|
******************/
|
|
|
|
#trackslider {
|
|
display: inline;
|
|
width: 100%;
|
|
}
|
|
|
|
#slidercontainer {
|
|
margin-top: 7px;
|
|
margin-bottom: 5px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.ui-slider-track {
|
|
margin-left: 38px;
|
|
margin-right: 35px;
|
|
}
|
|
|
|
/* Increase slider handle by 30%. */
|
|
.ui-slider-track.ui-mini .ui-slider-handle {
|
|
height: 22px;
|
|
width: 22px;
|
|
margin: -12px 0 0 -12px;
|
|
}
|
|
|
|
.ui-slider-input {
|
|
display: none !important;
|
|
}
|
|
|
|
#songelapsed, #songlength {
|
|
font-size: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/************************
|
|
* Volume Slider
|
|
***********************/
|
|
#mutebt {
|
|
color: white;
|
|
float: left;
|
|
margin-left: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
#volumeslider {
|
|
display: inline;
|
|
}
|
|
|
|
/********************
|
|
* Pages, content *
|
|
********************/
|
|
#page{
|
|
background-color: #fff;
|
|
}
|
|
|
|
#searchartists {
|
|
display: none;
|
|
}
|
|
|
|
#searchalbums {
|
|
display: none;
|
|
}
|
|
|
|
#searchtracks {
|
|
display: none;
|
|
}
|
|
|
|
#currentpane, #searchpane, #albumspane, #artistspane, #streampane {
|
|
display: none;
|
|
}
|
|
|
|
#artistviewimage, #albumviewcover {
|
|
float: right;
|
|
height: 90px;
|
|
max-width: 90%;
|
|
}
|
|
|
|
/*** home ***/
|
|
#homerows div {
|
|
text-align:center;
|
|
background-color: #2C3E50;
|
|
padding: 2px;
|
|
padding-top: 20px;
|
|
border: 2px solid white;
|
|
color: white;
|
|
}
|
|
|
|
#homerows div i {
|
|
font-size: 28px;
|
|
}
|
|
/***************
|
|
* listviews *
|
|
***************/
|
|
.table li a {
|
|
color: #555 !important;
|
|
font-size: 80% !important;
|
|
display: block;
|
|
padding: 2px;
|
|
padding-right: 4px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.table li {
|
|
background-color: #F8F8F5;
|
|
border: 1px solid #CECECE;
|
|
border-bottom: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.table {
|
|
padding: 0;
|
|
list-style-type:none;
|
|
}
|
|
|
|
.table li:last-child {
|
|
border-bottom: 1px solid #CECECE;
|
|
}
|
|
|
|
.albumdivider h1, .table li h1 {
|
|
font-size: 120% !important;
|
|
}
|
|
|
|
.albumdivider {
|
|
background-color: #ddd !important;
|
|
}
|
|
|
|
.smalldivider {
|
|
font-size: 25% !important;
|
|
height: 5px !important;
|
|
background-color: #ddd !important;
|
|
}
|
|
|
|
#playlistslist li a {
|
|
padding: 7px;
|
|
}
|
|
|
|
#playlistslist, #playlisttracks {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.albumli {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.playlistactive {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
.artistcover {
|
|
float: right;
|
|
width: 30px;
|
|
height: 30px;
|
|
margin-right: 3px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.currenttrack2 {
|
|
background-image: url('../images/icons/play_alt_12x12.png');
|
|
background-repeat: no-repeat;
|
|
background-position: 4px 51%;
|
|
}
|
|
.currenttrack {
|
|
background-image: url('../images/icons/play_alt_16x16.png');
|
|
background-repeat: no-repeat;
|
|
background-color: #eee;
|
|
background-position: 4px 50%;
|
|
}
|
|
|
|
.currenttrack2 a {
|
|
margin-left: 15px;
|
|
}
|
|
.currenttrack a {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.song .moreBtn{
|
|
float: right;
|
|
padding: 15px 18px 12px 22px;
|
|
display: inline-block;
|
|
line-height: 100%;
|
|
}
|
|
|
|
|
|
/**********************
|
|
* Now Playing area *
|
|
**********************/
|
|
|
|
#nowPlayingFooter{
|
|
height: 50px;
|
|
line-height: 48px;
|
|
text-align: center;
|
|
}
|
|
|
|
.footerControls {
|
|
height: 100%;
|
|
font-size: 25px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.footerControls div span {
|
|
padding-left: 3px;
|
|
padding-right: 3px;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.footerControls #btplayNowPlaying {
|
|
font-size: 42px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/************
|
|
* Popups *
|
|
************/
|
|
#modalalbum a, #modalartist a {
|
|
color: #444;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.popupArtistName, .popupTrackName, .popupAlbumName, .popupArtistName {
|
|
font-style: oblique;
|
|
}
|
|
|
|
#controlspopup, #artistpopup, #coverpopup {
|
|
max-width: 90%;
|
|
background: white;
|
|
padding: 5px;
|
|
}
|
|
|
|
#h_artistname {
|
|
margin-bottom: 65px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#buttons, #controlspopupimage, #coverpopupimage, #artistpopupimage {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 10px;
|
|
max-width:90%;
|
|
max-height:90%;
|
|
}
|
|
|
|
#buttons {
|
|
font-size: 24px;
|
|
padding-right: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#popupTracksLv li, #popupQueueLv li {
|
|
border-bottom: 1px solid #aaa;
|
|
}
|
|
|
|
#popupTracksLv, #popupQueueLv {
|
|
border: 1px solid #aaa;
|
|
}
|
|
|
|
/*dont hide clear buttons in text input */
|
|
.ui-input-clear-hidden {
|
|
display:block !important;
|
|
}
|
|
|
|
/****************
|
|
* Common use *
|
|
****************/
|
|
|
|
#playlistspane {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.nobreak, .btsquare {
|
|
display: inline !important;
|
|
}
|
|
|
|
.pull-right {
|
|
float: right;
|
|
}
|
|
|
|
.pull-left {
|
|
float: left;
|
|
}
|
|
|
|
.hidden, #allresultloader, .loader {
|
|
display: none;
|
|
}
|
|
|
|
.breakafter {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.pright {
|
|
display: inline;
|
|
margin-top: 4px;
|
|
float: right;
|
|
}
|
|
/**********************
|
|
* Song information *
|
|
**********************/
|
|
.ui-footer{
|
|
border: 0px;
|
|
}
|
|
|
|
#normalFooter{
|
|
height: 50px;
|
|
line-height: 48px;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
|
|
#infoname {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#infoartist {
|
|
overflow: hidden;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#infocover {
|
|
height: 50px;
|
|
width: 50px;
|
|
position: absolute;
|
|
}
|
|
|
|
#btplay {
|
|
color: white;
|
|
}
|
|
|
|
.songinfo {
|
|
height: 100%;
|
|
}
|
|
|
|
.songinfo-text {
|
|
text-align: left;
|
|
line-height: 22px;
|
|
display:inline-block;
|
|
padding: 6px;
|
|
color: white;
|
|
position: absolute;
|
|
padding-left: 55px;
|
|
padding-right: 55px;
|
|
}
|
|
|
|
#nowPlayingpane{
|
|
text-align: center;
|
|
}
|
|
|
|
/*helper*/
|
|
.hidden{
|
|
display: none;
|
|
}
|
|
.ui-loader h1{
|
|
color: #efefef;
|
|
}
|
|
|
|
.settingscoll label {
|
|
font-size: 120%;
|
|
font-weight: bold;
|
|
padding-top: 30px;
|
|
}
|
|
|
|
/* panel workaround to make it responsive wrap push on wide viewports once open */
|
|
@media (min-width: 35em){
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push,
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal,
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-open.ui-panel-content-wrap-display-push,
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal {
|
|
margin-right: 17em;
|
|
}
|
|
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-open.ui-panel-content-wrap-display-push.ui-panel-content-fixed-toolbar-position-right,
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-open.ui-panel-content-wrap-display-reveal.ui-panel-content-fixed-toolbar-position-right,
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-open.ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-right,
|
|
.ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-right {
|
|
margin: 0 0 0 17em;
|
|
}
|
|
|
|
.ui-responsive-panel .ui-panel-dismiss-display-reveal {
|
|
display: none;
|
|
}
|
|
}
|
|
/*smartphones*/
|
|
@media (max-width: 35em){
|
|
#nowPlayingpane{
|
|
padding: 15px 25px 0px 25px;
|
|
}
|
|
|
|
#nowPlayingpane #controlspopupimage{
|
|
max-width:90%;
|
|
max-height:90%;
|
|
}
|
|
|
|
.nowPlaying-artistInfo {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.nowPlaying-artistInfo h4{
|
|
margin: 0px;
|
|
font-weight: normal;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.nowPlaying-artistInfo h3{
|
|
margin: 0px 0px 3px 00px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#controlspopupimage{
|
|
max-width:90%;
|
|
max-height:90%;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
#nowPlayingpane #slidercontainer {
|
|
margin-left: -5px;
|
|
margin-right: -5px;
|
|
}
|
|
|
|
.nowPlayingControls{
|
|
font-size: 1.3em;
|
|
height: 50px;
|
|
line-height: 48px;
|
|
}
|
|
}
|
|
|
|
/* disable text selection for mouse swipe */
|
|
body * {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
/* but fix for text input (safari certainly needs it)*/
|
|
input[type=text] {
|
|
-webkit-user-select: text;
|
|
-moz-user-select: text;
|
|
-ms-user-select: text;
|
|
-o-user-select: text;
|
|
user-select: text;
|
|
}
|
|
|
|
.mediaicon {
|
|
float: right;
|
|
} |