bootstrapped-rails 2.0.7.2 → 2.0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/app/helpers/twitter_breadcrumbs_helper.rb +5 -0
  2. data/app/views/twitter_bootstrap/_breadcrumbs.html.erb +14 -0
  3. data/bootstrapped-rails.gemspec +2 -2
  4. data/lib/bootstrapped-rails/breadcrumbs.rb +21 -0
  5. data/lib/bootstrapped-rails/engine.rb +8 -0
  6. data/lib/bootstrapped-rails/version.rb +1 -1
  7. data/logical_license +23 -0
  8. data/readme.md +58 -25
  9. data/vendor/assets/javascripts/bootstrapped/bootstrap-alert.js +1 -1
  10. data/vendor/assets/javascripts/bootstrapped/bootstrap-button.js +4 -2
  11. data/vendor/assets/javascripts/bootstrapped/bootstrap-carousel.js +7 -3
  12. data/vendor/assets/javascripts/bootstrapped/bootstrap-collapse.js +4 -2
  13. data/vendor/assets/javascripts/bootstrapped/bootstrap-dropdown.js +1 -1
  14. data/vendor/assets/javascripts/bootstrapped/bootstrap-modal.js +1 -1
  15. data/vendor/assets/javascripts/bootstrapped/bootstrap-popover.js +1 -1
  16. data/vendor/assets/javascripts/bootstrapped/bootstrap-scrollspy.js +1 -1
  17. data/vendor/assets/javascripts/bootstrapped/bootstrap-tab.js +1 -1
  18. data/vendor/assets/javascripts/bootstrapped/bootstrap-tooltip.js +2 -2
  19. data/vendor/assets/javascripts/bootstrapped/bootstrap-transition.js +1 -1
  20. data/vendor/assets/javascripts/bootstrapped/bootstrap-typeahead.js +7 -7
  21. data/vendor/assets/stylesheets/bootstrapped-sass/_reset.scss +31 -10
  22. data/vendor/assets/stylesheets/custom_partials/animation.scss +170 -0
  23. data/vendor/assets/stylesheets/custom_partials/box-shadow.scss +13 -0
  24. data/vendor/assets/stylesheets/custom_partials/box-sizing.scss +6 -0
  25. data/vendor/assets/stylesheets/custom_partials/flex-box.scss +64 -0
  26. data/vendor/assets/stylesheets/custom_partials/license +24 -0
  27. data/vendor/toolkit/twitter/bootstrap/accordion.less +28 -0
  28. data/vendor/toolkit/twitter/bootstrap/alerts.less +70 -0
  29. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +62 -0
  30. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +22 -0
  31. data/vendor/toolkit/twitter/bootstrap/button-groups.less +148 -0
  32. data/vendor/toolkit/twitter/bootstrap/buttons.less +183 -0
  33. data/vendor/toolkit/twitter/bootstrap/carousel.less +121 -0
  34. data/vendor/toolkit/twitter/bootstrap/close.less +18 -0
  35. data/vendor/toolkit/twitter/bootstrap/code.less +57 -0
  36. data/vendor/toolkit/twitter/bootstrap/component-animations.less +18 -0
  37. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +130 -0
  38. data/vendor/toolkit/twitter/bootstrap/forms.less +522 -0
  39. data/vendor/toolkit/twitter/bootstrap/grid.less +8 -0
  40. data/vendor/toolkit/twitter/bootstrap/hero-unit.less +20 -0
  41. data/vendor/toolkit/twitter/bootstrap/labels.less +32 -0
  42. data/vendor/toolkit/twitter/bootstrap/layouts.less +17 -0
  43. data/vendor/toolkit/twitter/bootstrap/mixins.less +590 -0
  44. data/vendor/toolkit/twitter/bootstrap/modals.less +83 -0
  45. data/vendor/toolkit/twitter/bootstrap/navbar.less +299 -0
  46. data/vendor/toolkit/twitter/bootstrap/navs.less +353 -0
  47. data/vendor/toolkit/twitter/bootstrap/pager.less +30 -0
  48. data/vendor/toolkit/twitter/bootstrap/pagination.less +55 -0
  49. data/vendor/toolkit/twitter/bootstrap/popovers.less +49 -0
  50. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +95 -0
  51. data/vendor/toolkit/twitter/bootstrap/reset.less +126 -0
  52. data/vendor/toolkit/twitter/bootstrap/responsive.less +327 -0
  53. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +29 -0
  54. data/vendor/toolkit/twitter/bootstrap/sprites.less +158 -0
  55. data/vendor/toolkit/twitter/bootstrap/tables.less +150 -0
  56. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +35 -0
  57. data/vendor/toolkit/twitter/bootstrap/tooltip.less +35 -0
  58. data/vendor/toolkit/twitter/bootstrap/type.less +218 -0
  59. data/vendor/toolkit/twitter/bootstrap/utilities.less +23 -0
  60. data/vendor/toolkit/twitter/bootstrap/variables.less +107 -0
  61. data/vendor/toolkit/twitter/bootstrap/wells.less +17 -0
  62. data/vendor/toolkit/twitter/bootstrap_base.less +2 -0
  63. metadata +64 -10
