D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home3
/
encodto1
/
tresboutique.in
/
assets
/
sass
/
layout
/
Filename :
_navigation.scss
back
Copy
/*LAYOUT -> NAVIGATION STYLE*/ .main-menu { &.main-menu-mrg-1 { margin: 0 0 0 27px; } & > nav { & > ul { & > li { &.position-static { position: static; } & > a { display: inline-block; font-size: 16px; font-weight: 700; color: #1a1a1a; i { font-size: 8px; position: relative; margin-left: 4px; } &.active { color: $color-brand; } } ul { &.sub-menu { position: absolute; left: 0; top: 100%; background-color: #ffffff; min-width: 250px; padding: 25px 15px; -webkit-transition: all .25s ease 0s; -o-transition: all .25s ease 0s; transition: all .25s ease 0s; opacity: 0; visibility: hidden; margin-top: 20px; border-radius: 0 0 4px 4px; z-index: 999; border: 1px solid #eef0ee; li { line-height: 1; display: block; margin-bottom: 21px; position: relative; &:last-child { margin-bottom: 0; } ul { &.level-menu { position: absolute; left: 100%; top: -110px; background-color: #ffffff; width: 240px; padding: 33px 0 35px; -webkit-transition: all .25s ease 0s; -o-transition: all .25s ease 0s; transition: all .25s ease 0s; opacity: 0; visibility: hidden; border-radius: 4px; margin-top: 20px; border: 1px solid #eef0ee; &.level-menu-modify { top: -25px; } } } a { i { font-size: 9px; float: right; position: relative; top: 4px; } } &:hover { & > a { color: #000; } ul { &.level-menu { opacity: 1; visibility: visible; margin-top: 0px; } } } } } &.mega-menu { position: absolute; left: 0; top: 100%; background-color: #ffffff; width: 100%; padding: 35px 25px 35px 35px; -webkit-transition: all .25s ease 0s; -o-transition: all .25s ease 0s; transition: all .25s ease 0s; opacity: 0; visibility: hidden; margin-top: 20px; border-radius: 0 0 4px 4px; z-index: 999; border: 1px solid #eef0ee; li { line-height: 1; display: block; position: relative; float: left; padding-right: 10px; &:last-child { margin-bottom: 0; } &.sub-mega-menu-width-22 { width: 22%; } &.sub-mega-menu-width-34 { width: 34%; } a { &.menu-title { font-size: $font-xl; font-weight: 500; display: block; } } ul { margin-top: 28px; li { line-height: 1; display: block; margin-bottom: 14px; float: none; &:last-child { margin-bottom: 0; } a { font-size: 15px; color: $color-body; display: block; line-height: 1.4; &:hover { color: $color-brand; } } } } .menu-banner-wrap { overflow: hidden; position: relative; a { display: block; img { width: 100%; -webkit-transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); -o-transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); } } .menu-banner-content { position: absolute; top: 32px; left: 30px; h3 { font-size: 24px; font-weight: 700; line-height: 1.5; margin: 5px 0 11px; } .menu-banner-price { span { &.old-price { font-size: $font-xl; font-weight: 400; color: #696969; text-decoration: line-through; margin-left: 5px; } } } .menu-banner-btn { a { display: inline-block; font-size: $font-md; font-weight: 700; color: #ffffff; border-radius: 26px; padding: 12px 22px 14px; background-color: $color-brand; } } } .menu-banner-discount { h3 { span { display: block; line-height: 1; font-weight: 700; font-size: 20px; margin: 0 0 3px; } } } &:hover { a { img { -webkit-transform: scale3d(1.1, 1.1, 1.1); transform: scale3d(1.1, 1.1, 1.1); } } .menu-banner-btn { a { background-color: $color-danger; } } } } } } } &:hover { & > a { color: $color-brand; } ul { &.sub-menu { opacity: 1; visibility: visible; margin-top: 0; } &.mega-menu { opacity: 1; visibility: visible; margin-top: 0; } } } } } } &.hover-boder { & > nav { & > ul { & > li { & > a { position: relative; &::after { content: none; position: absolute; left: auto; right: 0; bottom: 34px; height: 1px; width: 0; -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s; -o-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s; transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s; background: $color-brand; } } &:hover { & > a { &::after { width: 100%; left: 0; right: auto; } } } } } } &.hover-boder-white { & > nav { & > ul { & > li { & > a { &::after { bottom: 18px; background: #ffffff; } } } } } } &.hover-boder-modify { & > nav { & > ul { & > li { & > a { &::after { bottom: 28px; } } } } } } } &.main-menu-light-white { & > nav { & > ul { & > li { & > a { color: white; } } } } } &.main-menu-padding-1 { & > nav { & > ul { & > li { padding: 0 17px; &:first-child { padding-left: 0 !important; } } } } } &.main-menu-lh-2 { & > nav { & > ul { & > li { line-height: 60px; } } } } &.main-menu-lh-3 { & > nav { & > ul { & > li { line-height: 80px; } } } } } .main-menu { &.main-menu-grow { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } & > nav { & > ul { & > li { display: inline-block; position: relative; ul { &.sub-menu { li { a { font-size: 15px; color: #555; display: block; padding: 0 15px; &:hover { color: $color-brand; } } } } &.mega-menu { li { .menu-banner-wrap { .menu-banner-content { h4 { font-size: $font-md; text-transform: uppercase; font-weight: 500; margin: 0; } .menu-banner-price { margin: 0 0 28px; span { &.new-price { font-size: 24px; font-weight: 700; color: $color-danger; } } } } .menu-banner-discount { width: 80px; height: 80px; line-height: 80px; border-radius: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; background-color: #ffd55a; position: absolute; top: 13%; right: 7%; h3 { color: #333; margin: 0; text-align: center; font-size: $font-xl; font-weight: 600; line-height: 1; } } } } } } } } } &.main-menu-lh-1 { & > nav { & > ul { & > li { line-height: 70px; } } } } } .main-categori-wrap { position: relative; margin-right: 70px; & > a { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex !important; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; font-size: 18px; font-weight: 700; span { margin-right: 7px; color: $color-body; } & > i { margin-left: 5px; margin-top: 7px; color: #999; &.up { position: absolute; top: 40%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); right: 0; opacity: 0; visibility: hidden; } } &.open { & > i { opacity: 0; visibility: hidden; &.up { opacity: 1; visibility: visible; } } } } } .categori-dropdown-active-large { list-style-type: none; position: absolute; top: 177%; left: 0; z-index: 9; margin: 0; padding: 15px 0 10px 0; background: #fff; border: 1px solid #eef0ee; border-radius: 0 0 4px 4px; font-size: $font-md; font-weight: 400; min-width: 270px; -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); opacity: 0; visibility: hidden; &.open { opacity: 1; visibility: visible; } } .categori-dropdown-active-small { z-index: 9; margin: 0; padding: 14px 0 23px; background: #fff; border-radius: 5px; -webkit-box-shadow: $box-shadown-1; box-shadow: $box-shadown-1; font-size: $font-md; font-weight: 400; display: none; width: 100%; } .categori-dropdown-wrap { ul { li { display: block; a { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding: 5px 34px; line-height: 1.5; color: #1a1a1a; font-size: $font-md; &:hover { color: $color-brand; background-color: rgba(78, 151, 253, 0.1); } i { margin-right: 16px; font-size: 18px; opacity: 0.9; } } &:hover .dropdown-menu { display: block; opacity: 1; visibility: visible; margin-top: 0px; pointer-events: auto; } &.has-children { position: relative; > a::after { content: "\f111"; font-family: 'uicons-regular-straight' !important; position: absolute; right: 30px; top: 50%; margin-top: -10px; } .dropdown-menu { left: 100%; top: 0; margin: 0; margin-top: 0px; border: 1px solid #eef0ee; min-width: 800px; width: 100%; right: 0; border-radius: 0; padding: 20px; .submenu-title { font-size: $font-xl; font-weight: 500; display: block; color: $color-brand; padding: 5px 34px; } .header-banner2 { display: block; position: relative; margin-bottom: 15px; .banne_info { position: absolute; right: 0; top: 50%; -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); padding: 15px; a { text-transform: capitalize; position: relative; padding: 0; color: #272a2c !important; &::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; width: 50%; background-color: #272a2c; transition: all 0.5s ease-in-out; } } } } } } } } .more_categories { border-top: 1px solid #eaeaea; padding: 10px 34px 0 34px; margin-top: 10px; color: $color-brand; position: relative; font-size: 13px; font-family: $font-heading; &::before { content: ""; width: 15px; height: 1px; background-color: $color-brand; position: absolute; right: 31px; top: 21px; } &::after { content: ""; width: 1px; height: 15px; background-color: $color-brand; position: absolute; right: 38px; top: 14px; } &.show { &::after {display: none;content: none;} } } } /*Pagination*/ .pagination-area { .page-item { margin: 0 5px; &:first-child { margin-left: 0; .page-link { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } } &:last-child { .page-link { border-top-right-radius: 50%; border-bottom-right-radius: 50%; } } &.active , &:hover{ .page-link { color: #fff; background: $color-brand; } } } .page-link { border: 0; padding: 0 10px; box-shadow: none; outline: 0; width: 34px; height: 34px; display: block; border-radius: 4px; color: #696969; line-height: 34px; text-align: center; font-weight: 700; &.dot { background-color: transparent; color: $color-text; letter-spacing: 2px; } } }