style: multiple buttons style fixes

This commit is contained in:
jean-emmanuel 2018-06-21 09:47:14 +02:00
parent 8b7f75a748
commit e38d46f9b6
4 changed files with 18 additions and 10 deletions

View file

@ -1,3 +1,13 @@
.widget.push-container.on .toggle:before,
.widget.modal-container.on .toggle:before,
.widget.switch-container .value.on:before,
.widget.switcher-container .value.on:before,
.widget.crossfader-container .value.on:before,
.widget.toggle-container.on:not(.led) .toggle:before {
z-index: 1;
opacity: .5;
}
.widget.push-container.on,
.widget.modal-container.on,
.widget.switch-container .value.on,
@ -9,7 +19,7 @@
font-weight: 900;
}
.widget.push-container.active > .label {
.widget.push-container.active:not(.on) > .label {
color: var(--color-custom);
}

View file

@ -15,7 +15,7 @@
.toggle-container .toggle.on:after,
.push-container .toggle.active:after,
.switch-container .switch .value.on:after {
background: var(--color-bg)
// background: var(--color-bg)
}
.widget {

View file

@ -174,7 +174,7 @@
.modal-container {
@extend .toggle-container;
> .toggle:after {
> .label:after {
content:"\f0da"!important;
font-family: FontAwesome;
transform: rotateZ(-45deg);
@ -182,18 +182,16 @@
display: block;
width:8rem;
height:6rem;
right:2rem!important;
top:1rem!important;
left:auto!important;
bottom:auto!important;
right:2rem;
top:1rem;
line-height: 10rem;
text-align: center;
float:right;
position: absolute;
box-shadow: none;
background: none!important;
color:var(--color-text-fade);
opacity: 1!important;
color: inherit;
opacity: 0.7;
}
> .panel {

View file

@ -84,7 +84,7 @@
background: radial-gradient( ellipse at center, transparent, var(--color-bg));
}
&:before {
opacity: 0.3
opacity: 0.3;
}
}
&:first-child {