twitter-bootswatch-rails 3.0.2.0 → 3.0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/twitter/bootstrap/affix.js +1 -1
  3. data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -1
  4. data/app/assets/javascripts/twitter/bootstrap/button.js +11 -5
  5. data/app/assets/javascripts/twitter/bootstrap/carousel.js +5 -5
  6. data/app/assets/javascripts/twitter/bootstrap/collapse.js +1 -1
  7. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +5 -5
  8. data/app/assets/javascripts/twitter/bootstrap/modal.js +1 -1
  9. data/app/assets/javascripts/twitter/bootstrap/popover.js +1 -1
  10. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  11. data/app/assets/javascripts/twitter/bootstrap/tab.js +1 -1
  12. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +1 -1
  13. data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  14. data/lib/generators/bootswatch/import/import_generator.rb +1 -1
  15. data/lib/generators/bootswatch/install/templates/mixins.less.tt +37 -50
  16. data/lib/generators/bootswatch/install/templates/variables.less.tt +15 -10
  17. data/lib/twitter/bootswatch/rails/version.rb +1 -1
  18. data/vendor/toolkit/twitter/bootstrap/badges.less +6 -6
  19. data/vendor/toolkit/twitter/bootstrap/button-groups.less +7 -33
  20. data/vendor/toolkit/twitter/bootstrap/buttons.less +2 -5
  21. data/vendor/toolkit/twitter/bootstrap/carousel.less +1 -0
  22. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +3 -8
  23. data/vendor/toolkit/twitter/bootstrap/forms.less +11 -0
  24. data/vendor/toolkit/twitter/bootstrap/glyphicons.less +5 -5
  25. data/vendor/toolkit/twitter/bootstrap/grid.less +12 -26
  26. data/vendor/toolkit/twitter/bootstrap/input-groups.less +1 -1
  27. data/vendor/toolkit/twitter/bootstrap/jumbotron.less +8 -2
  28. data/vendor/toolkit/twitter/bootstrap/labels.less +6 -0
  29. data/vendor/toolkit/twitter/bootstrap/mixins.less +37 -50
  30. data/vendor/toolkit/twitter/bootstrap/modals.less +2 -5
  31. data/vendor/toolkit/twitter/bootstrap/navbar.less +41 -53
  32. data/vendor/toolkit/twitter/bootstrap/navs.less +0 -20
  33. data/vendor/toolkit/twitter/bootstrap/panels.less +11 -1
  34. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +0 -12
  35. data/vendor/toolkit/twitter/bootstrap/tables.less +17 -22
  36. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +9 -3
  37. data/vendor/toolkit/twitter/bootstrap/type.less +54 -52
  38. data/vendor/toolkit/twitter/bootstrap/variables.less +15 -10
  39. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfe72fe05516c24cccf29981fa74902798a7311e
4
- data.tar.gz: 4cd7874b879177777c23cded54ab74ac8ba139e4
3
+ metadata.gz: b3c75702a82ca6e2b8671a97163f039b597fff8b
4
+ data.tar.gz: d4b2587f9c6f9761ede3de2766dce2cc61f0482e
5
5
  SHA512:
6
- metadata.gz: b2ec91d37d6e703aa7f047506acb3ba88ec0aa05768fd18e94c91338dd256f69fbdffd99067b290967300afa39ce5ea2ffd425fa03d9547dd93f7d9bbb6a1a92
7
- data.tar.gz: 8e6685de6da217901df5f7c321d6a372f73a286bd0668bf4d49efdc09958685d68c39ad34d5f6e23a6d72c3ff3c173c1367d0f69111f85e2aa96681da7412376
6
+ metadata.gz: a219a0262af73bcb8e6cfced0ae0dc2b16b28d2c9e5ce4f0cda08abf195fc1f3fb3cad21d631bc55ff87715d5b1d2ff6c068d416284f487cd7a49fe69b47dd23
7
+ data.tar.gz: f6b0a088a8aa1bd8546a296b55d4a18f813542bb31d51d70a9be23ec25de8ba3db4271dca77fdb46283d2bd0661d9dacda4fe2b0ff6c616721ffca298961e179
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: affix.js v3.0.2
2
+ * Bootstrap: affix.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#affix
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: alert.js v3.0.2
2
+ * Bootstrap: alert.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#alerts
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: button.js v3.0.2
2
+ * Bootstrap: button.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#buttons
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -54,15 +54,21 @@
54
54
 
