I'm trying to customize the styling of my rails app with bootstrap Less variables available here.
I am using the bootstrap Sass and I included all javascript css and fonts in my /vendor/assets
.
I followed Erik Minkel tutorial word for word or should I say code for code.
In assets/javascript/application.js
//= require jquery
//= require jquery.countdown
//= require bootstrap
//= require jquery_ujs
//= require tinymce-jquery
//= require jquery.turbolinks
//= require turbolinks
//= require masonry/jquery.masonry
//= require_tree .
And in assets/stylesheets/application.css
*= require_tree .
*= require 'masonry/transitions'
*= require jquery.countdown
*= require bootstrap
*= require_self
*/
For the customization I created a bootstrap_and_customization.css.scss
file in assets/stylesheet/
which looks like this:
@import url(http://fonts.googleapis.com/css?family=Lato:400,700);
$body-bg: #ecf0f1;
$font-family-sans-serif: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
$navbar-height: 45px;
$navbar-default-bg: white;
$navbar-default-brand-color: black;
$brand-primary: #c0392b;
$jumbotron-bg: white;
$link-color: #e74c3c;
@import 'bootstrap';
The code above worked fine when I didn't have the bootstrap assets into my vendor folder. After I included them, these styling stopped working.
The problem is that none of these styling work in my app and I can't figured out what's going wrong.