Skip to content

Commit

Permalink
Merge pull request #4761 from pjackson28/fixcarousel
Browse files Browse the repository at this point in the history
Tabs: Removed top border on active tab link in carousels
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Mar 7, 2014
2 parents f199bf7 + 4b21988 commit 4599853
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plugins/tabs/tabs.scss
Expand Up @@ -98,6 +98,10 @@ $medGray: #ccc;
}
}

%tabs-carousel-border-top-none-padding-top-1 {
border-top: none;
padding-top: 10px;
}
/**
* Style 1 - Basic carousel style
*/
Expand All @@ -109,6 +113,9 @@ $medGray: #ccc;
li {
&.active, &:focus, &:hover {
top: 1px;
a {
@extend %tabs-carousel-border-top-none-padding-top-1;
}
}
}
}
Expand Down Expand Up @@ -154,6 +161,7 @@ $medGray: #ccc;
}
&.active {
a {
@extend %tabs-carousel-border-top-none-padding-top-1;
img {
/* Firefox 10+, Firefox on Android */
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
Expand Down

0 comments on commit 4599853

Please sign in to comment.