twbs_sass_rails 3.0.2 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +2 -11
  3. data/CHANGELOG.md +8 -0
  4. data/LICENSE +1 -1
  5. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  6. data/app/assets/fonts/glyphicons-halflings-regular.svg +273 -214
  7. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  8. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  9. data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  10. data/gemfiles/rails_4.0.gemfile +1 -4
  11. data/gemfiles/rails_4.1.gemfile +1 -4
  12. data/gemfiles/rails_4.2.gemfile +0 -3
  13. data/lib/twbs_sass_rails/version.rb +1 -1
  14. data/test/dummy/config/initializers/secret_token.rb +1 -6
  15. data/test/integration/twbs_sass_rails_integration_test.rb +1 -0
  16. data/twbs_sass_rails.gemspec +3 -2
  17. data/vendor/assets/javascripts/twbs/bootstrap/affix.js +4 -4
  18. data/vendor/assets/javascripts/twbs/bootstrap/alert.js +3 -3
  19. data/vendor/assets/javascripts/twbs/bootstrap/button.js +3 -3
  20. data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +7 -10
  21. data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +4 -4
  22. data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +3 -3
  23. data/vendor/assets/javascripts/twbs/bootstrap/modal.js +3 -3
  24. data/vendor/assets/javascripts/twbs/bootstrap/popover.js +7 -13
  25. data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +3 -3
  26. data/vendor/assets/javascripts/twbs/bootstrap/tab.js +3 -3
  27. data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +10 -16
  28. data/vendor/assets/javascripts/twbs/bootstrap/transition.js +2 -2
  29. data/vendor/assets/stylesheets/twbs/bootstrap/_alerts.scss +5 -0
  30. data/vendor/assets/stylesheets/twbs/bootstrap/_badges.scss +4 -0
  31. data/vendor/assets/stylesheets/twbs/bootstrap/_breadcrumbs.scss +1 -1
  32. data/vendor/assets/stylesheets/twbs/bootstrap/_button-groups.scss +2 -2
  33. data/vendor/assets/stylesheets/twbs/bootstrap/_buttons.scss +1 -1
  34. data/vendor/assets/stylesheets/twbs/bootstrap/_carousel.scss +8 -6
  35. data/vendor/assets/stylesheets/twbs/bootstrap/_close.scss +1 -0
  36. data/vendor/assets/stylesheets/twbs/bootstrap/_dropdowns.scss +2 -1
  37. data/vendor/assets/stylesheets/twbs/bootstrap/_forms.scss +41 -19
  38. data/vendor/assets/stylesheets/twbs/bootstrap/_glyphicons.scss +265 -198
  39. data/vendor/assets/stylesheets/twbs/bootstrap/_jumbotron.scss +1 -0
  40. data/vendor/assets/stylesheets/twbs/bootstrap/_media.scss +14 -0
  41. data/vendor/assets/stylesheets/twbs/bootstrap/_navbar.scss +1 -0
  42. data/vendor/assets/stylesheets/twbs/bootstrap/_panels.scss +5 -1
  43. data/vendor/assets/stylesheets/twbs/bootstrap/_popovers.scss +1 -1
  44. data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-utilities.scss +4 -1
  45. data/vendor/assets/stylesheets/twbs/bootstrap/_tables.scss +3 -3
  46. data/vendor/assets/stylesheets/twbs/bootstrap/_theme.scss +3 -2
  47. data/vendor/assets/stylesheets/twbs/bootstrap/_tooltip.scss +1 -1
  48. data/vendor/assets/stylesheets/twbs/bootstrap/_variables.scss +6 -8
  49. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_hide-text.scss +1 -1
  50. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_opacity.scss +1 -1
  51. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_vendor-prefixes.scss +1 -1
  52. metadata +21 -6
@@ -13,6 +13,7 @@
13
13
  .h1 {
14
14
  color: $jumbotron-heading-color;
15
15
  }
16
+
16
17
  p {
17
18
  margin-bottom: ($jumbotron-padding / 2);
18
19
  font-size: $jumbotron-font-size;
@@ -7,6 +7,20 @@
7
7
  }
8
8
  }
9
9
 
