twbs_less_rails 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/CONTRIBUTING.md +1 -1
  4. data/Gemfile.lock +2 -2
  5. data/Rakefile +3 -6
  6. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  7. data/app/assets/fonts/fontawesome-webfont.svg +21 -6
  8. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  9. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  10. data/lib/twbs_less_rails/version.rb +1 -1
  11. data/vendor/assets/javascripts/twbs/bootstrap/affix.js +1 -1
  12. data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +1 -1
  13. data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +1 -1
  14. data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +1 -1
  15. data/vendor/assets/javascripts/twbs/bootstrap/modal.js +1 -1
  16. data/vendor/assets/javascripts/twbs/bootstrap/popover.js +1 -1
  17. data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +1 -1
  18. data/vendor/assets/javascripts/twbs/bootstrap/tab.js +1 -1
  19. data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +1 -1
  20. data/vendor/assets/stylesheets/fontawesome/bordered-pulled.less +16 -0
  21. data/vendor/assets/stylesheets/fontawesome/core.less +9 -126
  22. data/vendor/assets/stylesheets/fontawesome/extras.less +2 -93
  23. data/vendor/assets/stylesheets/fontawesome/fixed-width.less +6 -0
  24. data/vendor/assets/stylesheets/fontawesome/font-awesome.less +13 -8
  25. data/vendor/assets/stylesheets/fontawesome/icons.less +409 -378
  26. data/vendor/assets/stylesheets/fontawesome/larger.less +13 -0
  27. data/vendor/assets/stylesheets/fontawesome/list.less +19 -0
  28. data/vendor/assets/stylesheets/fontawesome/mixins.less +14 -42
  29. data/vendor/assets/stylesheets/fontawesome/rotated-flipped.less +9 -0
  30. data/vendor/assets/stylesheets/fontawesome/spinning.less +30 -0
  31. data/vendor/assets/stylesheets/fontawesome/stacked.less +19 -0
  32. data/vendor/assets/stylesheets/fontawesome/variables.less +378 -731
  33. data/vendor/assets/stylesheets/twbs/bootstrap/button-groups.less +5 -0
  34. data/vendor/assets/stylesheets/twbs/bootstrap/carousel.less +11 -0
  35. data/vendor/assets/stylesheets/twbs/bootstrap/code.less +1 -1
  36. data/vendor/assets/stylesheets/twbs/bootstrap/glyphicons.less +1 -1
  37. data/vendor/assets/stylesheets/twbs/bootstrap/mixins.less +12 -2
  38. data/vendor/assets/stylesheets/twbs/bootstrap/modals.less +1 -0
  39. data/vendor/assets/stylesheets/twbs/bootstrap/navbar.less +7 -4
  40. data/vendor/assets/stylesheets/twbs/bootstrap/panels.less +4 -0
  41. data/vendor/assets/stylesheets/twbs/bootstrap/print.less +0 -1
  42. data/vendor/assets/stylesheets/twbs/bootstrap/theme.less +1 -0
  43. metadata +9 -3
  44. data/vendor/assets/stylesheets/fontawesome/bootstrap.less +0 -84
@@ -0,0 +1,13 @@
1
+ // Icon Sizes
2
+ // -------------------------
3
+
4
+ /* makes the font 33% larger relative to the icon container */
5
+ .@{fa-css-prefix}-lg {
6
+ font-size: (4em / 3);
7
+ line-height: (3em / 4);
8
+ vertical-align: -15%;
9
+ }
10
+ .@{fa-css-prefix}-2x { font-size: 2em; }
11
+ .@{fa-css-prefix}-3x { font-size: 3em; }
12
+ .@{fa-css-prefix}-4x { font-size: 4em; }
13
+ .@{fa-css-prefix}-5x { font-size: 5em; }
@@ -0,0 +1,19 @@
1
+ // List Icons
2
+ // -------------------------
3
+
4
+ .@{fa-css-prefix}-ul {
5
+ padding-left: 0;
6
+ margin-left: @fa-li-width;
7
+ list-style-type: none;
8
+ > li { position: relative; }
9
+ }
10
+ .@{fa-css-prefix}-li {
11
+ position: absolute;
12
+ left: -@fa-li-width;
13
+ width: @fa-li-width;
14
+ top: (2em / 14);
15
+ text-align: center;
16
+ &.@{fa-css-prefix}-lg {
17
+ left: -@fa-li-width + (4em / 14);
18
+ }
19
+ }
@@ -1,48 +1,20 @@
1
1
  // Mixins
