Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

CSS in application.css ignored #392

Closed
sepastian opened this Issue · 1 comment

2 participants

@sepastian

Hello,

I would like to use CSS to add a border to .actions a, so I add do:

// app/assets/stylesheets/application.css
.actions a {
    border: 1px solid #bebebe;
}

After precompiling my assets, public/assets/application.css contains my CSS. However, typus will never load that file.

I do not want to do rails g typus:views just to be able to overwrite some CSS. How can I tell typus to include my custom CSS?

(I also found #270, but it didn't say/help much.)

@sepastian

After browsing the source, I found how this can be done:

app/assets/stylesheets/typus/custom.css

Will update the documentation and submit a pull-request.

@sepastian sepastian referenced this issue from a commit in sepastian/typus
@sepastian sepastian #392: CSS in application.css ignored.
Updating documentation to explain how to implement custom.css (and custom.js).
dae9c9a
@fesplugas fesplugas closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.