Files
Iris/src/scss/components/_snapcast.scss
James Barnsley bdda83eedf Room icons'
2019-11-06 17:01:24 +13:00

182 lines
2.9 KiB
SCSS
Executable File

.snapcast {
button {
margin-bottom: 0px;
}
&__mute-control {
display: inline-block;
float: left;
padding: 8px 5px 0;
border: 0;
color: colour(white);
background: transparent;
.light-theme & {
color: colour(darkest_grey);
}
}
&__volume-control {
padding: 10px 0 5px 35px;
display: block;
width: 100%;
box-sizing: border-box;
}
&__group,
&__client {
display: block;
}
&__groups {
padding-top: 20px;
.menu {
.menu-item {
width: 15%;
min-width: 100px;
max-width: 140px;
&__inner {
background: lighten(colour(dark_grey), 2%);
padding: 20px 10px;
}
&__icon {
font-size: 30px;
height: 30px;
margin-top: 5px;
margin-bottom: 10px;
}
&__title {
font-size: 14px;
}
&:hover {
.menu-item__inner {
background: lighten(colour(dark_grey), 8%);
}
}
&--active {
.menu-item__inner {
background: lighten(colour(dark_grey), 8%);
padding-bottom: 30px;
}
}
.light-theme & {
.menu-item__inner {
background: colour(faint_grey);
&:hover{
background: darken(colour(faint_grey), 8%);
}
&:after {
background: darken(colour(faint_grey), 8%);
}
}
&--active {
.menu-item__inner {
background: darken(colour(faint_grey), 8%);
}
}
}
}
}
}
&__group {
padding: 20px;
margin: 0 -20px -20px -20px;
border-radius: 0 0 3px 3px;
background: lighten(colour(dark_grey), 8%);
.field:last-child {
padding-bottom: 0;
}
.light-theme & {
background: darken(colour(faint_grey), 8%);
}
}
&__clients {
padding: 0 10px;
}
&__client {
@include clearfix();
padding: 0 !important;
&__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;
}
}
}