10
+ .media,
11
+ .media-body {
12
+ zoom: 1;
13
+ overflow: hidden;
14
+ }
15
+
16
+ .media-body {
17
+ width: 10000px;
18
+ }
19
+
20
+ .media-object {
21
+ display: block;
22
+ }
23
+
10
24
  .media-right,
11
25
  .media > .pull-right {
12
26
  padding-left: 10px;
@@ -331,6 +331,7 @@
331
331
  }
332
332
  // Menu position and menu caret support for dropups via extra dropup class
333
333
  .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
334
+ margin-bottom: 0;
334
335
  @include border-top-radius($navbar-border-radius);
335
336
  @include border-bottom-radius(0);
336
337
  }
@@ -36,7 +36,11 @@
36
36
  font-size: ceil(($font-size-base * 1.125));
37
37
  color: inherit;
38
38
 
39
- > a {
39
+ > a,
40
+ > small,
41
+ > .small,
42
+ > small > a,
43
+ > .small > a {
40
44
  color: inherit;
41
45
  }
42
46
  }
@@ -11,7 +11,7 @@
11
11
  display: none;
12
12
  max-width: $popover-max-width;
13
13
  padding: 1px;
14
- // Reset font and text propertes given new insertion method
14
+ // Reset font and text properties given new insertion method
15
15
  font-family: $font-family-base;
16
16
  font-size: $font-size-base;
17
17
  font-weight: normal;
@@ -26,7 +26,10 @@
26
26
  // Visibility utilities
27
27
  // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
28
28
 
29
- @include responsive-invisibility('.visible-xs, .visible-sm, .visible-md, .visible-lg');
29
+ @include responsive-invisibility('.visible-xs');
30
+ @include responsive-invisibility('.visible-sm');
31
+ @include responsive-invisibility('.visible-md');
32
+ @include responsive-invisibility('.visible-lg');
30
33
 
31
34
  .visible-xs-block,
32
35
  .visible-xs-inline,
