Files
Iris/src/scss/components/_snapcast.scss

152 lines
2.4 KiB
SCSS
Raw Normal View History

.snapcast {
2018-05-03 07:56:48 +12:00
button {
margin-bottom: 0;
}
2018-05-02 16:14:53 +12:00
.volume-control {
.mute-control {
display: inline-block;
float: left;
padding: 0 10px;
border: 0;
}
.slider-wrapper {
margin-left: 25px;
}
&.muted {
.slider .progress {
background: $mid_grey;
}
}
&.group-volume-control {
padding: 10px 0 5px;
display: block;
width: 100%;
box-sizing: border-box;
}
&.client-volume-control {
padding-top: 4px;
width: 80%;
padding-right: 10px;
display: inline-block;
vertical-align: middle;
box-sizing: border-box;
}
}
2018-03-22 16:59:04 +13:00
2018-04-29 21:10:57 +12:00
.group {
2018-04-30 20:34:15 +12:00
padding-top: 10px;
border-top: 1px solid $grey;
2018-04-29 21:10:57 +12:00
2018-04-30 20:59:27 +12:00
&:not(:last-child){
padding-bottom: 20px;
}
2018-04-29 21:10:57 +12:00
.clients {
padding: 0 10px;
2018-04-18 17:01:57 +12:00
2018-04-29 21:10:57 +12:00
.client {
@include clearfix();
2018-04-18 17:01:57 +12:00
border: 0;
2018-04-29 21:10:57 +12:00
padding: 0;
clear: both;
2018-04-18 17:01:57 +12:00
2018-04-29 21:10:57 +12:00
&:not(:first-child){
padding-top: 8px;
2018-04-18 17:01:57 +12:00
}
& > .name {
2018-04-29 21:10:57 +12:00
width: 40%;
padding-bottom: 4px;
position: relative;
2018-03-23 16:54:56 +13:00
display: block;
box-sizing: border-box;
border: 0;
2018-04-18 17:01:57 +12:00
input {
width: 100%;
2018-04-29 21:10:57 +12:00
padding-right: 30px;
}
2018-04-30 20:59:27 +12:00
.group-dropdown-field {
2018-04-30 20:34:15 +12:00
float: right;
margin-bottom: -4rem;
2018-04-18 17:01:57 +12:00
}
}
2018-04-19 06:20:54 +12:00
2018-04-29 21:10:57 +12:00
& > .volume {
width: 28%;
padding-left: 2%;
}
& > .latency {
width: 28%;
padding-left: 2%;
}
2018-04-19 06:20:54 +12:00
& > .volume,
& > .latency {
input {
width: 20%;
}
}
2018-03-26 10:36:13 +13:00
2018-04-18 17:01:57 +12:00
.latency-control {
display: inline-block;
vertical-align: middle;
padding-top: 4px;
2018-04-18 17:01:57 +12:00
width: 80%;
padding-right: 10px;
box-sizing: border-box;
2018-04-19 06:20:54 +12:00
.zero {
position: absolute;
top: -4px;
left: 50%;
bottom: 0;
width: 1px;
background: $grey;
z-index: 1;
}
.progress.positive {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.progress.negative {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}
2018-04-29 21:10:57 +12:00
@include responsive($bp_medium){
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
2018-04-19 06:20:54 +12:00
2018-04-29 21:10:57 +12:00
.col {
@include clearfix();
2018-04-30 20:59:27 +12:00
clear: both;
display: block !important;
2018-04-29 21:10:57 +12:00
float: none !important;
width: auto !important;
2018-04-30 20:59:27 +12:00
padding: 0;
2018-04-30 20:59:27 +12:00
&.volume,
&.latency {
padding-top: 5px;
2018-04-29 21:10:57 +12:00
}
}
2018-03-26 10:36:13 +13:00
}
2018-03-22 16:59:04 +13:00
}
}
}
}