forked from activeadmin/activeadmin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better description for customizing styles
- Loading branch information
1 parent
ecb9ade
commit 497281b
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
13 changes: 10 additions & 3 deletions
13
lib/generators/active_admin/assets/templates/3.1/active_admin.css.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
// Active Admin CSS Styles | ||
// Variable overrides must be declared before loading up Active Admin's styles. The variables in | ||
// question are defined in the gem at /app/assets/stylesheets/active_admin/mixins/_variables.css.scss | ||
// For example, to change the sidebar width: | ||
// $sidebar-width: 242px; | ||
|
||
// Active Admin's got SASS! | ||
@import "active_admin/mixins"; | ||
@import "active_admin/base"; | ||
|
||
// To customize the Active Admin interfaces, add your | ||
// styles here: | ||
// Overriding any non-variable SASS must be done after the fact. | ||
// For example, to change the default status-tag color: | ||
// .status { & { background: #6090DB;} } | ||
|