Switch to official Bootstrap and Font Awesome SASS gems

This commit is contained in:
Dan Rice 2014-03-28 20:42:40 -04:00
parent 52929bdbcb
commit 9c083b3175
8 changed files with 14 additions and 81 deletions

View file

@ -16,12 +16,9 @@ gem 'uglifier', '>=1.3.0'
gem 'jquery-rails'
# Twitter Bootstrap
gem 'less-rails'
gem 'twitter-bootstrap-rails'
# use following for dev version to get fontawsome 3.2.1
#gem 'twitter-bootstrap-rails', github: 'seyhunak/twitter-bootstrap-rails', branch: "master"
# Bootstrap and Font Awesome
gem 'bootstrap-sass'
gem 'font-awesome-sass'
# you may comment out the database driver you will not be using.
# This will prevent a native build of the driver. Building native drivers is not

View file

@ -56,6 +56,8 @@ GEM
arel (4.0.2)
atomic (1.1.16)
bcrypt-ruby (3.0.1)
bootstrap-sass (3.1.1.0)
sass (~> 3.2)
builder (3.1.4)
bullet (4.8.0)
activesupport
@ -80,7 +82,6 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.7.0)
commonjs (0.2.7)
cucumber (1.3.14)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
@ -103,6 +104,8 @@ GEM
factory_girl (~> 4.4.0)
railties (>= 3.0.0)
ffi (1.9.3)
font-awesome-sass (4.0.3.1)
sass (~> 3.2)
gherkin (2.12.2)
multi_json (~> 1.3)
highline (1.6.21)
@ -113,11 +116,6 @@ GEM
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
less (2.5.0)
commonjs (~> 0.2.7)
less-rails (2.5.0)
actionpack (>= 3.1)
less (~> 2.5.0)
libv8 (3.16.14.3)
mail (2.5.4)
mime-types (~> 1.16)
@ -207,11 +205,6 @@ GEM
polyglot (>= 0.3.1)
turbolinks (2.2.1)
coffee-rails
twitter-bootstrap-rails (2.2.8)
actionpack (>= 3.1)
execjs
rails (>= 3.1)
railties (>= 3.1)
tzinfo (0.3.39)
uglifier (2.5.0)
execjs (>= 0.3.0)
@ -235,6 +228,7 @@ DEPENDENCIES
acts_as_list
aruba!
bcrypt-ruby (~> 3.0.0)
bootstrap-sass
bullet
cache_digests
capybara
@ -243,11 +237,11 @@ DEPENDENCIES
cucumber-rails
database_cleaner
factory_girl_rails
font-awesome-sass
highline
htmlentities
jquery-rails
json
less-rails
mocha
mousetrap-rails
mysql2
@ -266,7 +260,6 @@ DEPENDENCIES
timecop (~> 0.6.2)
tolk!
turbolinks
twitter-bootstrap-rails
uglifier (>= 1.3.0)
will_paginate-bootstrap
yard

View file

@ -13,14 +13,7 @@
//= require jquery
//= require jquery_ujs
//
//= require twitter/bootstrap/bootstrap-tooltip
//= require twitter/bootstrap/bootstrap-popover
//= require twitter/bootstrap/bootstrap-modal
//= require twitter/bootstrap/bootstrap-tab
//= require twitter/bootstrap/bootstrap-button
//= require twitter/bootstrap/bootstrap-dropdown
//= require twitter/bootstrap/bootstrap-collapse
//= require twitter/bootstrap/bootstrap-transition
//= require bootstrap
//
//= require mousetrap
//
@ -39,4 +32,4 @@
//
// Stuff in app/assets
//= require tracks.js
//= require keybindings.js
//= require keybindings.js

View file

@ -1,4 +0,0 @@
jQuery ->
$("a[rel=popover]").popover()
$(".tooltip").tooltip()
$("a[rel=tooltip]").tooltip()

View file

@ -10,7 +10,8 @@
*
*= require_self
*= require bootstrap_and_overrides
*= require font-awesome
*= require mousetrap
*= require_tree ../../../vendor/assets/stylesheets
*= require tracks
*/
*/

View file

@ -1,30 +0,0 @@
@import "twitter/bootstrap/bootstrap";
@import "twitter/bootstrap/responsive";
// Set the correct sprite paths
@iconSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings");
@iconWhiteSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings-white");
// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
@fontAwesomeEotPath: asset-url("fontawesome-webfont.eot");
@fontAwesomeEotPath_iefix: asset-url("fontawesome-webfont.eot#iefix");
@fontAwesomeWoffPath: asset-url("fontawesome-webfont.woff");
@fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf");
@fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular");
// Font Awesome
@import "fontawesome/font-awesome";
// Glyphicons
//@import "twitter/bootstrap/sprites.less";
// Your custom LESS stylesheets goes here
//
// Since bootstrap was imported above you have access to its mixins which
// you may use and inherit here
//
// If you'd like to override bootstrap's own variables, you can do so here as well
// See http://twitter.github.com/bootstrap/customize.html#variables for their names and documentation
//
// Example:
// @linkColor: #ff0000;

View file

@ -0,0 +1 @@
@import "bootstrap";

View file

@ -1,18 +0,0 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
helpers:
actions: "Actions"
links:
back: "Back"
cancel: "Cancel"
confirm: "Are you sure?"
destroy: "Delete"
new: "New"
edit: "Edit"
titles:
edit: "Edit"
save: "Save"
new: "New"
delete: "Delete"