mini-bootstrap-rails 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md
CHANGED
@@ -1,15 +1,33 @@
|
|
1
|
-
Mini Bootstrap Rails
|
2
|
-
=====================
|
1
|
+
# Mini Bootstrap Rails
|
3
2
|
|
4
3
|
A pure gem just adds bootstrap to your Rails project.
|
5
4
|
currently support bootstrap 2.0 and Rails > 3.1
|
6
5
|
|
7
|
-
|
8
|
-
=====
|
9
|
-
Gemfile
|
10
|
-
-------
|
11
|
-
gem 'mini-bootstrap-rails'
|
6
|
+
## Installing Gem
|
12
7
|
|
8
|
+
Include Bootstrap in Gemfile;
|
13
9
|
|
10
|
+
gem 'mini-bootstrap-rails'
|
14
11
|
|
12
|
+
or you can install from latest build;
|
15
13
|
|
14
|
+
gem 'mini-bootstrap-rails', :git => 'http://github.com/camelsong/mini-bootstrap-rails.git'
|
15
|
+
|
16
|
+
You can run bundle from command line
|
17
|
+
|
18
|
+
bundle install
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
You have to require Bootstrap in your **app/assets/stylesheets/application.css**
|
23
|
+
|
24
|
+
/*
|
25
|
+
*= require bootstrap
|
26
|
+
*/
|
27
|
+
|
28
|
+
/* Your stylesheets goes here... */
|
29
|
+
|
30
|
+
You have to require Bootstrap in your **app/assets/javascripts/application.js**
|
31
|
+
|
32
|
+
//= require twitter/bootstrap
|
33
|
+
// Your javascripts goes here
|
@@ -1119,7 +1119,7 @@ table .span12 {
|
|
1119
1119
|
width: 14px;
|
1120
1120
|
height: 14px;
|
1121
1121
|
vertical-align: text-top;
|
1122
|
-
background-image: url(
|
1122
|
+
background-image: url(glyphicons-halflings.png);
|
1123
1123
|
background-position: 14px 14px;
|
1124
1124
|
background-repeat: no-repeat;
|
1125
1125
|
*margin-right: .3em;
|
@@ -1128,7 +1128,7 @@ table .span12 {
|
|
1128
1128
|
*margin-left: 0;
|
1129
1129
|
}
|
1130
1130
|
.icon-white {
|
1131
|
-
background-image: url(
|
1131
|
+
background-image: url(glyphicons-halflings-white.png);
|
1132
1132
|
}
|
1133
1133
|
.icon-glass {
|
1134
1134
|
background-position: 0 0;
|
@@ -212,8 +212,8 @@ table .span9{float:none;width:684px;margin-left:0;}
|
|
212
212
|
table .span10{float:none;width:764px;margin-left:0;}
|
213
213
|
table .span11{float:none;width:844px;margin-left:0;}
|
214
214
|
table .span12{float:none;width:924px;margin-left:0;}
|
215
|
-
[class^="icon-"]{display:inline-block;width:14px;height:14px;vertical-align:text-top;background-image:url(
|
216
|
-
.icon-white{background-image:url(
|
215
|
+
[class^="icon-"]{display:inline-block;width:14px;height:14px;vertical-align:text-top;background-image:url(glyphicons-halflings.png);background-position:14px 14px;background-repeat:no-repeat;*margin-right:.3em;}[class^="icon-"]:last-child{*margin-left:0;}
|
216
|
+
.icon-white{background-image:url(glyphicons-halflings-white.png);}
|
217
217
|
.icon-glass{background-position:0 0;}
|
218
218
|
.icon-music{background-position:-24px 0;}
|
219
219
|
.icon-search{background-position:-48px 0;}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-15 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: A pure gem just adds bootstrap to your Rails project.
|
15
15
|
email:
|