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

79 lines
1.5 KiB
SCSS

.projects-nav {
@include transform(translate3d(-300px, 0, 0));
background-color: #232323;
display: flex;
flex-direction: column;
height: 100%;
left: 0;
overflow: hidden;
padding: 2rem 1rem;
position: fixed;
top: 0;
width: 300px;
z-index: 99;
form {
flex-shrink: 0;
}
h1 {
color: $white;
flex-shrink: 0;
margin-bottom: 2rem;
text-align: center;
}
input {
background-color: $gray;
color: $whitish;
}
.icon-search {
position: absolute;
right: .7rem;
top: .7rem;
}
ul {
left: 0;
margin-bottom: 0;
margin-top: 1rem;
position: relative;
top: 0;
width: 100%;
}
.projects-pagination {
display: flex;
flex-direction: column;
margin-top: 1rem;
}
.v-pagination-previous,
.v-pagination-next {
flex-shrink: 0;
}
}
.projects-list {
a {
@extend %large;
@extend %title;
color: $whitish;
display: block;
padding: 1rem;
text-transform: uppercase;
width: 100%;
&.active,
&:hover {
@include transition (background-color .3s linear);
background-color: $gray;
.icon {
@include transition (opacity .3s linear);
opacity: 1;
}
}
}
.icon {
color: $whitish;
float: right;
opacity: 0;
}
li {
border-bottom: 2px solid $gray;
}
}