55
55
  Button.prototype.toggle = function () {
56
56
  var $parent = this.$element.closest('[data-toggle="buttons"]')
57
+ var changed = true
57
58
 
58
59
  if ($parent.length) {
59
60
  var $input = this.$element.find('input')
60
- .prop('checked', !this.$element.hasClass('active'))
61
- .trigger('change')
62
- if ($input.prop('type') === 'radio') $parent.find('.active').removeClass('active')
61
+ if ($input.prop('type') === 'radio') {
62
+ // see if clicking on current one
63
+ if ($input.prop('checked') && this.$element.hasClass('active'))
64
+ changed = false
65
+ else
66
+ $parent.find('.active').removeClass('active')
67
+ }
68
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
63
69
  }
64
70
 
65
- this.$element.toggleClass('active')
71
+ if (changed) this.$element.toggleClass('active')
66
72
  }
67
73
 
68
74
 
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: carousel.js v3.0.2
2
+ * Bootstrap: carousel.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#carousel
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -69,7 +69,7 @@
69
69
 
70
70
  if (pos > (this.$items.length - 1) || pos < 0) return
71
71
 
72
- if (this.sliding) return this.$element.one('slid', function () { that.to(pos) })
72
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })
73
73
  if (activeIndex == pos) return this.pause().cycle()
74
74
 
75
75
  return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
@@ -121,7 +121,7 @@
121
121
 
122
122
  if (this.$indicators.length) {
123
123
  this.$indicators.find('.active').removeClass('active')
124
- this.$element.one('slid', function () {
124
+ this.$element.one('slid.bs.carousel', function () {
125
125
  var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
126
126
  $nextIndicator && $nextIndicator.addClass('active')
127
127
  })
@@ -139,7 +139,7 @@
139
139
  $next.removeClass([type, direction].join(' ')).addClass('active')
140
140
  $active.removeClass(['active', direction].join(' '))
141
141
  that.sliding = false
142
- setTimeout(function () { that.$element.trigger('slid') }, 0)
142
+ setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)
143
143
  })
144
144
  .emulateTransitionEnd(600)
145
145
  } else {
@@ -148,7 +148,7 @@
148
148
  $active.removeClass('active')
149
149
  $next.addClass('active')
150
150
  this.sliding = false
151
- this.$element.trigger('slid')
151
+ this.$element.trigger('slid.bs.carousel')
152
152
  }
153
153
 
154
154
  isCycling && this.cycle()
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: collapse.js v3.0.2
2
+ * Bootstrap: collapse.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#collapse
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: dropdown.js v3.0.2
2
+ * Bootstrap: dropdown.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#dropdowns
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -26,7 +26,7 @@
26
26
  var backdrop = '.dropdown-backdrop'
27
27
  var toggle = '[data-toggle=dropdown]'
28
28
  var Dropdown = function (element) {
29
- var $el = $(element).on('click.bs.dropdown', this.toggle)
29
+ $(element).on('click.bs.dropdown', this.toggle)
30
30
  }
31
31
 
32
32
  Dropdown.prototype.toggle = function (e) {
@@ -41,7 +41,7 @@
41
41
 
42
42
  if (!isActive) {
43
43
  if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
44
- // if mobile we we use a backdrop because click events don't delegate
44
+ // if mobile we use a backdrop because click events don't delegate
45
45
  $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
46
46
  }
47
47
 
@@ -123,9 +123,9 @@
123
123
  $.fn.dropdown = function (option) {
124
124
  return this.each(function () {
125
125
  var $this = $(this)
126
- var data = $this.data('dropdown')
126
+ var data = $this.data('bs.dropdown')
127
127
 
128
- if (!data) $this.data('dropdown', (data = new Dropdown(this)))
128
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
129
129
  if (typeof option == 'string') data[option].call($this)
130
130
  })
131
131
  }
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: modal.js v3.0.2
2
+ * Bootstrap: modal.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#modals
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: popover.js v3.0.2
2
+ * Bootstrap: popover.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#popovers
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: scrollspy.js v3.0.2
2
+ * Bootstrap: scrollspy.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#scrollspy
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -113,7 +113,7 @@
113
113
  .addClass('active')
114
114
  }
