Files
Iris/src/scss/components/_output-control.scss

73 lines
1.1 KiB
SCSS
Raw Normal View History

.output-control {
position: relative;
.outputs {
position: absolute;
bottom: 40px;
2018-05-31 21:34:50 +12:00
right: -150px;
width: 300px;
background: $white;
color: $black;
font-size: 14px;
2018-05-31 21:34:50 +12:00
font-weight: 600;
text-align: left;
2018-05-31 21:34:50 +12:00
border-radius: 3px;
box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
2018-06-01 20:44:30 +12:00
z-index: 9;
&:after {
content: '';
display: block;
width: 6px;
height: 6px;
2018-05-31 21:34:50 +12:00
background: $white;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
bottom: -3px;
2018-05-31 21:34:50 +12:00
right: 159px;
}
.output {
2018-05-31 21:34:50 +12:00
padding: 16px 20px 12px;
&:not(:first-child) {
2018-05-31 21:34:50 +12:00
border-top: 1px solid rgba(0,0,0,0.05);
}
.name {
display: block;
padding-bottom: 5px;
}
.volume-control {
display: block;
position: relative;
padding-left: 22px;
.mute-control {
position: absolute;
top: -2px;
left: -2px;
padding: 2px;
2018-05-31 21:34:50 +12:00
color: $black;
}
}
}
}
2018-06-01 20:44:30 +12:00
@include responsive($bp_medium){
.outputs {
2018-06-01 20:44:30 +12:00
width: 86vw;
right: 0;
&:after {
right: 9px;
}
}
}
}