.home-projects-list, .home-project { @extend %background-taiga; @include table-flex(center, center, flex, row, wrap, center); background-color: $black; background-position: center center; background-size: cover; height: 100%; left: 0; padding: 0; position: fixed; top: 0; width: 100%; .welcome-user { @include table-flex(); position: absolute; right: 1rem; top: 1rem; p { color: $whitish; margin-bottom: 0; span { &:before { content: ' '; } } } .logout { @extend %small; float: right; &:hover { color: $red-light; } } .info { padding-right: 1rem; } img { width: 40px; } } } .home-projects-wrapper { @include table-flex-child(0, 1200px, 0, 1200px); } .home-projects-list-inner { @include table-flex(); } .recent-projects { @include table-flex-child(8, 0, 0, 800px); ul { @include table-flex(); margin: 0; padding: 0; } a { height: 100%; left: 0; padding: 1rem; position: absolute; top: 0; width: 100%; } li { @include table-flex-child(1, 230px, 0, 23.5%); @include transition(background-color .3s linear); background-color: rgba($white, .5); color: $whitish; height: 130px; margin-bottom: 1rem; margin-right: 1rem; overflow: hidden; position: relative; &:hover { @include transition(background-color .3s linear); background-color: rgba($fresh-taiga, .5); cursor: pointer; p { @include transition(color .3s linear); color: $gray-light; } } } h2 { color: $whitish; line-height: 2rem; } p { @include transition(color .3s linear); color: $grayer; } } .project-content { h2 { margin-bottom: .5rem; } p { @extend %small; line-height: 1rem; } } .all-projects { @include table-flex-child(1, 285px, 0, 285px); background-color: rgba(0, 0, 0, .5); display: flex; flex-direction: column; margin-left: 1rem; max-height: 422px; padding: 1rem; h1 { color: $whitish; flex-shrink: 0; text-align: center; } .v-pagination-list { max-height: 221px; } ul { left: 0; margin-bottom: 0; position: relative; top: 0; width: 100%; } li { border-bottom: 2px solid $gray; 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; } } } } .projects-pagination { width: 100%; } .create-project-button-wrapper { position: relative; width: 100%; } .button-green { color: $whitish; text-align: center; width: 100%; &:hover { color: $whitish; } } .v-pagination-next { margin-bottom: 1rem; } }