anjlab-bootstrap-rails 3.0.0.0 → 3.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -0
- data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +5 -5
- data/lib/bootstrap-rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cc5139b5b3d4e9654af303ee8ee4ace22170038
|
4
|
+
data.tar.gz: 6c7a6dbe0bb72ce9073545cbfe5c4fd20a3a657d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d593fbd997711028c1f9f00b0f5d4b23fb1ea8d7433eac586cb00d39a12c7807f497b5d5b74ef992dd8c17064cd185bb1f524192a5e7335f0003f2dead31b559
|
7
|
+
data.tar.gz: f39db06ac66e2438361f74cdb22da9c8331884dc7a29f69a96f6d02383247328d7d016c6353c0dc964e087a192646f8e1cf6663d453d38ed7ff66c6fd12f4538
|
data/Rakefile
CHANGED
@@ -53,6 +53,11 @@ namespace :twitter do
|
|
53
53
|
variables = File.read vars_path
|
54
54
|
variables.sub!(/^\$icon-font-path:\s+".*"\s!default;/, "$icon-font-path: \"twitter/\" !default;")
|
55
55
|
File.write(vars_path, variables)
|
56
|
+
|
57
|
+
icons_path = 'app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss'
|
58
|
+
icons = File.read icons_path
|
59
|
+
icons.gsub!(/url\(/, "font-url(")
|
60
|
+
File.write(icons_path, icons)
|
56
61
|
end
|
57
62
|
|
58
63
|
desc "Update Twitter's Bootstrap SCSS"
|
@@ -10,11 +10,11 @@
|
|
10
10
|
// Import the fonts
|
11
11
|
@font-face {
|
12
12
|
font-family: 'Glyphicons Halflings';
|
13
|
-
src: url('#{$icon-font-path}#{$icon-font-name}.eot');
|
14
|
-
src: url('#{$icon-font-path}#{$icon-font-name}.eot?#iefix') format('embedded-opentype'),
|
15
|
-
url('#{$icon-font-path}#{$icon-font-name}.woff') format('woff'),
|
16
|
-
url('#{$icon-font-path}#{$icon-font-name}.ttf') format('truetype'),
|
17
|
-
url('#{$icon-font-path}#{$icon-font-name}.svg#glyphicons-halflingsregular') format('svg');
|
13
|
+
src: font-url('#{$icon-font-path}#{$icon-font-name}.eot');
|
14
|
+
src: font-url('#{$icon-font-path}#{$icon-font-name}.eot?#iefix') format('embedded-opentype'),
|
15
|
+
font-url('#{$icon-font-path}#{$icon-font-name}.woff') format('woff'),
|
16
|
+
font-url('#{$icon-font-path}#{$icon-font-name}.ttf') format('truetype'),
|
17
|
+
font-url('#{$icon-font-path}#{$icon-font-name}.svg#glyphicons-halflingsregular') format('svg');
|
18
18
|
}
|
19
19
|
|
20
20
|
// Catchall baseclass
|