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

Gulp throwing cannot find module '.lib/source-map-generator'

I have installed Gulp with Laravel and then installed Bootstrap sass for the project. Gulp can run other task but throws cannot find module '.lib/source-map-generator' when it arrives at the sass task. The following is the gulp…
3
votes
1 answer

Bootstrap-SASS Glyphicons Not Rendering With Webpack Build

I am using Webpack + NPM to build my app and having trouble with Bootstrap-SASS Glyphicons rendering on a production server. Locally the Glyphicons render fine. In Chrome, I get the following Failed to decode downloaded font:…
Pan Wangperawong
  • 1,250
  • 2
  • 13
  • 29
3
votes
1 answer

Error importing outside bootstrap-sass library using webpack

I am in the process of creating a client-side application using React, Webpack and Bootstrap-Sass. I am trying to import an outside Bootstrap-sass library, but keep getting the following error in terminal: "File to import not found or unreadable:…
3
votes
1 answer

how to use webpack and bootstrap-sass-loader load bootstrap in rails

i really just started learning webpack. and i use rails. i want to use webpack to managed my javascript library. so i found @justing808 ’s justin808/react-webpack-rails-tutorial. follow his guide, install bootstrap-sass-loader, and add entry point…
3
votes
4 answers

Some Glyphicons not working with bootstrap-sass

According to this post there as a problem with some glyphicons not working but the problem was fixed in bootstrap-sass. But I am using bootstrap-sass 3.3.5 and some are still not working. For instance these work
Obromios
  • 15,408
  • 15
  • 72
  • 127
3
votes
1 answer

gulp-sourcemaps with gulp-minify-css crashes

I'm compiling bootstrap-sass with the gulp task: gulp.task('build-bootstrap-sass', function () { return gulp.src('styles/styles.sass') .pipe(sourcemaps.init()) .pipe(sass({includePaths:…
Meirion Hughes
  • 24,994
  • 12
  • 71
  • 122
3
votes
1 answer

Bootstrap-Sass: Overriting Variables with using other Variable

I'm using Bootstrap-sass for one of my projects and I'd like to customize it with Sass variables (of course). I created a new .scss file called "_variables.scss" and import this in my main .scss file BEFORE the bootstrap-sass file. It works fine…
rasmus1610
  • 181
  • 3
  • 14
3
votes
3 answers

Laravel Elixir includePaths not working

I'm trying Laravel Elixir and want to include bootstrap with includePaths but it does not work. Where am I going wrong? var paths = { 'bootstrap': './vendor/bower_components/bootstrap-sass-official/assets/' } elixir(function(mix) { …
suncoastkid
  • 2,193
  • 7
  • 26
  • 45
3
votes
3 answers

Bootstrap - Sass: relative glyphicons icon path

How do I set a relative glyphicons icon path in bootstrap sass version? By default, the path used in the css font-face is an absolute one. @font-face { font-family: 'Glyphicons Halflings'; src:…
Joschi
  • 2,874
  • 1
  • 18
  • 23
3
votes
2 answers

Wrapping the bootstrap-sass gem in another gem causes asset manifests to break

I'm trying to wrap the bootstrap-sass gem inside another gem (let's call it my-engine). Along the way, I'm building a small Rails application to test things out. As a first step, I wanted to make sure I could get bootstrap-sass working directly in…
CodeSmith
  • 2,133
  • 1
  • 20
  • 43
3
votes
1 answer

How to compile bootstrap-sass with gulp?

I've some problems with adding bootstrap to my node project. I installed bootstrap-sass-official via bower then I added gulp task for compiling bootstrap. I ran task which compiles bootstrap directly from a console and it was finished…
BILL
  • 4,711
  • 10
  • 57
  • 96
3
votes
1 answer

Bootstrap Sass Rails 4 customize styling

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…
Cyzanfar
  • 6,997
  • 9
  • 43
  • 81
3
votes
1 answer

css media query to target all browsers except for IE

I'm looking for a mediaquery to target all browsers except for IE. For example: @media (........) { } Is there a way to do this? I'm using sass-bootstrap, so maybe there's a option in there. Thanks! Here's the code that doesn't work in…
3
votes
1 answer

Issue with upgrade to bootstrap-sass 3.2.0

Is there something else that needs to be referenced/configured when upgrading the bootstrap-sass gem to ~> 3.2.0? Using RubyMine 6.3 as the editor and the following in the Gemfile: ruby '2.1.2' gem 'rails', '4.1.1' gem 'sass-rails', '~> 4.0.3'…
Karl
  • 33
  • 4
3
votes
1 answer

Rails 4 fingerprinting causing 404 for bootstrap assets in production environment

I'm using the bootstrap-sass gem within my Rails 4 application and I have used Glpyphicons font that comes packed with bootstrap for icons across my application. In development, these icons show up fine. However, in any non-development environment,…