SMMP/css/header.scss

38 lines
671 B
SCSS
Raw Normal View History

@import 'constants';
#WRAPPER > #HEADER{
// Icone du site
& > .icon{
display: block;
position: absolute;
top: 0;
left: 0;
width: $menu-side-width;
height: $menu-side-width;
background-color: darken($theme-color, 10);
2016-07-09 14:08:29 +00:00
background-image: url('/src/static/iconv2.svg');
background-position: center center;
background-repeat: no-repeat;
background-size: 50% 50%;
cursor: pointer;
transition: all .3s;
// @hover
&:hover{
background-color: darken($theme-color, 15);
}
}
/* Animation de chargement qudnd chargement ajax */
&.loading > .icon{
background-image: url('/src/static/loader.svg');
background-size: 70% 70%;
}
}