Removing proxy_request in favor of hosted proxy; Adding icecast control to Outputs; Buttons tidy-up

This commit is contained in:
James Barnsley
2018-07-01 21:08:35 +12:00
parent 7bd5066fe2
commit 122f99d027
15 changed files with 698 additions and 714 deletions

View File

@ -2,7 +2,7 @@
.snapcast {
button {
margin-bottom: 0;
margin-bottom: 0px;
}
.volume-control {
@ -41,112 +41,116 @@
}
}
.group {
.groups {
padding-top: 10px;
border-top: 1px solid $grey;
.group {
padding-top: 10px;
border-top: 1px solid $grey;
&:not(:last-child){
padding-bottom: 20px;
}
&:not(:last-child){
padding-bottom: 20px;
}
.clients {
padding: 0 10px;
.clients {
padding: 0 10px;
.client {
@include clearfix();
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;
.client {
@include clearfix();
border: 0;
padding: 0;
clear: both;
input {
width: 100%;
padding-right: 30px;
&:not(:first-child){
padding-top: 8px;
}
.group-dropdown-field {
float: right;
margin-bottom: -3.2rem;
& > .name {
width: 40%;
padding-bottom: 4px;
position: relative;
display: block;
box-sizing: border-box;
border: 0;
.icon {
padding-right: 0;
input {
width: 100%;
padding-right: 30px;
}
.group-dropdown-field {
float: right;
margin-bottom: -3.2rem;
.icon {
padding-right: 0;
}
}
}
}
& > .volume {
width: 28%;
padding-left: 2%;
}
& > .latency {
width: 28%;
padding-left: 2%;
}
& > .volume,
& > .latency {
input {
width: 20%;
}
}
.latency-control {
display: inline-block;
vertical-align: middle;
padding-top: 4px;
width: 80%;
padding-right: 10px;
box-sizing: border-box;
.zero {
position: absolute;
top: -4px;
left: 50%;
bottom: 0;
width: 1px;
background: $grey;
z-index: 1;
& > .volume {
width: 28%;
padding-left: 2%;
}
.progress.positive {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
& > .latency {
width: 28%;
padding-left: 2%;
}
.progress.negative {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
& > .volume,
& > .latency {
input {
width: 20%;
}
}
}
@include responsive($bp_medium){
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
.latency-control {
display: inline-block;
vertical-align: middle;
padding-top: 4px;
width: 80%;
padding-right: 10px;
box-sizing: border-box;
.col {
@include clearfix();
clear: both;
display: block !important;
float: none !important;
width: auto !important;
padding: 0;
.zero {
position: absolute;
top: -4px;
left: 50%;
bottom: 0;
width: 1px;
background: $grey;
z-index: 1;
}
&.volume,
&.latency {
padding-top: 5px;
.progress.positive {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.progress.negative {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}
@include responsive($bp_medium){
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
.col {
@include clearfix();
clear: both;
display: block !important;
float: none !important;
width: auto !important;
padding: 0;
&.volume,
&.latency {
padding-top: 5px;
}
}
}
}