bootstrap-sass-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.
- data/LICENSE +1 -1
- data/README.md +24 -133
- data/app/assets/javascripts/twitter/bootstrap.js +1 -12
- data/app/assets/javascripts/twitter/bootstrap/affix.js +1 -126
- data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -98
- data/app/assets/javascripts/twitter/bootstrap/button.js +1 -115
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +1 -217
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +1 -179
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +1 -154
- data/app/assets/javascripts/twitter/bootstrap/modal.js +1 -246
- data/app/assets/javascripts/twitter/bootstrap/popover.js +1 -117
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +1 -158
- data/app/assets/javascripts/twitter/bootstrap/tab.js +1 -135
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +1 -386
- data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -56
- data/app/assets/stylesheets/twitter/bootstrap.css.scss +1 -49
- data/app/assets/stylesheets/twitter/bootstrap/_alerts.scss +1 -67
- data/app/assets/stylesheets/twitter/bootstrap/_badges.scss +1 -51
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +1 -23
- data/app/assets/stylesheets/twitter/bootstrap/_button-groups.scss +1 -227
- data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +1 -155
- data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +1 -232
- data/app/assets/stylesheets/twitter/bootstrap/_close.scss +1 -34
- data/app/assets/stylesheets/twitter/bootstrap/_code.scss +1 -53
- data/app/assets/stylesheets/twitter/bootstrap/_component-animations.scss +1 -29
- data/app/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +1 -187
- data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +1 -373
- data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +1 -237
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +1 -78
- data/app/assets/stylesheets/twitter/bootstrap/_input-groups.scss +1 -136
- data/app/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +1 -46
- data/app/assets/stylesheets/twitter/bootstrap/_labels.scss +1 -64
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +1 -88
- data/app/assets/stylesheets/twitter/bootstrap/_media.scss +1 -56
- data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +1 -847
- data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +1 -129
- data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +1 -616
- data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +1 -242
- data/app/assets/stylesheets/twitter/bootstrap/_normalize.scss +1 -406
- data/app/assets/stylesheets/twitter/bootstrap/_pager.scss +1 -55
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +1 -85
- data/app/assets/stylesheets/twitter/bootstrap/_panels.scss +1 -182
- data/app/assets/stylesheets/twitter/bootstrap/_popovers.scss +1 -133
- data/app/assets/stylesheets/twitter/bootstrap/_print.scss +1 -105
- data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +1 -80
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +1 -198
- data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +1 -119
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +1 -231
- data/app/assets/stylesheets/twitter/bootstrap/_theme.scss +1 -247
- data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +1 -38
- data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +1 -95
- data/app/assets/stylesheets/twitter/bootstrap/_type.scss +1 -281
- data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +1 -56
- data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +1 -642
- data/app/assets/stylesheets/twitter/bootstrap/_wells.scss +1 -29
- data/lib/bootstrap-sass-rails.rb +1 -1
- data/lib/bootstrap/sass/rails/engine.rb +3 -8
- data/lib/bootstrap/sass/rails/version.rb +2 -1
- data/lib/generators/bootstrap/templates/USAGE +1 -1
- metadata +37 -17
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +0 -229
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/bootstrap/sass/extensions.rb +0 -5
- data/lib/bootstrap/sass/extensions/functions.rb +0 -15
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
module Bootstrap::Sass::Extensions::Functions
|
2
|
-
# Snatched from compass 0.11 - used for gradients in IE6-9
|
3
|
-
# returns an IE hex string for a color with an alpha channel
|
4
|
-
# suitable for passing to IE filters.
|
5
|
-
def ie_hex_str(color)
|
6
|
-
assert_type color, :Color
|
7
|
-
alpha = (color.alpha * 255).round
|
8
|
-
alphastr = alpha.to_s(16).rjust(2, '0')
|
9
|
-
Sass::Script::String.new("##{alphastr}#{color.send(:hex_str)[1..-1]}".upcase)
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
module Sass::Script::Functions
|
14
|
-
include Bootstrap::Sass::Extensions::Functions
|
15
|
-
end
|