twbs_less_rails 2.10.3 → 2.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/Rakefile +6 -3
  4. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  5. data/app/assets/fonts/fontawesome-webfont.svg +469 -379
  6. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  7. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  8. data/gemfiles/Gemfile.rails-3.2.x +1 -1
  9. data/gemfiles/Gemfile.rails-4.0.x +1 -1
  10. data/gemfiles/Gemfile.rails-4.1.x +1 -1
  11. data/lib/twbs_less_rails/version.rb +1 -1
  12. data/vendor/assets/javascripts/twbs/bootstrap/affix.js +19 -14
  13. data/vendor/assets/javascripts/twbs/bootstrap/alert.js +10 -6
  14. data/vendor/assets/javascripts/twbs/bootstrap/button.js +11 -8
  15. data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +49 -31
  16. data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +22 -22
  17. data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +17 -13
  18. data/vendor/assets/javascripts/twbs/bootstrap/modal.js +66 -29
  19. data/vendor/assets/javascripts/twbs/bootstrap/popover.js +10 -7
  20. data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +40 -23
  21. data/vendor/assets/javascripts/twbs/bootstrap/tab.js +11 -8
  22. data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +115 -57
  23. data/vendor/assets/javascripts/twbs/bootstrap/transition.js +18 -7
  24. data/vendor/assets/javascripts/twbs/bootstrap.js +4 -4
  25. data/vendor/assets/stylesheets/fontawesome/font-awesome.less +13 -13
  26. data/vendor/assets/stylesheets/fontawesome/icons.less +97 -3
  27. data/vendor/assets/stylesheets/fontawesome/spinning.less +8 -6
  28. data/vendor/assets/stylesheets/fontawesome/variables.less +463 -329
  29. data/vendor/assets/stylesheets/twbs/bootstrap/alerts.less +4 -3
  30. data/vendor/assets/stylesheets/twbs/bootstrap/badges.less +18 -18
  31. data/vendor/assets/stylesheets/twbs/bootstrap/bootstrap.less +2 -1
  32. data/vendor/assets/stylesheets/twbs/bootstrap/button-groups.less +16 -2
  33. data/vendor/assets/stylesheets/twbs/bootstrap/buttons.less +0 -2
  34. data/vendor/assets/stylesheets/twbs/bootstrap/carousel.less +15 -4
  35. data/vendor/assets/stylesheets/twbs/bootstrap/code.less +6 -1
  36. data/vendor/assets/stylesheets/twbs/bootstrap/component-animations.less +6 -4
  37. data/vendor/assets/stylesheets/twbs/bootstrap/dropdowns.less +2 -0
  38. data/vendor/assets/stylesheets/twbs/bootstrap/forms.less +144 -42
  39. data/vendor/assets/stylesheets/twbs/bootstrap/input-groups.less +6 -2
  40. data/vendor/assets/stylesheets/twbs/bootstrap/jumbotron.less +4 -0
  41. data/vendor/assets/stylesheets/twbs/bootstrap/labels.less +1 -1
  42. data/vendor/assets/stylesheets/twbs/bootstrap/list-group.less +22 -1
  43. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/alerts.less +14 -0
  44. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/background-variant.less +8 -0
  45. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/border-radius.less +18 -0
  46. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/buttons.less +50 -0
  47. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/center-block.less +7 -0
  48. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/clearfix.less +22 -0
  49. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/forms.less +81 -0
  50. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/gradients.less +59 -0
  51. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/grid-framework.less +91 -0
  52. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/grid.less +122 -0
  53. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/hide-text.less +21 -0
  54. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/image.less +34 -0
  55. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/labels.less +12 -0
  56. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/list-group.less +29 -0
  57. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/nav-divider.less +10 -0
  58. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/nav-vertical-align.less +9 -0
  59. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/opacity.less +8 -0
  60. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/pagination.less +23 -0
  61. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/panels.less +24 -0
  62. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/progress-bar.less +10 -0
  63. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/reset-filter.less +8 -0
  64. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/resize.less +6 -0
  65. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/responsive-visibility.less +15 -0
  66. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/size.less +10 -0
  67. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/tab-focus.less +9 -0
  68. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/table-row.less +28 -0
  69. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/text-emphasis.less +8 -0
  70. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/text-overflow.less +8 -0
  71. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/vendor-prefixes.less +224 -0
  72. data/vendor/assets/stylesheets/twbs/bootstrap/mixins.less +35 -925
  73. data/vendor/assets/stylesheets/twbs/bootstrap/modals.less +18 -7
  74. data/vendor/assets/stylesheets/twbs/bootstrap/navbar.less +41 -2
  75. data/vendor/assets/stylesheets/twbs/bootstrap/navs.less +1 -1
  76. data/vendor/assets/stylesheets/twbs/bootstrap/normalize.less +21 -19
  77. data/vendor/assets/stylesheets/twbs/bootstrap/panels.less +8 -6
  78. data/vendor/assets/stylesheets/twbs/bootstrap/popovers.less +1 -1
  79. data/vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less +27 -2
  80. data/vendor/assets/stylesheets/twbs/bootstrap/responsive-embed.less +34 -0
  81. data/vendor/assets/stylesheets/twbs/bootstrap/responsive-utilities.less +103 -1
  82. data/vendor/assets/stylesheets/twbs/bootstrap/scaffolding.less +17 -1
  83. data/vendor/assets/stylesheets/twbs/bootstrap/tables.less +4 -4
  84. data/vendor/assets/stylesheets/twbs/bootstrap/theme.less +11 -0
  85. data/vendor/assets/stylesheets/twbs/bootstrap/type.less +32 -12
  86. data/vendor/assets/stylesheets/twbs/bootstrap/utilities.less +1 -0
  87. data/vendor/assets/stylesheets/twbs/bootstrap/variables.less +40 -23
  88. metadata +32 -2
