Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Fix tab styles #261

Merged
merged 2 commits into from
Dec 8, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/templates/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h3>Sass Variables</h3>

$tab-title-background: #f4f4f4;
$tab-title-background-hover: smartscale($tab-title-background, 5%);
$tab-title-background-active: #fff;
$tab-title-background-active: smartscale($tab-title-background, 3%);
$tab-title-color: isitlight($tab-title-background);
$tab-title-color-active: $tab-title-color;

Expand Down
2 changes: 1 addition & 1 deletion scss/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ $include-css: (

// $tab-title-background: $gray-light;
// $tab-title-background-hover: smartscale($tab-title-background, 5%);
// $tab-title-background-active: lighten($gray-light, 2);
// $tab-title-background-active: smartscale($tab-title-background, 3%);
// $tab-title-color: isitlight($tab-title-background);
// $tab-title-color-active: $tab-title-color;

Expand Down
4 changes: 2 additions & 2 deletions scss/components/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $tabstrip-background: transparent !default;

$tab-title-background: $gray-light !default;
$tab-title-background-hover: smartscale($tab-title-background, 5%) !default;
$tab-title-background-active: lighten($gray-light, 2) !default;
$tab-title-background-active: smartscale($tab-title-background, 3%) !default;
$tab-title-color: isitlight($tab-title-background) !default;
$tab-title-color-active: $tab-title-color !default;

Expand Down Expand Up @@ -53,7 +53,7 @@ $tab-content-padding: $global-padding !default;
color: $color-active;

&:hover {
background: $background-active;
background: $background-hover;
}
}
&:hover {
Expand Down