_tabs.scss 965 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .gf-tabs {
  2. @include clearfix();
  3. float: left;
  4. position: relative;
  5. top: 1px;
  6. }
  7. .gf-tabs-item {
  8. float: left;
  9. list-style: none;
  10. }
  11. .gf-tabs-link {
  12. padding: $tabs-padding;
  13. margin-right: calc($spacer/2);
  14. position: relative;
  15. display: block;
  16. border: solid transparent;
  17. border-width: 0 1px 1px;
  18. border-radius: 3px 3px 0 0;
  19. color: $text-color;
  20. i {
  21. margin-right: 5px;
  22. }
  23. .gicon {
  24. position: relative;
  25. top: -2px;
  26. }
  27. &:hover,
  28. &:focus {
  29. color: $link-hover-color;
  30. }
  31. &.active,
  32. &.active:hover,
  33. &.active:focus {
  34. border-color: $orange $tab-border-color transparent;
  35. background: $page-bg;
  36. color: $link-color;
  37. overflow: hidden;
  38. &::before {
  39. display: block;
  40. content: ' ';
  41. position: absolute;
  42. left: 0;
  43. right: 0;
  44. height: 2px;
  45. top: 0;
  46. background-image: $brand-gradient-horizontal;
  47. }
  48. }
  49. &.active--panel {
  50. background: $panel-bg !important;
  51. }
  52. }