platypush/platypush/backend/http/static/css/application.css

229 lines
4.2 KiB
CSS
Raw Normal View History

2018-01-29 13:47:21 +01:00
body {
width: 100%;
overflow-x: hidden;
2018-01-29 13:47:21 +01:00
}
header {
width: 100%;
2018-01-29 21:18:31 +01:00
background: #f4f5f6;
padding: 10px 25px;
margin: 0px 10px 35px -10px;
2018-01-29 21:18:31 +01:00
border-bottom: 1px solid #e1e4e8;
2018-01-29 13:47:21 +01:00
}
.logo {
font-size: 25px;
2018-04-09 10:20:32 +02:00
margin-top: 10px;
2018-01-29 13:47:21 +01:00
}
.logo > .logo-1 {
font-weight: bold;
}
#date-time {
text-align: right;
padding-right: 30px;
}
#date-time > .date {
color: #666;
}
#date-time > .time {
font-weight: bold;
2018-04-09 10:20:32 +02:00
font-size: 30px;
}
2018-01-29 13:47:21 +01:00
main {
width: 95%;
2018-01-29 13:47:21 +01:00
margin: auto;
}
2018-01-29 16:28:32 +01:00
ul.tab-nav {
padding-left: 0 !important; /* Override skeleton-tabs default */
}
2018-01-29 13:47:21 +01:00
.tab-content {
border: 1px solid #bbb;
border-top: 0;
padding: 20px;
2018-01-29 16:28:32 +01:00
margin-top: -25px;
border-radius: 0 0 7.5px 7.5px;
2018-01-29 13:47:21 +01:00
}
button[disabled] {
color: #bbb;
border: 1px solid;
}
2018-01-29 13:47:21 +01:00
.playback-controls {
2018-01-29 16:28:32 +01:00
text-align: center;
border-bottom: 1px solid #e8eaf0;
padding-bottom: 12px;
2018-01-29 13:47:21 +01:00
}
.playback-controls * > button.enabled {
color: #59df3e;
}
2018-01-29 13:47:21 +01:00
.button[disabled] {
background: rgba(240,240,240,1)
}
2018-01-29 16:28:32 +01:00
.track-info {
text-align: center;
margin: -20px -20px 0 -20px;
2018-01-29 21:15:57 +01:00
padding: 10px 20px;
2018-01-29 13:47:21 +01:00
}
2018-01-29 16:28:32 +01:00
.track-info > .artist {
font-weight: bold;
display: block;
}
#player-left-side {
overflow-y: hidden;
}
#player-right-side {
margin-left: 0;
width: 78%;
}
#playlist-controls, #browser-controls {
margin-bottom: 7.5px;
padding-bottom: 7.5px;
border-bottom: 1px solid #ddd;
height: 3.8rem;
}
#playlist-controls {
text-align: right;
}
#playlist-content, #music-browser {
2018-02-09 20:54:02 +01:00
height: 27.2rem;
overflow-y: scroll;
}
#music-browser {
padding-top: 0;
}
2018-02-09 20:54:02 +01:00
#browser-filter {
width: 95%;
margin-bottom: 1.5rem;
}
#playlist-filter-container {
height: 5rem;
}
#playlist-filter {
width: 100%;
margin-bottom: 1.5rem;
}
.music-pane {
height: 40rem;
padding: 15px 15px 0 5px;
background: #f8f8f8;
}
.music-item {
padding: 5px;
cursor: pointer;
}
.music-item.selected {
background-color: #c8ffd0 !important;
}
.music-item:hover {
background-color: #daf8e2 !important;
}
.music-item:nth-child(odd) {
background-color: #f2f2f2;
}
.playlist-track.active {
height: 4rem;
padding-top: 1.5rem;
font-size: 1.7rem;
border-radius: 10px;
animation: active-track 5s;
-moz-animation: active-track 5s infinite;
-webkit-animation: active-track 5s infinite;
}
@keyframes active-track {
0% { background: #d4ffe3; }
50% { background: #9cdfb0; }
100% { background: #d4ffe3; }
}
@-moz-keyframes active-track {
0% { background: #d4ffe3; }
50% { background: #9cdfb0; }
100% { background: #d4ffe3; }
}
@-webkit-keyframes active-track {
0% { background: #d4ffe3; }
50% { background: #9cdfb0; }
100% { background: #d4ffe3; }
}
.playlist-track > .track-time {
text-align: right;
color: #666;
}
#track-seeker-container {
margin-bottom: 10px;
}
#volume-ctrl-container {
margin-top: 15px;
}
.slider {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 15px;
border-radius: 5px;
background: #e4e4e4;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}
.slider[disabled]::-webkit-slider-thumb {
display: none;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
background: #4CAF50;
cursor: pointer;
}