Created
July 1, 2011 22:11
-
-
Save rdj/1059513 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // app/assets/stylesheets/active_admin.css.scss.erb | |
| // Don't forget to add the .erb extension (active_admin:install doesn't) | |
| // Active Admin CSS Styles | |
| @import "active_admin/mixins"; | |
| @import "active_admin/base"; | |
| // To customize the Active Admin interfaces, add your | |
| // styles here: | |
| table { | |
| th { | |
| &.sortable a { | |
| background-image: url( <%= image_path( 'active_admin/orderable.png' ) %>); | |
| } | |
| } | |
| } | |
| #header { | |
| ul#tabs { | |
| & > li { | |
| &.has_nested > a { | |
| background-image: url( <%= image_path( 'active_admin/nested_menu_arrow.gif' ) %> ); | |
| } | |
| &.has_nested.current > a { | |
| background-image: url( <%= image_path( 'active_admin/nested_menu_arrow_dark.gif' ) %> ); | |
| } | |
| &.has_nested:hover > a { | |
| background-image: url( <%= image_path( 'active_admin/nested_menu_arrow_dark.gif' ) %> ); | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment