Adding advanced server controls

This commit is contained in:
James Barnsley
2018-04-29 21:10:57 +12:00
parent 562004153c
commit 4b5d7d6237
13 changed files with 769 additions and 476 deletions

View File

@ -33,6 +33,12 @@
}
}
&.no-label {
.label > .text {
display: none;
}
}
.options {
color: $black;
position: absolute;

View File

@ -13,7 +13,6 @@
position: relative;
margin: 0 -10px -1px -10px;
padding: 14px 30px 13px 10px;
cursor: pointer;
border-radius: 3px;
border-bottom: 1px solid rgba(255,255,255,0.05);
border-top: 1px solid rgba(255,255,255,0.05);
@ -96,6 +95,8 @@
&.track-list {
.list-item {
cursor: pointer;
.col {
&.name {
width: 40%;
@ -142,6 +143,8 @@
}
&.playlist-list .list-item {
cursor: pointer;
.col {
&.name {
width: 50%;
@ -159,6 +162,8 @@
}
&.album-list .list-item {
cursor: pointer;
.col {
&.name,
&.artists {
@ -175,6 +180,8 @@
}
&.library-local-album-list .list-item{
cursor: pointer;
.col {
&.name,
&.artists {
@ -187,6 +194,8 @@
}
&.artist-list .list-item {
cursor: pointer;
.col {
&.name {
width: 70%;
@ -199,6 +208,8 @@
}
&.queue-track-list {
cursor: pointer;
.list-item {
padding-right: 60px;
.col {
@ -230,6 +241,8 @@
}
&.queue-history-track-list .list-item {
cursor: pointer;
.col {
&.name {
width: 60%;
@ -243,6 +256,7 @@
&.related-artist-list {
padding-bottom: 20px;
cursor: pointer;
.artist {
display: block;

View File

@ -1,79 +1,60 @@
.snapcast {
.group.list {
padding: 0 10px;
.group {
&:not(:first-child){
padding-top: 15px;
padding-top: 20px;
}
.list-item {
padding: 20px 0 0 0;
.clients {
padding: 0 10px;
&:not(.header){
border: 0;
}
& > .name {
width: 40%;
padding-bottom: 4px;
position: relative;
.status {
position: absolute;
top: 0;
left: 0;
z-index: 2;
padding: 12px;
cursor: default;
.fa {
font-size: 12px;
}
}
input {
padding-left: 30px;
}
}
& > .volume {
width: 28%;
padding-left: 2%;
}
& > .latency {
width: 28%;
padding-left: 2%;
}
&.header {
padding-top: 0;
vertical-align: bottom;
cursor: default;
.name {
font-size: 14px;
color: $white;
text-transform: none;
font-weight: 600;
line-height: 14px;
}
}
&.client {
.client {
@include clearfix();
padding: 20px 0 0 0;
border: 0;
padding: 0;
clear: both;
&:not(:first-child){
padding-top: 8px;
}
& > .name {
width: 40%;
padding-bottom: 4px;
position: relative;
display: block;
box-sizing: border-box;
border: 0;
input {
width: 100%;
padding-right: 30px;
}
.tools {
position: absolute;
top: -2px;
right: 0;
z-index: 2;
.disconnected {
padding: 12px 0;
cursor: default;
font-size: 12px;
}
}
}
& > .volume {
width: 28%;
padding-left: 2%;
}
& > .latency {
width: 28%;
padding-left: 2%;
}
& > .volume,
@ -137,35 +118,25 @@
border-bottom-right-radius: 0;
}
}
}
@include responsive($bp_medium){
@include responsive($bp_medium){
padding-left: 0 !important;
padding-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
.col {
@include clearfix();
float: none !important;
width: auto !important;
padding-left: 0;
padding-right: 0;
&.header {
display: block;
&:not(.header){
line-height: 45px;
}
.volume,
.latency {
display: none !important;
}
}
.col {
@include clearfix();
float: none !important;
width: auto !important;
padding-left: 0;
padding-right: 0;
&:not(.header){
line-height: 45px;
}
&.volume {
padding-bottom: 20px !important;
&.volume {
padding-bottom: 20px !important;
}
}
}
}