_tabs.scss 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. //color
  2. $tabbar-base-color: adjust-color($panel-base-color, $hue: 0deg, $saturation: -3.156%, $lightness: -5.294%) !default;
  3. $tabbar-background-gradient: 'tabbar' !default;
  4. //background
  5. $tab-base-color: adjust-color($base-color, $hue: 0deg, $saturation: 33.016%, $lightness: 9.02%) !default; //#deecfd
  6. $tab-base-color-over: adjust-color($tab-base-color, $hue: 0deg, $saturation: 11.429%, $lightness: 2.353%) !default;
  7. $tab-base-color-active: $tab-base-color !default;
  8. $tab-base-color-disabled: adjust-color($base-color, $hue: 0deg, $saturation: 15.873%, $lightness: 9.02%) !default; //E1ECFA
  9. $tab-background: $tab-base-color !default;
  10. $tab-background-over: $tab-base-color-over !default;
  11. $tab-background-active: $tab-base-color-active !default;
  12. $tab-background-disabled: $tab-base-color-disabled !default;
  13. $tab-color: adjust-color($tab-base-color, $hue: 0deg, $saturation: -45.589%, $lightness: -48.431%) !default;
  14. $tab-color-over: $tab-color !default;
  15. $tab-color-active: adjust-color($tab-color, $hue: 0deg, $saturation: 30.768%, $lightness: -13.333%) !default;
  16. $tab-color-disabled: #c3b3b3 !default;
  17. $tab-font-size: ceil($font-size * .9) !default; //11px
  18. $tab-font-size-over: $tab-font-size !default;
  19. $tab-font-size-active: $tab-font-size !default;
  20. $tab-font-size-disabled: $tab-font-size !default;
  21. $tab-font-family: $font-family !default;
  22. $tab-font-family-over: $tab-font-family !default;
  23. $tab-font-family-active: $tab-font-family !default;
  24. $tab-font-family-disabled: $tab-font-family !default;
  25. $tab-font-weight: bold !default;
  26. $tab-font-weight-over: $tab-font-weight !default;
  27. $tab-font-weight-active: $tab-font-weight !default;
  28. $tab-font-weight-disabled: $tab-font-weight !default;
  29. $tab-background-gradient: 'tab' !default;
  30. $tab-background-gradient-over: 'tab-over' !default;
  31. $tab-background-gradient-active: 'tab-active' !default;
  32. $tab-background-gradient-disabled: 'tab-disabled' !default;
  33. //borders
  34. $tab-inner-border: true !default;
  35. $tab-top-border-radius: 4px 4px 0 0 !default;
  36. $tab-top-border-width: 1px 1px 0 1px !default;
  37. $tab-top-inner-border-width: 1px 1px 0 !default;
  38. $tab-bottom-border-radius: 0 0 4px 4px !default;
  39. $tab-bottom-border-width: 0 1px 1px 1px !default;
  40. $tab-bottom-inner-border-width: 0 1px 1px 1px !default;
  41. $tab-border-color: adjust-color($tab-base-color, $hue:0deg, $saturation: -28.008%, $lightness: -20.98%) !default;
  42. $tab-border-color-over: $tab-border-color !default;
  43. $tab-border-color-active: $tab-border-color !default;
  44. $tab-border-color-disabled: adjust-color($base-color, $hue:0deg, $saturation: 6.349%, $lightness: -0.588%) !default;
  45. $tab-inner-border-color: adjust-color($tab-base-color, $hue: 0deg, $saturation: -8.571%, $lightness: 8.941%) !default;
  46. $tabbar-border-color: $panel-header-border-color !default;
  47. //size
  48. $tab-height: 20px !default;
  49. $tab-spacing: 2px !default;
  50. //tab bar body border and padding
  51. $tabbar-top-body-border-width: 1px 1px 0 !default;
  52. $tabbar-top-body-padding: 1px 0 3px !default;
  53. $tabbar-top-plain-body-border-width: 0 !default;
  54. $tabbar-top-plain-body-padding: 0 0 2px !default;
  55. $tabbar-bottom-body-border-width: 0 1px 1px !default;
  56. $tabbar-bottom-body-padding: 3px 0 1px !default;
  57. $tabbar-bottom-plain-body-border-width: 0 !default;
  58. $tabbar-bottom-plain-body-padding: 3px 0 0 !default;
  59. //closable tab
  60. $tab-closable-icon: 'tab/tab-default-close.gif' !default;
  61. $tab-closable-icon-width: 11px !default;
  62. $tab-closable-icon-height: 11px !default;
  63. $tab-closable-icon-top: 2px !default;
  64. $tab-closable-icon-right: 2px !default;
  65. $nbr-tab-closable-icon-top: 0px !default;
  66. $nbr-tab-closable-icon-right: 0px !default;
  67. //tab bar strip
  68. $tabbar-strip-height: 3px !default;
  69. $tabbar-strip-border-color: $panel-header-border-color !default;
  70. $tabbar-strip-background-color: $tab-base-color !default;
  71. $tabbar-top-strip-border-width: 1px 1px 0 !default;
  72. $tabbar-bottom-strip-border-width: 0 1px 1px !default;