compass_twitter_bootstrap 2.0.1.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/README.md +17 -0
  2. data/build/convert.rb +2 -12
  3. data/lib/compass_twitter_bootstrap/version.rb +1 -1
  4. data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
  5. data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
  6. data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
  7. data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
  8. data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
  9. data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
  10. data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
  11. data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
  12. data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
  13. data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
  14. data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
  15. data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
  16. data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
  17. data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
  18. data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
  19. data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
  20. data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
  21. data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
  22. data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
  23. data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
  24. data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
  25. data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
  26. data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
  27. data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
  28. data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
  29. data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
  30. data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
  31. data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
  32. data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
  33. data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
  34. data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
  35. data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
  36. data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
  37. data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
  38. data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
  39. data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
  40. data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
  41. data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
  42. data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
  43. data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
  44. data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
  45. data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
  46. data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
  47. data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
  48. data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
  49. data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
  50. data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
  51. data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
  52. data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
  53. data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
  54. data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
  55. data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
  56. data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
  57. data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
  58. data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
  59. data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
  60. data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
  61. data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
  62. data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
  63. data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
  64. data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
  65. data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
  66. data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
  67. data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
  68. data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
  69. data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
  70. data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
  71. data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
  72. data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
  73. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
  74. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
  75. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
  76. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
  77. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
  78. data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
  79. data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
  80. data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
  81. data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
  82. data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
  83. data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
  84. data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
  85. data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
  86. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  87. data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
  88. data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
  89. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  90. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  91. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  92. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  93. data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
  94. data/vendor/assets/javascripts/bootstrap-all.js +12 -0
  95. data/vendor/assets/javascripts/bootstrap-button.js +32 -34
  96. data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
  97. data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
  98. data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
  99. data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
  100. data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
  101. data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
  102. data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
  103. data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
  104. data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
  105. data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
  106. metadata +29 -9
  107. data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
  108. data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
@@ -21,6 +21,26 @@
21
21
  background-color: $grayLighter;
22
22
  }
23
23
 
24
+ // Redeclare pull classes because of specifity
25
+ .nav > .pull-right {
26
+ float: right;
27
+ }
28
+
29
+ // Nav headers (for dropdowns and lists)
30
+ .nav .nav-header {
31
+ display: block;
32
+ padding: 3px 15px;
33
+ font-size: 11px;
34
+ font-weight: bold;
35
+ line-height: $baseLineHeight;
36
+ color: $grayLight;
37
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
38
+ text-transform: uppercase;
39
+ }
40
+ // Space them out when they follow another list item (link)
41
+ .nav li + .nav-header {
42
+ margin-top: 9px;
43
+ }
24
44
  // Nav headers (for dropdowns and lists)
