123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- .navbar {
- height: 70px;
- background: $sta-menu-primary;
- box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11);
- font-size: #{$sta-font-size-small}px;
- position: fixed;
- top: 0;
- right: 0;
- left: 0;
- z-index: 1030;
-
-
- padding: 0 1rem;
- .nav-item {
-
- position: relative;
- }
- @include media-breakpoint-down(md) {
- height: 50px;
- .navbar-nav-scroll {
- width: 100%;
- overflow: hidden;
- .navbar-nav {
- overflow-x: auto;
- white-space: nowrap;
- -webkit-overflow-scrolling: touch;
- }
- }
- }
- .navbar-nav {
- display: flex;
- .nav-link {
- color: rgba($sta-menu-text, .85);
- &.active,
- &:hover,
- &:focus {
- color: $sta-menu-text;
- }
- &.active {
- font-weight: bold !important;
- color: $sta-menu-text-active !important;
- }
- }
- }
- .dropdown-menu {
- font-size: #{$sta-font-size-small}px;
- }
-
- .dropdown-item.active,
- .dropdown-item-active {
- font-weight: bold;
- color: $sta-menu-text-active !important;
- }
- }
- .dark .navbar {
- background: $sta-dark-menu-primary;
- box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
- .navbar-nav {
- .nav-link {
- color: rgba($sta-dark-menu-text, .85);
- &.active,
- &:hover,
- &:focus {
- color: $sta-dark-menu-text-active;
- }
- &.active {
- font-weight: bold !important;
- color: $sta-dark-menu-text-active !important;
- }
- }
- }
- .dropdown-item.active,
- .dropdown-item-active {
- color: $sta-dark-menu-text-active !important;
- }
- }
- .navbar-toggler {
- border: 0 !important;
- position: relative;
- z-index: 1030;
- }
- .dark .navbar-toggler {
- color: $sta-dark-menu-text;
- }
- .navbar-toggler:focus,
- .navbar-toggler:active {
- outline: none !important;
- box-shadow: none !important;
- }
- @include media-breakpoint-down(md) {
- .i18n-dropdown .nav-link::after {
-
- content: none;
- }
- }
- .i18n-dropdown .dropdown-menu,
- .theme-dropdown .dropdown-menu {
-
- position: absolute;
-
- right: 0;
- left: auto;
- }
- .navbar-brand {
-
- padding-top: 5px;
- padding-bottom: 5px;
- font-weight: bold;
- position: relative;
- z-index: 1030;
- }
- .dark .navbar-brand {
- color: $sta-dark-menu-title;
- }
- .navbar-brand img {
- width: auto;
- height: -moz-available;
- height: -webkit-fill-available;
- height: -webkit-stretch;
- height: stretch;
- max-height: 60px;
- max-width: fit-content;
- }
- #navbar-main .main-menu-item ul li .nav-link {
- color: $sta-menu-text;
- }
- .dark #navbar-main .main-menu-item ul li .nav-link {
- color: $sta-dark-menu-text;
- }
- @include media-breakpoint-down(md) {
-
- .navbar-brand-mobile-wrapper {
- position: absolute;
- left: 0;
- right: 0;
- }
- .navbar-brand {
-
- margin: 0 auto;
- }
- .navbar-brand img {
- max-height: 40px;
- }
- .navbar-toggler {
- border-color: transparent;
- }
- #navbar-main .main-menu-item {
- text-align: left !important;
- padding-left: 0;
- }
- .navbar-collapse {
- z-index: 1031 !important;
- position: absolute;
- left: 0;
- top: 50px;
- width: 100%;
- background-color: $sta-menu-primary;
- text-align: center !important;
- }
- .dark .navbar-collapse {
- background-color: $sta-dark-menu-primary;
- }
- #navbar-main .main-menu-item .nav-item {
- padding: 10px 15px !important;
- }
- #navbar-main .main-menu-item .nav-item .nav-link {
- padding: 5px 15px !important;
- }
- }
- ul.nav-icons {
- list-style-type: none;
- font-size: 18px;
- padding: 0.5rem 0 0.5rem 0;
- margin: 0;
- }
- ul.nav-icons li {
- display: inline;
- padding-right: 1rem;
- }
- ul.nav-icons li:last-of-type {
- padding-right: 0;
- }
- ul.nav-icons li.nav-item a.nav-link {
- padding: 0;
- }
- .dropdown-menu {
- background-color: $sta-menu-primary !important;
- color: $sta-menu-text !important;
- z-index: 1032;
- }
- .dark .dropdown-menu {
- background-color: $sta-dark-menu-primary !important;
- color: $sta-dark-menu-text !important;
- }
- .dropdown-item {
- background-color: $sta-menu-primary !important;
- color: $sta-menu-text !important;
- }
- .dark .dropdown-item {
- background-color: $sta-dark-menu-primary !important;
- color: $sta-dark-menu-text !important;
- }
|