Questions tagged [bootstrap-sass]

A Sass-powered version of Bootstrap, ready to drop right into your Sass powered applications.

Overview

Bootstrap Sass is a Sass-powered version of Bootstrap, ready to drop right into your Sass powered applications.

Installation

You can install it in a project using:

Usage

Import Bootstrap Sass into a Sass file to get all styles, variables and mixins :

@import "bootstrap";

You can also import components explicitly.

Links

Related tags




304 questions
1
vote
0 answers

Rails 4.1.7 bootstrap-sass fails to load with Undefined mixin 'border-radius'.

I upgraded from 3.2 to Rails 4.1.7 and I get the following error: Undefined mixin 'border-radius'. I can change my imports after bootstrap and get: Undefined variable: "$baseLineHeight". It looks to me like I am not loading my bootstrap mixins…
tbrooke
  • 2,137
  • 2
  • 17
  • 25
1
vote
1 answer

How do I make a sidebar?

I want to change the view for my blog. Everything is programmed and I am left with the front-end. I do not however understand styling and bootstrap completely. I want to change the view so that there is a sidebar that displays the archives, tags and…
codigomonstruo
  • 1,081
  • 1
  • 11
  • 45
1
vote
1 answer

Trouble installing bootstrap-sass 3.2 on a rails 4.1.0

I am trying to install the bootstrap-sass gem. I am using RubyMine as an IDE and rails 4.1.0. My gem file looks like: source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.1.0' gem…
ohhh
  • 972
  • 9
  • 24
1
vote
0 answers

glyphicons don't working on compass-sass 3

I'm trying the glyphicons to show up on my local view, but nothing at all.\ I've change the path on _bootstrap-variables.scss to ../fonts/bootstrap/ also tried the @import "bootstrap-sprockets"; on my styles.css but nothing at all, someone please…
Gustavo Duenas
  • 155
  • 1
  • 3
  • 9
1
vote
1 answer

Change navbar bg color using bootstrap sass variables

Is $navbar-default-bg used anywhere? I changed its value and I don't see any change in navbar background color. Also, I did $ grep -nr "navbar-default-bg" . ./sass/_bootstrap-variables.scss:342:$navbar-default-bg: …
GhitaB
  • 3,275
  • 3
  • 33
  • 62
1
vote
1 answer

Right to Left support for bootstrap-sass

I've downloaded bootstrap-rtl from https://github.com/morteza/bootstrap-rtl in order to add Right to Left support for bootstrap. I put the bootstrap-rtl.css file in app/assets/stylesheets directory, but some of the styles are not applied. for…
1
vote
1 answer

Sprockets::FileNotFound: couldn't find file 'bootstrap' - precompile

I'm trying to deploy to Dokku running on a Digital Ocean droplet. When Dokku tries to compile the assets - it fails with the above error. I figured it might be a Dokku thing (coming from heroku where it works) so tried to run rake assets:precompile…
settheline
  • 3,333
  • 8
  • 33
  • 65
1
vote
0 answers

Bootstrap columns stopped working, no changes made and no errors

This is the first time I am asking a question on here so pardon me if I don't format this correctly. I've been working with rails for the past month, so it's still relatively new for me. So far I've been able to find an answer to every question, but…
1
vote
1 answer

Tooltip component doesn't work with Simple Form and Bootstrap

I followed these instructions carefully: https://github.com/plataformatec/simple_form/wiki/Bootstrap-component-helpers But the issue I keep getting is whenever my page loads, I get this JS error in my browser console: Uncaught TypeError: undefined…
1
vote
1 answer

Rails 4 - how to load print style sheet last with bootstrap-sass

I have a rails app at 4.1.5. There are some score sheet pages which need printing and which need to printed at an exact font size and td border thickness (thin). I am using the bootstrap-sass gem. I have just updated my code to bootstrap 3 and now…
markhorrocks
  • 1,199
  • 19
  • 82
  • 151
1
vote
1 answer

Are two copies of bootstrap.css supposed to be generated by Compass when using bootstrap-sass?

I am trying to set up a ruby web project using sinatra (1.4.5), slim (2.0.3), sass (3.4.0) and bootstrap-sass (3.2.0.1) gems. Since I am using Sass, I decided to try out the compass (1.0.1) gem to automatically generate .css from my .scss files. I…
Pedro Cattori
  • 2,735
  • 1
  • 25
  • 43
1
vote
1 answer

How do I make a Bootstrap sass variable visible to another imported sass file?

I am using bootstrap-sass in a Rails application. So far, everything has worked fine, but I have just tried to import another third-party sass file that uses bootstrap variables and it cannot see them. In my application.css.scss *= require…
starfry
  • 9,273
  • 7
  • 66
  • 96
1
vote
1 answer

How to configure Cakephp and Bootstrap-sass?

I'm new to Cakephp and I have been developing a website for my client. I'm not satisfied with the look of the website and I've been trying to figure out how to use Bootstrap with Cakephp. I have been introduced to Sass and it seems like this is a…
1
vote
0 answers

How can i use bootstrap theme styles in rails?

I have a requirement where i need to use bootstrap theme into my rails project and there might be a change in the theme at any time. So, i would like to know how i can make use of the styles and also make it in such a way that the new styles can be…
logesh
  • 2,572
  • 4
  • 33
  • 60
1
vote
2 answers

Include Bootstraps-sass gem into my rails app

I tried to use bootstrap-sass v.3.1.1.1 for my rails 4 app and its just not working as its supposed to and I cant find the solution! Maybe you can help me. My files are looking like this: /assets/stylesheets/application.css /* * This is a manifest…
Syk
  • 393
  • 4
  • 19