_global.scss 911 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Global styles for both custom sidebar and topbar compoments
  2. .sidebar,
  3. .topbar {
  4. .nav-item {
  5. // Customize Dropdown Arrows for Navbar
  6. &.dropdown {
  7. .dropdown-toggle {
  8. &::after {
  9. width: 1rem;
  10. text-align: center;
  11. float: right;
  12. vertical-align: 0;
  13. border: 0;
  14. font-weight: 900;
  15. content: '\f105';
  16. font-family: 'Font Awesome 5 Free';
  17. }
  18. }
  19. &.show {
  20. .dropdown-toggle::after {
  21. content: '\f107';
  22. }
  23. }
  24. }
  25. // Counter for nav links and nav link image sizing
  26. .nav-link {
  27. position: relative;
  28. .badge-counter {
  29. position: absolute;
  30. transform: scale(0.7);
  31. transform-origin: top right;
  32. right: .25rem;
  33. margin-top: -.25rem;
  34. }
  35. .img-profile {
  36. height: 2rem;
  37. width: 2rem;
  38. }
  39. }
  40. }
  41. }