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

angular2 - bootstrap-sass compilation error using angular-cli

I am using angular-cli: 1.0.0-beta.19-3 with node: v5.11.1 In my angular-cli.json file, i have set the global style file extension to .scss. Here is my styles file. angular2/src/styles.scss // Default Font @import…
Dipendra Gurung
  • 5,720
  • 11
  • 39
  • 62
10
votes
4 answers

Bootstrap glyphicons error 404 in production

I'm using bootstrap-sass-rails this issue and when I run my rails project in production mode I get 3x 404 errors: GET http://localhost:3000/assets/twitter/bootstrap/glyphicons-halflings-regular.woff 404 (Not Found)…
YoyoS
  • 639
  • 1
  • 7
  • 19
10
votes
1 answer

bootstrap-3 align links and buttons at the bottom of a div

As can be seen in the screenshot below, the links are not aligned at the bottom of the div. How do I align the buttons for edit, delete, add cart at the bottom of the div. Note I am not using a table. .bottomaligned {position:absolute; bottom:0; …
brg
  • 3,915
  • 8
  • 37
  • 66
9
votes
2 answers

Selector not found when @extending bootstrap

I'm starting my first rails project. In this project I will be using Bootstrap and SASS. I want to avoid (for the most part) putting style-related classes into my HTML, as explained in this post: Using Sass To Semantically @extend Bootstrap I have…
abl
  • 5,970
  • 4
  • 25
  • 44
8
votes
3 answers

jQuery is not defined in bootstrap-sass

I bootstrapped the Angular 2 app using angular-cli. Everything was easy-peasy until I decided to use bootstrap modal. I simply copied the code for opening the modal from our other project that doesn't use angular-cli. I added jquery and bootstrap…
codeepic
  • 3,723
  • 7
  • 36
  • 57
8
votes
2 answers

Rails app: require bootstrap vs require bootstrap-sprockets

What is the consequential difference between adding //= require bootstrap-sprockets and //= require bootstrap to application.js? The documentation says: bootstrap-sprockets provides individual Bootstrap Javascript files (alert.js or…
7
votes
0 answers

bootstrap-sass not installing properly on amazon linux instance

I'm running a grunt build on a project that uses bootstrap-sass. I've installed bootstrap-sass using npm locally in the project folder and doing a global install. No matter what I get the following error: Running "compass:server" (compass) task …
Ben Anderson
  • 1,069
  • 2
  • 16
  • 38
7
votes
1 answer

Change Color of Background Input Field For Autofill Values

I currently have a Rails 4 application running bootstrap-sass for Bootstrap 2. I use localhost for my testing. I have applications with a login screen. The input fields are white with a really thin gray border with blue text. When I type in the…
7
votes
1 answer

How do I get a list of twitter bootstrap 3 colors?

I'm using the twitter bootstrap sass 3.0.3.0 gem which should correspond to the latest twitter bootstrap 3.0.3. I was looking at the 'customize' section of the lESS variables but cannot find too many colors. How do I get a list of colors provided by…
oky_sabeni
  • 7,672
  • 15
  • 65
  • 89
7
votes
3 answers

rails generate bootstrap layout with bootstrap-sass instead of twitter-bootstrap-rails

I had to choose from bootstrap-sass and twitter-bootstrap-rails and I've opted for the first as per suggestions on the web. However, I see that twitter-bootstrap-rails gem has some generators for application layout. Like, rails g bootstrap:layout…
6
votes
1 answer

Some bootstrap glyphicons not loading

I have a WordPress theme that I'm building with Bootstrap Sass source. The styles are working, but most of the glyphicons aren't (only asterisk and plus). I'm compiling my Bootstrap to the style.css and relative to that, there is a folder called…
Jonny
  • 1,001
  • 6
  • 13
  • 35
5
votes
2 answers

For installing bootstrap-sass gem do I remove *= require_self from application.scss or replace it with import '@require_self'

I'm installing the bootstrap-sass gem and this line to do with application.scss confuses me. 'Then, remove all the *= require_self and *= require_tree . statements from the sass file. Instead, use @import to import Sass files.' Do I remove *=…
Rob
  • 1,835
  • 2
  • 25
  • 53
5
votes
1 answer

Grunt is Running "watch" task and Waiting... forever. Is it my Gruntfile.js syntax?

In anticipation of a Sassier Bootstrap 4, I'm (trying to) switch from Less to Sass on Bootstrap 3.3.5 and setting up the required Gruntfile.js file. I had no problem compiling Less but cannot get Grunt working with Sass, specifically, $ grunt and $…
Morgan
  • 151
  • 1
  • 2
  • 7
5
votes
1 answer

How do I use bootstrap-sass's autoprefixer?

I have a Rails app where I’m using the bootstrap-sass gem which lists autoprefixer-rails as a dependency. I don’t quite understand how to get Autoprefixer to prefix my app’s CSS. Do I need some asset config? Will it prefix compiled Sass in dev…
Tracy Fu
  • 1,632
  • 12
  • 22
5
votes
2 answers

What's the difference between bower bootstrap-sass and bootstrap-sass-official

What is the difference between bootstrap-sass and bootstrap-sass-official in the bower registry? The bower registry lists both, although they both point to https://github.com/twbs/bootstrap-sass.
Clay
  • 10,885
  • 5
  • 47
  • 44
1
2
3
20 21