bootstrap-generators 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/README.md +128 -22
- data/Rakefile +59 -0
- data/bootstrap-generators.gemspec +1 -1
- data/lib/bootstrap/generators/version.rb +1 -1
- data/lib/generators/bootstrap/install/install_generator.rb +1 -0
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.less +98 -0
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.scss +99 -0
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css.less +3 -100
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css.scss +4 -4
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css +1 -0
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css.less +4 -100
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css.scss +5 -4
- data/lib/generators/bootstrap/install/templates/config/initializers/simple_form.rb +23 -22
- data/lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb +4 -7
- data/lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml +4 -6
- data/lib/generators/bootstrap/install/templates/layouts/fluid.html.erb +3 -2
- data/lib/generators/bootstrap/install/templates/layouts/fluid.html.haml +3 -2
- data/lib/generators/bootstrap/install/templates/layouts/hero.html.erb +15 -7
- data/lib/generators/bootstrap/install/templates/layouts/hero.html.haml +16 -10
- data/test/lib/generators/bootstrap/install_generator_test.rb +2 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +8 -5
- data/vendor/assets/javascripts/bootstrap-button.js +5 -3
- data/vendor/assets/javascripts/bootstrap-carousel.js +5 -2
- data/vendor/assets/javascripts/bootstrap-collapse.js +2 -2
- data/vendor/assets/javascripts/bootstrap-dropdown.js +2 -2
- data/vendor/assets/javascripts/bootstrap-modal.js +6 -5
- data/vendor/assets/javascripts/bootstrap-popover.js +2 -2
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +2 -2
- data/vendor/assets/javascripts/bootstrap-tab.js +2 -2
- data/vendor/assets/javascripts/bootstrap-tooltip.js +2 -2
- data/vendor/assets/javascripts/bootstrap-transition.js +3 -3
- data/vendor/assets/javascripts/bootstrap-typeahead.js +2 -2
- data/vendor/assets/stylesheets/less/bootstrap.less +1 -1
- data/vendor/assets/stylesheets/less/breadcrumbs.less +1 -1
- data/vendor/assets/stylesheets/less/button-groups.less +2 -1
- data/vendor/assets/stylesheets/less/buttons.less +25 -7
- data/vendor/assets/stylesheets/less/code.less +13 -0
- data/vendor/assets/stylesheets/less/dropdowns.less +1 -2
- data/vendor/assets/stylesheets/less/forms.less +48 -41
- data/vendor/assets/stylesheets/less/labels.less +23 -7
- data/vendor/assets/stylesheets/less/mixins.less +78 -25
- data/vendor/assets/stylesheets/less/modals.less +11 -0
- data/vendor/assets/stylesheets/less/navbar.less +11 -4
- data/vendor/assets/stylesheets/less/navs.less +20 -11
- data/vendor/assets/stylesheets/less/reset.less +1 -1
- data/vendor/assets/stylesheets/less/responsive.less +9 -5
- data/vendor/assets/stylesheets/less/sprites.less +7 -5
- data/vendor/assets/stylesheets/less/tables.less +14 -3
- data/vendor/assets/stylesheets/less/thumbnails.less +2 -2
- data/vendor/assets/stylesheets/less/type.less +3 -2
- data/vendor/assets/stylesheets/less/variables.less +15 -7
- data/vendor/assets/stylesheets/scss/accordion.scss +28 -0
- data/vendor/assets/stylesheets/scss/alerts.scss +70 -0
- data/vendor/assets/stylesheets/scss/bootstrap.scss +62 -0
- data/vendor/assets/stylesheets/scss/breadcrumbs.scss +22 -0
- data/vendor/assets/stylesheets/scss/button-groups.scss +148 -0
- data/vendor/assets/stylesheets/scss/buttons.scss +183 -0
- data/vendor/assets/stylesheets/scss/carousel.scss +121 -0
- data/vendor/assets/stylesheets/scss/close.scss +18 -0
- data/vendor/assets/stylesheets/scss/code.scss +57 -0
- data/vendor/assets/stylesheets/scss/component-animations.scss +18 -0
- data/vendor/assets/stylesheets/scss/dropdowns.scss +130 -0
- data/vendor/assets/stylesheets/scss/forms.scss +522 -0
- data/vendor/assets/stylesheets/scss/grid.scss +8 -0
- data/vendor/assets/stylesheets/scss/hero-unit.scss +20 -0
- data/vendor/assets/stylesheets/scss/labels.scss +32 -0
- data/vendor/assets/stylesheets/scss/layouts.scss +17 -0
- data/vendor/assets/stylesheets/scss/mixins.scss +579 -0
- data/vendor/assets/stylesheets/scss/modals.scss +83 -0
- data/vendor/assets/stylesheets/scss/navbar.scss +299 -0
- data/vendor/assets/stylesheets/scss/navs.scss +353 -0
- data/vendor/assets/stylesheets/scss/pager.scss +30 -0
- data/vendor/assets/stylesheets/scss/pagination.scss +55 -0
- data/vendor/assets/stylesheets/scss/popovers.scss +49 -0
- data/vendor/assets/stylesheets/scss/progress-bars.scss +95 -0
- data/vendor/assets/stylesheets/scss/reset.scss +126 -0
- data/vendor/assets/stylesheets/scss/responsive.scss +327 -0
- data/vendor/assets/stylesheets/scss/scaffolding.scss +29 -0
- data/vendor/assets/stylesheets/scss/sprites.scss +158 -0
- data/vendor/assets/stylesheets/scss/tables.scss +150 -0
- data/vendor/assets/stylesheets/scss/thumbnails.scss +35 -0
- data/vendor/assets/stylesheets/scss/tooltip.scss +35 -0
- data/vendor/assets/stylesheets/scss/type.scss +218 -0
- data/vendor/assets/stylesheets/scss/utilities.scss +23 -0
- data/vendor/assets/stylesheets/scss/variables.scss +107 -0
- data/vendor/assets/stylesheets/scss/wells.scss +17 -0
- metadata +49 -11
@@ -0,0 +1,23 @@
|
|
1
|
+
// UTILITY CLASSES
|
2
|
+
// ---------------
|
3
|
+
|
4
|
+
// Quick floats
|
5
|
+
.pull-right {
|
6
|
+
float: right;
|
7
|
+
}
|
8
|
+
.pull-left {
|
9
|
+
float: left;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Toggling content
|
13
|
+
.hide {
|
14
|
+
display: none;
|
15
|
+
}
|
16
|
+
.show {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Visibility
|
21
|
+
.invisible {
|
22
|
+
visibility: hidden;
|
23
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
// Variables
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
// GLOBAL VALUES
|
8
|
+
// --------------------------------------------------
|
9
|
+
|
10
|
+
// Links
|
11
|
+
$linkColor: #08c !default;
|
12
|
+
$linkColorHover: darken($linkColor, 15%) !default;
|
13
|
+
|
14
|
+
// Grays
|
15
|
+
$black: #000 !default;
|
16
|
+
$grayDarker: #222 !default;
|
17
|
+
$grayDark: #333 !default;
|
18
|
+
$gray: #555 !default;
|
19
|
+
$grayLight: #999 !default;
|
20
|
+
$grayLighter: #eee !default;
|
21
|
+
$white: #fff !default;
|
22
|
+
|
23
|
+
// Accent colors
|
24
|
+
$blue: #049cdb !default;
|
25
|
+
$blueDark: #0064cd !default;
|
26
|
+
$green: #46a546 !default;
|
27
|
+
$red: #9d261d !default;
|
28
|
+
$yellow: #ffc40d !default;
|
29
|
+
$orange: #f89406 !default;
|
30
|
+
$pink: #c3325f !default;
|
31
|
+
$purple: #7a43b6 !default;
|
32
|
+
|
33
|
+
// Typography
|
34
|
+
$baseFontSize: 13px !default;
|
35
|
+
$baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
36
|
+
$baseLineHeight: 18px !default;
|
37
|
+
$textColor: $grayDark !default;
|
38
|
+
|
39
|
+
// Buttons
|
40
|
+
$primaryButtonBackground: $linkColor !default;
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
// COMPONENT VARIABLES
|
45
|
+
// --------------------------------------------------
|
46
|
+
|
47
|
+
// Z-index master list
|
48
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
49
|
+
// Try to avoid customizing these :)
|
50
|
+
$zindexDropdown: 1000 !default;
|
51
|
+
$zindexPopover: 1010 !default;
|
52
|
+
$zindexTooltip: 1020 !default;
|
53
|
+
$zindexFixedNavbar: 1030 !default;
|
54
|
+
$zindexModalBackdrop: 1040 !default;
|
55
|
+
$zindexModal: 1050 !default;
|
56
|
+
|
57
|
+
// Sprite icons path
|
58
|
+
$iconSpritePath: "glyphicons-halflings.png";
|
59
|
+
$iconWhiteSpritePath: "glyphicons-halflings-white.png";
|
60
|
+
|
61
|
+
// Input placeholder text color
|
62
|
+
$placeholderText: $grayLight !default;
|
63
|
+
|
64
|
+
// Hr border color
|
65
|
+
$hrBorder: $grayLighter !default;
|
66
|
+
|
67
|
+
// Navbar
|
68
|
+
$navbarHeight: 40px !default;
|
69
|
+
$navbarBackground: $grayDarker !default;
|
70
|
+
$navbarBackgroundHighlight: $grayDark !default;
|
71
|
+
$navbarLinkBackgroundHover: transparent !default;
|
72
|
+
|
73
|
+
$navbarText: $grayLight !default;
|
74
|
+
$navbarLinkColor: $grayLight !default;
|
75
|
+
$navbarLinkColorHover: $white !default;
|
76
|
+
|
77
|
+
// Form states and alerts
|
78
|
+
$warningText: #c09853 !default;
|
79
|
+
$warningBackground: #fcf8e3 !default;
|
80
|
+
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
|
81
|
+
|
82
|
+
$errorText: #b94a48 !default;
|
83
|
+
$errorBackground: #f2dede !default;
|
84
|
+
$errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
|
85
|
+
|
86
|
+
$successText: #468847 !default;
|
87
|
+
$successBackground: #dff0d8 !default;
|
88
|
+
$successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
|
89
|
+
|
90
|
+
$infoText: #3a87ad !default;
|
91
|
+
$infoBackground: #d9edf7 !default;
|
92
|
+
$infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
// GRID
|
97
|
+
// --------------------------------------------------
|
98
|
+
|
99
|
+
// Default 940px grid
|
100
|
+
$gridColumns: 12 !default;
|
101
|
+
$gridColumnWidth: 60px !default;
|
102
|
+
$gridGutterWidth: 20px !default;
|
103
|
+
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
|
104
|
+
|
105
|
+
// Fluid grid
|
106
|
+
$fluidGridColumnWidth: 6.382978723% !default;
|
107
|
+
$fluidGridGutterWidth: 2.127659574% !default;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// WELLS
|
2
|
+
// -----
|
3
|
+
|
4
|
+
.well {
|
5
|
+
min-height: 20px;
|
6
|
+
padding: 19px;
|
7
|
+
margin-bottom: 20px;
|
8
|
+
background-color: #f5f5f5;
|
9
|
+
border: 1px solid #eee;
|
10
|
+
border: 1px solid rgba(0,0,0,.05);
|
11
|
+
@include border-radius(4px);
|
12
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
13
|
+
blockquote {
|
14
|
+
border-color: #ddd;
|
15
|
+
border-color: rgba(0,0,0,.15);
|
16
|
+
}
|
17
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
|
-
requirement: &
|
16
|
+
requirement: &83726880 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.0.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *83726880
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: test-unit
|
27
|
-
requirement: &
|
27
|
+
requirement: &83726500 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *83726500
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &83725980 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '3.1'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *83725980
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: railties
|
49
|
-
requirement: &
|
49
|
+
requirement: &83725490 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '3.1'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *83725490
|
58
58
|
description: Bootstrap-generators provides Twitter Bootstrap generators for Rails
|
59
59
|
3.1. Checkout http://twitter.github.com/bootstrap.
|
60
60
|
email:
|
@@ -64,6 +64,7 @@ extensions: []
|
|
64
64
|
extra_rdoc_files: []
|
65
65
|
files:
|
66
66
|
- .gitignore
|
67
|
+
- .rvmrc
|
67
68
|
- Gemfile
|
68
69
|
- README.md
|
69
70
|
- Rakefile
|
@@ -74,6 +75,8 @@ files:
|
|
74
75
|
- lib/bootstrap/generators/version.rb
|
75
76
|
- lib/generators/bootstrap/install/install_generator.rb
|
76
77
|
- lib/generators/bootstrap/install/templates/assets/javascripts/bootstrap-generators.js
|
78
|
+
- lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.less
|
79
|
+
- lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.scss
|
77
80
|
- lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css
|
78
81
|
- lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css.less
|
79
82
|
- lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css.scss
|
@@ -154,7 +157,42 @@ files:
|
|
154
157
|
- vendor/assets/stylesheets/less/utilities.less
|
155
158
|
- vendor/assets/stylesheets/less/variables.less
|
156
159
|
- vendor/assets/stylesheets/less/wells.less
|
157
|
-
|
160
|
+
- vendor/assets/stylesheets/scss/accordion.scss
|
161
|
+
- vendor/assets/stylesheets/scss/alerts.scss
|
162
|
+
- vendor/assets/stylesheets/scss/bootstrap.scss
|
163
|
+
- vendor/assets/stylesheets/scss/breadcrumbs.scss
|
164
|
+
- vendor/assets/stylesheets/scss/button-groups.scss
|
165
|
+
- vendor/assets/stylesheets/scss/buttons.scss
|
166
|
+
- vendor/assets/stylesheets/scss/carousel.scss
|
167
|
+
- vendor/assets/stylesheets/scss/close.scss
|
168
|
+
- vendor/assets/stylesheets/scss/code.scss
|
169
|
+
- vendor/assets/stylesheets/scss/component-animations.scss
|
170
|
+
- vendor/assets/stylesheets/scss/dropdowns.scss
|
171
|
+
- vendor/assets/stylesheets/scss/forms.scss
|
172
|
+
- vendor/assets/stylesheets/scss/grid.scss
|
173
|
+
- vendor/assets/stylesheets/scss/hero-unit.scss
|
174
|
+
- vendor/assets/stylesheets/scss/labels.scss
|
175
|
+
- vendor/assets/stylesheets/scss/layouts.scss
|
176
|
+
- vendor/assets/stylesheets/scss/mixins.scss
|
177
|
+
- vendor/assets/stylesheets/scss/modals.scss
|
178
|
+
- vendor/assets/stylesheets/scss/navbar.scss
|
179
|
+
- vendor/assets/stylesheets/scss/navs.scss
|
180
|
+
- vendor/assets/stylesheets/scss/pager.scss
|
181
|
+
- vendor/assets/stylesheets/scss/pagination.scss
|
182
|
+
- vendor/assets/stylesheets/scss/popovers.scss
|
183
|
+
- vendor/assets/stylesheets/scss/progress-bars.scss
|
184
|
+
- vendor/assets/stylesheets/scss/reset.scss
|
185
|
+
- vendor/assets/stylesheets/scss/responsive.scss
|
186
|
+
- vendor/assets/stylesheets/scss/scaffolding.scss
|
187
|
+
- vendor/assets/stylesheets/scss/sprites.scss
|
188
|
+
- vendor/assets/stylesheets/scss/tables.scss
|
189
|
+
- vendor/assets/stylesheets/scss/thumbnails.scss
|
190
|
+
- vendor/assets/stylesheets/scss/tooltip.scss
|
191
|
+
- vendor/assets/stylesheets/scss/type.scss
|
192
|
+
- vendor/assets/stylesheets/scss/utilities.scss
|
193
|
+
- vendor/assets/stylesheets/scss/variables.scss
|
194
|
+
- vendor/assets/stylesheets/scss/wells.scss
|
195
|
+
homepage: http://decioferreira.github.com/bootstrap-generators/
|
158
196
|
licenses: []
|
159
197
|
post_install_message:
|
160
198
|
rdoc_options: []
|