navs.less 819 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // Navs Flavor
  3. // --------------------------------------------------
  4. .nav-side {
  5. .box-shadow(none);
  6. }
  7. .nav-side>.list-group-item {
  8. border-left: none;
  9. border-right: none;
  10. margin-bottom: 1px;
  11. &:first-child {
  12. border-top: none;
  13. }
  14. &:last-child {
  15. border-bottom: none;
  16. }
  17. &, &:link, &:visited {
  18. background: @side-nav-bg;
  19. border: none;
  20. color: @side-nav-color;
  21. }
  22. &:hover, &:focus, &:active {
  23. background: @side-nav-hover-bg;
  24. color: @side-nav-hover-color;
  25. }
  26. &.active {
  27. &, &:link, &:visited,
  28. &:hover, &:focus, &:active {
  29. background: @side-nav-active-bg;
  30. color: @side-nav-active-color;
  31. font-weight: bold;
  32. .badge {
  33. background: @list-group-active-color;
  34. color: @list-group-active-bg;
  35. }
  36. }
  37. }
  38. }