25
45
  .nav .nav-header {
26
46
  display: block;
@@ -42,8 +62,8 @@
42
62
  // --------
43
63
 
44
64
  .nav-list {
45
- padding-left: 14px;
46
- padding-right: 14px;
65
+ padding-left: 15px;
66
+ padding-right: 15px;
47
67
  margin-bottom: 0;
48
68
  }
49
69
  .nav-list > li > a,
@@ -55,8 +75,8 @@
55
75
  .nav-list > li > a {
56
76
  padding: 3px 15px;
57
77
  }
58
- .nav-list .active > a,
59
- .nav-list .active > a:hover {
78
+ .nav-list > .active > a,
79
+ .nav-list > .active > a:hover {
60
80
  color: $white;
61
81
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
62
82
  background-color: $linkColor;
@@ -64,6 +84,10 @@
64
84
  .nav-list [class^="icon-"] {
65
85
  margin-right: 2px;
66
86
  }
87
+ // Dividers (basically an hr) within the dropdown
88
+ .nav-list .divider {
89
+ @include bootstrap-nav-divider();
90
+ }
67
91
 
68
92
 
69
93
 
@@ -73,7 +97,7 @@
73
97
  // Common styles
74
98
  .nav-tabs,
75
99
  .nav-pills {
76
- @include clearfix();
100
+ @include bootstrap-clearfix();
77
101
  }
78
102
  .nav-tabs > li,
79
103
  .nav-pills > li {
@@ -94,18 +118,17 @@
94
118
  .nav-tabs {
95
119
  border-bottom: 1px solid #ddd;
96
120
  }
97
-
98
121
  // Make the list-items overlay the bottom border
99
122
  .nav-tabs > li {
100
123
  margin-bottom: -1px;
101
124
  }
102
-
103
125
  // Actual tabs (as links)
104
126
  .nav-tabs > li > a {
105
127
  padding-top: 9px;
106
128
  padding-bottom: 9px;
129
+ line-height: $baseLineHeight;
107
130
  border: 1px solid transparent;
108
- @include border-radius(4px 4px 0 0);
131
+ @include bootstrap-border-radius(4px 4px 0 0);
109
132
  &:hover {
110
133
  border-color: $grayLighter $grayLighter #ddd;
111
134
  }
@@ -120,6 +143,7 @@
120
143
  cursor: default;
121
144
  }
122
145
 
146
+
123
147
  // PILLS
124
148
  // -----
125
149
 
@@ -129,12 +153,12 @@
129
153
  padding-bottom: 8px;
130
154
  margin-top: 2px;
131
155
  margin-bottom: 2px;
132
- @include border-radius(5px);
156
+ @include bootstrap-border-radius(5px);
133
157
  }
134
158
 
135
159
  // Active state
136
- .nav-pills .active > a,
137
- .nav-pills .active > a:hover {
160
+ .nav-pills > .active > a,
161
+ .nav-pills > .active > a:hover {
138
162
  color: $white;
139
163
  background-color: $linkColor;
140
164
  }
@@ -158,13 +182,13 @@
158
182
  }
159
183
  .nav-tabs.nav-stacked > li > a {
160
184
  border: 1px solid #ddd;
161
- @include border-radius(0);
185
+ @include bootstrap-border-radius(0);
162
186
  }
163
187
  .nav-tabs.nav-stacked > li:first-child > a {
164
- @include border-radius(4px 4px 0 0);
188
+ @include bootstrap-border-radius(4px 4px 0 0);
165
189
  }
166
190
  .nav-tabs.nav-stacked > li:last-child > a {
167
- @include border-radius(0 0 4px 4px);
191
+ @include bootstrap-border-radius(0 0 4px 4px);
168
192
  }
169
193
  .nav-tabs.nav-stacked > li > a:hover {
170
194
  border-color: #ddd;
@@ -184,14 +208,11 @@
184
208
  // DROPDOWNS
185
209
  // ---------
186
210
 
187
- // Position the menu
188
- .nav-tabs .dropdown-menu,
189
- .nav-pills .dropdown-menu {
190
- margin-top: 1px;
191
- border-width: 1px;
211
+ .nav-tabs .dropdown-menu {
212
+ @include bootstrap-border-radius(0 0 5px 5px); // remove the top rounded corners here since there is a hard edge above the menu
192
213
  }
193
214
  .nav-pills .dropdown-menu {
194
- @include border-radius(4px);
215
+ @include bootstrap-border-radius(4px); // make rounded corners match the pills
195
216
  }
196
217
 
197
218
  // Default dropdown links
@@ -200,11 +221,13 @@
200
221
  .nav-tabs .dropdown-toggle .caret,
201
222
  .nav-pills .dropdown-toggle .caret {
202
223
  border-top-color: $linkColor;
224
+ border-bottom-color: $linkColor;
203
225
  margin-top: 6px;
204
226
  }
205
227
  .nav-tabs .dropdown-toggle:hover .caret,
206
228
  .nav-pills .dropdown-toggle:hover .caret {
207
229
  border-top-color: $linkColorHover;
230
+ border-bottom-color: $linkColorHover;
208
231
  }
209
232
 
210
233
  // Active dropdown links
@@ -212,6 +235,7 @@
212
235
  .nav-tabs .active .dropdown-toggle .caret,
213
236
  .nav-pills .active .dropdown-toggle .caret {
214
237
  border-top-color: $grayDark;
238
+ border-bottom-color: $grayDark;
215
239
  }
216
240
 
217
241
  // Active:hover dropdown links
@@ -225,16 +249,17 @@
225
249
  // -------------------------
226
250
  .nav-tabs .open .dropdown-toggle,
227
251
  .nav-pills .open .dropdown-toggle,
228
- .nav > .open.active > a:hover {
252
+ .nav > li.dropdown.open.active > a:hover {
229
253
  color: $white;
230
254
  background-color: $grayLight;
231
255
  border-color: $grayLight;
232
256
  }
233
- .nav .open .caret,
234
- .nav .open.active .caret,
235
- .nav .open a:hover .caret {
257
+ .nav li.dropdown.open .caret,
258
+ .nav li.dropdown.open.active .caret,
259
+ .nav li.dropdown.open a:hover .caret {
236
260
  border-top-color: $white;
237
- @include opacity(1.0);
261
+ border-bottom-color: $white;
262
+ @include bootstrap-opacity(100);
238
263
  }
239
264
 
240
265
  // Dropdowns in stacked tabs
@@ -253,16 +278,16 @@
253
278
 
254
279
  // Clear any floats
255
280
  .tabbable {
256
- @include clearfix();
281
+ @include bootstrap-clearfix();
257
282
  }
258
283
  .tab-content {
259
- overflow: hidden; // prevent content from running below tabs
284
+ overflow: auto; // prevent content from running below tabs
260
285
  }
261
286
 
262
287
  // Remove border on bottom, left, right
263
- .tabs-below .nav-tabs,
264
- .tabs-right .nav-tabs,
265
- .tabs-left .nav-tabs {
288
+ .tabs-below > .nav-tabs,
289
+ .tabs-right > .nav-tabs,
290
+ .tabs-left > .nav-tabs {
266
291
  border-bottom: 0;
267
292
  }
268
293
 
@@ -280,22 +305,22 @@
280
305
  // BOTTOM
281
306
  // ------
282
307
 
283
- .tabs-below .nav-tabs {
308
+ .tabs-below > .nav-tabs {
284
309
  border-top: 1px solid #ddd;
285
310
  }
286
- .tabs-below .nav-tabs > li {
311
+ .tabs-below > .nav-tabs > li {
287
312
  margin-top: -1px;
288
313
  margin-bottom: 0;
289
314
  }
290
- .tabs-below .nav-tabs > li > a {
291
- @include border-radius(0 0 4px 4px);
315
+ .tabs-below > .nav-tabs > li > a {
316
+ @include bootstrap-border-radius(0 0 4px 4px);
292
317
  &:hover {
293
318
  border-bottom-color: transparent;
294
319
  border-top-color: #ddd;
295
320
  }
296
321
  }
297
- .tabs-below .nav-tabs .active > a,
298
- .tabs-below .nav-tabs .active > a:hover {
322
+ .tabs-below > .nav-tabs > .active > a,
323
+ .tabs-below > .nav-tabs > .active > a:hover {
299
324
  border-color: transparent #ddd #ddd #ddd;
300
325
  }
301
326
 
@@ -303,51 +328,51 @@
303
328
  // ------------
304
329
 
305
330
  // Common styles
306
- .tabs-left .nav-tabs > li,
307
- .tabs-right .nav-tabs > li {
331
+ .tabs-left > .nav-tabs > li,
332
+ .tabs-right > .nav-tabs > li {
308
333
  float: none;
309
334
  }
310
- .tabs-left .nav-tabs > li > a,
311
- .tabs-right .nav-tabs > li > a {
335
+ .tabs-left > .nav-tabs > li > a,
336
+ .tabs-right > .nav-tabs > li > a {
312
337
  min-width: 74px;
313
338
  margin-right: 0;
314
339
  margin-bottom: 3px;
315
340
  }
316
341
 
317
342
  // Tabs on the left
318
- .tabs-left .nav-tabs {
343
+ .tabs-left > .nav-tabs {
319
344
  float: left;
320
345
  margin-right: 19px;
321
346
  border-right: 1px solid #ddd;
322
347
  }
323
- .tabs-left .nav-tabs > li > a {
348
+ .tabs-left > .nav-tabs > li > a {
324
349
  margin-right: -1px;
325
- @include border-radius(4px 0 0 4px);
350
+ @include bootstrap-border-radius(4px 0 0 4px);
326
351
  }
327
- .tabs-left .nav-tabs > li > a:hover {
352
+ .tabs-left > .nav-tabs > li > a:hover {
328
353
  border-color: $grayLighter #ddd $grayLighter $grayLighter;
329
354
  }
330
- .tabs-left .nav-tabs .active > a,
331
- .tabs-left .nav-tabs .active > a:hover {
355
+ .tabs-left > .nav-tabs .active > a,
356
+ .tabs-left > .nav-tabs .active > a:hover {
332
357
  border-color: #ddd transparent #ddd #ddd;
333
358
  *border-right-color: $white;
334
359
  }
335
360
 
336
361
  // Tabs on the right
337
- .tabs-right .nav-tabs {
362
+ .tabs-right > .nav-tabs {
338
363
  float: right;
339
364
  margin-left: 19px;
340
365
  border-left: 1px solid #ddd;
341
366
  }
342
- .tabs-right .nav-tabs > li > a {
367
+ .tabs-right > .nav-tabs > li > a {
343
368
  margin-left: -1px;
344
- @include border-radius(0 4px 4px 0);
369
+ @include bootstrap-border-radius(0 4px 4px 0);
345
370
  }
346
- .tabs-right .nav-tabs > li > a:hover {
371
+ .tabs-right > .nav-tabs > li > a:hover {
347
372
  border-color: $grayLighter $grayLighter $grayLighter #ddd;
348
373
  }
349
- .tabs-right .nav-tabs .active > a,
350
- .tabs-right .nav-tabs .active > a:hover {
374
+ .tabs-right > .nav-tabs .active > a,
375
+ .tabs-right > .nav-tabs .active > a:hover {
351
376
  border-color: #ddd #ddd #ddd transparent;
352
377
  *border-left-color: $white;
353
378
  }
@@ -6,7 +6,7 @@
6
6
  margin-bottom: $baseLineHeight;
7
7
  list-style: none;
8
8
  text-align: center;
9
- @include clearfix();
9
+ @include bootstrap-clearfix();
10
10
  }
11
11
  .pager li {
12
12
  display: inline;
@@ -16,7 +16,7 @@
16
16
  padding: 5px 14px;
17
17
  background-color: #fff;
18
18
  border: 1px solid #ddd;
19
- @include border-radius(15px);
19
+ @include bootstrap-border-radius(15px);
20
20
  }
21
21
  .pager a:hover {
22
22
  text-decoration: none;
@@ -28,3 +28,9 @@
28
28
  .pager .previous a {
29
29
  float: left;
30
30
  }
31
+ .pager .disabled a,
32
+ .pager .disabled a:hover {
33
+ color: $grayLight;
34
+ background-color: #fff;
35
+ cursor: default;
36
+ }
@@ -7,11 +7,11 @@
7
7
  }
8
8
  .pagination ul {
9
9
  display: inline-block;
10
- @include ie7-inline-block();
10
+ @include bootstrap-ie7-inline-block();
11
11
  margin-left: 0;
12
12
  margin-bottom: 0;
13
- @include border-radius(3px);
14
- @include box-shadow(0 1px 2px rgba(0,0,0,.05));
13
+ @include bootstrap-border-radius(3px);
14
+ @include bootstrap-box-shadow(0 1px 2px rgba(0,0,0,.05));
15
15
  }
16
16
  .pagination li {
17
17
  display: inline;
@@ -32,6 +32,7 @@
32
32
  color: $grayLight;
33
33
  cursor: default;
34
34
  }
35
+ .pagination .disabled span,
35
36
  .pagination .disabled a,
36
37
  .pagination .disabled a:hover {
37
38
  color: $grayLight;
@@ -40,10 +41,10 @@
40
41
  }
41
42
  .pagination li:first-child a {
42
43
  border-left-width: 1px;
43
- @include border-radius(3px 0 0 3px);
44
+ @include bootstrap-border-radius(3px 0 0 3px);
44
45
  }
45
46
  .pagination li:last-child a {
46
- @include border-radius(0 3px 3px 0);
47
+ @include bootstrap-border-radius(0 3px 3px 0);
47
48
  }
48
49
 
49
50
  // Centered
@@ -12,10 +12,10 @@
12
12
  &.right { margin-left: 5px; }
13
13
  &.bottom { margin-top: 5px; }
14
14
  &.left { margin-left: -5px; }
15
- &.top .arrow { @include popoverArrow-top(); }
16
- &.right .arrow { @include popoverArrow-right(); }
17
- &.bottom .arrow { @include popoverArrow-bottom(); }
18
- &.left .arrow { @include popoverArrow-left(); }
15
+ &.top .arrow { @include bootstrap-popoverArrow-top(); }
16
+ &.right .arrow { @include bootstrap-popoverArrow-right(); }
17
+ &.bottom .arrow { @include bootstrap-popoverArrow-bottom(); }
18
+ &.left .arrow { @include bootstrap-popoverArrow-left(); }
19
19
  .arrow {
20
20
  position: absolute;
21
21
  width: 0;
@@ -28,21 +28,21 @@
28
28
  overflow: hidden;
29
29
  background: $black; // has to be full background declaration for IE fallback
30
30
  background: rgba(0,0,0,.8);
31
- @include border-radius(6px);
32
- @include box-shadow(0 3px 7px rgba(0,0,0,0.3));
31
+ @include bootstrap-border-radius(6px);
32
+ @include bootstrap-box-shadow(0 3px 7px rgba(0,0,0,0.3));
33
33
  }
34
34
  .popover-title {
35
35
  padding: 9px 15px;
36
36
  line-height: 1;
37
37
  background-color: #f5f5f5;
38
38
  border-bottom:1px solid #eee;
39
- @include border-radius(3px 3px 0 0);
39
+ @include bootstrap-border-radius(3px 3px 0 0);
40
40
  }
41
41
  .popover-content {
42
42
  padding: 14px;
43
43
  background-color: $white;
44
- @include border-radius(0 0 3px 3px);
45
- @include background-clip(padding-box);
44
+ @include bootstrap-border-radius(0 0 3px 3px);
45
+ @include bootstrap-background-clip(padding-box);
46
46
  p, ul, ol {
47
47
  margin-bottom: 0;
48
48
  }
@@ -7,20 +7,32 @@
7
7
 
8
8
  // Webkit
9
9
  @-webkit-keyframes progress-bar-stripes {
10
- from { background-position: 0 0; }
11
- to { background-position: 40px 0; }
10
+ from { background-position: 40px 0; }
11
+ to { background-position: 0 0; }
12
12
  }
13
13
 
14
14
  // Firefox
15
15
  @-moz-keyframes progress-bar-stripes {
16
+ from { background-position: 40px 0; }
17
+ to { background-position: 0 0; }
18
+ }
19
+
20
+ // IE9
21
+ @-ms-keyframes progress-bar-stripes {
22
+ from { background-position: 40px 0; }
23
+ to { background-position: 0 0; }
24
+ }
25
+
26
+ // Opera
27
+ @-o-keyframes progress-bar-stripes {
16
28
  from { background-position: 0 0; }
17
29
  to { background-position: 40px 0; }
18
30
  }
19
31
 
20
32
  // Spec
21
33
  @keyframes progress-bar-stripes {
22
- from { background-position: 0 0; }
23
- to { background-position: 40px 0; }
34
+ from { background-position: 40px 0; }
35
+ to { background-position: 0 0; }
24
36
  }
25
37
 
26
38
 
@@ -33,9 +45,9 @@
33
45
  overflow: hidden;
34
46
  height: 18px;
35
47
  margin-bottom: 18px;
36
- @include gradient-vertical(#f5f5f5, #f9f9f9);
37
- @include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
38
- @include border-radius(4px);
48
+ @include bootstrap-gradient-vertical(#f5f5f5, #f9f9f9);
49
+ @include bootstrap-box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
50
+ @include bootstrap-border-radius(4px);
39
51
  }
40
52
 
41
53
  // Bar of progress
@@ -46,22 +58,24 @@
46
58
  font-size: 12px;
47
59
  text-align: center;
48
60
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
49
- @include gradient-vertical(#149bdf, #0480be);
50
- @include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
51
- @include box-sizing(border-box);
52
- @include transition(width .6s ease);
61
+ @include bootstrap-gradient-vertical(#149bdf, #0480be);
62
+ @include bootstrap-box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
63
+ @include bootstrap-box-sizing(border-box);
64
+ @include bootstrap-transition(width .6s ease);
53
65
  }
54
66
 
55
67
  // Striped bars
56
68
  .progress-striped .bar {
57
- @include gradient-striped(#62c462);
58
- @include background-size(40px 40px);
69
+ @include bootstrap-gradient-striped(#149bdf);
70
+ @include bootstrap-background-size(40px 40px);
59
71
  }
60
72
 
61
73
  // Call animation for the active one
62
74
  .progress.active .bar {
63
75
  -webkit-animation: progress-bar-stripes 2s linear infinite;
64
76
  -moz-animation: progress-bar-stripes 2s linear infinite;
77
+ -ms-animation: progress-bar-stripes 2s linear infinite;
78
+ -o-animation: progress-bar-stripes 2s linear infinite;
65
79
  animation: progress-bar-stripes 2s linear infinite;
66
80
  }
67
81
 
@@ -72,24 +86,32 @@
72
86
 
73
87
  // Danger (red)
74
88
  .progress-danger .bar {
75
- @include gradient-vertical(#ee5f5b, #c43c35);
89
+ @include bootstrap-gradient-vertical(#ee5f5b, #c43c35);
76
90
  }
77
91
  .progress-danger.progress-striped .bar {
78
- @include gradient-striped(#ee5f5b);
92
+ @include bootstrap-gradient-striped(#ee5f5b);
79
93
  }
80
94
 
81
95
  // Success (green)
82
96
  .progress-success .bar {
83
- @include gradient-vertical(#62c462, #57a957);
97
+ @include bootstrap-gradient-vertical(#62c462, #57a957);
84
98
  }
85
99
  .progress-success.progress-striped .bar {
86
- @include gradient-striped(#62c462);
100
+ @include bootstrap-gradient-striped(#62c462);
87
101
  }
88
102
 
89
103
  // Info (teal)
90
104
  .progress-info .bar {
91
- @include gradient-vertical(#5bc0de, #339bb9);
105
+ @include bootstrap-gradient-vertical(#5bc0de, #339bb9);
92
106
  }
93
107
  .progress-info.progress-striped .bar {
94
- @include gradient-striped(#5bc0de);
108
+ @include bootstrap-gradient-striped(#5bc0de);
109
+ }
110
+
111
+ // Warning (orange)
112
+ .progress-warning .bar {
113
+ @include bootstrap-gradient-vertical(lighten($orange, 15%), $orange);
114
+ }
115
+ .progress-warning.progress-striped .bar {
116
+ @include bootstrap-gradient-striped(lighten($orange, 15%));
95
117
  }