115
115
 
116
- active.trigger('activate')
116
+ active.trigger('activate.bs.scrollspy')
117
117
  }
118
118
 
119
119
 
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: tab.js v3.0.2
2
+ * Bootstrap: tab.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#tabs
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: tooltip.js v3.0.2
2
+ * Bootstrap: tooltip.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#tooltip
4
4
  * Inspired by the original jQuery.tipsy by Jason Frame
5
5
  * ========================================================================
@@ -1,5 +1,5 @@
1
1
  /* ========================================================================
2
- * Bootstrap: transition.js v3.0.2
2
+ * Bootstrap: transition.js v3.0.3
3
3
  * http://getbootstrap.com/javascript/#transitions
4
4
  * ========================================================================
5
5
  * Copyright 2013 Twitter, Inc.
@@ -31,7 +31,7 @@ module Bootswatch
31
31
  get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.css.less')
32
32
 
33
33
  prepend_to_file File.join(stylesheets_dest_path,'bootswatch.css.less') do
34
- "@import \"#{theme_name}/base\";\n\n"
34
+ "@import \"#{theme_directory}/base\";\n\n"
35
35
  end
36
36
 
37
37
  gsub_file File.join(stylesheets_dest_path,'variables.less'),
@@ -22,8 +22,8 @@
22
22
  .clearfix() {
23
23
  &:before,
24
24
  &:after {
25
- content: " "; /* 1 */
26
- display: table; /* 2 */
25
+ content: " "; // 1
26
+ display: table; // 2
27
27
  }
28
28
  &:after {
29
29
  clear: both;
@@ -33,7 +33,7 @@
33
33
  // WebKit-style focus
34
34
  .tab-focus() {
35
35
  // Default
36
- outline: thin dotted #333;
36
+ outline: thin dotted;
37
37
  // WebKit
38
38
  outline: 5px auto -webkit-focus-ring-color;
39
39
  outline-offset: -2px;
@@ -58,7 +58,8 @@
58
58
  // Placeholder text
59
59
  .placeholder(@color: @input-color-placeholder) {
60
60
  &:-moz-placeholder { color: @color; } // Firefox 4-18
61
- &::-moz-placeholder { color: @color; } // Firefox 19+
61
+ &::-moz-placeholder { color: @color; // Firefox 19+
62
+ opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
62
63
  &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
63
64
  &::-webkit-input-placeholder { color: @color; } // Safari and Chrome
64
65
  }
@@ -90,11 +91,7 @@
90
91
  }
91
92
  // New mixin to use as of v3.0.1
92
93
  .text-hide() {
93
- font: ~"0/0" a;
94
- color: transparent;
95
- text-shadow: none;
96
- background-color: transparent;
97
- border: 0;
94
+ .hide-text();
98
95
  }
99
96
 
100
97
 
@@ -280,10 +277,8 @@
280
277
  // Creates two color stops, start and end, by specifying a color and position for each color stop.
281
278
  // Color stops are not available in IE9 and below.
282
279
  .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
283
- background-image: -webkit-gradient(linear, @start-percent top, @end-percent top, from(@start-color), to(@end-color)); // Safari 4+, Chrome 2+
284
- background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1+, Chrome 10+
285
- background-image: -moz-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // FF 3.6+
286
- background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10
280
+ background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+
281
+ background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
287
282
  background-repeat: repeat-x;
288
283
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
289
284
  }
@@ -293,47 +288,36 @@
293
288
  // Creates two color stops, start and end, by specifying a color and position for each color stop.
294
289
  // Color stops are not available in IE9 and below.
295
290
  .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
296
- background-image: -webkit-gradient(linear, left @start-percent, left @end-percent, from(@start-color), to(@end-color)); // Safari 4+, Chrome 2+
297
- background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1+, Chrome 10+
298
- background-image: -moz-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // FF 3.6+
299
- background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10
291
+ background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
292
+ background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
300
293
  background-repeat: repeat-x;
301
294
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
302
295
  }
