Improve styles for check buttons
parent
a48a8d77c7
commit
5b100cec1c
|
@ -22,11 +22,11 @@
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
~ .check-text {
|
~ .check-text {
|
||||||
//@include transition(opacity .3s linear);
|
|
||||||
@extend %small;
|
@extend %small;
|
||||||
|
@extend %text;
|
||||||
color: $white;
|
color: $white;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: .25rem;
|
top: .2rem;
|
||||||
}
|
}
|
||||||
~ .check-yes {
|
~ .check-yes {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
@ -44,11 +44,11 @@
|
||||||
transition: all .2s linear;
|
transition: all .2s linear;
|
||||||
}
|
}
|
||||||
~ .check-yes {
|
~ .check-yes {
|
||||||
opacity: .6;
|
opacity: .8;
|
||||||
right: .4rem;
|
right: .25rem;
|
||||||
}
|
}
|
||||||
~ .check-no {
|
~ .check-no {
|
||||||
left: .4rem;
|
left: .25rem;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue