topTab.less 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .top-tab {
  2. .nav-tabs {
  3. background-color: #e1e1e1;
  4. border: 0;
  5. height: 32px;
  6. li {
  7. margin: 0;
  8. a {
  9. margin: 0;
  10. border: 0;
  11. padding: 6px 15px;
  12. border-radius: 0;
  13. vertical-align: middle;
  14. &:hover, &:focus {
  15. background: inherit;
  16. border: 0;
  17. }
  18. }
  19. &.active a {
  20. border: 0;
  21. background-color: #fff;
  22. &:hover, &:focus {
  23. border: 0;
  24. }
  25. }
  26. }
  27. }
  28. .tab-content {
  29. height: 60px;
  30. background-color: #fff;
  31. border-bottom: 1px solid #dbdbdb;
  32. }
  33. .tab-pane {
  34. font-size: 0;
  35. }
  36. }
  37. .km-btn-group {
  38. display: inline-block;
  39. margin: 5px 0;
  40. padding: 0 5px;
  41. vertical-align: middle;
  42. border-right: 1px dashed #eee;
  43. }
  44. .km-btn-item {
  45. display: inline-block;
  46. margin: 0 3px;
  47. font-size: 0;
  48. cursor: default;
  49. &[disabled] {
  50. opacity: 0.5;
  51. &:hover, &:active {
  52. background-color: #fff;
  53. }
  54. }
  55. .km-btn-icon {
  56. display: inline-block;
  57. background: url(images/icons.png) no-repeat;
  58. background-position: 0 20px;
  59. width: 20px;
  60. height: 20px;
  61. padding: 2px;
  62. margin: 1px;
  63. vertical-align: middle;
  64. }
  65. .km-btn-caption {
  66. display: inline-block;
  67. font-size: 12px;
  68. vertical-align: middle;
  69. }
  70. &:hover {background-color: @button-hover;}
  71. &:active {background-color: @button-active;}
  72. }