_base-extended.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Disable overflow x to mitigate the horizontal scrollbar while transiting between routes
  2. body {
  3. overflow-x: hidden;
  4. }
  5. // ------------------------------------------------
  6. // Vertical Menu
  7. // ------------------------------------------------
  8. .nav-item.has-sub {
  9. & & li svg {
  10. display: none;
  11. }
  12. }
  13. // Navbar Badge Position
  14. .header-navbar .navbar-container ul.navbar-nav li.dropdown-cart .badge.badge-up,
  15. .header-navbar .navbar-container ul.navbar-nav li.dropdown-notification .badge.badge-up {
  16. right: -9px;
  17. }
  18. // Scrollbar style for group which have scrollbar
  19. .horizontal-menu {
  20. .horizontal-menu-wrapper {
  21. .navbar-horizontal {
  22. ul.dropdown-menu {
  23. &::-webkit-scrollbar {
  24. width: 5px;
  25. height: 5px;
  26. }
  27. &::-webkit-scrollbar-thumb {
  28. background: $gray-500;
  29. border-radius: 20px;
  30. }
  31. &::-webkit-scrollbar-track {
  32. background: $gray-300;
  33. border-radius: 30px;
  34. }
  35. }
  36. }
  37. }
  38. }
  39. // Fix: Navbar color in dark horizontal layout
  40. .dark-layout {
  41. .horizontal-layout {
  42. &.navbar-sticky {
  43. .navbar.header-navbar {
  44. box-shadow: none;
  45. }
  46. }
  47. }
  48. }