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

compass install bootstrap -> NoMethodError on line ["32"] ... sass-rails-3.2.6/lib/sass/rails/helpers.rb: undefined method `[]' for nil:NilClass

After running this command compass install bootstrap I get this message: identical sass/styles.scss ... identical javascripts/bootstrap-typeahead.js NoMethodError on line ["32"] of…
whitesiroi
  • 2,725
  • 4
  • 30
  • 64
0
votes
1 answer

Install Bootstrap in my Ruby on Rails project using bundle install

I am new to Rails. I wanted to use bootstrap so I have placed the 'bootstrap-sass' as in it's documentation in my Gemfile like the following: group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'uglifier', '>=…
0
votes
1 answer

Bootstrap sass permission denied

Im getting the following error after I've updated my gemfile and installed the gem: Errno::EACCES: Permission denied - /Users/xxx/.rvm/gems/ruby-1.9.3-p194/build_info/bootstrap-sass-2.3.1.0.info An error occurred while installing bootstrap-sass…
0
votes
2 answers

IntelliJ 12 won't pull in Sass variables

I have a very basic Ruby on Rails installation. I have installed the bootstrap-sass gem, have the 'bootstrap-sass' ~> 2.3.1.0 in my Gemfile and ran bundle install. Restarted all applications. I have a style.css.scss file in app > assets >…
chris_s
  • 1,051
  • 4
  • 14
  • 28
0
votes
1 answer

bootstrap-sass, Confusion that define white-space twice time

code { padding: 0; color: inherit; white-space: pre; // first time white-space: pre-wrap; // why do this twice? background-color: transparent; border: 0; } it's in…
Robin Hwang
  • 189
  • 1
  • 9
0
votes
1 answer

Unable to access validation errors using bootstrap_forms gem

Unable to display validation errors using the gem 'bootstrap_forms', '~> 2.0.0' (http://github.com/potenza/bootstrap_form). models/client.rb class Client < ActiveRecord::Base attr_accessible :name validates :name, :presence =>…
0
votes
1 answer

Convert grouped_collection_select to Simple Form in Rails dynamic menu?

I have the following (and working) dynamic menu / dropdown which allows you to select a property type and then a property subtype with a regular rails form: properties.js.coffee jQuery -> prop_sub_types = $('#property_prop_sub_type_id').html() …
0
votes
1 answer

@import 'bootstrap' raise an Action Controller:Exception

I'm developping a Rails app on windows 8 (Rails 3.2.11 and Ruby 1.9.3p125) with a partitioned disk . My Rails install is on drive "S", my app is on drive "J". In my gem file I have "gem 'bootstrap-sass' ". As recommended I use "@import 'bootstrap'…
phron
  • 1,795
  • 17
  • 23
0
votes
1 answer

Bootstrap, jQuery, and the Rails asset pipeline

This is my application.js manifest. //= require jquery //= require jquery_ujs //= require jquery.purr //= require best_in_place //= require jquery-ui //= require bootstrap-dropdown //= require bootstrap-modal //= require_tree . With this setup,…
0
votes
2 answers

Rails + bootstrap-sass mixins

Maybe I don't understand how to use mixin with sass, or how to work with the ones with bootstrap-sass (https://github.com/thomas-mcdonald/bootstrap-sass). But how can I do something like change the box-shadow on a class of input fields? EDIT:…
Doug
  • 1,316
  • 6
  • 19
  • 36
0
votes
0 answers

jquery replaceWith and bootstrap modal

I am using bootstrap-sass 2.1.1.0 with rails 3.2.9. I have a ajax form inside modal. like this: section#avatars_form_edit = simple_form_for [user, avatar], html: { class: 'edit-avatar' }, remote: true do |f| - %w(x y w h).each do |attribute| …
xnjiang
  • 607
  • 6
  • 16
0
votes
1 answer

Sass::SyntaxError in Static_pages#contact

I'm following Hartl's tutorial (up to chapter 5 at this point - http://ruby.railstutorial.org/chapters/filling-in-the-layout#code-signup_button) and I feel as though I have followed his instructions but I keep getting this error message when I try…
user1884204
  • 11
  • 1
  • 4
0
votes
2 answers

Twitter Bootstrap Responsive Menu adding Weird arrows on Dropdown

I don't understand why this is happening with my responsive twitter bootstrap nav. Here's a screenshot: https://www.evernote.com/shard/s3/sh/79b436f8-822c-4fdc-ad36-a1d706686d05/3a735fc948474e109c08b773f01f0cf8 It's adding those weird arrows that…
Lee McAlilly
  • 9,084
  • 12
  • 60
  • 94
-1
votes
1 answer

Ruby on Rails changing sass variables from views

I wanna change bootstrap sass variables from the views and I have tried internal css and it doesn't work any ideas: <% if current_user.admin == true%> <% else %> <% end %>
-1
votes
1 answer

running twitter Bootstrap with Sass

I am planning to use twitter bootstrap-sass source code to build my web-application. I have downloaded the Sass source code from getBootstrap.com website. After downloading the code, when I run the $ bower install bootstrap-sass command from within…
zilcuanu
  • 3,451
  • 8
  • 52
  • 105
1 2 3
20
21