twbs_sass_rails 3.0.2 → 3.1.1
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.
- checksums.yaml +4 -4
- data/Appraisals +2 -11
- data/CHANGELOG.md +8 -0
- data/LICENSE +1 -1
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +273 -214
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/gemfiles/rails_4.0.gemfile +1 -4
- data/gemfiles/rails_4.1.gemfile +1 -4
- data/gemfiles/rails_4.2.gemfile +0 -3
- data/lib/twbs_sass_rails/version.rb +1 -1
- data/test/dummy/config/initializers/secret_token.rb +1 -6
- data/test/integration/twbs_sass_rails_integration_test.rb +1 -0
- data/twbs_sass_rails.gemspec +3 -2
- data/vendor/assets/javascripts/twbs/bootstrap/affix.js +4 -4
- data/vendor/assets/javascripts/twbs/bootstrap/alert.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/button.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +7 -10
- data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +4 -4
- data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/modal.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/popover.js +7 -13
- data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/tab.js +3 -3
- data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +10 -16
- data/vendor/assets/javascripts/twbs/bootstrap/transition.js +2 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_alerts.scss +5 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_badges.scss +4 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_breadcrumbs.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_button-groups.scss +2 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_buttons.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_carousel.scss +8 -6
- data/vendor/assets/stylesheets/twbs/bootstrap/_close.scss +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_dropdowns.scss +2 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_forms.scss +41 -19
- data/vendor/assets/stylesheets/twbs/bootstrap/_glyphicons.scss +265 -198
- data/vendor/assets/stylesheets/twbs/bootstrap/_jumbotron.scss +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_media.scss +14 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_navbar.scss +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/_panels.scss +5 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_popovers.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-utilities.scss +4 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_tables.scss +3 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/_theme.scss +3 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/_tooltip.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/_variables.scss +6 -8
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_hide-text.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_opacity.scss +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_vendor-prefixes.scss +1 -1
- metadata +21 -6
@@ -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
|
}
|
@@ -11,7 +11,7 @@
|
|
11
11
|
display: none;
|
12
12
|
max-width: $popover-max-width;
|
13
13
|
padding: 1px;
|
14
|
-
// Reset font and text
|
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
|
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-
|
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
|
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
|
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
|
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
|
-
|
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]
|
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.
|
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;
|
@@ -102,7 +102,7 @@
|
|
102
102
|
// Firefox
|
103
103
|
&::-moz-placeholder {
|
104
104
|
color: $color;
|
105
|
-
opacity: 1; //
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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
|