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

Can I use bootstrap-sass with ngx-bootstrap

I have to implement a front-end that is currently just cutups from a third party, and I am using Angular 4 and angular-cli. I would rather use angular-material, but a lot of the html and css is done, and it's not my job as a UI dev to redo UX,…
1
vote
2 answers

Errors after installing bootstrap-sass on ruby rails

I'm trying to create a webapp with rails and bootstrap-sass. I installed those with instructions from Ruby On Rails With Bootstrap Tutorial (simple), which works. After installing the bootstrap-sass gem, and trying to open my app in the browser,…
Mike G
  • 11
  • 3
1
vote
0 answers

How to prevent webpack/sass-loader from converting font URLs to data URIs?

Given the following webpack v1 loader configuration ... { test: /\.scss$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!autoprefixer-loader!sass-loader'), }, ... and simply importing bootstrap sass in my main .scss file…
AndyO
  • 1,512
  • 20
  • 28
1
vote
1 answer

Webpack´s bootrstrap-sass error: Bootstrap´s JavaScript requires jQuery

This is my first use of bootstrap-sass together with webpack 2.0. I´m based on its use by react-redux-universal-hot-example with minor changes. I´ve configured the following packages: "dependencies": { "babel-core": "^6.23.1", …
Mendes
  • 17,489
  • 35
  • 150
  • 263
1
vote
0 answers

Django CompileError: File to import not found or unreadable: bootstrap-sass/assets/stylesheets/bootstrap/variables

I am currently working on the cadasta - an open source organisation's - Django project. They require you to run their platform in a virtual machine (virtualbox) using vagrant. As I enter their repository, and run their server using ./runserver, I…
1
vote
1 answer

Extending Bootstrap with Webpack

I'm working on a web application which currently uses bootstrap for its front end, and webpack to bundle its assets. I've been inspired by this article to create web components which can be broken into tiny little self contained units, and this…
thejonwithnoh
  • 632
  • 1
  • 8
  • 19
1
vote
1 answer

Rails: Bootstrap glyphicons not loading in production

After upgrading to Rails 5, the Bootstrap glyphicon icons are not loading properly on heroku. For instance, the Trashcan icon is showing up as a question mark. It appears that the browser is not finding the glyphicon asset and loading its own…
Obromios
  • 15,408
  • 15
  • 72
  • 127
1
vote
1 answer

Can't import bootstrap

I've looked through many solutions but still can't find the solution to my problem. I'm using Rails 5.0.0.1, running on Windows OS. I've done bundle install and restarted the server, as well as downgrading the sass-rails but I can't seem to fix the…
1
vote
0 answers

Customize Bootstrap (sass) avoiding be overrided by someone else when packages are installed via Bower

I would like to know the best way to customize Bootstrap (sass) avoiding be overrided by someone else when packages are installed via Bower. Let's say I have a project with Grunt, Bower and Bootstrap (sass). In bower.json I have some dependencies as…
igogra
  • 415
  • 1
  • 5
  • 18
1
vote
1 answer

SASS/Compass: Reference Instead of Include

I'm currently working on a large business website using Compass (the Bootstrap Fork). We are using many different scss files, all of them including base.scss, where our variables and mixins live. Now, we want to compile some optional css files from…
armin
  • 353
  • 1
  • 3
  • 8
1
vote
1 answer

bootstrap-sass quits working in Rails when adding module to application controller?

really, it just quit loading one day. I've been on Rails 5.0.0.beta3 the whole time. logs don't show any attempts to load anything from assets/ . had everything set up just as docs instruct. Gemfile: gem 'sass-rails', '~> 5.0' gem…
sivanes
  • 713
  • 1
  • 13
  • 22
1
vote
1 answer

Fail to import bootstrap-sass files

I installed bootstrap-sass by npm. $ npm install bootstrap-sass Then, put the import on my sass file. @import 'bootstrap'; When I run the compile task this import fails. I have the bootstrap-sass folder in the node-modules one. Should I use a…
1
vote
0 answers

How to correctly use the Thumbnail component in React Bootstrap?

This is my mark-up: This is the generated html:
This is the CSS (which comes from bootstrap-sass): .thumbnail { display: block; …
user911625
1
vote
1 answer

Repeated bootstrap imports in assets

I am trying to use bootstrap in rails using the gem 'bootstrap-sass' with the following setting in initializers Below is the code in my application.css and common.css below that is a screenshot of my asset…
1
vote
1 answer

creating custom scss file

I'm install bootstrap gem and follow all direction to change application.css, however when I create another custom .scss file, customizations from the custom file werent included in application.css.scss . I have tried to import boot strap and…
KhoaVo
  • 376
  • 3
  • 18