_tabs.scss 996 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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: $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: linear-gradient(to right, #ffd500 0%, #ff4400 99%, #ff4400 100%);
  47. }
  48. }
  49. &.active--panel {
  50. background: $panel-bg !important;
  51. }
  52. }