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
0
votes
2 answers

Bootstrap not routing CSS or JavaScript? No route matches [GET] "/css/bootstrap.css"

Rails 4.1.1 Ruby 2.0 Webrick Server I am trying to get bootstrap-sass working for the first time in development. I tried following the GitHub instructions, the Bootstrap website instructions and a couple of other videos that made it seem like I…
KevinW
  • 511
  • 1
  • 5
  • 14
0
votes
1 answer

bootstrap-sass not working when running rspec

I don't think I'm understanding how the Rails asset pipeline works. I'm building a rails engine that has a dependency on bootstrap-sass in its gemspec: #--------# # Assets # #--------# ##…
typeoneerror
  • 55,990
  • 32
  • 132
  • 223
0
votes
1 answer

IntelliJ IDEA: CSS class autocomplete in *.html.erb with Bootstrap

I have IntelliJ IDEA 13.1 with Ruby plugin installed. My Rails project is properly set up to use the bootstrap-sass gem and works fine in the browser. As per Rails convention I have a file (app/assets/stylesheets/custom.css.scss) which @imports…
dev
  • 1,648
  • 16
  • 25
0
votes
1 answer

How to update sass along with bootstrap-sass in my Rails app?

In Gemfile I had: gem 'bootstrap-sass', '~> 3.0.3.0' I have now changed it to the following, which is the latest version at the time of this writing: gem 'bootstrap-sass', '~> 3.1.1.1' Taking a look at both bootstrap-sass (3.0.3.0) and…
user664833
  • 18,397
  • 19
  • 91
  • 140
0
votes
2 answers

My Bootstrap works on bootply, but not on my Rails server

I'm trying to get the responsive navbar which disappears into a pulldown button on small screens. My attempt rolls up into a button on my browsers as expected (when the browser window is narrowed), but the button does not pull down. However, if…
0
votes
1 answer

Bootstrap-Saas: File to import not found or unreadable: bootstrap

I am getting the following error. According to my R&D i believe it is producing because of bootstrap-sass but how can i resolve it I have tried very hard but still unable to get something. ruby -v = 1.9.3 rails = 3.2.2 GemFile "bootstrap-sass",…
user3269780
  • 127
  • 1
  • 11
0
votes
1 answer

Bootstrap style is not applied correctly

I am using devise gem with bootstrap3. I have designed my page with form-horizontal and center aligned. But the style is not correctly applied here. What mistake I am doing here?
Sam
  • 5,040
  • 12
  • 43
  • 95
0
votes
1 answer

bootstrap heroku not showing

I am using gem 'bootstrap-sass' on heroku along with gem 'sass-rails', '~> 4.0.0' On my local server I can see my css changes but when I load to heroku, my custom css gets overwritten. For instance in my local server, I can clearly see the css file…
sreeprasad
  • 3,242
  • 3
  • 27
  • 33
0
votes
1 answer

bootstrap variables not available in rails

How do I get the @screen-sm @screen-md @screen-lg variables to work, and not give me errors? in rails using the bootstrap-sass gem? When I remove the @screen-sm @screen-md @screen-lg variables and replace them with pixel values, the errors in my…
ahnbizcad
  • 10,491
  • 9
  • 59
  • 85
0
votes
1 answer

Rails 4, Bootstrap and f.radio_button

I am creating a standard form in rails but I am using sass-bootstrap to present a more good-looking interface. My question extends to use of bootstrap labeling of a f.radio_button input. Below is the code I am using.
0
votes
0 answers

Rails 4 Bootstrap SASS - images

I am using Rails 4, with Bootstrap 3 (sass). I have the following files in my project: This css is in my framework_and_overrides.css.scss .jumbotron { margin-bottom: 0px; background-image: image-url("jumbotron.jpg"); background-color:…
Mel
  • 2,481
  • 26
  • 113
  • 273
0
votes
1 answer

Bootstrap-sass in Ruby on Rails 4 doesn't do anything

I'm following this tutorial, and from the moment it tells me to integrate bootstrap I'm lost. I don't know anything about bootstrap, so I can't really troubleshoot it. Nothing happens, the formatting continues to look like standard HTML without any…
0
votes
3 answers

ruby on rails tutorial chapter five - styling

I'm running through Michael Hartl's tutorial, and having reached the styling and layout chapter, seem to have got something wrong. Whereas in the tutorial, the site links are right aligned on a single line (like this…
dan
  • 1,030
  • 1
  • 9
  • 24
0
votes
1 answer

Bootstrap 3 Showing Wrong Breakpoints

I installed Twitter Bootstrap 3 using the bootstrap-sass gem, like I do on all my projects. However, on this project the breakpoints are being called incorrectly. I can't tell exactly what resolution it's rendering for my screen, but it's wrong. I…
0
votes
1 answer

can't add a stylesheet with sass to a rails project

I'm using the bootstrap-sass gem. With these instructions https://github.com/twbs/bootstrap-sass#usage Things work ok except when I want to add a new stylesheet. application.css.scss @import "bourbon"; @import "custom"; @import "users"; @import…
Harry Moreno
  • 10,231
  • 7
  • 64
  • 116