bootstrap_sass_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +44 -0
  7. data/Rakefile +1 -0
  8. data/app/assets/javascripts/bootstrap.js +12 -0
  9. data/app/assets/javascripts/bootstrap/affix.js +126 -0
  10. data/app/assets/javascripts/bootstrap/alert.js +98 -0
  11. data/app/assets/javascripts/bootstrap/button.js +109 -0
  12. data/app/assets/javascripts/bootstrap/carousel.js +217 -0
  13. data/app/assets/javascripts/bootstrap/collapse.js +179 -0
  14. data/app/assets/javascripts/bootstrap/dropdown.js +154 -0
  15. data/app/assets/javascripts/bootstrap/modal.js +246 -0
  16. data/app/assets/javascripts/bootstrap/popover.js +117 -0
  17. data/app/assets/javascripts/bootstrap/scrollspy.js +158 -0
  18. data/app/assets/javascripts/bootstrap/tab.js +135 -0
  19. data/app/assets/javascripts/bootstrap/tooltip.js +386 -0
  20. data/app/assets/javascripts/bootstrap/transition.js +56 -0
  21. data/app/assets/stylesheets/bootstrap.css.sass +59 -0
  22. data/app/assets/stylesheets/bootstrap/_alerts.css.sass +55 -0
  23. data/app/assets/stylesheets/bootstrap/_badges.css.sass +50 -0
  24. data/app/assets/stylesheets/bootstrap/_breadcrumbs.css.sass +19 -0
  25. data/app/assets/stylesheets/bootstrap/_button-groups.css.sass +210 -0
  26. data/app/assets/stylesheets/bootstrap/_buttons.css.sass +135 -0
  27. data/app/assets/stylesheets/bootstrap/_carousel.css.sass +165 -0
  28. data/app/assets/stylesheets/bootstrap/_close.css.sass +28 -0
  29. data/app/assets/stylesheets/bootstrap/_code.css.sass +49 -0
  30. data/app/assets/stylesheets/bootstrap/_component-animations.css.sass +25 -0
  31. data/app/assets/stylesheets/bootstrap/_dropdowns.css.sass +166 -0
  32. data/app/assets/stylesheets/bootstrap/_forms.css.sass +309 -0
  33. data/app/assets/stylesheets/bootstrap/_glyphicons.css.sass +827 -0
  34. data/app/assets/stylesheets/bootstrap/_grid.css.sass +483 -0
  35. data/app/assets/stylesheets/bootstrap/_input-groups.css.sass +117 -0
  36. data/app/assets/stylesheets/bootstrap/_jumbotron.css.sass +28 -0
  37. data/app/assets/stylesheets/bootstrap/_labels.css.sass +46 -0
  38. data/app/assets/stylesheets/bootstrap/_list-group.css.sass +71 -0
  39. data/app/assets/stylesheets/bootstrap/_media.css.sass +47 -0
  40. data/app/assets/stylesheets/bootstrap/_mixins.css.sass +754 -0
  41. data/app/assets/stylesheets/bootstrap/_modals.css.sass +127 -0
  42. data/app/assets/stylesheets/bootstrap/_navbar.css.sass +457 -0
  43. data/app/assets/stylesheets/bootstrap/_navs.css.sass +171 -0
  44. data/app/assets/stylesheets/bootstrap/_normalize.css.sass +375 -0
  45. data/app/assets/stylesheets/bootstrap/_pager.css.sass +39 -0
  46. data/app/assets/stylesheets/bootstrap/_pagination.css.sass +66 -0
  47. data/app/assets/stylesheets/bootstrap/_panels.css.sass +114 -0
  48. data/app/assets/stylesheets/bootstrap/_popovers.css.sass +124 -0
  49. data/app/assets/stylesheets/bootstrap/_print.css.sass +66 -0
  50. data/app/assets/stylesheets/bootstrap/_progress-bars.css.sass +90 -0
  51. data/app/assets/stylesheets/bootstrap/_responsive-utilities.css.sass +152 -0
  52. data/app/assets/stylesheets/bootstrap/_scaffolding.css.sass +108 -0
  53. data/app/assets/stylesheets/bootstrap/_tables.css.sass +176 -0
  54. data/app/assets/stylesheets/bootstrap/_theme.css.sass +228 -0
  55. data/app/assets/stylesheets/bootstrap/_thumbnails.css.sass +26 -0
  56. data/app/assets/stylesheets/bootstrap/_tooltip.css.sass +91 -0
  57. data/app/assets/stylesheets/bootstrap/_type.css.sass +251 -0
  58. data/app/assets/stylesheets/bootstrap/_utilities.css.sass +36 -0
  59. data/app/assets/stylesheets/bootstrap/_variables.css.sass +614 -0
  60. data/app/assets/stylesheets/bootstrap/_wells.css.sass +25 -0
  61. data/bin/convert-sass.sh +3 -0
  62. data/bootstrap_sass_rails.gemspec +25 -0
  63. data/lib/bootstrap_sass_rails.rb +13 -0
  64. data/lib/bootstrap_sass_rails/engine.rb +4 -0
  65. data/lib/bootstrap_sass_rails/version.rb +3 -0
  66. metadata +152 -0
