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

153 lines
2.3 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
&__group,
&__client {
&__mute-control {
display: inline-block;
float: left;
padding: 8px 5px 0;
border: 0;
}
2018-09-24 16:10:42 +12:00
&__volume-control {
padding: 10px 0 5px 35px;
2018-05-02 16:14:53 +12:00
display: block;
width: 100%;
box-sizing: border-box;
}
2018-09-24 16:10:42 +12:00
}
2018-05-02 16:14:53 +12:00
2018-09-24 16:10:42 +12:00
&__groups {
padding-top: 10px;
}
&__group {
padding-top: 10px;
2018-10-13 14:28:46 +13:00
border-top: 1px solid colour(grey);
2018-09-24 16:10:42 +12:00
&:not(:last-child){
padding-bottom: 20px;
}
}
&__clients {
padding: 0 10px;
}
&__client {
@include clearfix();
2018-09-28 07:04:58 +12:00
padding: 0 !important;
2018-09-24 16:10:42 +12:00
2018-09-24 21:37:59 +12:00
&--expanded {
background: rgba(255,255,255,0.05);
2018-09-25 17:00:04 +12:00
.light-theme & {
background: rgba(0,0,0,0.05);
2018-09-24 16:10:42 +12:00
}
2018-05-02 16:14:53 +12:00
}
2018-03-22 16:59:04 +13:00
2018-09-25 17:00:04 +12:00
&--collapsed {
.snapcast__client__header:hover {
background: rgba(255,255,255,0.03);
2018-04-18 17:01:57 +12:00
2018-09-25 17:00:04 +12:00
.light-theme & {
background: rgba(0,0,0,0.03);
}
}
2018-09-24 16:10:42 +12:00
}
2018-04-18 17:01:57 +12:00
2018-09-25 17:00:04 +12:00
&__header {
font-weight: 500;
2018-09-24 21:37:59 +12:00
cursor: pointer;
2018-09-25 17:00:04 +12:00
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 {
2018-10-13 14:28:46 +13:00
color: colour(red);
}
2018-09-25 17:00:04 +12:00
}
}
}
&__details {
position: relative;
padding: 0 14px 14px 14px;
2018-09-24 21:37:59 +12:00
}
&__group-field {
position: absolute;
top: -2px;
right: -2px;
2018-04-18 17:01:57 +12:00
2018-09-24 16:10:42 +12:00
.icon {
padding-right: 0;
}
}
2018-03-23 16:54:56 +13:00
2018-09-24 16:10:42 +12:00
&__latency {
input[type="number"] {
width: 20%;
}
2018-03-26 10:36:13 +13:00
2018-09-24 16:10:42 +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;
2018-10-13 14:28:46 +13:00
background: colour(grey);
2018-09-24 16:10:42 +12:00
z-index: 0;
}
2018-04-19 06:20:54 +12:00
.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;
}
}
}
2018-03-26 10:36:13 +13:00
}
2018-03-22 16:59:04 +13:00
}
}
2018-09-24 16:10:42 +12:00
@include responsive($bp_medium){
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
}
}
}