navs.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // Misago Navigations
  2. // -------------------------
  3. .header-tabbed {
  4. border-bottom: none;
  5. padding-bottom: 0px;
  6. margin-bottom: 0px;
  7. .nav-tabs li {
  8. a:link, a:active, a:visited {
  9. .opacity(60);
  10. color: @textColor;
  11. font-weight: bold;
  12. }
  13. i {
  14. margin-right: 4px;
  15. }
  16. &.active a:link, &.active a:active,
  17. &.active a:visited, &.active a:hover {
  18. background-color: @bodyBackground;
  19. i {
  20. background-image: url("@{iconSpritePath}");
  21. }
  22. }
  23. &.active a:link, &.active a:active,
  24. &.active a:visited, &.active a:hover, a:hover {
  25. .opacity(100);
  26. }
  27. &.fallback {
  28. float:right;
  29. a:link, a:active,
  30. a:visited, a:hover {
  31. border-bottom: none;
  32. .border-radius(3px);
  33. margin-top: 4px;
  34. padding: 4px 12px;
  35. }
  36. }
  37. }
  38. }
  39. // Tabs on left
  40. .tabs-left {
  41. background-color: darken(@bodyBackground, 2%);
  42. .border-radius(3px 0px 0px 3px);
  43. padding-left: 8px;
  44. ul {
  45. margin-bottom: 0px;
  46. width: 100%;
  47. li {
  48. &.nav-header {
  49. font-size: 100%;
  50. }
  51. a, a:link, a:active, a:visited {
  52. .opacity(80);
  53. font-weight: bold;
  54. }
  55. a:hover {
  56. .opacity(90);
  57. }
  58. &.active {
  59. a, a:link, a:active,
  60. a:visited, a:hover {
  61. background-color: @bodyBackground;
  62. .opacity(100);
  63. color: @black;
  64. i {
  65. background-image: url("@{iconSpritePath}");
  66. }
  67. }
  68. }
  69. }
  70. li:first-child {
  71. padding-top: 12px;
  72. }
  73. }
  74. }