rf-web/_sass/includes/header.scss

23 lines
537 B
SCSS
Raw Normal View History

2020-02-21 11:44:13 +00:00
header.page-header {
.lang {
position: absolute;
color: $black;
top: $size-32;
right: $size-32;
background-color: white;
padding: $size-8;
transition: box-shadow 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
&:hover {
box-shadow: 5px 5px 0 rgba($white, 0.5), 10px 10px 0 rgba($white, 0.4), 15px 15px 0 rgba($white, 0.3);
transition: box-shadow 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
@include touch {
top: $size-16;
right: $size-16;
font-size: 0.8em;
}
}
}