taiga-front/app/styles/modules/common/nav.scss

87 lines
1.7 KiB
SCSS

.menu {
@extend %title;
background-image: url('../images/menu.png');
background-position: left bottom;
flex-wrap: wrap;
height: 100%;
padding: 2rem .3rem;
position: fixed;
text-transform: uppercase;
width: 90px;
z-index: 999;
}
.logo {
line-height: inherit;
margin: .5rem 0 2rem;
img {
width: 100%;
}
}
.main-nav {
list-style: none;
padding: 0;
position: relative;
text-align: center;
li {
margin-bottom: 1rem;
}
a {
color: $white;
display: block;
text-align: center;
&:hover {
@include transition (color .3s linear);
color: $fresh-taiga;
}
span {
display: block;
}
.icon {
@extend %xlarge;
line-height: 2.2rem;
}
.item {
@extend %large;
}
}
.active {
@include transition (color .3s linear);
color: $fresh-taiga;
}
}
.user {
bottom: 1rem;
padding: 0 10px;
position: absolute;
width: 80px;
.popover {
@include popover(150px, '', 30px, 30px);
a {
@extend %small;
color: $white;
text-align: left;
&:hover {
@include transition (color .2s linear);
color: $fresh-taiga;
}
}
}
.user-settings {
position: relative;
}
.settings {
text-align: center;
a {
color: $whitish;
margin-right: .5rem;
&:hover {
@include transition (color .3s linear);
color: $fresh-taiga;
}
}
}
}