@@ -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.less
2
+ // Variables to customize the look and feel of Bootstrap
3
+ // -----------------------------------------------------
4
+
5
+
6
+
7
+ // GLOBAL VALUES
8
+ // --------------------------------------------------
9
+
10
+ // Links
11
+ @linkColor: #08c;
12
+ @linkColorHover: darken(@linkColor, 15%);
13
+
14
+ // Grays
15
+ @black: #000;
16
+ @grayDarker: #222;
17
+ @grayDark: #333;
18
+ @gray: #555;
19
+ @grayLight: #999;
20
+ @grayLighter: #eee;
21
+ @white: #fff;
22
+
23
+ // Accent colors
24
+ @blue: #049cdb;
25
+ @blueDark: #0064cd;
26
+ @green: #46a546;
27
+ @red: #9d261d;
28
+ @yellow: #ffc40d;
29
+ @orange: #f89406;
30
+ @pink: #c3325f;
31
+ @purple: #7a43b6;
32
+
33
+ // Typography
34
+ @baseFontSize: 13px;
35
+ @baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
36
+ @baseLineHeight: 18px;
37
+ @textColor: @grayDark;
38
+
39
+ // Buttons
40
+ @primaryButtonBackground: @linkColor;
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;
51
+ @zindexPopover: 1010;
52
+ @zindexTooltip: 1020;
53
+ @zindexFixedNavbar: 1030;
54
+ @zindexModalBackdrop: 1040;
55
+ @zindexModal: 1050;
56
+
57
+ // Sprite icons path
58
+ @iconSpritePath: "../img/glyphicons-halflings.png";
59
+ @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
60
+
61
+ // Input placeholder text color
62
+ @placeholderText: @grayLight;
63
+
64
+ // Hr border color
65
+ @hrBorder: @grayLighter;
66
+
67
+ // Navbar
68
+ @navbarHeight: 40px;
69
+ @navbarBackground: @grayDarker;
70
+ @navbarBackgroundHighlight: @grayDark;
71
+ @navbarLinkBackgroundHover: transparent;
72
+
73
+ @navbarText: @grayLight;
74
+ @navbarLinkColor: @grayLight;
75
+ @navbarLinkColorHover: @white;
76
+
77
+ // Form states and alerts
78
+ @warningText: #c09853;
79
+ @warningBackground: #fcf8e3;
80
+ @warningBorder: darken(spin(@warningBackground, -10), 3%);
81
+
82
+ @errorText: #b94a48;
83
+ @errorBackground: #f2dede;
84
+ @errorBorder: darken(spin(@errorBackground, -10), 3%);
85
+
86
+ @successText: #468847;
87
+ @successBackground: #dff0d8;
88
+ @successBorder: darken(spin(@successBackground, -10), 5%);
89
+
90
+ @infoText: #3a87ad;
91
+ @infoBackground: #d9edf7;
92
+ @infoBorder: darken(spin(@infoBackground, -10), 7%);
93
+
94
+
95
+
96
+ // GRID
97
+ // --------------------------------------------------
98
+
99
+ // Default 940px grid
100
+ @gridColumns: 12;
101
+ @gridColumnWidth: 60px;
102
+ @gridGutterWidth: 20px;
103
+ @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
104
+
105
+ // Fluid grid
106
+ @fluidGridColumnWidth: 6.382978723%;
107
+ @fluidGridGutterWidth: 2.127659574%;
@@ -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
+ .border-radius(4px);
12
+ .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
+ }
@@ -0,0 +1,2 @@
1
+ @import "bootstrap/variables.less";
2
+ @import "bootstrap/mixins.less";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrapped-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7.2
4
+ version: 2.0.7.3
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-03-11 00:00:00.000000000Z
12
+ date: 2012-03-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
16
- requirement: &70233462388660 !ruby/object:Gem::Requirement
16
+ requirement: &70154496224360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70233462388660
24
+ version_requirements: *70154496224360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70233462388140 !ruby/object:Gem::Requirement
27
+ requirement: &70154496223260 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70233462388140
35
+ version_requirements: *70154496223260
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &70233462387640 !ruby/object:Gem::Requirement
38
+ requirement: &70154496221900 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,8 +43,16 @@ dependencies:
43
43
  version: '3.1'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70233462387640
