2016-05-26 23:34:42 +00:00
|
|
|
button {
|
|
|
|
background: $color-white;
|
|
|
|
border: 0;
|
|
|
|
border-radius: .9em;
|
|
|
|
color: $color-black;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: $font-family-icons;
|
|
|
|
font-size: 20pt;
|
|
|
|
height: 1.8em;
|
|
|
|
opacity: .7;
|
|
|
|
outline: none;
|
|
|
|
transition: box-shadow .5s, color .5s;
|
|
|
|
width: 1.8em;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $color-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-white;
|
|
|
|
color: $color-primary;
|
|
|
|
}
|
|
|
|
|
2016-05-29 15:39:56 +00:00
|
|
|
@if $shadows == 1 {
|
|
|
|
&.shadow {
|
|
|
|
@include shadow(1);
|
2016-05-26 23:34:42 +00:00
|
|
|
|
2016-05-29 15:39:56 +00:00
|
|
|
&:hover {
|
|
|
|
@include shadow(2);
|
|
|
|
}
|
2016-05-26 23:34:42 +00:00
|
|
|
|
2016-05-29 15:39:56 +00:00
|
|
|
&:active {
|
|
|
|
box-shadow: inset 0 5px 20px rgba($color-black, .19), inset 0 3px 6px rgba($color-black, .23);
|
|
|
|
}
|
2016-05-26 23:34:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.close {
|
|
|
|
background: none;
|
|
|
|
border-radius: 0;
|
2016-05-29 15:39:56 +00:00
|
|
|
@if $shadows == 1 {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-05-26 23:34:42 +00:00
|
|
|
color: rgba($color-black, .5);
|
|
|
|
float: right;
|
|
|
|
font-size: 20pt;
|
|
|
|
height: auto;
|
|
|
|
margin: $buttondistance;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|