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

160 lines
2.6 KiB
SCSS
Raw Normal View History

.snapcast {
2018-05-03 07:56:48 +12:00
button {
margin-bottom: 0px;
2018-05-03 07:56:48 +12:00
}
2018-05-02 16:14:53 +12:00
.volume-control {
.mute-control {
display: inline-block;
float: left;
2018-05-16 21:08:45 +12:00
padding: 0 5px;
2018-05-02 16:14:53 +12:00
border: 0;
}
.slider-wrapper {
2018-05-16 21:08:45 +12:00
margin-left: 30px;
2018-05-02 16:14:53 +12:00
}
&.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
.groups {
2018-04-30 20:34:15 +12:00
padding-top: 10px;
.group {
padding-top: 10px;
border-top: 1px solid $grey;
2018-04-18 17:01:57 +12:00
&:not(:last-child){
padding-bottom: 20px;
}
2018-04-18 17:01:57 +12:00
.clients {
padding: 0 10px;
2018-04-18 17:01:57 +12:00
.client {
@include clearfix();
2018-03-23 16:54:56 +13:00
border: 0;
padding: 0;
clear: both;
2018-03-23 16:54:56 +13:00
&:not(:first-child){
padding-top: 8px;
2018-04-29 21:10:57 +12:00
}
& > .name {
width: 40%;
padding-bottom: 4px;
position: relative;
display: block;
box-sizing: border-box;
border: 0;
input {
width: 100%;
padding-right: 30px;
2018-06-01 16:54:32 +12:00
}
2018-04-19 06:20:54 +12:00
.group-dropdown-field {
float: right;
margin-bottom: -3.2rem;
2018-04-29 21:10:57 +12:00
.icon {
padding-right: 0;
}
}
}
2018-04-29 21:10:57 +12:00
& > .volume {
width: 28%;
padding-left: 2%;
2018-04-19 06:20:54 +12:00
}
2018-03-26 10:36:13 +13:00
& > .latency {
width: 28%;
padding-left: 2%;
2018-04-19 06:20:54 +12:00
}
& > .volume,
& > .latency {
input {
width: 20%;
}
2018-04-19 06:20:54 +12:00
}
.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;
}
.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-19 06:20:54 +12:00
}
@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;
}
2018-04-29 21:10:57 +12:00
}
}
2018-03-26 10:36:13 +13:00
}
2018-03-22 16:59:04 +13:00
}
}
}
}