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

Easiest way to change when Bootstrap navbar collapses (using bootstrap gem)

I've got a rails app using the bootstrap-sass gem. I'd like to change the width the navbar collapses from tablet (979px) to phone (769px). Overriding a media query isn't a tidy solution. I've edited @navbarCollapseWidth in variables.less and built…
Archonic
  • 5,207
  • 5
  • 39
  • 55
2
votes
1 answer

How to style Twitter Bootstrap's typeahead (e.g. set background color)

How can I set a custom background color for e.g., the active item in the dropdown when using Bootstrap's "typeahead" autocomplete? A minor problem, but one that has been frustrating me for a couple of hours! I'm using Twitter Bootstrap in a Rails…
2
votes
1 answer

Responsive bootstrap-sass setup

I'm trying to use bootstrap-sass (2.1.0.0) for a responsively designed Ruby on Rails 3.2.8 site. This is my first attempt at responsive design with Rails or Bootstrap. The problem is that some, but not all, of my CSS styles are being matched to the…
1
vote
0 answers

ruby sass cannot compile bootstrap

I'm using ruby 3.1.2p20, gem 3.3.7, sass: ruby sass 3.7.4 and having a problem. I can't compile the bootstrap, my bootstrap version is "bootstrap-sass": "^3.3.5", "react-bootstrap": "^0.23.3", "react-router-bootstrap": "^0.18.1". I found the error…
vinhspm
  • 83
  • 1
  • 4
1
vote
1 answer

Override CSS for specific Bootstrapvue Components

first Question here so please educate me if i'm doing this wrong. So im working on an SPA that uses BootsrapVue and i created a view that uses a
1
vote
2 answers

I installed bootstrap-sass in Visual Studio 2022 but it is not included in the project

I installed bootstrap sass in Visual Studio 2022 but it is not included in the project
Prem Singh
  • 320
  • 2
  • 16
1
vote
1 answer

Error: File to import not found or unreadable: bootstrap-email

I am getting this error after upgrading rails from 5.2 to 6.1.0 and ruby from 2.5 to 3.0.2. It was working fine for ruby 2.7 and rails 6.0 version. It was working fine on bootstrap-email version 0.3.0 but it will break after upgrading 1.0.1 with…
1
vote
0 answers

I cannot get bootstrap-sass to work in development environment but can get it to work in production and test env rails 6.1.3.1

I am able to launch my application in two environments using AWS EB and one Cloud9 IDE. I have no errors that I can see. My development environment seems to be missing bootstrap-sass assets. I am getting my formatting but not bootstrap-sass css…
1
vote
1 answer

Sass: How to merge nested import selectors with parent selector?

Background I have an existing website where I want to import Bootstrap CSS styles. The styles are clashing, so I want to scope the rules. Example // node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss .modal { display: none; …
1
vote
0 answers

Use node_modules of parent directory in child projects

I have one master project, with little projects inside, and I want to use node_modules of the main project on the little ones, for don' generate extra folders with the same node_modules. I want to use SASS, bootstrap and jquery in my HTML/PHP…
1
vote
0 answers

How to get bootstrap-sass to load in Rails 6 (Mac OSX)

I am running Rails 6 for the Udemy Complete Rails Course, which is based on Rails 4 with some notes for Rails 5 but nothing for Rails 6. I am getting the error "ActionView::Template::Error (Error: File to import not found or unreadable:…
SunbeamRapier
  • 127
  • 2
  • 11
1
vote
1 answer

Gem::Ext::BuildError while trying to install gem bootstrap-sass in rails app

Okay so I'm trying to install the gem bootstrap-sass in my ruby on rails app but getting this error. I followed the basic steps by pasting $ gem 'bootstrap-sass' and $ gem 'autoprefixer-rails' into the gemfile and runnig bndle install in the…
user4686288
1
vote
2 answers

deployment error looking for package json in a folder named package.json

I am getting following error on webpack build ERROR in ./node_modules/bootstrap- loader/lib/bootstrap.loader.js!./node_modules/bootstrap-loader/no-op.js Module build failed: Error: Cannot find module …
Prashant
  • 13
  • 4
1
vote
4 answers

Rails 5.1.2 bootstrap icons not being served in production

This is an Awesome place. I hope to be competent enough soon to contribute solutions. Please, somebody help!!?! I have watched hours of youtube and read every post about asset pipeline pre-compilation on the web. For whatever reason I decided to use…
1
vote
1 answer

bootstrap scss with reactjs not adding bootstrap classes

I've installed bootstrap using npm install bootstrap@4.0.0-alpha.6 --save in my dependencies I have: "dependencies": { "bootstrap": "^4.0.0-alpha.6", "react": "^15.6.1", "react-dom": "^15.6.1" } in my styles.scss @import…
gsiradze
  • 4,583
  • 15
  • 64
  • 111