303
296
 
304
297
  .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
305
298
  background-repeat: repeat-x;
306
- background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1+, Chrome 10+
307
- background-image: -moz-linear-gradient(@deg, @start-color, @end-color); // FF 3.6+
308
- background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10
299
+ background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+
300
+ background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
309
301
  }
310
302
  .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
311
- background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from(@start-color), color-stop(@color-stop, @mid-color), to(@end-color));
312
303
  background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
313
- background-image: -moz-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
314
304
  background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
315
305
  background-repeat: no-repeat;
316
306
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
317
307
  }
318
308
  .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
319
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@start-color), color-stop(@color-stop, @mid-color), to(@end-color));
320
309
  background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
321
- background-image: -moz-linear-gradient(top, @start-color, @mid-color @color-stop, @end-color);
322
310
  background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
323
311
  background-repeat: no-repeat;
324
312
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
325
313
  }
326
314
  .radial(@inner-color: #555; @outer-color: #333) {
327
- background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@inner-color), to(@outer-color));
328
315
  background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
329
- background-image: -moz-radial-gradient(circle, @inner-color, @outer-color);
330
316
  background-image: radial-gradient(circle, @inner-color, @outer-color);
331
317
  background-repeat: no-repeat;
332
318
  }
333
319
  .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {
334
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, @color), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, @color), color-stop(.75, @color), color-stop(.75, transparent), to(transparent));
335
320
  background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
336
- background-image: -moz-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
337
321
  background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
338
322
  }
339
323
  }
@@ -394,7 +378,7 @@
394
378
 
395
379
  // Panels
396
380
  // -------------------------