@@ -0,0 +1,9 @@
1
+ // WebKit-style focus
2
+
3
+ .tab-focus() {
4
+ // Default
5
+ outline: thin dotted;
6
+ // WebKit
7
+ outline: 5px auto -webkit-focus-ring-color;
8
+ outline-offset: -2px;
9
+ }
@@ -0,0 +1,28 @@
1
+ // Tables
2
+
3
+ .table-row-variant(@state; @background) {
4
+ // Exact selectors below required to override `.table-striped` and prevent
5
+ // inheritance to nested tables.
6
+ .table > thead > tr,
7
+ .table > tbody > tr,
8
+ .table > tfoot > tr {
9
+ > td.@{state},
10
+ > th.@{state},
11
+ &.@{state} > td,
12
+ &.@{state} > th {
13
+ background-color: @background;
14
+ }
15
+ }
16
+
17
+ // Hover states for `.table-hover`
18
+ // Note: this is not available for cells or rows within `thead` or `tfoot`.
19
+ .table-hover > tbody > tr {
20
+ > td.@{state}:hover,
21
+ > th.@{state}:hover,
22
+ &.@{state}:hover > td,
23
+ &:hover > .@{state},
24
+ &.@{state}:hover > th {
25
+ background-color: darken(@background, 5%);
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,8 @@
1
+ // Typography
2
+
3
+ .text-emphasis-variant(@color) {
4
+ color: @color;
5
+ a&:hover {
6
+ color: darken(@color, 10%);
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ // Text overflow
2
+ // Requires inline-block or block for proper styling
3
+
4
+ .text-overflow() {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ white-space: nowrap;
8
+ }
@@ -0,0 +1,224 @@
1
+ // Vendor Prefixes
2
+ //
3
+ // All vendor mixins are deprecated as of v3.2.0 due to the introduction of
4
+ // Autoprefixer in our Gruntfile. They will be removed in v4.
5
+
6
+ // - Animations
7
+ // - Backface visibility
8
+ // - Box shadow
9
+ // - Box sizing
10
+ // - Content columns
11
+ // - Hyphens
12
+ // - Placeholder text
13
+ // - Transformations
14
+ // - Transitions
15
+ // - User Select
16
+
17
+
18
+ // Animations
19
+ .animation(@animation) {
20
+ -webkit-animation: @animation;
21
+ -o-animation: @animation;
22
+ animation: @animation;
23
+ }
24
+ .animation-name(@name) {
25
+ -webkit-animation-name: @name;
26
+ animation-name: @name;
27
+ }
28
+ .animation-duration(@duration) {
29
+ -webkit-animation-duration: @duration;
30
+ animation-duration: @duration;
31
+ }
32
+ .animation-timing-function(@timing-function) {
33
+ -webkit-animation-timing-function: @timing-function;
34
+ animation-timing-function: @timing-function;
35
+ }
36
+ .animation-delay(@delay) {
37
+ -webkit-animation-delay: @delay;
38
+ animation-delay: @delay;
39
+ }
40
+ .animation-iteration-count(@iteration-count) {
41
+ -webkit-animation-iteration-count: @iteration-count;
42
+ animation-iteration-count: @iteration-count;
43
+ }
44
+ .animation-direction(@direction) {
45
+ -webkit-animation-direction: @direction;
46
+ animation-direction: @direction;
47
+ }
48
+ .animation-fill-mode(@fill-mode) {
49
+ -webkit-animation-fill-mode: @fill-mode;
50
+ animation-fill-mode: @fill-mode;
51
+ }
52
+
53
+ // Backface visibility
54
+ // Prevent browsers from flickering when using CSS 3D transforms.
55
+ // Default value is `visible`, but can be changed to `hidden`
56
+
57
+ .backface-visibility(@visibility){
58
+ -webkit-backface-visibility: @visibility;
59
+ -moz-backface-visibility: @visibility;
60
+ backface-visibility: @visibility;
61
+ }
62
+
63
+ // Drop shadows
64
+ //
65
+ // Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
66
+ // supported browsers that have box shadow capabilities now support it.
67
+
68
+ .box-shadow(@shadow) {
69
+ -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
70
+ box-shadow: @shadow;
71
+ }
72
+
73
+ // Box sizing
74
+ .box-sizing(@boxmodel) {
75
+ -webkit-box-sizing: @boxmodel;
76
+ -moz-box-sizing: @boxmodel;
77
+ box-sizing: @boxmodel;
78
+ }
79
+
80
+ // CSS3 Content Columns
81
+ .content-columns(@column-count; @column-gap: @grid-gutter-width) {
82
+ -webkit-column-count: @column-count;
83
+ -moz-column-count: @column-count;
84
+ column-count: @column-count;
85
+ -webkit-column-gap: @column-gap;
86
+ -moz-column-gap: @column-gap;
87
+ column-gap: @column-gap;
88
+ }
89
+
90
+ // Optional hyphenation
91
+ .hyphens(@mode: auto) {
92
+ word-wrap: break-word;
93
+ -webkit-hyphens: @mode;
94
+ -moz-hyphens: @mode;
95
+ -ms-hyphens: @mode; // IE10+
96
+ -o-hyphens: @mode;
97
+ hyphens: @mode;
98
+ }
99
+
100
+ // Placeholder text
101
+ .placeholder(@color: @input-color-placeholder) {
102
+ &::-moz-placeholder { color: @color; // Firefox
103
+ opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
104
+ &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
105
+ &::-webkit-input-placeholder { color: @color; } // Safari and Chrome
106
+ }
107
+
108
+ // Transformations
109
+ .scale(@ratio) {
110
+ -webkit-transform: scale(@ratio);
111
+ -ms-transform: scale(@ratio); // IE9 only
112
+ -o-transform: scale(@ratio);
113
+ transform: scale(@ratio);
114
+ }
115
+ .scale(@ratioX; @ratioY) {
116
+ -webkit-transform: scale(@ratioX, @ratioY);
117
+ -ms-transform: scale(@ratioX, @ratioY); // IE9 only
118
+ -o-transform: scale(@ratioX, @ratioY);
119
+ transform: scale(@ratioX, @ratioY);
120
+ }
121
+ .scaleX(@ratio) {
122
+ -webkit-transform: scaleX(@ratio);
123
+ -ms-transform: scaleX(@ratio); // IE9 only
124
+ -o-transform: scaleX(@ratio);
125
+ transform: scaleX(@ratio);
126
+ }
127
+ .scaleY(@ratio) {
128
+ -webkit-transform: scaleY(@ratio);
129
+ -ms-transform: scaleY(@ratio); // IE9 only
130
+ -o-transform: scaleY(@ratio);
131
+ transform: scaleY(@ratio);
132
+ }
133
+ .skew(@x; @y) {
134
+ -webkit-transform: skewX(@x) skewY(@y);
135
+ -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
136
+ -o-transform: skewX(@x) skewY(@y);
137
+ transform: skewX(@x) skewY(@y);
138
+ }
139
+ .translate(@x; @y) {
140
+ -webkit-transform: translate(@x, @y);
141
+ -ms-transform: translate(@x, @y); // IE9 only
142
+ -o-transform: translate(@x, @y);
143
+ transform: translate(@x, @y);
144
+ }
145
+ .translate3d(@x; @y; @z) {
146
+ -webkit-transform: translate3d(@x, @y, @z);
147
+ transform: translate3d(@x, @y, @z);
148
+ }
149
+ .rotate(@degrees) {
150
+ -webkit-transform: rotate(@degrees);
151
+ -ms-transform: rotate(@degrees); // IE9 only
152
+ -o-transform: rotate(@degrees);
153
+ transform: rotate(@degrees);
154
+ }
155
+ .rotateX(@degrees) {
156
+ -webkit-transform: rotateX(@degrees);
157
+ -ms-transform: rotateX(@degrees); // IE9 only
158
+ -o-transform: rotateX(@degrees);
159
+ transform: rotateX(@degrees);
160
+ }
161
+ .rotateY(@degrees) {
162
+ -webkit-transform: rotateY(@degrees);
163
+ -ms-transform: rotateY(@degrees); // IE9 only
164
+ -o-transform: rotateY(@degrees);
165
+ transform: rotateY(@degrees);
166
+ }
167
+ .perspective(@perspective) {
168
+ -webkit-perspective: @perspective;
169
+ -moz-perspective: @perspective;
170
+ perspective: @perspective;
171
+ }
172
+ .perspective-origin(@perspective) {
173
+ -webkit-perspective-origin: @perspective;
174
+ -moz-perspective-origin: @perspective;
175
+ perspective-origin: @perspective;
176
+ }
177
+ .transform-origin(@origin) {
178
+ -webkit-transform-origin: @origin;
179
+ -moz-transform-origin: @origin;
180
+ -ms-transform-origin: @origin; // IE9 only
181
+ transform-origin: @origin;
182
+ }
183
+
184
+
185
+ // Transitions
186
+
187
+ .transition(@transition) {
188
+ -webkit-transition: @transition;
189
+ -o-transition: @transition;
190
+ transition: @transition;
191
+ }
192
+ .transition-property(@transition-property) {
193
+ -webkit-transition-property: @transition-property;
194
+ transition-property: @transition-property;
195
+ }
196
+ .transition-delay(@transition-delay) {
197
+ -webkit-transition-delay: @transition-delay;
198
+ transition-delay: @transition-delay;
199
+ }
200
+ .transition-duration(@transition-duration) {
201
+ -webkit-transition-duration: @transition-duration;
202
+ transition-duration: @transition-duration;
203
+ }
204
+ .transition-timing-function(@timing-function) {
205
+ -webkit-transition-timing-function: @timing-function;
206
+ transition-timing-function: @timing-function;
207
+ }
208
+ .transition-transform(@transition) {
209
+ -webkit-transition: -webkit-transform @transition;
210
+ -moz-transition: -moz-transform @transition;
211
+ -o-transition: -o-transform @transition;
212
+ transition: transform @transition;
213
+ }
214
+
215
+
216
+ // User select
217
+ // For selecting text on the page
218
+
219
+ .user-select(@select) {
220
+ -webkit-user-select: @select;
221
+ -moz-user-select: @select;
222
+ -ms-user-select: @select; // IE10+
223
+ user-select: @select;
224
+ }