nav-bars.less 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080
  1. .@{brand}-navbar {
  2. background-color: @white;
  3. border-radius: 0 !important;
  4. border-bottom: 1px solid @default-border-color;
  5. padding: 0;
  6. .pre-header {
  7. .container {
  8. min-height: unset;
  9. }
  10. }
  11. .container {
  12. min-height: 50px;
  13. }
  14. .navbar-right {
  15. margin-right: 0;
  16. }
  17. .navbar-right, .secondary-menu-mobile {
  18. .dropdown, .lang-btn {
  19. .dropdown-toggle, .btn, .nav-link {
  20. padding: 0.25rem 0;
  21. @media (min-width: 992px) {
  22. padding: 0.5rem 0;
  23. }
  24. }
  25. &:not(last-child) {
  26. .dropdown-toggle, .btn, .nav-link {
  27. margin-left: 1.25rem;
  28. }
  29. }
  30. }
  31. }
  32. .user-info {
  33. display: none;
  34. }
  35. &.navbar-fixed-top {
  36. position: fixed;
  37. top: 0;
  38. right: 0;
  39. left: 0;
  40. z-index: 1030;
  41. }
  42. &.left-layout {
  43. &.primary {
  44. border-color: @themeColor;
  45. }
  46. &.dark {
  47. border-color: @gray-darker;
  48. }
  49. &.navbar-fixed-top {
  50. @media (min-width: 992px) {
  51. margin-left: 230px;
  52. }
  53. .pre-header {
  54. display: block;
  55. }
  56. }
  57. @media (min-width: 992px) {
  58. .user_icon {
  59. a {
  60. span {
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. &.user-info {
  65. display: flex;
  66. align-items: center;
  67. margin-left: 4px;
  68. &:after {
  69. content: "";
  70. margin-left: 2px;
  71. vertical-align: middle;
  72. border-top: 4px dashed;
  73. border-right: 4px solid transparent;
  74. border-left: 4px solid transparent;
  75. }
  76. }
  77. }
  78. }
  79. }
  80. }
  81. }
  82. @media (max-width: 991px) {
  83. position: fixed;
  84. top: 0;
  85. right: 0;
  86. left: 0;
  87. z-index: 1030;
  88. box-shadow: none!important;
  89. &.animation {
  90. animation-duration: unset!important;
  91. animation-fill-mode: unset!important;
  92. }
  93. &.slideInDown {
  94. animation-name: none!important;
  95. }
  96. .container {
  97. width: 100% !important;
  98. max-width: 100%!important;
  99. }
  100. .show .dropdown-menu {
  101. border-radius: 4px;
  102. }
  103. .navbar-header {
  104. display: flex;
  105. align-items: center;
  106. flex-direction: row;
  107. flex-grow: 1;
  108. .logo-section {
  109. display: flex;
  110. align-items: center;
  111. margin-right: auto;
  112. min-height: 50px;
  113. .navbar-toggler {
  114. outline: none;
  115. margin: 0 15px;
  116. padding: 0;
  117. float: none;
  118. width: 30px;
  119. display: block;
  120. text-align: center;
  121. background-color: transparent!important;
  122. border: 0 none!important;
  123. border-radius: 0!important;
  124. span {
  125. transition: 0.24s ease;
  126. color: @baseFontcolor;
  127. &:before {
  128. content: "\f0c9"!important;
  129. font-size: 21px;
  130. font-family: "Font Awesome 5 Pro";
  131. font-weight: 300;
  132. -moz-osx-font-smoothing: grayscale;
  133. -webkit-font-smoothing: antialiased;
  134. display: inline-block;
  135. font-style: normal;
  136. font-variant: normal;
  137. text-rendering: auto;
  138. line-height: 1;
  139. }
  140. }
  141. &.display {
  142. span {
  143. &:before {
  144. content: "\f00d"!important;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }
  152. .navbar-header {
  153. .logo-section {
  154. min-width: 145px;
  155. @media (max-width: 633px) {
  156. min-width: 100px;
  157. }
  158. .logo {
  159. display: flex;
  160. align-items: center;
  161. font-size: 1.3em;
  162. text-decoration: none;
  163. color: @baseFontcolor;
  164. font-weight: 900;
  165. white-space: nowrap;
  166. img {
  167. max-width: 175px;
  168. max-height: 40px;
  169. @media (max-width: 633px) {
  170. width: 80%;
  171. }
  172. }
  173. }
  174. }
  175. }
  176. .nav .show>a, .nav .show>a:hover, .nav .show>a:focus {
  177. background-color: transparent;
  178. }
  179. .navbar-nav {
  180. @media (max-width: 991px) {
  181. margin: 7.5px auto;
  182. }
  183. li {
  184. position: relative;
  185. a {
  186. font-size: @baseFontSize + 2;
  187. font-weight: 500;
  188. color: @baseFontcolor;
  189. text-decoration: none;
  190. .badge {
  191. position: absolute;
  192. top: -7px;
  193. right: -10px;
  194. }
  195. @media (min-width: 1280px) {
  196. font-size: @baseFontSize + 3;
  197. }
  198. }
  199. ul.dropdown-menu {
  200. background-color: @white;
  201. background-clip: padding-box;
  202. padding: 0;
  203. li {
  204. a:not(.item-heading) {
  205. font-size: @baseFontSize;
  206. font-weight: 400;
  207. color: @baseFontcolor;
  208. padding: 7.5px 15px;
  209. &:hover, &:focus, &:active, &.active > a, &.active > a:hover, &.active > a:focus {
  210. background-color: @themeColor;
  211. color: @white;
  212. }
  213. }
  214. &.nav-divider {
  215. display: none;
  216. }
  217. }
  218. }
  219. @media (min-width: 992px) {
  220. ul.dropdown-menu {
  221. transform: translateY(20px);
  222. transition: all 0.3s ease-in;
  223. opacity: 0;
  224. visibility: hidden;
  225. display: block;
  226. padding: 0;
  227. margin-top: -4px;
  228. border-radius: 4px;
  229. }
  230. &.dropdown {
  231. &.show {
  232. ul.dropdown-menu {
  233. transform: translateY(0);
  234. opacity: 1;
  235. visibility: visible; //enable this for auto open
  236. }
  237. }
  238. }
  239. }
  240. &.Secondary_Navbar-Account {
  241. &.user_icon {
  242. .nav-link {
  243. display: flex;
  244. align-items: center;
  245. justify-content: center;
  246. [class*="fa-"] {
  247. margin-right: -4px;
  248. }
  249. }
  250. }
  251. }
  252. }
  253. }
  254. @media (min-width: 1200px){
  255. .navbar-nav {
  256. li {
  257. .nav-link {
  258. padding: 1rem;
  259. }
  260. }
  261. }
  262. }
  263. .navbar-nav>.show>a, .navbar-nav>.show>a:focus, .navbar-nav>.show>a:hover {
  264. background-color: transparent;
  265. }
  266. @media (min-width: 992px) {
  267. .navbar-right {
  268. .dropdown-menu {
  269. margin-top: 10px!important;
  270. right: 0;
  271. left: auto;
  272. &.dropdown-user {
  273. margin-top: -10px!important;
  274. }
  275. }
  276. }
  277. }
  278. .dropdown-tasks {
  279. width: 220px;
  280. li {
  281. &:first-child {
  282. border-top: 2px solid transparent!important;
  283. }
  284. }
  285. #langScroll, #CurrencyScroll {
  286. max-height: 190px;
  287. overflow-y:auto;
  288. height: auto;
  289. }
  290. li a:hover, li a:focus {
  291. background-color: @gray-lighter!important;
  292. color: @baseFontcolor!important;
  293. }
  294. .dropdown-header, .dropdown-header:hover{
  295. color: @baseFontcolor;
  296. &:hover {
  297. color: @baseFontcolor;
  298. }
  299. }
  300. .dropdown-footer, .dropdown-footer a, .dropdown-footer a:hover, .dropdown-footer:hover {
  301. color: @white!important;
  302. background: @themeColor!important;
  303. }
  304. }
  305. .dropdown-tasks {
  306. &.auto-width {
  307. width: auto;
  308. }
  309. }
  310. .dropdown-user, .dropdown-search {
  311. [class*="fa-"], [class*="glyphicon-"] {
  312. font-size: @baseFontSize;
  313. }
  314. }
  315. .dropdown-scroll {
  316. padding: 0;
  317. margin: 0;
  318. .dropdown-header {
  319. padding: 10px;
  320. margin: 1px 1px 0;
  321. font-size: @baseFontSize;
  322. }
  323. li {
  324. background: @white;
  325. margin: 0;
  326. border-bottom: 1px dotted @default-border-color;
  327. &:last-child {
  328. border-bottom: 0 none;
  329. }
  330. a {
  331. display: block;
  332. padding: 10px;
  333. color: @baseFontcolor!important;
  334. .btn {
  335. margin-left: 0!important;
  336. padding: 4px 10px!important;
  337. }
  338. &:hover {
  339. text-decoration: none!important;
  340. background-color: inherit;
  341. }
  342. }
  343. a, p {
  344. font-size: @baseFontSize!important;
  345. }
  346. }
  347. .dropdown-footer {
  348. border-bottom: 0 none;
  349. display: block;
  350. text-align: center;
  351. & a:after {
  352. content: "\f101";
  353. margin-left: 4px;
  354. font-family: FontAwesome;
  355. font-style: normal;
  356. font-weight: 400;
  357. }
  358. }
  359. p {
  360. margin: 0 0 0 10px;
  361. &.small {
  362. color:@gray-light;
  363. margin-top: 3px;
  364. font-size: 85%;
  365. }
  366. }
  367. }
  368. .dropdown-scroll li a, .dropdown-scroll li a:hover, .dropdown-tasks li a:hover {
  369. color: @baseFontcolor;
  370. }
  371. .lang-btn {
  372. .btn {
  373. display: flex;
  374. align-items: center;
  375. font-size: @baseFontSize + 2;
  376. font-weight: 500;
  377. border: 0 none;
  378. outline:0 none !important;
  379. box-shadow: none!important;
  380. .iti-flag {
  381. margin-right: 4px;
  382. }
  383. }
  384. }
  385. .nocaret {
  386. a {
  387. &:after {
  388. display: none;
  389. }
  390. }
  391. }
  392. .navbar-header {
  393. .secondary-menu-mobile {
  394. display: flex;
  395. justify-content: flex-end;
  396. align-items: center;
  397. @media (min-width: 992px) {
  398. display: none;
  399. }
  400. &.nav {
  401. li {
  402. position: relative;
  403. a {
  404. color: @baseFontcolor;
  405. .badge {
  406. position: absolute;
  407. top: -7px;
  408. right: -10px;
  409. }
  410. }
  411. &.user_icon {
  412. .dropdown-menu {
  413. margin-top: 0;
  414. }
  415. .nav-link {
  416. display: flex;
  417. align-items: center;
  418. justify-content: center;
  419. [class*="fa-"] {
  420. margin-right: -4px;
  421. }
  422. }
  423. }
  424. }
  425. .dropdown-toggle {
  426. font-size: @baseFontSize + 2;
  427. color: @baseFontcolor;
  428. font-weight: 500;
  429. &:hover, &:focus, &:active, &.active {
  430. background-color: transparent;
  431. }
  432. }
  433. .show>a, .show>a:focus, .show>a:hover {
  434. background-color: transparent;
  435. }
  436. .dropdown-menu {
  437. margin-top: 6px;
  438. right: 0!important;
  439. left: auto!important;
  440. float: right!important;
  441. padding: 0;
  442. > li > a:hover,
  443. > li > a:focus,
  444. > .active > a,
  445. > .active > a:hover,
  446. > .active > a:focus,
  447. > .show > a,
  448. > .show > a:hover,
  449. > .show > a:focus {
  450. color: @white;
  451. background-color: @themeColor;
  452. }
  453. li {
  454. float: none;
  455. a {
  456. font-size: @baseFontSize;
  457. font-weight: 400;
  458. padding: 7.5px 15px;
  459. }
  460. &.nav-divider {
  461. display: none;
  462. }
  463. }
  464. }
  465. }
  466. }
  467. .top {
  468. padding: 0 15px;
  469. @media (max-width: 991px) {
  470. display: flex;
  471. align-items:center;
  472. min-height: 56px;
  473. }
  474. }
  475. }
  476. .tooltip-inner {
  477. margin-left: -200px;
  478. min-width: 250px;
  479. width: 250px;
  480. }
  481. @media (max-width: 633px) {
  482. .navbar-header {
  483. .top {
  484. display: flex;
  485. justify-content: center;
  486. align-items: center;
  487. }
  488. }
  489. }
  490. @media (min-width: 992px) {
  491. &.navbar-fixed-top {
  492. .pre-header {
  493. display: none;
  494. }
  495. }
  496. .navbar-nav {
  497. float: none!important;
  498. display: flex!important;
  499. flex-direction: row;
  500. justify-content: center!important;
  501. align-items: center;
  502. }
  503. }
  504. &.primary, &.dark {
  505. background-color: @themeColor;
  506. .navbar-nav {
  507. li {
  508. a {
  509. color: @navbarDarklink;
  510. &:hover, &:focus, &:active, &.active {
  511. background-color: transparent;
  512. }
  513. .badge {
  514. background-color: @navbarDarklink!important;
  515. color: @baseFontcolor;
  516. }
  517. }
  518. &.show {
  519. a {
  520. &.dropdown-toggle {
  521. background-color: transparent;
  522. color: @navbarDarklink;
  523. &:hover, &:focus, &:active, &.active {
  524. background-color: transparent;
  525. color: @navbarDarklink-hover;
  526. }
  527. }
  528. }
  529. }
  530. &.Secondary_Navbar-Account {
  531. &.user_icon {
  532. .nav-link {
  533. img, [class*="fa-"] {
  534. border: 2px solid rgba(255,255,255,0.2);
  535. }
  536. }
  537. }
  538. }
  539. }
  540. }
  541. .lang-btn {
  542. .btn {
  543. color: @navbarDarklink;
  544. }
  545. }
  546. .tswicther[type=checkbox] + span {
  547. color: @navbarDarklink;
  548. }
  549. .navbar-header {
  550. .secondary-menu-mobile {
  551. &.nav {
  552. .dropdown-toggle {
  553. background-color: transparent;
  554. color: @navbarDarklink;
  555. &:hover, &:focus, &:active, &.active {
  556. background-color: transparent;
  557. }
  558. .badge {
  559. background-color: @navbarDarklink!important;
  560. color: @baseFontcolor;
  561. }
  562. }
  563. .Secondary_Navbar-Account {
  564. &.user_icon {
  565. .nav-link {
  566. img, [class*="fa-"] {
  567. border: 2px solid rgba(255,255,255,0.2);
  568. }
  569. }
  570. }
  571. }
  572. }
  573. }
  574. }
  575. .navbar-header {
  576. .logo-section {
  577. .navbar-toggler {
  578. span {
  579. color: @navbarDarklink;
  580. }
  581. }
  582. .logo {
  583. color: @navbarDarklink;
  584. }
  585. }
  586. }
  587. .logo-light {
  588. display: none;
  589. }
  590. .logo-dark {
  591. display: block;
  592. }
  593. }
  594. &.dark {
  595. .navbar-nav {
  596. li {
  597. ul.dropdown-menu, &.show ul.dropdown-menu {
  598. li {
  599. a {
  600. &:hover, &:focus {
  601. background-color: @gray-darker;
  602. }
  603. }
  604. }
  605. }
  606. }
  607. }
  608. .navbar-header {
  609. .secondary-menu-mobile {
  610. .dropdown-menu {
  611. > li > a:hover,
  612. > li > a:focus,
  613. > .active > a,
  614. > .active > a:hover,
  615. > .active > a:focus,
  616. > .show > a,
  617. > .show > a:hover,
  618. > .show > a:focus {
  619. color: @white;
  620. background-color: @gray-darker;
  621. }
  622. }
  623. }
  624. }
  625. .mega-menu {
  626. p, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  627. color: @baseFontcolor;
  628. }
  629. }
  630. }
  631. &.submenu1 {
  632. .navbar-nav {
  633. li {
  634. ul.dropdown-menu, &.show ul.dropdown-menu {
  635. background-color: @themeColor;
  636. li {
  637. a {
  638. color: @navbarDarklink;
  639. &:hover, &:focus {
  640. background-color: transparent;
  641. text-decoration: underline;
  642. }
  643. }
  644. }
  645. &:after {
  646. left: 8px;
  647. right: auto;
  648. top: -8px;
  649. width: 0;
  650. height: 0;
  651. z-index: 2;
  652. content: " ";
  653. display: block;
  654. position: absolute;
  655. border-bottom: 8px solid @themeColor;
  656. border-right: 8px solid transparent;
  657. border-left: 8px solid transparent;
  658. }
  659. }
  660. }
  661. &.navbar-right {
  662. li {
  663. ul.dropdown-menu, &.show ul.dropdown-menu {
  664. &:after {
  665. left: auto;
  666. right: 8px;
  667. }
  668. }
  669. }
  670. }
  671. .dropdown-tasks {
  672. .dropdown-header {
  673. background-color: @themeColor;
  674. color: @navbarDarklink;
  675. }
  676. }
  677. .dropdown-header {
  678. color: @navbarDarklink;
  679. }
  680. }
  681. .navbar-header {
  682. .secondary-menu-mobile {
  683. .dropdown-menu {
  684. background-color: @themeColor;
  685. > li > a {
  686. color: @navbarDarklink;
  687. }
  688. > li > a:hover,
  689. > li > a:focus,
  690. > .active > a,
  691. > .active > a:hover,
  692. > .active > a:focus,
  693. > .show > a,
  694. > .show > a:hover,
  695. > .show > a:focus {
  696. color: @navbarDarklink;
  697. background-color: transparent;
  698. text-decoration: underline;
  699. }
  700. &:after {
  701. left: auto;
  702. right: 8px;
  703. top: -8px;
  704. width: 0;
  705. height: 0;
  706. z-index: 2;
  707. content: " ";
  708. display: block;
  709. position: absolute;
  710. border-bottom: 8px solid @themeColor;
  711. border-right: 8px solid transparent;
  712. border-left: 8px solid transparent;
  713. }
  714. }
  715. .dropdown-header {
  716. color: @navbarDarklink;
  717. }
  718. }
  719. }
  720. }
  721. &.submenu2 {
  722. .navbar-nav {
  723. li {
  724. ul.dropdown-menu, &.show ul.dropdown-menu {
  725. background-color: @gray-darker;
  726. li {
  727. a {
  728. color: @navbarDarklink;
  729. &:hover, &:focus {
  730. background-color: transparent;
  731. text-decoration: underline;
  732. }
  733. }
  734. }
  735. &:after {
  736. left: 8px;
  737. right: auto;
  738. top: -8px;
  739. width: 0;
  740. height: 0;
  741. z-index: 2;
  742. content: " ";
  743. display: block;
  744. position: absolute;
  745. border-bottom: 8px solid @gray-darker;
  746. border-right: 8px solid transparent;
  747. border-left: 8px solid transparent;
  748. }
  749. }
  750. }
  751. &.navbar-right {
  752. li {
  753. ul.dropdown-menu, &.show ul.dropdown-menu {
  754. &:after {
  755. left: auto;
  756. right: 8px;
  757. }
  758. }
  759. }
  760. }
  761. .dropdown-tasks {
  762. .dropdown-header {
  763. background-color: @gray-darker;
  764. color: @navbarDarklink;
  765. }
  766. }
  767. .dropdown-header {
  768. color: @navbarDarklink;
  769. }
  770. }
  771. .navbar-header {
  772. .secondary-menu-mobile {
  773. .dropdown-menu {
  774. background-color: @gray-darker;
  775. > li > a {
  776. color: @navbarDarklink;
  777. }
  778. > li > a:hover,
  779. > li > a:focus,
  780. > .active > a,
  781. > .active > a:hover,
  782. > .active > a:focus,
  783. > .show > a,
  784. > .show > a:hover,
  785. > .show > a:focus {
  786. color: @navbarDarklink;
  787. background-color: transparent;
  788. text-decoration: underline;
  789. }
  790. &:after {
  791. left: auto;
  792. right: 8px;
  793. top: -8px;
  794. width: 0;
  795. height: 0;
  796. z-index: 2;
  797. content: " ";
  798. display: block;
  799. position: absolute;
  800. border-bottom: 8px solid @gray-darker;
  801. border-right: 8px solid transparent;
  802. border-left: 8px solid transparent;
  803. }
  804. }
  805. .dropdown-header {
  806. color: @navbarDarklink;
  807. }
  808. }
  809. }
  810. }
  811. &.submenu1, &.submenu2 {
  812. h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, p, .html-item {
  813. color: @navbarDarklink;
  814. }
  815. .item-with-icons {
  816. .item-icon {
  817. color: @navbarDarklink;
  818. }
  819. .menu-name, .menu-name span {
  820. color: @navbarDarklink;
  821. }
  822. }
  823. .mega-menu {
  824. ul {
  825. li {
  826. a {
  827. &:hover, &:focus {
  828. color: @navbarDarklink!important;
  829. }
  830. }
  831. }
  832. }
  833. }
  834. }
  835. //hover menu
  836. &.menu-hover {
  837. .navbar-nav {
  838. li {
  839. @media (min-width: 992px) {
  840. &:hover, &:focus {
  841. ul.dropdown-menu {
  842. transform: translateY(0);
  843. opacity: 1;
  844. visibility: visible; //enable this for auto open
  845. }
  846. }
  847. }
  848. }
  849. }
  850. }
  851. }
  852. section#header {
  853. padding: 0;
  854. }
  855. .pre-header {
  856. background-color: @gray-darker;
  857. padding: 7.5px 0;
  858. color: @white;
  859. border-bottom: 1px solid transparent;
  860. width: 100%;
  861. .container {
  862. padding-top: 0!important;
  863. padding-bottom: 0!important;
  864. display: block;
  865. }
  866. ul {
  867. margin: 0;
  868. li {
  869. padding-right: 15px;
  870. border-right: 1px solid @default-border-color;
  871. &:first-child {
  872. padding-left: 0;
  873. }
  874. &:last-child {
  875. border-right: 0 none;
  876. padding-right: 0;
  877. }
  878. a {
  879. position: relative;
  880. color: @white;
  881. .badge {
  882. position: absolute;
  883. top: -7px;
  884. right: -10px;
  885. }
  886. &:hover, &:focus, &.active, &:active {
  887. text-decoration: none;
  888. }
  889. }
  890. &.lang-btn {
  891. padding-left: 5px;
  892. .btn {
  893. display: flex;
  894. align-items: center;
  895. background-color: transparent!important;
  896. color: @white;
  897. font-size: @baseFontSize + 1;
  898. font-weight: normal;
  899. border: 0 none;
  900. padding: 0;
  901. .iti-flag {
  902. margin-right: 4px;
  903. }
  904. }
  905. }
  906. &.nocaret {
  907. .dropdown-toggle {
  908. &:after {
  909. display: none;
  910. }
  911. }
  912. }
  913. &#taskScroll {
  914. padding: 0;
  915. ul {
  916. li {
  917. padding: 0;
  918. }
  919. }
  920. }
  921. }
  922. }
  923. &.primary {
  924. background-color: @themeColor;
  925. li {
  926. a {
  927. .badge {
  928. background-color: @navbarDarklink!important;
  929. color: @baseFontcolor;
  930. }
  931. }
  932. }
  933. }
  934. &.light {
  935. background-color:@gray-lighter;
  936. border-bottom: 1px solid @default-border-color;
  937. li {
  938. a {
  939. color: @baseFontcolor;
  940. }
  941. &.lang-btn {
  942. .btn {
  943. color: @baseFontcolor;
  944. }
  945. }
  946. }
  947. }
  948. }
  949. @media (max-width: 389px) {
  950. .@{brand}-navbar .navbar-header .logo-section .navbar-toggler {
  951. margin:0 4px 0 10px;
  952. }
  953. .@{brand}-navbar .navbar-header .top {
  954. padding: 4px 10px 4px 4px;
  955. }
  956. .@{brand}-navbar .navbar-right .dropdown:not(last-child) .dropdown-toggle,
  957. .@{brand}-navbar .secondary-menu-mobile .dropdown:not(last-child) .dropdown-toggle,
  958. .@{brand}-navbar .navbar-right .lang-btn:not(last-child) .dropdown-toggle,
  959. .@{brand}-navbar .secondary-menu-mobile .lang-btn:not(last-child) .dropdown-toggle,
  960. .@{brand}-navbar .navbar-right .dropdown:not(last-child) .btn,
  961. .@{brand}-navbar .secondary-menu-mobile .dropdown:not(last-child) .btn,
  962. .@{brand}-navbar .navbar-right .lang-btn:not(last-child) .btn,
  963. .@{brand}-navbar .secondary-menu-mobile .lang-btn:not(last-child) .btn,
  964. .@{brand}-navbar .navbar-right .dropdown:not(last-child) .nav-link,
  965. .@{brand}-navbar .secondary-menu-mobile .dropdown:not(last-child) .nav-link,
  966. .@{brand}-navbar .navbar-right .lang-btn:not(last-child) .nav-link,
  967. .@{brand}-navbar .secondary-menu-mobile .lang-btn:not(last-child) .nav-link {
  968. margin-left: 0.5rem;
  969. }
  970. .pre-header {
  971. [class*="col-"] {
  972. &:first-child {
  973. padding-left: 10px;
  974. padding-right: 0;
  975. }
  976. &:last-child {
  977. padding-left: 0;
  978. padding-right: 10px;
  979. }
  980. }
  981. }
  982. }