-
-
Save spadino/d50f28c0530db6a5f5b2 to your computer and use it in GitHub Desktop.
compass scss tab mixin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "colors"; | |
@import "buttons.scss"; | |
@import "compass/css3"; | |
@mixin tabs { | |
float: left; | |
width: 100%; | |
background: transparent; | |
margin: 0!important; | |
height: 43px; | |
li { | |
a { | |
padding: 15px 8px 15px 50px; | |
font-weight: 0; | |
color: #888; | |
color: $light-text; | |
} | |
a.active { | |
color: $darkest; | |
background: $lightest; | |
} | |
} | |
li.glossary a { | |
background: url("../images/vocabulary.png") no-repeat left; | |
} | |
li.overview a { | |
background: url("../images/discussion.png") no-repeat left; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment