navs.less 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // Admin navs
  2. // -------------------------
  3. .tabs-header {
  4. border-bottom: none;
  5. padding-bottom: 0px;
  6. .nav-tabs {
  7. margin-bottom: 0px;
  8. }
  9. }
  10. .nav-tabs li {
  11. a:link, a:active, a:visited {
  12. font-weight: bold;
  13. }
  14. &.active a:link, &.active a:active,
  15. &.active a:visited, &.active a:hover {
  16. background-color: @bodyBackground;
  17. border-bottom: 4px solid @linkColor;
  18. border-width: 0px 0px 4px 0px;
  19. padding-top: (@baseLineHeight / 2) - 1px;
  20. padding-bottom: (@baseLineHeight / 2) - 5px;
  21. color: @textColor;
  22. }
  23. &.fallback {
  24. float:right;
  25. a:link, a:active,
  26. a:visited, a:hover {
  27. border-bottom: none;
  28. .border-radius(3px);
  29. margin-top: 4px;
  30. padding: 4px 12px;
  31. }
  32. }
  33. }
  34. // Tables lists actions
  35. td>ul.list-actions {
  36. list-style: none;
  37. margin: 0px;
  38. overflow: auto;
  39. padding: 0px;
  40. &>li {
  41. float: left;
  42. margin: 0px;
  43. padding: 0px;
  44. &>form {
  45. margin: 0px;
  46. padding: 0px;
  47. }
  48. &>a, &>form>button {
  49. background: none;
  50. border: none;
  51. .border-radius(3px);
  52. display: block;
  53. margin: 0px 3px;
  54. padding: 2px 5px;
  55. &:hover {
  56. background-color: @linkColor;
  57. i {
  58. background-image: url("@{iconWhiteSpritePath}");
  59. }
  60. }
  61. }
  62. }
  63. }