twbs_sass_rails 0.6.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Rakefile +10 -3
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +469 -379
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/gemfiles/Gemfile.rails-4.0.x +1 -1
- data/gemfiles/Gemfile.rails-4.1.x +1 -1
- data/lib/twbs_sass_rails/version.rb +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/affix.js +19 -14
- data/vendor/assets/javascripts/twbs/bootstrap/alert.js +10 -6
- data/vendor/assets/javascripts/twbs/bootstrap/button.js +11 -8
- data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +49 -31
- data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +22 -22
- data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +17 -13
- data/vendor/assets/javascripts/twbs/bootstrap/modal.js +66 -29
- data/vendor/assets/javascripts/twbs/bootstrap/popover.js +10 -7
- data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +40 -23
- data/vendor/assets/javascripts/twbs/bootstrap/tab.js +11 -8
- data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +115 -57
- data/vendor/assets/javascripts/twbs/bootstrap/transition.js +18 -7
- data/vendor/assets/javascripts/twbs/bootstrap.js +12 -12
- data/vendor/assets/stylesheets/fontawesome/_icons.scss +97 -3
- data/vendor/assets/stylesheets/fontawesome/_mixins.scss +2 -2
- data/vendor/assets/stylesheets/fontawesome/_spinning.scss +8 -6
- data/vendor/assets/stylesheets/fontawesome/_variables.scss +464 -330
- data/vendor/assets/stylesheets/fontawesome/font-awesome.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_alerts.scss +4 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/_badges.scss +13 -11
- data/vendor/assets/stylesheets/twbs/bootstrap/_button-groups.scss +16 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_buttons.scss +0 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_carousel.scss +15 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/_code.scss +6 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_component-animations.scss +10 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/_dropdowns.scss +2 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_forms.scss +144 -42
- data/vendor/assets/stylesheets/twbs/bootstrap/_input-groups.scss +6 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_jumbotron.scss +4 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_labels.scss +11 -9
- data/vendor/assets/stylesheets/twbs/bootstrap/_list-group.scss +22 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_mixins.scss +35 -943
- data/vendor/assets/stylesheets/twbs/bootstrap/_modals.scss +18 -7
- data/vendor/assets/stylesheets/twbs/bootstrap/_navbar.scss +41 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_navs.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_normalize.scss +21 -19
- data/vendor/assets/stylesheets/twbs/bootstrap/_panels.scss +8 -6
- data/vendor/assets/stylesheets/twbs/bootstrap/_popovers.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_progress-bars.scss +27 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-embed.scss +34 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-utilities.scss +101 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_scaffolding.scss +17 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_tables.scss +4 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/_theme.scss +11 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_type.scss +32 -12
- data/vendor/assets/stylesheets/twbs/bootstrap/_utilities.scss +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_variables.scss +41 -24
- data/vendor/assets/stylesheets/twbs/bootstrap/bootstrap.scss +2 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_alerts.scss +14 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss +11 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_border-radius.scss +18 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_buttons.scss +50 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_clearfix.scss +22 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_forms.scss +84 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_gradients.scss +58 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_grid-framework.scss +81 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_grid.scss +122 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_hide-text.scss +21 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_image.scss +34 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_labels.scss +12 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_list-group.scss +31 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_opacity.scss +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_pagination.scss +23 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_panels.scss +24 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_progress-bar.scss +10 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_size.scss +10 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_tab-focus.scss +9 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_table-row.scss +28 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_text-emphasis.scss +11 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_text-overflow.scss +8 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_vendor-prefixes.scss +219 -0
- metadata +32 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a06def64c4b8cec2860e6f94c347adbf335d63d
|
4
|
+
data.tar.gz: 193a5cf149a45d1f6289dca49bc7ee04398b3df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 983ef5953e0c0beecfa17879b2452ea7b357208785363a658d4d9f2ee75d01e2a69beee6784701dfb47b8fe559910d7f2ea0e4667f9d4e4778893485a17e07a3
|
7
|
+
data.tar.gz: 8b96f2e66ad511d4eeff0d331d5b951b4459a319f491426db280f7cf51781a397150bd01eb3e1461a6fcfe259d1b9c176987be7c9035cb86d341d8d592c43fd4
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -46,15 +46,17 @@ SUBMODULES = {
|
|
46
46
|
}
|
47
47
|
|
48
48
|
SOURCE_FILES = {
|
49
|
-
bootstrap_stylesheets: File.expand_path('src/twbs/bootstrap-sass/
|
50
|
-
|
49
|
+
bootstrap_stylesheets: File.expand_path('src/twbs/bootstrap-sass/assets/stylesheets/bootstrap/*.scss'),
|
50
|
+
bootstrap_stylesheets_mixins: File.expand_path('src/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/*.scss'),
|
51
|
+
bootstrap_javascripts: File.expand_path('src/twbs/bootstrap-sass/assets/javascripts/bootstrap/*.js'),
|
51
52
|
fontawesome_stylesheets: File.expand_path('src/FortAwesome/Font-Awesome/scss/*.scss'),
|
52
|
-
glyphicons_fonts: File.expand_path('src/twbs/bootstrap-sass/
|
53
|
+
glyphicons_fonts: File.expand_path('src/twbs/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.*'),
|
53
54
|
fontawesome_fonts: File.expand_path('src/FortAwesome/Font-Awesome/fonts/fontawesome-webfont.*'),
|
54
55
|
}
|
55
56
|
|
56
57
|
DESTINATION_FOLDERS = {
|
57
58
|
bootstrap_stylesheets: File.expand_path('vendor/assets/stylesheets/twbs/bootstrap'),
|
59
|
+
bootstrap_stylesheets_mixins: File.expand_path('vendor/assets/stylesheets/twbs/bootstrap/mixins'),
|
58
60
|
bootstrap_javascripts: File.expand_path('vendor/assets/javascripts/twbs/bootstrap'),
|
59
61
|
fontawesome_stylesheets: File.expand_path('vendor/assets/stylesheets/fontawesome'),
|
60
62
|
glyphicons_fonts: File.expand_path('app/assets/fonts'),
|
@@ -88,6 +90,9 @@ namespace :update do
|
|
88
90
|
puts 'Adding respond.js...'
|
89
91
|
FileUtils.cp File.expand_path('src/scottjehl/Respond/src/respond.js'), File.expand_path('vendor/assets/javascripts/respond.js')
|
90
92
|
|
93
|
+
puts 'Importing bootstrap-sprockets.js'
|
94
|
+
FileUtils.cp File.expand_path('src/twbs/bootstrap-sass/assets/javascripts/bootstrap-sprockets.js'), File.expand_path('vendor/assets/javascripts/twbs/bootstrap.js')
|
95
|
+
|
91
96
|
puts 'Updating font paths...'
|
92
97
|
update_fontawesome_paths
|
93
98
|
update_glyphicons_paths
|
@@ -114,6 +119,7 @@ end
|
|
114
119
|
|
115
120
|
def copy_source_files_to_destination_folders
|
116
121
|
SOURCE_FILES.each do |k, v|
|
122
|
+
FileUtils.mkdir_p DESTINATION_FOLDERS[k] unless File.directory?(DESTINATION_FOLDERS[k])
|
117
123
|
FileUtils.cp Dir.glob(v), DESTINATION_FOLDERS[k]
|
118
124
|
end
|
119
125
|
end
|
@@ -132,6 +138,7 @@ def update_glyphicons_paths
|
|
132
138
|
file_name = "#{DESTINATION_FOLDERS[:bootstrap_stylesheets]}/_glyphicons.scss"
|
133
139
|
text = File.read(file_name)
|
134
140
|
text.gsub! /url\(if.*\#\{\$icon-font-name\}\.(.*)\)\)(.*)/, "font-url('\#{$icon-font-name}.\\1)\\2"
|
141
|
+
text.gsub! /\/\/= depend_on.*\n/, ''
|
135
142
|
File.open(file_name, 'w') { |file| file.puts text }
|
136
143
|
end
|
137
144
|
|
Binary file
|