Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #nav_bar {
- @media(min-width: 1200px) {
- background: none;
- height: auto;
- margin: 0;
- transition: $transition;
- width: auto;
- z-index: 100;
- > .container {
- max-width: 100%;
- }
- }
- }
- .level-one__item {
- align-items: center;
- border-bottom: 2px solid transparent;
- display: flex;
- flex: 0 0 auto;
- height: 100%;
- justify-content: center;
- padding: 0;
- position: relative;
- text-align: center;
- transition: $transition;
- @media(min-width: 1200px) {
- &:not(:first-child) {
- margin-left: 30px;
- }
- &:hover {
- border-color: $cor01;
- }
- }
- }
- .level-one__category {
- color: $dark-gray;
- display: block;
- font-size: 13px;
- font-weight: 600;
- line-height: 48px;
- text-align: center;
- text-transform: uppercase;
- width: 100%;
- @media(min-width: 1200px) {
- &:after {
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAFBAMAAAB7tOvrAAAALVBMVEUAAABELkJELUFFLUFELkJFMUJELUJELUFGLkJEL0FIMUNIMENJM0JKNUpELUGQZM91AAAADnRSTlMAX/Lsoyzhu5pSOTUjGLZB5dEAAAAhSURBVAjXY5jKwHiBIWmBnwDDZvUnDAysdg0MDAwHGRgAVkAGCYErQi0AAAAASUVORK5CYII=') no-repeat;
- content: '';
- display: inline-block;
- height: 5px;
- margin-left: 4px;
- vertical-align: middle;
- width: 7px;
- }
- }
- }
- .level-two {
- display: block;
- padding: 0;
- @media(min-width: 1200px) {
- align-content: space-between;
- display: flex;
- flex-flow: column wrap;
- justify-content: flex-start;
- > li {
- padding: 0 10px;
- }
- }
- }
- .level-two__item {
- display: block;
- margin: 5px 0;
- &:hover {
- > a {
- color: $cor01;
- }
- }
- }
- .level-two__category {
- color: $dark-gray;
- display: block;
- font-size: 13px;
- font-weight: 600;
- line-height: 15px;
- text-align: left;
- text-transform: none;
- white-space: nowrap;
- }
- .level-two__img {
- display: block;
- width: 310px;
- @media(max-width: 1199px) {
- display: none;
- }
- }
- .level-three__item {
- &:hover {
- > a {
- color: $cor01;
- }
- }
- }
- .level-three__category {
- color: $dark-gray;
- display: block;
- font-size: 13px;
- font-weight: 400;
- line-height: 14px;
- text-align: left;
- text-transform: none;
- white-space: nowrap;
- }
- @media(min-width: 1200px) {
- .level-one {
- align-items: center;
- background: none;
- border: none;
- display: flex;
- height: 100%;
- justify-content: space-between;
- }
- .menu__box {
- .menu__dropdown {
- border: $border;
- display: block;
- height: 0;
- left: 0;
- min-width: auto;
- opacity: 0;
- filter: alpha(opacify=0);
- overflow: hidden;
- padding: 0;
- position: absolute;
- top: calc(100% + 2px);
- width: auto;
- }
- &:hover {
- > .menu__dropdown {
- background: white;
- box-shadow: none;
- display: flex;
- flex-flow: row nowrap;
- height: 340px;
- justify-content: space-between;
- min-width: 650px;
- opacity: 1;
- overflow: visible;
- padding: 15px 30px;
- right: auto;
- z-index: 99;
- }
- }
- }
- }
- .category__image {
- align-items: center;
- display: flex;
- }
- @media(max-width: 1199px) {
- .button__close {
- align-items: center;
- display: flex;
- height: 40px;
- justify-content: center;
- padding: 0;
- position: absolute;
- right: 5px;
- top: 5px;
- width: 40px;
- }
- .close__icon {
- fill: $dark-gray;
- height: 25px;
- width: 25px;
- }
- .mobile-account-wrapper,
- .mobile-contact-wrapper {
- padding: 0;
- }
- .mobile-contact-wrapper {
- border: solid $dark-gray;
- border-width: 2px 0;
- .contact__item {
- &:not(:last-child) {
- margin: 0 0 10px;
- }
- }
- .contact__icon {
- fill: $dark-gray;
- height: 20px;
- width: 20px;
- }
- .social__icon {
- height: 25px;
- width: 25px;
- }
- .contact__link,
- .contact__text {
- color: $dark-gray;
- font-size: 13px;
- }
- }
- .user__welcome {
- color: $dark-gray;
- display: block;
- font-size: 14px;
- font-weight: 400;
- margin-bottom: 10px;
- text-transform: none;
- }
- .account__item {
- height: auto;
- > a {
- color: $dark-gray;
- font-size: 13px;
- font-weight: 500;
- line-height: 20px;
- }
- }
- .level-one {
- display: flex;
- padding: 20px;
- justify-content: space-between;
- width: 100%;
- @media(max-width: 992px) {
- padding: 0;
- }
- }
- .level-one__item {
- flex-wrap: wrap;
- height: 40px;
- justify-content: space-between;
- padding: 0;
- transition: $transition;
- &.show-subs {
- height: auto;
- .menu__dropdown {
- display: block;
- height: auto;
- opacity: 1;
- visibility: visible;
- }
- .nav__icon {
- fill: $cor01;
- transform: rotate(270deg);
- }
- }
- }
- .level-one__category {
- display: block;
- font-size: 13px;
- line-height: 40px;
- padding: 0;
- text-align: left;
- }
- .button__subcategories {
- align-items: center;
- display: flex;
- flex: 0 0 40px;
- height: 100%;
- height: 40px;
- justify-content: center;
- svg {
- height: 12px;
- transform: rotate(90deg);
- width: 10px;
- }
- @media(max-width: 1199px) {
- display: none;
- }
- }
- .level-two {
- padding: 0 10px;
- }
- .level-two__category {
- color: $dark-gray;
- font-size: 14px;
- line-height: 25px;
- }
- .level-three__category {
- line-height: 25px;
- }
- .category__image {
- display: none;
- }
- }
- .account__list {
- @media(max-width: 768px) {
- margin-top: 10px;
- border-top: 1px solid #47c4c0;
- padding-top: 10px;
- }
- }
- .contact__list {
- @media(max-width: 768px) {
- margin-top: 10px;
- border-top: 1px solid #47c4c0;
- padding-top: 10px;
- li {
- display: flex;
- align-items: center;
- svg {
- margin-right: 5px;
- }
- }
- }
- }
- .categories__list {
- @media(max-width: 768px) {
- ul {
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- li {
- flex: 0 0 100%;
- height: auto;
- .button__subcategories {
- display: block!important;
- flex: 0 0 20px;
- height: 10px;
- transform: rotate(-90deg);
- transition: all 150ms ease-in-out;
- }
- .menu__dropdown {
- background: none;
- border: none;
- flex: 0 0 100%;
- max-height: 0;
- opacity: 0;
- padding: 0;
- visibility: hidden;
- z-index: 100;
- transition: all 150ms ease-in-out;
- li {
- height: 20px;
- line-height: 20px;
- a {
- height: 20px;
- line-height: 20px;
- font-weight: 500;
- }
- }
- }
- a {
- line-height: 30px;
- width: 80%;
- }
- }
- .on__submenu {
- .button__subcategories {
- transform: rotate(0);
- }
- .menu__dropdown {
- max-height: 300px;
- opacity: 1;
- visibility: visible;
- background: #fff;
- transition: all 150ms ease-in-out;
- ul {
- margin: 0;
- padding: 0;
- background: #fff;
- max-height: 230px;
- overflow-y: auto;
- li {
- margin: 0;
- }
- }
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment