twitter-bootswatch-rails 3.0.3.0 → 3.1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/twitter/bootstrap/affix.js +34 -23
  3. data/app/assets/javascripts/twitter/bootstrap/alert.js +5 -15
  4. data/app/assets/javascripts/twitter/bootstrap/button.js +21 -29
  5. data/app/assets/javascripts/twitter/bootstrap/carousel.js +16 -28
  6. data/app/assets/javascripts/twitter/bootstrap/collapse.js +7 -16
  7. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +19 -26
  8. data/app/assets/javascripts/twitter/bootstrap/modal.js +25 -28
  9. data/app/assets/javascripts/twitter/bootstrap/popover.js +14 -21
  10. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +16 -21
  11. data/app/assets/javascripts/twitter/bootstrap/tab.js +7 -17
  12. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +52 -39
  13. data/app/assets/javascripts/twitter/bootstrap/transition.js +11 -19
  14. data/lib/generators/bootswatch/install/templates/loader.js.tt +1 -1
  15. data/lib/generators/bootswatch/install/templates/mixins.less.tt +130 -49
  16. data/lib/generators/bootswatch/install/templates/variables.less.tt +346 -161
  17. data/lib/twitter/bootswatch/rails/version.rb +1 -1
  18. data/vendor/toolkit/twitter/bootstrap/badges.less +4 -0
  19. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +4 -1
  20. data/vendor/toolkit/twitter/bootstrap/button-groups.less +10 -11
  21. data/vendor/toolkit/twitter/bootstrap/buttons.less +8 -8
  22. data/vendor/toolkit/twitter/bootstrap/code.less +10 -0
  23. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +28 -2
  24. data/vendor/toolkit/twitter/bootstrap/forms.less +82 -38
  25. data/vendor/toolkit/twitter/bootstrap/glyphicons.less +1 -5
  26. data/vendor/toolkit/twitter/bootstrap/grid.less +26 -5
  27. data/vendor/toolkit/twitter/bootstrap/input-groups.less +39 -18
  28. data/vendor/toolkit/twitter/bootstrap/jumbotron.less +3 -5
  29. data/vendor/toolkit/twitter/bootstrap/list-group.less +25 -3
  30. data/vendor/toolkit/twitter/bootstrap/mixins.less +130 -49
  31. data/vendor/toolkit/twitter/bootstrap/modals.less +16 -7
  32. data/vendor/toolkit/twitter/bootstrap/navbar.less +24 -20
  33. data/vendor/toolkit/twitter/bootstrap/navs.less +2 -2
  34. data/vendor/toolkit/twitter/bootstrap/normalize.less +139 -122
  35. data/vendor/toolkit/twitter/bootstrap/pager.less +5 -5
  36. data/vendor/toolkit/twitter/bootstrap/pagination.less +6 -3
  37. data/vendor/toolkit/twitter/bootstrap/panels.less +64 -16
  38. data/vendor/toolkit/twitter/bootstrap/print.less +0 -4
  39. data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +13 -129
  40. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +17 -2
  41. data/vendor/toolkit/twitter/bootstrap/tables.less +3 -1
  42. data/vendor/toolkit/twitter/bootstrap/theme.less +1 -1
  43. data/vendor/toolkit/twitter/bootstrap/tooltip.less +1 -1
  44. data/vendor/toolkit/twitter/bootstrap/type.less +78 -63
  45. data/vendor/toolkit/twitter/bootstrap/variables.less +346 -161
  46. data/vendor/toolkit/twitter/bootstrap/wells.less +1 -1
  47. metadata +2 -3
  48. data/lib/generators/bootswatch/import/import_generator.rb +0 -49
@@ -9,7 +9,7 @@
9
9
  padding: 19px;
10
10
  margin-bottom: 20px;
11
11
  background-color: @well-bg;
12
- border: 1px solid darken(@well-bg, 7%);
12
+ border: 1px solid @well-border;
13
13
  border-radius: @border-radius-base;
14
14
  .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
15
15
  blockquote {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3.0
4
+ version: 3.1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott V. Rosenthal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-16 00:00:00.000000000 Z
11
+ date: 2014-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -90,7 +90,6 @@ extra_rdoc_files: []
90
90
  files:
91
91
  - lib/twitter/bootswatch/rails/engine.rb
92
92
  - lib/twitter/bootswatch/rails/version.rb
93
- - lib/generators/bootswatch/import/import_generator.rb
94
93
  - lib/generators/bootswatch/install/install_generator.rb
95
94
  - lib/generators/bootswatch/install/templates/application.css.tt
96
95
  - lib/generators/bootswatch/install/templates/application.js.tt
@@ -1,49 +0,0 @@
1
- require 'rails/generators'
2
-
3
- module Bootswatch
4
- module Generators
5
- class ImportGenerator < ::Rails::Generators::NamedBase
6
-
7
- def theme_name
8
- file_name
9
- end
10
-
11
- def theme_directory
12
- if class_path.empty?
13
- theme_name
14
- else
15
- class_path.first
16
- end
17
- end
18
-
19
- def theme_repo_url
20
- "https://raw.github.com/thomaspark/bootswatch/gh-pages/#{theme_name}"
21
- end
22
-
23
- def import_less
24
-
25
- stylesheets_dest_path = "app/assets/stylesheets/#{theme_directory}"
26
- empty_directory stylesheets_dest_path
27
-
28
- get File.join(theme_repo_url,'variables.less'), File.join(stylesheets_dest_path,'variables.less')
29
-
30
-
31
- get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.css.less')
32
-
33
- prepend_to_file File.join(stylesheets_dest_path,'bootswatch.css.less') do
34
- "@import \"#{theme_directory}/base\";\n\n"
35
- end
36
-
37
- gsub_file File.join(stylesheets_dest_path,'variables.less'),
38
- '"../img/glyphicons-halflings.png"',
39
- '"twitter/bootstrap/glyphicons-halflings.png"'
40
-
41
- gsub_file File.join(stylesheets_dest_path, 'variables.less'),
42
- '"../fonts/"',
43
- '"twitter/bootstrap/"'
44
-
45
- end
46
-
47
- end
48
- end
49
- end