@@ -111,7 +111,7 @@ th {
111
111
  // Default zebra-stripe styles (alternating gray and transparent backgrounds)
112
112
 
113
113
  .table-striped {
114
- > tbody > tr:nth-child(odd) {
114
+ > tbody > tr:nth-of-type(odd) {
115
115
  background-color: $table-bg-accent;
116
116
  }
117
117
  }
@@ -133,7 +133,7 @@ th {
133
133
  // Reset default table behavior
134
134
 
135
135
  table col[class*="col-"] {
136
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
136
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
137
137
  float: none;
138
138
  display: table-column;
139
139
  }
@@ -141,7 +141,7 @@ table {
141
141
  td,
142
142
  th {
143
143
  &[class*="col-"] {
144
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
144
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
145
145
  float: none;
146
146
  display: table-cell;
147
147
  }
@@ -36,7 +36,7 @@
36
36
  // Mixin for generating new styles
37
37
  @mixin btn-styles($btn-color: #555) {
38
38
  @include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
39
- @include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners
39
+ @include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
40
40
  background-repeat: repeat-x;
41
41
  border-color: darken($btn-color, 14%);
42
42
 
@@ -52,6 +52,7 @@
52
52
  border-color: darken($btn-color, 14%);
53
53
  }
54
54
 
55
+ &.disabled,
55
56
  &:disabled,
56
57
  &[disabled] {
57
58
  background-color: darken($btn-color, 12%);
@@ -130,7 +131,7 @@
130
131
  // Inverted navbar
131
132
  .navbar-inverse {
132
133
  @include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
133
- @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
134
+ @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
134
135
 
135
136
  .navbar-nav > .open > a,
136
137
  .navbar-nav > .active > a {
@@ -9,7 +9,7 @@
9
9
  z-index: $zindex-tooltip;
10
10
  display: block;
11
11
  visibility: visible;
12
- // Reset font and text propertes given new insertion method
12
+ // Reset font and text properties given new insertion method
13
13
  font-family: $font-family-base;
14
14
  font-size: $font-size-small;
15
15
  font-weight: normal;
@@ -1,8 +1,4 @@
1
- // When true, asset path helpers are used, otherwise the regular CSS `url()` is used.
2
- // When there no function is defined, `fn('')` is parsed as string that equals the right hand side
3
- // NB: in Sass 3.3 there is a native function: function-exists(twbs-font-path)
4
- $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
5
-
1
+ $bootstrap-sass-asset-helper: false !default;
6
2
  //
7
3
  // Variables
8
4
  // --------------------------------------------------
@@ -19,7 +15,7 @@ $gray: lighten($gray-base, 33.5%) !default; // #555
19
15
  $gray-light: lighten($gray-base, 46.7%) !default; // #777
20
16
  $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
21
17
 
22
- $brand-primary: darken(#428bca, 6.5%) !default;
18
+ $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
23
19
  $brand-success: #5cb85c !default;
24
20
  $brand-info: #5bc0de !default;
25
21
  $brand-warning: #f0ad4e !default;
@@ -82,7 +78,8 @@ $headings-color: inherit !default;
82
78
 
83
79
  //** Load fonts from this directory.
84
80
 
85
- // [converter] Asset helpers such as Sprockets and Node.js Mincer do not resolve relative paths
81
+ // [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
82
+ // [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
86
83
  $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;
87
84
 
88
85
  //** File name for all font files.
@@ -107,7 +104,7 @@ $padding-small-horizontal: 10px !default;
107
104
  $padding-xs-vertical: 1px !default;
108
105
  $padding-xs-horizontal: 5px !default;
109
106
 
110
- $line-height-large: 1.33 !default;
107
+ $line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
111
108
  $line-height-small: 1.5 !default;
112
109
 
113
110
  $border-radius-base: 4px !default;
@@ -195,6 +192,7 @@ $input-border: #ccc !default;
195
192
 
196
193
  // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
197
194
  //** Default `.form-control` border radius
195
+ // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
198
196
  $input-border-radius: $border-radius-base !default;
199
197
  //** Large `.form-control` border radius
200
198
  $input-border-radius-large: $border-radius-large !default;
@@ -8,7 +8,7 @@
8
8
 
9
9
  // Deprecated as of v3.0.1 (will be removed in v4)
10
10
  @mixin hide-text() {
11
- font: #{0/0} a;
11
+ font: 0/0 a;
12
12
  color: transparent;
13
13
  text-shadow: none;
14
14
  background-color: transparent;
@@ -4,5 +4,5 @@
4
4
  opacity: $opacity;
5
5
  // IE8 filter
6
6
  $opacity-ie: ($opacity * 100);
7
- filter: #{alpha(opacity=$opacity-ie)};
7
+ filter: alpha(opacity=$opacity-ie);
8
8
  }
@@ -102,7 +102,7 @@
102
102
  // Firefox
103
103
  &::-moz-placeholder {
104
104
  color: $color;
105
- opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
105
+ opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
106
106
  }
107
107
  &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
108
108
  &::-webkit-input-placeholder { color: $color; } // Safari and Chrome
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.0.2
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - diowa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.12
19
+ version: 4.0.13
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 5.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 4.0.12
29
+ version: 4.0.13
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 5.0.0
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 4.0.2
39
+ version: 4.0.5
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 6.0.0
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 4.0.2
49
+ version: 4.0.5
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: 6.0.0
@@ -140,6 +140,20 @@ dependencies:
140
140
  - - "~>"
141
141
  - !ruby/object:Gem::Version
142
142
  version: 0.9.1
143
+ - !ruby/object:Gem::Dependency
144
+ name: uglifier
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '2.7'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: '2.7'
143
157
  description: Provides assets for Bootstrap and FontAwesome in your Rails application.
144
158
  email:
145
159
  - dev@diowa.com
@@ -162,6 +176,7 @@ files:
162
176
  - app/assets/fonts/glyphicons-halflings-regular.svg
163
177
  - app/assets/fonts/glyphicons-halflings-regular.ttf
164
178
  - app/assets/fonts/glyphicons-halflings-regular.woff
179
+ - app/assets/fonts/glyphicons-halflings-regular.woff2
165
180
  - gemfiles/rails_4.0.gemfile
166
181
  - gemfiles/rails_4.1.gemfile
167
182
  - gemfiles/rails_4.2.gemfile