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
1 answer

How does gem 'bootstrap-sass' work?

I use bootstrap-sass gem in my Rails 4 projects. Now, I want to customize my application appearance. I have already looked at its Github page, other threads on the Stack Overflow and many other sites but could not find as answer. So I have the…
fade2black
  • 546
  • 1
  • 10
  • 26
1
vote
1 answer

Bootstrap3 and simple form

The following command integrates simple_form with twitter-bootstrap $ rails g simple_form:install --bootstrap identical config/initializers/simple_form.rb create config/initializers/simple_form_bootstrap.rb exist config/locales …
1
vote
1 answer

Rails 4.1 bootstrap-sass cannot find fonts

I started a new rails project with bootstrap-sass in the Gemfile. Ran the following: bundle install In my assets/stylesheets/application.css.scss @import "bootstrap"; Started rails server In browser, the link localhost:3000 shows Showing…
Need A Hand
  • 577
  • 1
  • 6
  • 17
1
vote
3 answers

Trouble Installing Bootstrap on Rails

I am trying to install Bootstrap on Rails but can't seem to get it installed. I have ran bundle install , bundle update and rails server but just can't seem to get it to work. Here is the error code: File to import not found or unreadable:…
1
vote
1 answer

Bootstrap SASS Install

I am keen to use the new Bootstrap SASS however I have noticed that a precision value has to be added to continue. I am aware of this bug and how it benefits the project. However I am unsure how to build this into my project, the Bootstrap Docs are…
Neil
  • 971
  • 2
  • 12
  • 33
1
vote
0 answers

Undefined variables bootstrap for viewports

I'm trying to get set padding depending on if the viewport is lg or md in bootstrap my code is: @media (min-width: $screen-lg-min) { #logo-text { padding-top: 1.3em; } } @media (max-width:…
MikaAK
  • 2,334
  • 6
  • 26
  • 53
1
vote
1 answer

How to add a bootstrap class to JHtml in Joomla

I am using following piece of code to display an image which I am fetching from gravatar.com, so I want to use a bootstrap CSS class to make it more attractive. As soon as I add the style rather than showing the image it shows me the link to the…
1
vote
2 answers

Bootstrap Sass with Rails 4

I'm trying to use bootstrap-sass (3.1.0.2) and sass-rails (4.0.1) in my rails (4.0.0) project. My application.css.scss file looks like this: /* * This is a manifest file that'll be compiled into application.css, which will include all the files *…
Mel
  • 2,481
  • 26
  • 113
  • 273
1
vote
1 answer

Sass can't find bootstrap file from bootstrap-sass gem

I've got a fresh rails application, and I'm trying to use the bootstrap-sass gem. When I add @import "bootstrap"; in a .scss file in my app/assets/stylesheets folder, I get this SASS compilation error: (Line 1: File to import not found or…
HolidayTrousers
  • 235
  • 1
  • 2
  • 9
1
vote
2 answers

RoR & Twitter Bootstrap 3 - cols, no matter the dimension always appear in new row

I am following Michael Hartl's Ruby on Rails tutorial currently but decided to work with the newest Twitter Bootstrap 3. I am just experimenting around with the grid system but I can't seem to get the cols, no matter if it is col-sx-, col-sm-,…
Aventuris
  • 630
  • 5
  • 21
1
vote
1 answer

Adding Bootstrap-sass on a Middleman template

I have added Twitter bootstrap-sass on my current Middleman template. https://github.com/twbs/bootstrap-sass All the CSS and stuffs are working well except for adding bootstrap javascripts. I added this code on my layout.haml file = require…
1
vote
0 answers

Rails carrierwave + jcrop + bootstrap

I'm using Rails 4 with gems mini_magick, carrierwave, jcrop-rails-v2 and bootstrap-sass. I have a picture upload that crops the image after save it but i need to crop it before save on a bootstrap modal. Found this tutorial:…
William Weckl
  • 2,435
  • 4
  • 26
  • 43
1
vote
1 answer

Bootstrap-sass gem: How to selectively just take the CSS components that you need?

We're using this gem to integrate Bootstrap in our Rails app. I've been looking to cut some css components that we don't need, an example of which is the Glyphicons. I'm just having some trouble understanding this piece of code in the README: You…
Daryll Santos
  • 2,031
  • 3
  • 22
  • 40
1
vote
0 answers

Rails bootstrap-sass load order

I've been beating myself up over this and tried different combinations and need help seeing through what I'm unable. I transitioned to using bootstrap-sass for my simple rails 3.2.14 app, ruby 1.9.3, so that it can run on a PPC machine. I reviewed…
sam452
  • 1,281
  • 3
  • 20
  • 33
1
vote
0 answers

Bootstrap-sass gem not loading

Ran into an interesting problem and wondered if anyone else has as well. I'm doing a Rails tutorial and part of the setup is installing the bootstrap-sass gem. The tutorial recommends for installing bootstrap, to rename the existing application.css…
Jared Rader
  • 850
  • 6
  • 21