@@ -0,0 +1,25 @@
1
+ //
2
+ // Wells
3
+ // --------------------------------------------------
4
+
5
+ // Base class
6
+ .well
7
+ min-height: 20px
8
+ padding: 19px
9
+ margin-bottom: 20px
10
+ background-color: $well-bg
11
+ border: 1px solid darken($well-bg, 7%)
12
+ border-radius: $border-radius-base
13
+ +box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.05))
14
+ blockquote
15
+ border-color: #ddd
16
+ border-color: rgba(0, 0, 0, 0.15)
17
+
18
+ // Sizes
19
+ .well-lg
20
+ padding: 24px
21
+ border-radius: $border-radius-large
22
+
23
+ .well-sm
24
+ padding: 9px
25
+ border-radius: $border-radius-small
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ for F in $(find ./app/assets -name '*.scss'); do export FILENAME=${F##*/} && bundle exec sass-convert $F ${F%$FILENAME}`basename "${F}" ".scss"`.css.sass && rm $F; done
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bootstrap_sass_rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "bootstrap_sass_rails"
8
+ spec.version = BootstrapSassRails::VERSION
9
+ spec.authors = ["John Koht"]
10
+ spec.email = ["john@kohactive.com"]
11
+ spec.description = "Bootstrap Sass for Rails Asset Pipeline"
12
+ spec.summary = "Bootstrap Sass for Rails Asset Pipeline"
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+
24
+ spec.add_dependency "sass", ">= 3.0"
25
+ end
@@ -0,0 +1,13 @@
1
+ require "bootstrap_sass_rails/version"
2
+
3
+ unless defined?(Sass)
4
+ require 'sass'
5
+ end
6
+
7
+ module BootstrapSassRails
8
+ if defined?(Rails) && defined?(Rails::Engine)
9
+ require "bootstrap_sass_rails/engine"
10
+ else
11
+ Sass.load_paths << File.expand_path("../../app/assets/stylesheets/bootstrap", __FILE__)
12
+ end
13
+ end
@@ -0,0 +1,4 @@
1
+ module BootstrapSassRails
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module BootstrapSassRails
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,152 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bootstrap_sass_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - John Koht
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sass
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: Bootstrap Sass for Rails Asset Pipeline
56
+ email:
57
+ - john@kohactive.com
58
+ executables:
59
+ - convert-sass.sh
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - .gitignore
64
+ - .rvmrc
65
+ - Gemfile
66
+ - LICENSE.txt
67
+ - README.md
68
+ - Rakefile
69
+ - app/assets/javascripts/bootstrap.js
70
+ - app/assets/javascripts/bootstrap/affix.js
71
+ - app/assets/javascripts/bootstrap/alert.js
72
+ - app/assets/javascripts/bootstrap/button.js
73
+ - app/assets/javascripts/bootstrap/carousel.js
74
+ - app/assets/javascripts/bootstrap/collapse.js
75
+ - app/assets/javascripts/bootstrap/dropdown.js
76
+ - app/assets/javascripts/bootstrap/modal.js
77
+ - app/assets/javascripts/bootstrap/popover.js
78
+ - app/assets/javascripts/bootstrap/scrollspy.js
79
+ - app/assets/javascripts/bootstrap/tab.js
80
+ - app/assets/javascripts/bootstrap/tooltip.js
81
+ - app/assets/javascripts/bootstrap/transition.js
82
+ - app/assets/stylesheets/bootstrap.css.sass
83
+ - app/assets/stylesheets/bootstrap/_alerts.css.sass
84
+ - app/assets/stylesheets/bootstrap/_badges.css.sass
85
+ - app/assets/stylesheets/bootstrap/_breadcrumbs.css.sass
86
+ - app/assets/stylesheets/bootstrap/_button-groups.css.sass
87
+ - app/assets/stylesheets/bootstrap/_buttons.css.sass
88
+ - app/assets/stylesheets/bootstrap/_carousel.css.sass
89
+ - app/assets/stylesheets/bootstrap/_close.css.sass
90
+ - app/assets/stylesheets/bootstrap/_code.css.sass
91
+ - app/assets/stylesheets/bootstrap/_component-animations.css.sass
92
+ - app/assets/stylesheets/bootstrap/_dropdowns.css.sass
93
+ - app/assets/stylesheets/bootstrap/_forms.css.sass
94
+ - app/assets/stylesheets/bootstrap/_glyphicons.css.sass
95
+ - app/assets/stylesheets/bootstrap/_grid.css.sass
96
+ - app/assets/stylesheets/bootstrap/_input-groups.css.sass
97
+ - app/assets/stylesheets/bootstrap/_jumbotron.css.sass
98
+ - app/assets/stylesheets/bootstrap/_labels.css.sass
99
+ - app/assets/stylesheets/bootstrap/_list-group.css.sass
100
+ - app/assets/stylesheets/bootstrap/_media.css.sass
101
+ - app/assets/stylesheets/bootstrap/_mixins.css.sass
102
+ - app/assets/stylesheets/bootstrap/_modals.css.sass
103
+ - app/assets/stylesheets/bootstrap/_navbar.css.sass
104
+ - app/assets/stylesheets/bootstrap/_navs.css.sass
105
+ - app/assets/stylesheets/bootstrap/_normalize.css.sass
106
+ - app/assets/stylesheets/bootstrap/_pager.css.sass
107
+ - app/assets/stylesheets/bootstrap/_pagination.css.sass
108
+ - app/assets/stylesheets/bootstrap/_panels.css.sass
109
+ - app/assets/stylesheets/bootstrap/_popovers.css.sass
110
+ - app/assets/stylesheets/bootstrap/_print.css.sass
111
+ - app/assets/stylesheets/bootstrap/_progress-bars.css.sass
112
+ - app/assets/stylesheets/bootstrap/_responsive-utilities.css.sass
113
+ - app/assets/stylesheets/bootstrap/_scaffolding.css.sass
114
+ - app/assets/stylesheets/bootstrap/_tables.css.sass
115
+ - app/assets/stylesheets/bootstrap/_theme.css.sass
116
+ - app/assets/stylesheets/bootstrap/_thumbnails.css.sass
117
+ - app/assets/stylesheets/bootstrap/_tooltip.css.sass
118
+ - app/assets/stylesheets/bootstrap/_type.css.sass
119
+ - app/assets/stylesheets/bootstrap/_utilities.css.sass
120
+ - app/assets/stylesheets/bootstrap/_variables.css.sass
121
+ - app/assets/stylesheets/bootstrap/_wells.css.sass
122
+ - bin/convert-sass.sh
123
+ - bootstrap_sass_rails.gemspec
124
+ - lib/bootstrap_sass_rails.rb
125
+ - lib/bootstrap_sass_rails/engine.rb
126
+ - lib/bootstrap_sass_rails/version.rb
127
+ homepage: ''
128
+ licenses:
129
+ - MIT
130
+ metadata: {}
131
+ post_install_message:
132
+ rdoc_options: []
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ! '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ required_rubygems_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ requirements: []
146
+ rubyforge_project:
147
+ rubygems_version: 2.0.7
148
+ signing_key:
149
+ specification_version: 4
150
+ summary: Bootstrap Sass for Rails Asset Pipeline
151
+ test_files: []
152
+ has_rdoc: