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

174 lines
2.7 KiB
SCSS
Raw Normal View History

.snapcast {
2018-03-22 16:59:04 +13:00
2018-04-18 17:01:57 +12:00
.group.list {
padding: 0 10px;
&:not(:first-child){
padding-top: 15px;
}
2018-04-18 17:01:57 +12:00
.list-item {
padding: 20px 0 0 0;
&:not(.header){
border: 0;
}
& > .name {
width: 40%;
padding-bottom: 4px;
position: relative;
2018-04-19 06:20:54 +12:00
.status {
2018-04-18 17:01:57 +12:00
position: absolute;
2018-04-19 06:20:54 +12:00
top: 0;
left: 0;
2018-04-18 17:01:57 +12:00
z-index: 2;
2018-04-19 06:20:54 +12:00
padding: 12px;
cursor: default;
.fa {
font-size: 12px;
}
}
input {
padding-left: 30px;
2018-03-23 16:54:56 +13:00
}
2018-04-18 17:01:57 +12:00
}
& > .volume {
width: 28%;
padding-left: 2%;
}
& > .latency {
width: 28%;
padding-left: 2%;
}
&.header {
padding-top: 0;
vertical-align: bottom;
2018-04-19 06:20:54 +12:00
cursor: default;
2018-03-23 16:54:56 +13:00
.name {
2018-04-18 17:01:57 +12:00
font-size: 14px;
color: $white;
text-transform: none;
font-weight: 600;
2018-04-19 06:20:54 +12:00
line-height: 14px;
2018-04-18 17:01:57 +12:00
}
}
&.client {
@include clearfix();
padding: 20px 0 0 0;
& > .name {
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-19 06:20:54 +12:00
& > .volume,
& > .latency {
input {
width: 20%;
}
}
2018-04-18 17:01:57 +12:00
.volume-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-18 17:01:57 +12:00
.mute-control {
2018-03-23 16:54:56 +13:00
display: inline-block;
float: left;
2018-04-18 17:01:57 +12:00
padding: 0 10px;
border: 0;
2018-03-23 16:54:56 +13:00
}
2018-04-18 17:01:57 +12:00
.slider-wrapper {
margin-left: 25px;
2018-04-18 17:01:57 +12:00
}
2018-03-23 16:54:56 +13:00
2018-04-18 17:01:57 +12:00
&.muted {
.slider .progress {
background: $mid_grey;
2018-03-23 16:54:56 +13:00
}
}
}
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;
}
}
}
@include responsive($bp_medium){
padding-left: 0 !important;
padding-right: 0 !important;
2018-04-19 06:20:54 +12:00
&.header {
display: block;
.volume,
.latency {
display: none !important;
}
}
.col {
@include clearfix();
float: none !important;
width: auto !important;
padding-left: 0;
padding-right: 0;
&:not(.header){
line-height: 45px;
}
&.volume {
padding-bottom: 20px !important;
}
2018-03-26 10:36:13 +13:00
}
2018-03-22 16:59:04 +13:00
}
}
}
}