153 lines
2.3 KiB
SCSS
Executable File
153 lines
2.3 KiB
SCSS
Executable File
|
|
.snapcast {
|
|
|
|
button {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
&__group,
|
|
&__client {
|
|
&__mute-control {
|
|
display: inline-block;
|
|
float: left;
|
|
padding: 8px 5px 0;
|
|
border: 0;
|
|
}
|
|
|
|
&__volume-control {
|
|
padding: 10px 0 5px 35px;
|
|
display: block;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
&__groups {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
&__group {
|
|
padding-top: 10px;
|
|
border-top: 1px solid colour(grey);
|
|
|
|
&:not(:last-child){
|
|
padding-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
&__clients {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
&__client {
|
|
@include clearfix();
|
|
padding: 0 !important;
|
|
|
|
&--expanded {
|
|
background: rgba(255,255,255,0.05);
|
|
|
|
.light-theme & {
|
|
background: rgba(0,0,0,0.05);
|
|
}
|
|
}
|
|
|
|
&--collapsed {
|
|
.snapcast__client__header:hover {
|
|
background: rgba(255,255,255,0.03);
|
|
|
|
.light-theme & {
|
|
background: rgba(0,0,0,0.03);
|
|
}
|
|
}
|
|
}
|
|
|
|
&__header {
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding: 14px 10px;
|
|
|
|
&__icons {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
padding: 14px 10px;
|
|
|
|
.icon {
|
|
padding-left: 6px;
|
|
|
|
&.disconnected {
|
|
color: colour(red);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__details {
|
|
position: relative;
|
|
padding: 0 14px 14px 14px;
|
|
}
|
|
|
|
&__group-field {
|
|
position: absolute;
|
|
top: -2px;
|
|
right: -2px;
|
|
|
|
.icon {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
|
|
&__latency {
|
|
input[type="number"] {
|
|
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: colour(grey);
|
|
z-index: 0;
|
|
}
|
|
|
|
.slider__track {
|
|
&__progress {
|
|
&--positive {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
&--negative {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
|
|
&:after {
|
|
right: auto;
|
|
left: -1px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include responsive($bp_medium){
|
|
padding-left: 0 !important;
|
|
padding-right: 0 !important;
|
|
padding-top: 0 !important;
|
|
}
|
|
}
|
|
} |