123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534 |
- // MENU
- .position-relative {
- position: relative;
- }
- .logo {
- font-size: 24px;
- color: $black;
- font-weight: 700;
- &:hover {
- color: $black;
- }
- }
- .site-nav {
- position: relative;
- }
- .site-nav {
- padding-top: 20px;
- padding-bottom: 20px;
- h1 {
- margin: 0;
- padding: 0;
- font-size: 24px;
- }
- .site-navigation {
-
- .site-menu {
-
- margin-bottom: 0;
- > li {
- display: inline-block;
- > a {
- font-size: 14px;
- padding: 10px 15px;
- color: $black;
- display: inline-block;
- text-decoration: none!important;
- color: $black;
- &:hover {
- color: $primary;
-
- }
- }
-
- &.cta-button {
- a {
- padding: 5px 22px;
- border: 1px solid rgba($black, .1);
- color: $black;
- border-radius: 30px;
- &:hover {
- color: $white;
- background: $primary;
- border-color: $primary;
- }
- }
- &.active {
- a {
- color: $white;
- background: $primary;
- border-color: $primary;
- }
- }
- }
- &.active {
- > a {
- color: $primary;
- }
- }
- }
- .has-children {
- position: relative;
- > a {
- position: relative;
- padding-right: 20px;
- &:before {
- position: absolute;
- content: "\e313";
- font-size: 14px;
- top: 50%;
- right: 0;
- transform: translateY(-50%);
- font-family: 'icomoon';
- }
- }
- .dropdown {
- visibility: hidden;
- opacity: 0;
- top: 100%;
- z-index: 999;
- position: absolute;
- text-align: left;
- box-shadow: 0 2px 10px -2px rgba(0,0,0,.1);
-
- padding: 20px 0;
- margin-top: 20px;
- margin-left: 0px;
- background: $white;
- transition: 0.2s 0s;
-
- &.arrow-top {
- position: absolute;
- &:before {
- display: none;
- bottom: 100%;
- left: 20%;
- border: solid transparent;
- content: " ";
- height: 0;
- width: 0;
- position: absolute;
- pointer-events: none;
- }
- &:before {
- display: none;
- border-color: rgba(136, 183, 213, 0);
- border-bottom-color: $white;
- border-width: 10px;
- margin-left: -10px;
- }
- }
-
- a {
- font-size: 14px;
- text-transform: none;
- letter-spacing: normal;
- transition: 0s all;
- color: $black;
- }
- .active {
-
- color: $primary!important;
-
- }
- > li {
- list-style: none;
- padding: 0;
- margin: 0;
- min-width: 180px;
- > a {
- padding: 5px 20px;
- display: block;
- &:hover {
- color: $primary;
- }
- }
- &.active {
- > a {
- color: $primary;
- }
- }
- &.has-children {
- > a {
- &:before {
- content: "\e315";
- right: 20px;
- }
- }
- > .dropdown, > ul {
- left: 100%;
- top: 0;
- li {
- a {
- &:hover {
- color: $primary;
- }
- }
- }
- }
- &:hover, &:active, &:focus {
- > a {
- color: $primary;
- // background: darken($light, 2%);
- }
- }
- }
- }
- }
-
- &:hover, &:focus, &:active {
- > a {
- color: $primary;
- }
- }
- &:hover, &:focus, &:active {
- cursor: pointer;
- > .dropdown {
- transition-delay: 0s;
- margin-top: 0px;
- visibility: visible;
- opacity: 1;
-
- }
- }
- }
- }
- }
- }
- .site-mobile-menu-close {
- display: block;
- position: relative;
- height: 30px;
- width: 30px;
- z-index: 99;
- cursor: pointer;
- top: -20px;
- > span {
- cursor: pointer;
- display: block;
- position: absolute;
- height: 30px;
- width: 30px;
- &:before, &:after {
- position: absolute;
- content: "";
- width: 2px;
- height: 30px;
- background: $black;
- }
- &:before {
- transform: rotate(45deg);
- }
- &:after {
- transform: rotate(-45deg);
- }
- }
- }
- // mobile menu
- .site-mobile-menu {
- width: 300px;
- position: fixed;
- right: 0;
- z-index: 2000;
- padding-top: 20px;
- background: $white;
- height: calc(100vh);
-
- transform: translateX(100%);
-
- transition: .8s all cubic-bezier(.23,1,.32,1);
- .offcanvas-menu & {
- box-shadow: -10px 0 20px -10px rgba(0,0,0,.1);
- transform: translateX(0%);
- }
- .site-mobile-menu-header {
- width: 100%;
- float: left;
- padding-left: 20px;
- padding-right: 20px;
-
- .site-mobile-menu-close {
- float: right;
- margin-top: 8px;
- span {
- font-size: 30px;
- display: inline-block;
- padding-left: 10px;
- padding-right: 0px;
- line-height: 1;
- cursor: pointer;
- transition: .3s all ease;
- &:hover {
- // color: $gray-1;
- }
- }
- }
- .site-mobile-menu-logo {
- float: left;
- margin-top: 10px;
- margin-left: 0px;
- a {
- display: inline-block;
- text-transform: uppercase;
- img {
- max-width: 70px;
- }
- &:hover {
- text-decoration: none;
- }
- }
- }
- }
- .site-mobile-menu-body {
- overflow-y: scroll;
- -webkit-overflow-scrolling: touch;
- position: relative;
- padding: 0 20px 20px 20px;
- height: calc(100vh - 52px);
- padding-bottom: 150px;
- }
- .site-nav-wrap {
- padding: 0;
- margin: 0;
- list-style: none;
- // float: left;
- // width: 100%;
- // height: 100%;
- position: relative;
- a {
- padding: 5px 20px;
- display: block;
- position: relative;
- // color: $gray-00;
- color: $black;
- &:hover {
- color: $primary;
- }
- }
- li {
- position: relative;
- display: block;
- &.active {
- > a {
- color: $primary;
- }
- }
- }
- .arrow-collapse {
- position: absolute;
- right: 0px;
- top: 0px;
- z-index: 20;
- width: 36px;
- height: 36px;
- text-align: center;
- cursor: pointer;
- border-radius: 50%;
- border: 1px solid $light;
- &:hover {
- // background: $gray-100;
- }
- &:before {
- font-size: 14px;
- z-index: 20;
- font-family: "icomoon";
- content: "\e313";
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%) rotate(-180deg);
- transition: .3s all ease;
- }
- &.collapsed {
- &:before {
- transform: translate(-50%, -50%);
- }
- }
- }
- > li {
- display: block;
- position: relative;
- float: left;
- width: 100%;
-
- > a {
- padding-left: 20px;
- font-size: 14px;
- }
- > ul {
- padding: 0;
- margin: 0;
- list-style: none;
- > li {
- display: block;
- > a {
- padding-left: 40px;
- font-size: 14px;
- }
- > ul {
- padding: 0;
- margin: 0;
- > li {
- display: block;
- > a {
- font-size: 14px;
- padding-left: 60px;
- }
- }
- }
- }
- }
- }
- }
- }
- .sticky-wrapper {
- position: absolute;
- z-index: 100;
- width: 100%;
- .site-navbar {
- transition: .3s all ease;
- }
- .site-navbar {
- .site-menu-toggle {
- color: $black;
- }
- .site-logo {
- a {
- color: $black;
- }
- }
- .site-menu {
- > li {
- > a {
- color: rgba($black, .8)!important;
- &:hover, &.active {
- color: $black!important;
- }
- }
- }
- }
- }
- &.is-sticky {
- .burger:before, .burger span, .burger:after {
- background: $black;
- transition: .0s all ease;
- }
- .site-navbar {
- background: $black;
- border-bottom: 1px solid transparent;
- box-shadow: 4px 0 20px -5px rgba(0,0,0,.1);
- .site-logo {
- a {
- color: $black!important;
- }
- }
- .site-menu {
- > li {
- > a {
- color: $black!important;
- &:hover, &.active {
- color: $primary!important;
- }
- }
- &.active {
- a {
- color: $primary!important;
- }
- }
- }
- }
- }
- }
- .shrink {
- padding-top: 0px!important;
- padding-bottom: 0px!important;
- }
- }
- /* Burger */
- .burger {
- width: 28px;
- height: 32px;
- cursor: pointer;
- position: relative;
- &.light {
- &:before, span, &:after {
- background: $white;
- }
- }
- }
- .burger:before, .burger span, .burger:after {
- width: 100%;
- height: 2px;
- display: block;
- background: #000;
- border-radius: 2px;
- position: absolute;
- opacity: 1;
- }
- .burger:before, .burger:after {
- transition: top .35s cubic-bezier(.23,1,.32,1),transform .35s cubic-bezier(.23,1,.32,1),opacity .35s cubic-bezier(.23,1,.32,1),background-color 1.15s cubic-bezier(.86,0,.07,1);
- -webkit-transition: top .35s cubic-bezier(.23,1,.32,1),-webkit-transform .35s cubic-bezier(.23,1,.32,1),opacity .35s cubic-bezier(.23,1,.32,1),background-color 1.15s cubic-bezier(.86,0,.07,1);
- content: "";
- }
- .burger:before {
- top: 4px;
- }
- .burger span {
- top: 15px;
- }
- .burger:after {
- top: 26px;
- }
- /* Hover */
- .burger:hover:before {
- top: 7px;
- }
- .burger:hover:after {
- top: 23px;
- }
- /* Click */
- .burger.active span {
- opacity: 0;
- }
- .burger.active:before, .burger.active:after {
- top: 40%;
- }
- .burger.active:before {
- -webkit-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=5); /*for IE*/
- }
- .burger.active:after {
- -webkit-transform: rotate(-45deg);
- -moz-transform: rotate(-45deg);
- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-5); /*for IE*/
- }
- .burger:focus {
- outline: none;
- }
|