397
- .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border;) {
381
+ .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
398
382
  border-color: @border;
399
383
 
400
384
  & > .panel-heading {
@@ -405,9 +389,6 @@
405
389
  + .panel-collapse .panel-body {
406
390
  border-top-color: @border;
407
391
  }
408
- & > .dropdown .caret {
409
- border-color: @heading-text-color transparent;
410
- }
411
392
  }
412
393
  & > .panel-footer {
413
394
  + .panel-collapse .panel-body {
@@ -433,27 +414,27 @@
433
414
 
434
415
  // Tables
435
416
  // -------------------------
436
- .table-row-variant(@state; @background; @border) {
417
+ .table-row-variant(@state; @background) {
437
418
  // Exact selectors below required to override `.table-striped` and prevent
438
419
  // inheritance to nested tables.
439
- .table > thead > tr,
440
- .table > tbody > tr,
441
- .table > tfoot > tr {
442
- > td.@{state},
443
- > th.@{state},
444
- &.@{state} > td,
445
- &.@{state} > th {
446
- background-color: @background;
420
+ .table {
421
+ > thead,
422
+ > tbody,
423
+ > tfoot {
424
+ > tr > .@{state},
425
+ > .@{state} > td,
426
+ > .@{state} > th {
427
+ background-color: @background;
428
+ }
447
429
  }
448
430
  }
449
431
 
450
432
  // Hover states for `.table-hover`
451
433
  // Note: this is not available for cells or rows within `thead` or `tfoot`.
452
- .table-hover > tbody > tr {
453
- > td.@{state}:hover,
454
- > th.@{state}:hover,
455
- &.@{state}:hover > td,
456
- &.@{state}:hover > th {
434
+ .table-hover > tbody {
435
+ > tr > .@{state}:hover,
436
+ > .@{state}:hover > td,
437
+ > .@{state}:hover > th {
457
438
  background-color: darken(@background, 5%);
458
439
  }
459
440
  }
@@ -494,6 +475,11 @@
494
475
  border-color: @border;
495
476
  }
496
477
  }
478
+
479
+ .badge {
480
+ color: @background;
481
+ background-color: #fff;
482
+ }
497
483
  }
498
484
 
499
485
  // Button sizes
@@ -564,9 +550,10 @@
564
550
  // More easily include all the states for responsive-utilities.less.
565
551
  .responsive-visibility() {
566
552
  display: block !important;
567
- tr& { display: table-row !important; }
553
+ table& { display: table; }
554
+ tr& { display: table-row !important; }
568
555
  th&,
569
- td& { display: table-cell !important; }
556
+ td& { display: table-cell !important; }
570
557
  }
571
558
 
572
559
  .responsive-invisibility() {
@@ -741,11 +728,11 @@
741
728
  @item: ~".col-@{class}-@{index}";
742
729
  .col(@index + 1, @item);
743
730
  }
744
- .col(@index, @list) when (@index < @grid-columns) { // general
731
+ .col(@index, @list) when (@index =< @grid-columns) { // general
745
732
  @item: ~".col-@{class}-@{index}";
746
733
  .col(@index + 1, ~"@{list}, @{item}");
747
734
  }
748
- .col(@index, @list) when (@index = @grid-columns) { // terminal
735
+ .col(@index, @list) when (@index > @grid-columns) { // terminal
749
736
  @{list} {
750
737
  float: left;
751
738
  }
@@ -44,7 +44,7 @@
44
44
 
45
45
  @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
46
46
  @font-family-serif: Georgia, "Times New Roman", Times, serif;
47
- @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
47
+ @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
48
48
  @font-family-base: @font-family-sans-serif;
49
49
 
50
50
  @font-size-base: 14px;
@@ -87,6 +87,9 @@
87
87
  @padding-small-vertical: 5px;
88
88
  @padding-small-horizontal: 10px;
89
89
 
90
+ @padding-xs-vertical: 1px;
91
+ @padding-xs-horizontal: 5px;
92
+
90
93
  @line-height-large: 1.33;
91
94
  @line-height-small: 1.5;
92
95
 
@@ -160,7 +163,7 @@
160
163
  @input-color-placeholder: @gray-light;
161
164
 
162
165
  @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
163
- @input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
166
+ @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
164
167
  @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
165
168
 
166
169
  @legend-color: @gray-dark;
@@ -189,8 +192,6 @@
189
192
 
190
193
  @dropdown-header-color: @gray-light;
191
194
 
192
- @dropdown-caret-color: #000;
193
-
194
195
 
195
196
  // COMPONENT VARIABLES
196
197
  // --------------------------------------------------
@@ -249,8 +250,13 @@
249
250
  @grid-columns: 12;
250
251
  // Padding, to be divided by two and applied to the left and right of all columns
251
252
  @grid-gutter-width: 30px;
252
- // Point at which the navbar stops collapsing
253
+
254
+ // Navbar collapse
255
+
256
+ // Point at which the navbar becomes uncollapsed
253
257
  @grid-float-breakpoint: @screen-sm-min;
258
+ // Point at which the navbar begins collapsing
259
+ @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
254
260
 
255
261
 
256
262
  // Navbar
@@ -324,7 +330,6 @@
324
330
  @nav-disabled-link-hover-color: @gray-light;
325
331
 
326
332
  @nav-open-link-hover-color: #fff;
327
- @nav-open-caret-border-color: #fff;
328
333
 
329
334
  // Tabs
330
335
  @nav-tabs-border-color: #ddd;
@@ -378,19 +383,19 @@
378
383
  // Form states and alerts
379
384
  // -------------------------
380
385
 
381
- @state-success-text: #468847;
386
+ @state-success-text: #3c763d;
382
387
  @state-success-bg: #dff0d8;
383
388
  @state-success-border: darken(spin(@state-success-bg, -10), 5%);
384
389
 
385
- @state-info-text: #3a87ad;
390
+ @state-info-text: #31708f;
386
391
  @state-info-bg: #d9edf7;
387
392
  @state-info-border: darken(spin(@state-info-bg, -10), 7%);
388
393
 
389
- @state-warning-text: #c09853;
394
+ @state-warning-text: #8a6d3b;
390
395
  @state-warning-bg: #fcf8e3;
391
396
  @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
392
397
 
393
- @state-danger-text: #b94a48;
398
+ @state-danger-text: #a94442;
394
399
  @state-danger-bg: #f2dede;
395
400
  @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
396
401