47
- description: ! ' please see summary '
46
+ version_requirements: *70154496221900
47
+ description: ! ' This is a hacked-together version of the gem ''bootstrap-sass'',
48
+ with the generators from ''twitter-bootstrap-rails'', has also replaced the Glyphicons
49
+ icons with [Font Awesome](http://fortawesome.github.com/Font-Awesome/), since svg
50
+ icons are resizable and colorable and such. There are also some custom scss helpers
51
+ in a folder called ''custom_partials'', which are just a byproduct of trying not
52
+ to hate css. The nature of those scss helpers are very similar in look and feel
53
+ to the bourbon gem by thoughtbot, which seems more complete than my own (to be honest)
54
+ but when I had started accumulating helpers, I was not aware of the gem. Feel free
55
+ to muck around with this as you please. '
48
56
  email:
49
57
  - han@logicalprep.com
50
58
  executables: []
@@ -55,10 +63,13 @@ files:
55
63
  - Gemfile
56
64
  - LICENSE
57
65
  - Rakefile
66
+ - app/helpers/twitter_breadcrumbs_helper.rb
67
+ - app/views/twitter_bootstrap/_breadcrumbs.html.erb
58
68
  - bootstrapped-rails.gemspec
59
69
  - lib/.DS_Store
60
70
  - lib/bootstrapped-rails.rb
61
71
  - lib/bootstrapped-rails/.DS_Store
72
+ - lib/bootstrapped-rails/breadcrumbs.rb
62
73
  - lib/bootstrapped-rails/engine.rb
63
74
  - lib/bootstrapped-rails/ie_hex_str.rb
64
75
  - lib/bootstrapped-rails/railtie.rb
@@ -90,6 +101,7 @@ files:
90
101
  - lib/generators/bootstrapped/themed/templates/show.html.haml
91
102
  - lib/generators/bootstrapped/themed/templates/show.html.slim
92
103
  - lib/generators/bootstrapped/themed/themed_generator.rb
104
+ - logical_license
93
105
  - readme.md
94
106
  - vendor/assets/fonts/.DS_Store
95
107
  - vendor/assets/fonts/iconic_stroke.eot
@@ -165,10 +177,15 @@ files:
165
177
  - vendor/assets/stylesheets/bootstrapped.css.scss
166
178
  - vendor/assets/stylesheets/bootstrapped.css.scss.css
167
179
  - vendor/assets/stylesheets/custom_partials/.DS_Store
180
+ - vendor/assets/stylesheets/custom_partials/animation.scss
168
181
  - vendor/assets/stylesheets/custom_partials/arrow.scss
182
+ - vendor/assets/stylesheets/custom_partials/box-shadow.scss
183
+ - vendor/assets/stylesheets/custom_partials/box-sizing.scss
169
184
  - vendor/assets/stylesheets/custom_partials/buttons.scss
185
+ - vendor/assets/stylesheets/custom_partials/flex-box.scss
170
186
  - vendor/assets/stylesheets/custom_partials/fonts.scss
171
187
  - vendor/assets/stylesheets/custom_partials/gradients.scss
188
+ - vendor/assets/stylesheets/custom_partials/license
172
189
  - vendor/assets/stylesheets/custom_partials/misc.scss
173
190
  - vendor/assets/stylesheets/custom_partials/rounded.scss
174
191
  - vendor/assets/stylesheets/custom_partials/status.scss
@@ -401,6 +418,42 @@ files:
401
418
  - vendor/assets/twitter/scss/utilities.scss
402
419
  - vendor/assets/twitter/scss/variables.scss
403
420
  - vendor/assets/twitter/scss/wells.scss
421
+ - vendor/toolkit/twitter/bootstrap/accordion.less
422
+ - vendor/toolkit/twitter/bootstrap/alerts.less
423
+ - vendor/toolkit/twitter/bootstrap/bootstrap.less
424
+ - vendor/toolkit/twitter/bootstrap/breadcrumbs.less
425
+ - vendor/toolkit/twitter/bootstrap/button-groups.less
426
+ - vendor/toolkit/twitter/bootstrap/buttons.less
427
+ - vendor/toolkit/twitter/bootstrap/carousel.less
428
+ - vendor/toolkit/twitter/bootstrap/close.less
429
+ - vendor/toolkit/twitter/bootstrap/code.less
430
+ - vendor/toolkit/twitter/bootstrap/component-animations.less
431
+ - vendor/toolkit/twitter/bootstrap/dropdowns.less
432
+ - vendor/toolkit/twitter/bootstrap/forms.less
433
+ - vendor/toolkit/twitter/bootstrap/grid.less
434
+ - vendor/toolkit/twitter/bootstrap/hero-unit.less
435
+ - vendor/toolkit/twitter/bootstrap/labels.less
436
+ - vendor/toolkit/twitter/bootstrap/layouts.less
437
+ - vendor/toolkit/twitter/bootstrap/mixins.less
438
+ - vendor/toolkit/twitter/bootstrap/modals.less
439
+ - vendor/toolkit/twitter/bootstrap/navbar.less
440
+ - vendor/toolkit/twitter/bootstrap/navs.less
441
+ - vendor/toolkit/twitter/bootstrap/pager.less
442
+ - vendor/toolkit/twitter/bootstrap/pagination.less
443
+ - vendor/toolkit/twitter/bootstrap/popovers.less
444
+ - vendor/toolkit/twitter/bootstrap/progress-bars.less
445
+ - vendor/toolkit/twitter/bootstrap/reset.less
446
+ - vendor/toolkit/twitter/bootstrap/responsive.less
447
+ - vendor/toolkit/twitter/bootstrap/scaffolding.less
448
+ - vendor/toolkit/twitter/bootstrap/sprites.less
449
+ - vendor/toolkit/twitter/bootstrap/tables.less
450
+ - vendor/toolkit/twitter/bootstrap/thumbnails.less
451
+ - vendor/toolkit/twitter/bootstrap/tooltip.less
452
+ - vendor/toolkit/twitter/bootstrap/type.less
453
+ - vendor/toolkit/twitter/bootstrap/utilities.less
454
+ - vendor/toolkit/twitter/bootstrap/variables.less
455
+ - vendor/toolkit/twitter/bootstrap/wells.less
456
+ - vendor/toolkit/twitter/bootstrap_base.less
404
457
  homepage: ''
405
458
  licenses: []
406
459
  post_install_message:
@@ -425,6 +478,7 @@ rubyforge_project: bootstrapped-rails
425
478
  rubygems_version: 1.8.6
426
479
  signing_key:
427
480
  specification_version: 3
428
- summary: Personal fork of the gem bootstrap-rails
481
+ summary: A mashed together version of bootstrap-sass and twitter-bootstrap-rails,
482
+ with generators. Also now has breadcrumb support, and some bourbon like scss helpers.
429
483
  test_files: []
430
484
  has_rdoc: