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

Cannot override Bootstrap variables in Rails 4

This is specific to Rails version 4. I have a fie "custom.css.scss" and am using the bootstrap class' of "navbar navbar-fixed-top navbar-inverse" followed by a div of navbar-inner and div container. No matter where I put the variables, either before…
tentimes
  • 1,462
  • 1
  • 11
  • 16
3
votes
1 answer

Bootstrap-Sass not working with Rails 4

i have recently tried using boostrap-sass following the steps from https://github.com/twbs/bootstrap-sass#sass - however there seemes to be an error when i try viewing my webpage on localhost. Here is the error message when i run rails server NOTE:…
3
votes
1 answer

ScrollSpy not activating in bootstrap 3

I am using the BootStrap Saas gem (https://github.com/thomas-mcdonald/bootstrap-sass) with Rails 4. I am trying to set up scrollspy, however I can not get the effect to work. I have done research and gone through Bootstrap 3 scrollspy strange…
3
votes
2 answers

Rails 4: Bootstrap-sass gem assets work on development but not on production

I have a rails app that I developed on my local machine using the gem bootstrap-sass. It all worked fine in development, but when I deployed my app to the production server the glyphicons stopped working. There's an error in the console that says: …
Mexxer
  • 1,699
  • 5
  • 27
  • 40
3
votes
2 answers

Error: File to import not found or unreadable: mycustom.scss. running: rake assets:precompile

I'm having the error described above. I've seen a lot of questions where the answer is "Restart the rails server". But this is not my case since this is not a rails server error. As my project is not working quite well in Heroku (dropdown not…
JGutierrezC
  • 4,398
  • 5
  • 25
  • 42
3
votes
3 answers

rails bootstrap-sass do i need to update bootstrap files?

I am using ROR with bootstrap-sass gem. It is quite strange, but I can't use some of stylings that are listed here: http://twitter.github.com/bootstrap/components.html#labels-badges I thought it is because of my not actual bootstrap-sass gem - it…
Michal
  • 459
  • 2
  • 7
  • 25
3
votes
1 answer

bootstrap-sass vs pure twitter bootstrap

I know that Twitter Bootstrap may be customized while downloading it from Bootstrap website. How about bootstrap-sass gem - does it always include all the features?
Paul
  • 25,812
  • 38
  • 124
  • 247
3
votes
1 answer

Using bootstrap-sass gem with javascript from Twitter

I am trying to implement the tooltip functionality as shown here: http://twitter.github.com/bootstrap/javascript.html#tooltips using the Bootstrap-sass gem for Ruby on Rails 3. I have done the following below but it doesn't work (text doesn't appear…
3
votes
2 answers

Responsive Twitter bootstrap : and navbar right padding/margin appears when width is < 767/768px

When I resize the windows below 767/768 px width, the body and navbar get a strange right margin/padding (20px each ; which does a total of 40 white pixels at the right side of the navbar). I can't find if it is a BS normal behavior or if I did…
Habax
  • 1,274
  • 17
  • 26
2
votes
0 answers

Grunt compass:dist task failing due to Invalid CSS in bootstrap-sass-official/assets/stylesheets/bootstrap/_variables.scss

grunt build is failing by yielding following error: error app/styles/directive.scss (Line 369 of bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_variables.scss: Invalid CSS after "... floor(math": expected ")",…
2
votes
1 answer

Overriding isolated css in blazor component library by consuming application

I have set up a blazor component library that defines several blazor components + isolated CSS files. These css files are transpiled from sass files in which I specify the bootstrap grid system using bootstrap's mixins, e.g. @include…
Tom
  • 332
  • 2
  • 13
2
votes
1 answer

Why am I getting this error in my rails solidus app after installing bootstrap?

I am trying to set up a solidus app with custom css using bootstrap-sass. (I am following this tutorial) Prior to getting this error, the page would load just fine but none of the bootstrap css would load correctly. This error started after I added…
Chris Morgan
  • 85
  • 1
  • 6
2
votes
2 answers

How to import JavaScript into RoR project with Rubymine?

I am having an issue using JQuery in my RoR project in Rubymine. I am new to Ruby on Rails and want bootstrap-sass in my project. I followed the instructions from here, which is the Github bootstrap repository. I am using rails6.0.0. And I have the…
Beulah Akindele
  • 643
  • 5
  • 21
2
votes
1 answer

Receiving error when installing bootstrap-sass gem in my ruby on rails app

I've been learning Ruby on Rails for the last few days and i'm following tutorials from a book. I'm working on an app which requires importing bootstrap however i'm having trouble installing it into my project. I'm using Ruby version 2.3.1 and Rails…
Sarah
  • 1,943
  • 2
  • 24
  • 39
2
votes
2 answers

Sass import not crawling node_modules to find appropriate package

I am using bootstrap-sass. The node module is installed. I should expect I can, in any .scss file, use the below line to import into an appropriate sheet @import 'bootstrap'; My understanding is what should happen is the compiler crawls up until it…
Joshua Ohana
  • 5,613
  • 12
  • 56
  • 112