FileMaster
Search
Toggle Dark Mode
Home
/
.
/
assets
/
scss
/
layout
Edit File: _navigation.scss
.mobile-header-wrapper-style { position: fixed; top: 0px; max-width: 430px; width: 100%; min-height: 100vh; bottom: 0; left: 0; visibility: hidden; opacity: 0; -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); background-color: #ffffff; -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.09); box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.09); z-index: 9999; padding-top: 0px; &.sidebar-visible { visibility: visible; opacity: 1; -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); transform: translate(0, 0); } .mobile-header-wrapper-inner { padding: 0px 0px 0px 0px; height: 100%; overflow-y: auto; overflow-x: hidden; .mobile-logo { position: relative; border-bottom: 1px solid $color-gray-80; padding: 15px 30px 15px 30px; img { width: 60px; } } .mobile-header-top { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 0; background-color: #ffffff; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; align-self: center; border-bottom: 0; margin-bottom: 15px; .mobile-header-logo { a { display: block; img { width: 100px; } } } } .mobile-header-content-area { padding: 0px; .mobile-menu-wrap { nav { .mobile-menu { max-width: 430px; li { display: flex; position: static; padding: 10px 0 20px 0; align-items: center; justify-content: space-between; &:last-child { border-bottom: none; } &.has-children { .menu-expand { right: auto; position: relative; cursor: pointer; z-index: 9; text-align: center; font-size: 12px; display: block; width: 30px; height: 24px; line-height: 44px; top: auto; color: $color-gray-900; background-image: url(../imgs/template/icons/arrow-right.svg); background-position: center; background-repeat: no-repeat; } // &.active { // &>.menu-expand { // // background: rgba(255, 255, 255, 0.2); // // i { // // &::before { // // content: "\f113"; // // } // // } // } // } } a { font-size: 17px; line-height: 24px; font-family: $font-jost; text-transform: capitalize; font-weight: 500; position: relative; display: inline-block; color: $color-text; transition-duration: 0.2s; text-decoration: none; i { margin-right: 5px; } &:hover { color: $color-success; } } ul { padding: 0px 0 0px 10px; position: absolute; top: 0px; left: -430px; width: 100%; background: #fff; z-index: 1234; height: 100%; -webkit-transition: all 0.45s cubic-bezier(0.645, 0.045, 0.355, 1); transition: all 0.45s cubic-bezier(0.645, 0.045, 0.355, 1); &.menu-show { left: 0px; } li { padding: 8px 0 8px 0; border-bottom: none; &.has-children { .menu-expand { top: 0px; } } &:hover { a { padding-left: 13px; transition-duration: 0.2s; } } a { font-size: 17px; line-height: 24px; display: block; font-weight: 500; color: $color-primary-dark; padding-left: 10px; position: relative; transition-duration: 0.2s; } ul { margin-top: 0; } &.has-children.active { padding-bottom: 0; } &.hr { padding: 0 0 0 10px; span { background-color: $color-gray-100; height: 1px; width: 100%; display: block; margin: 5px 0; } } } } &:hover { &>a { color: $color-success; padding-left: 3px; transition-duration: 0.2s; } } } } } } .categories-dropdown-wrap ul li a { padding: 5px 15px; } .mobile-header-info-wrap { padding: 20px; border-radius: 5px; border: 1px solid $color-gray-900; margin: 17px 0 30px 0; .single-mobile-header-info { position: relative; margin-bottom: 13px; &:last-child { margin-bottom: 0; } a { font-size: $font-sm; display: block; font-weight: 500; color: $color-gray-900; &:hover { color: $color-gray-900; } i { font-size: $font-sm; color: $color-gray-900; margin-right: 8px; } } .lang-curr-dropdown { margin-top: 5px; display: none; background-color: transparent; -webkit-box-shadow: none; box-shadow: none; padding: 10px 0 0 0; width: 100%; z-index: 11; ul { li { padding-bottom: 10px; &:last-child { padding-bottom: 0px; } a { font-size: $font-md; color: rgba(255, 255, 255, 0.7); font-weight: 400; &:hover { color: $color-gray-900; } } } } } &:hover { &>a { color: $color-gray-900; } } } } .mobile-header-border { border-bottom: 1px solid rgba(255, 255, 255, 0.15); nav { display: inline-block; width: 100%; } } .site-copyright { font-size: $font-xs; color: $color-gray-900; padding-bottom: 20px; // position: absolute; // left: 30px; // bottom: 20px; // right: 30px; // background-color: $background-white; } } } } .burger-icon { position: absolute; width: 20px; height: 22px; cursor: pointer; -webkit-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); top: 21px; right: 2px; z-index: 1004; &.burger-close { width: 20px; } &>span { display: block; position: absolute; left: 0; width: 100%; height: 3px; &.burger-icon-top { top: 0px; } &.burger-icon-bottom { bottom: 4px; } &.burger-icon-mid { top: 7px; } } &.burger-close { position: fixed; top: 20px; right: 15px; span { height: 2px; } &>span { &.burger-icon-top { display: none; opacity: 0; } &.burger-icon-mid { top: 10px; transform: rotate(45deg); } &.burger-icon-bottom { bottom: 10px; transform: rotate(-45deg); } } } } .header-type6 { .burger-icon { top: 14px; } } .burger-icon>span::before, .burger-icon>span::after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: ""; background-color: #333; } .burger-icon.burger-icon-white>span::before, .burger-icon.burger-icon-white>span::after { background-color: $color-primary-dark; } .burger-icon.burger-close.burger-icon-white>span::before, .burger-icon.burger-close.burger-icon-white>span::after { background-color: $color-primary-dark; } .mobile-search { form { background-color: $background-bg-1; border-radius: 8px; height: 44px; padding: 0px 15px 0px 44px; position: relative; input { border: 0; background-color: transparent; width: 100%; padding: 12px 10px; } i { position: absolute; left: 18px; top: 14px; font-size: 18px; color: $color-gray-800; } } } .mobile-social-icon { h6 { font-weight: 600; font-size: 20px; margin-bottom: 30px; } a { text-align: center; font-size: 14px; margin-right: 5px; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; height: 30px; width: 30px; display: inline-flex; background: #efeaff; border-radius: 30px; line-height: 1; align-content: center; justify-content: center; img { max-width: 18px; &:hover { opacity: 0.8; } } &:hover { transform: translateY(-2px); transition-duration: 0.5s; margin-top: -2px; } &:last-child { margin-right: 0; } } } .mobile-account { margin: 20px 0 25px 0; padding: 30px 0 20px 0; border-top: thin solid $color-gray-100; border-bottom: thin solid $color-gray-100; ul.mobile-menu { columns: 2; -webkit-columns: 2; -moz-columns: 2; } h6 { font-weight: 600; font-size: 18px; } ul { li { padding: 8px 0; a { font-size: 14px; line-height: 1; text-transform: capitalize; font-weight: 400; position: relative; display: inline-block; color: $color-gray-900; transition-duration: 0.2s; text-decoration: none; } &:hover a { padding-left: 3px; transition-duration: 0.2s; color: $color-gray-900; } } } } .box-download-app { padding-top: 30px; padding-bottom: 30px; border-bottom: 1px solid $color-gray-80; border-top: 1px solid $color-gray-80; margin-bottom: 20px; margin-top: 20px; } .nav-tabs-mobile { display: flex; width: 100%; flex-wrap: nowrap; li { padding: 0px; position: relative; a { padding: 10px; display: flex; font-size: 14px; line-height: 18px; font-weight: bold; color: $color-brand-1; svg { height: 14px; vertical-align: middle; float: left; margin: 2px 5px 0px 0px !important; color: $color-brand-1; } &:hover, &:hover *, &.active { color: $color-success; &::before { content: ""; height: 2px; width: 100%; position: absolute; bottom: -1px; left: 0px; background-color: $color-success; } } &.active * { color: $color-success; } } } } .notifications-item { padding: 20px 0px 0px 0px; .item-notify { margin-bottom: 30px; display: flex; .item-image { min-width: 32px; max-width: 32px; width: 100%; margin-right: 15px; } .item-info { width: 100%; } .item-time { width: 63px; max-width: 63px; margin-left: 20px; min-width: 63px; } } }
Save
Back