-
-
Save chriseppstein/95971 to your computer and use it in GitHub Desktop.
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 compass/utilities/general/inline_block.sass | |
.my-nav | |
.tabs | |
li | |
:border none | |
.tab_l, .tab_t, .tab_r | |
+inline-block | |
:background-repeat no-repeat | |
:height 35px | |
:color red | |
.tab_l, .tab_r | |
:color transparent | |
.tab_l | |
:background-position top left | |
:background-image url('/images/redesign/my/default-button-left-corner.gif') | |
.tab_t | |
:background-position top center | |
:background-image url('/images/redesign/my/green-default-button-stretch.gif') | |
:background-repeat repeat-x | |
:text-align center | |
a | |
:margin-top 7px | |
.tab_r | |
:background-position top right | |
:background-image url('/images/redesign/my/default-button-right-corner.gif') |
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
%li{:class => "#{my_tab.css.join ' ' unless my_tab.css.empty?}"} | |
%span.tab_l<> | |
%span.tab_t<>= link_to my_tab.title, my_tab.url | |
%span.tab_r<> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment