-
Notifications
You must be signed in to change notification settings - Fork 2
Styling qBrick
effkay edited this page Oct 24, 2014
·
2 revisions
Qbrick installs a sass file in assets/stylesheets/qbrick/cms/customizations.css.sass and a coffeescript file in assets/javascripts/qbrick/cms/customizations.js.coffee which are loaded by the backend layout. Those files can be installed by running rails generate qbrick:assets:install.
Make sure they are in the config.assets.precompile array in environments like production where you usually precompile the assets. The generator will only add the necessary configs for the production env!
By default, the text editor lets you add the following tags, for which you should supply some styles in your app:
p, h1, h2, h3, h4, table, a, strong, em