2
2
  // --------------------------
3
3
 
4
- .icon(@icon) {
5
- .icon-FontAwesome();
6
- content: @icon;
4
+ .fa-icon-rotate(@degrees, @rotation) {
5
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
6
+ -webkit-transform: rotate(@degrees);
7
+ -moz-transform: rotate(@degrees);
8
+ -ms-transform: rotate(@degrees);
9
+ -o-transform: rotate(@degrees);
10
+ transform: rotate(@degrees);
7
11
  }
8
12
 
9
- .icon-FontAwesome() {
10
- font-family: FontAwesome;
11
- font-weight: normal;
12
- font-style: normal;
13
- text-decoration: inherit;
14
- -webkit-font-smoothing: antialiased;
15
- *margin-right: .3em; // fixes ie7 issues
16
- }
17
-
18
- .border-radius(@radius) {
19
- -webkit-border-radius: @radius;
20
- -moz-border-radius: @radius;
21
- border-radius: @radius;
22
- }
23
-
24
- .icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) {
25
- .icon-stack {
26
- position: relative;
27
- display: inline-block;
28
- width: @width;
29
- height: @height;
30
- line-height: @width;
31
- vertical-align: -35%;
32
- [class^="icon-"],
33
- [class*=" icon-"] {
34
- display: block;
35
- text-align: center;
36
- position: absolute;
37
- width: 100%;
38
- height: 100%;
39
- font-size: @top-font-size;
40
- line-height: inherit;
41
- *line-height: @height;
42
- }
43
- .icon-stack-base {
44
- font-size: @base-font-size;
45
- *line-height: @height / @base-font-size;
46
- }
47
- }
13
+ .fa-icon-flip(@horiz, @vert, @rotation) {
14
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
15
+ -webkit-transform: scale(@horiz, @vert);
16
+ -moz-transform: scale(@horiz, @vert);
17
+ -ms-transform: scale(@horiz, @vert);
18
+ -o-transform: scale(@horiz, @vert);
19
+ transform: scale(@horiz, @vert);
48
20
  }
@@ -0,0 +1,9 @@
1
+ // Rotated & Flipped Icons
2
+ // -------------------------
3
+
4
+ .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
5
+ .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
6
+ .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
7
+
8
+ .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
9
+ .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
@@ -0,0 +1,30 @@
1
+ // Spinning Icons
2
+ // --------------------------
3
+
4
+ .@{fa-css-prefix}-spin {
5
+ -webkit-animation: spin 2s infinite linear;
6
+ -moz-animation: spin 2s infinite linear;
7
+ -o-animation: spin 2s infinite linear;
8
+ animation: spin 2s infinite linear;
9
+ }
10
+
11
+ @-moz-keyframes spin {
12
+ 0% { -moz-transform: rotate(0deg); }
13
+ 100% { -moz-transform: rotate(359deg); }
14
+ }
15
+ @-webkit-keyframes spin {
16
+ 0% { -webkit-transform: rotate(0deg); }
17
+ 100% { -webkit-transform: rotate(359deg); }
18
+ }
19
+ @-o-keyframes spin {
20
+ 0% { -o-transform: rotate(0deg); }
21
+ 100% { -o-transform: rotate(359deg); }
22
+ }
23
+ @-ms-keyframes spin {
24
+ 0% { -ms-transform: rotate(0deg); }
25
+ 100% { -ms-transform: rotate(359deg); }
26
+ }
27
+ @keyframes spin {
28
+ 0% { transform: rotate(0deg); }
29
+ 100% { transform: rotate(359deg); }
30
+ }
@@ -0,0 +1,19 @@
1
+ // Stacked Icons
2
+ // -------------------------
3
+
4
+ .@{fa-css-prefix}-stack {
5
+ position: relative;
6
+ display: inline-block;
7
+ width: 2em;
8
+ height: 2em;
9
+ line-height: 2em;
10
+ vertical-align: middle;
11
+ }
12
+ .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
13
+ position: absolute;
14
+ width: 100%;
15
+ text-align: center;
16
+ }
17
+ .@{fa-css-prefix}-stack-1x { line-height: inherit; }
18
+ .@{fa-css-prefix}-stack-2x { font-size: 2em; }
19
+ .@{fa-css-prefix}-inverse { color: @fa-inverse; }