twbs_sass_rails 3.4.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +2 -2
  3. data/CHANGELOG.md +5 -0
  4. data/gemfiles/rails_4.1.gemfile +1 -1
  5. data/gemfiles/rails_4.2.gemfile +1 -1
  6. data/lib/twbs_sass_rails/version.rb +1 -1
  7. data/vendor/assets/javascripts/twbs/bootstrap/affix.js +3 -3
  8. data/vendor/assets/javascripts/twbs/bootstrap/alert.js +2 -2
  9. data/vendor/assets/javascripts/twbs/bootstrap/button.js +13 -9
  10. data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +2 -2
  11. data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +2 -2
  12. data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +46 -42
  13. data/vendor/assets/javascripts/twbs/bootstrap/modal.js +5 -7
  14. data/vendor/assets/javascripts/twbs/bootstrap/popover.js +2 -2
  15. data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +2 -2
  16. data/vendor/assets/javascripts/twbs/bootstrap/tab.js +5 -3
  17. data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +58 -20
  18. data/vendor/assets/javascripts/twbs/bootstrap/transition.js +1 -1
  19. data/vendor/assets/javascripts/twbs/bootstrap.js +2 -2
  20. data/vendor/assets/stylesheets/twbs/_bootstrap.scss +6 -0
  21. data/vendor/assets/stylesheets/twbs/bootstrap/_badges.scss +1 -1
  22. data/vendor/assets/stylesheets/twbs/bootstrap/_button-groups.scss +3 -2
  23. data/vendor/assets/stylesheets/twbs/bootstrap/_buttons.scss +13 -5
  24. data/vendor/assets/stylesheets/twbs/bootstrap/_carousel.scss +2 -2
  25. data/vendor/assets/stylesheets/twbs/bootstrap/_dropdowns.scss +3 -1
  26. data/vendor/assets/stylesheets/twbs/bootstrap/_forms.scss +46 -13
  27. data/vendor/assets/stylesheets/twbs/bootstrap/_glyphicons.scss +11 -9
  28. data/vendor/assets/stylesheets/twbs/bootstrap/_input-groups.scss +1 -0
  29. data/vendor/assets/stylesheets/twbs/bootstrap/_jumbotron.scss +5 -3
  30. data/vendor/assets/stylesheets/twbs/bootstrap/_list-group.scss +9 -3
  31. data/vendor/assets/stylesheets/twbs/bootstrap/_media.scss +5 -0
  32. data/vendor/assets/stylesheets/twbs/bootstrap/_mixins.scss +1 -0
  33. data/vendor/assets/stylesheets/twbs/bootstrap/_normalize.scss +8 -11
  34. data/vendor/assets/stylesheets/twbs/bootstrap/_pagination.scss +3 -2
  35. data/vendor/assets/stylesheets/twbs/bootstrap/_panels.scss +6 -0
  36. data/vendor/assets/stylesheets/twbs/bootstrap/_popovers.scss +4 -8
  37. data/vendor/assets/stylesheets/twbs/bootstrap/_print.scss +0 -6
  38. data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-utilities.scss +4 -2
  39. data/vendor/assets/stylesheets/twbs/bootstrap/_scaffolding.scss +1 -2
  40. data/vendor/assets/stylesheets/twbs/bootstrap/_theme.scss +23 -5
  41. data/vendor/assets/stylesheets/twbs/bootstrap/_tooltip.scss +4 -5
  42. data/vendor/assets/stylesheets/twbs/bootstrap/_variables.scss +7 -1
  43. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss +2 -1
  44. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_buttons.scss +18 -2
  45. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_grid-framework.scss +2 -2
  46. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_grid.scss +2 -2
  47. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_hide-text.scss +1 -1
  48. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_list-group.scss +3 -2
  49. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_pagination.scss +2 -1
  50. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_reset-text.scss +18 -0
  51. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_responsive-visibility.scss +1 -1
  52. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_text-emphasis.scss +2 -1
  53. metadata +3 -2
@@ -8,15 +8,31 @@
8
8
  background-color: $background;
9
9
  border-color: $border;
10
10
 
11
- &:hover,
12
11
  &:focus,
13
- &.focus,
12
+ &.focus {
13
+ color: $color;
14
+ background-color: darken($background, 10%);
15
+ border-color: darken($border, 25%);
16
+ }
17
+ &:hover {
18
+ color: $color;
19
+ background-color: darken($background, 10%);
20
+ border-color: darken($border, 12%);
21
+ }
14
22
  &:active,
15
23
  &.active,
