| 1 | // Sass variable overrides must be declared before loading up Active Admin's styles. |
| 2 | // |
| 3 | // To view the variables that Active Admin provides, take a look at |
| 4 | // `app/assets/stylesheets/active_admin/mixins/_variables.scss` in the |
| 5 | // Active Admin source. |
| 6 | // |
| 7 | // For example, to change the sidebar width: |
| 8 | // $sidebar-width: 242px; |
| 9 | |
| 10 | // Active Admin's got SASS! |
| 11 | @import "~@activeadmin/activeadmin/src/scss/mixins"; |
| 12 | @import "~@activeadmin/activeadmin/src/scss/base"; |
| 13 | |
| 14 | // Overriding any non-variable Sass must be done after the fact. |
| 15 | // For example, to change the default status-tag color: |
| 16 | // |
| 17 | // .status_tag { background: #6090DB; } |
| 18 | |
| 19 | #index_table_artists .col-albums, |
| 20 | #index_table_albums .col-artists, |
| 21 | #index_table_albums .col-songs, |
| 22 | #index_table_songs .col-album { |
| 23 | min-width: 170px; |
| 24 | max-width: 200px; |
| 25 | } |
| 26 | #index_table_songs .col-lyrics { |
| 27 | width: 70px; |
| 28 | } |
| 29 | |
| 30 | p.chord { |
| 31 | margin-bottom: 0; |
| 32 | font-size: 110%; |
| 33 | font-weight: bold; |
| 34 | color: blue; |
| 35 | } |