16
24
  .open > &.dropdown-toggle {
17
25
  color: $color;
18
26
  background-color: darken($background, 10%);
19
27
  border-color: darken($border, 12%);
28
+
29
+ &:hover,
30
+ &:focus,
31
+ &.focus {
32
+ color: $color;
33
+ background-color: darken($background, 17%);
34
+ border-color: darken($border, 25%);
35
+ }
20
36
  }
21
37
  &:active,
22
38
  &.active,
@@ -13,8 +13,8 @@
13
13
  // Prevent columns from collapsing when empty
14
14
  min-height: 1px;
15
15
  // Inner gutter via padding
16
- padding-left: ($grid-gutter-width / 2);
17
- padding-right: ($grid-gutter-width / 2);
16
+ padding-left: ceil(($grid-gutter-width / 2));
17
+ padding-right: floor(($grid-gutter-width / 2));
18
18
  }
19
19
  }
20
20
 
@@ -13,8 +13,8 @@
13
13
 
14
14
  // Creates a wrapper for a series of columns
15
15
  @mixin make-row($gutter: $grid-gutter-width) {
16
- margin-left: ($gutter / -2);
17
- margin-right: ($gutter / -2);
16
+ margin-left: ceil(($gutter / -2));
17
+ margin-right: floor(($gutter / -2));
18
18
  @include clearfix;
19
19
  }
20
20
 
@@ -1,6 +1,6 @@
1
1
  // CSS image replacement
2
2
  //
3
- // Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
3
+ // Heads up! v3 launched with only `.hide-text()`, but per our pattern for
4
4
  // mixins being reused as classes with the same name, this doesn't hold up. As
5
5
  // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
6
6
  //
@@ -5,10 +5,11 @@
5
5
  color: $color;
6
6
  background-color: $background;
7
7
 
8
- // [converter] extracted a& to a.list-group-item-#{$state}
8
+ // [converter] extracted a&, button& to a.list-group-item-#{$state}, button.list-group-item-#{$state}
9
9
  }
10
10
 
11
- a.list-group-item-#{$state} {
11
+ a.list-group-item-#{$state},
12
+ button.list-group-item-#{$state} {
12
13
  color: $color;
13
14
 
14
15
  .list-group-item-heading {
@@ -1,11 +1,12 @@
1
1
  // Pagination
2
2
 
3
- @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $border-radius) {
3
+ @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
4
4
  > li {
5
5
  > a,
6
6
  > span {
7
7
  padding: $padding-vertical $padding-horizontal;
8
8
  font-size: $font-size;
9
+ line-height: $line-height;
9
10
  }
10
11
  &:first-child {
11
12
  > a,
@@ -0,0 +1,18 @@
1
+ @mixin reset-text() {
2
+ font-family: $font-family-base;
3
+ // We deliberately do NOT reset font-size.
4
+ font-style: normal;
5
+ font-weight: normal;
6
+ letter-spacing: normal;
7
+ line-break: auto;
8
+ line-height: $line-height-base;
9
+ text-align: left; // Fallback for where `start` is not supported
10
+ text-align: start;
11
+ text-decoration: none;
12
+ text-shadow: none;
13
+ text-transform: none;
14
+ white-space: normal;
15
+ word-break: normal;
16
+ word-spacing: normal;
17
+ word-wrap: normal;
18
+ }
@@ -7,7 +7,7 @@
7
7
  #{$parent} {
8
8
  display: block !important;
9
9
  }
10
- table#{$parent} { display: table; }
10
+ table#{$parent} { display: table !important; }
11
11
  tr#{$parent} { display: table-row !important; }
12
12
  th#{$parent},
13
13
  td#{$parent} { display: table-cell !important; }
@@ -5,7 +5,8 @@
5
5
  #{$parent} {
6
6
  color: $color;
7
7
  }
8
- a#{$parent}:hover {
8
+ a#{$parent}:hover,
9
+ a#{$parent}:focus {
9
10
  color: darken($color, 10%);
10
11
  }
11
12
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twbs_sass_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - diowa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-19 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -343,6 +343,7 @@ files:
343
343
  - vendor/assets/stylesheets/twbs/bootstrap/mixins/_panels.scss
344
344
  - vendor/assets/stylesheets/twbs/bootstrap/mixins/_progress-bar.scss
345
345
  - vendor/assets/stylesheets/twbs/bootstrap/mixins/_reset-filter.scss
346
+ - vendor/assets/stylesheets/twbs/bootstrap/mixins/_reset-text.scss
346
347
  - vendor/assets/stylesheets/twbs/bootstrap/mixins/_resize.scss
347
348
  - vendor/assets/stylesheets/twbs/bootstrap/mixins/_responsive-visibility.scss
348
349
  - vendor/assets/stylesheets/twbs/bootstrap/mixins/_size.scss