uswds-rails 1.6.4 → 1.6.7

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.
@@ -196,15 +196,19 @@ legend {
196
196
  [type=checkbox] + label::before,
197
197
  [type=radio] + label::before {
198
198
  background: $color-white;
199
- border-radius: $checkbox-border-radius;
200
- box-shadow: 0 0 0 1px $color-gray-medium;
201
199
  content: '\a0';
202
200
  display: inline-block;
201
+ text-indent: 0.15em;
202
+ vertical-align: middle\0; // Target IE 11 and below to vertically center inputs
203
+ }
204
+
205
+ [type=checkbox] + label::before {
206
+ border-radius: $checkbox-border-radius;
207
+ box-shadow: 0 0 0 1px $color-gray-medium;
203
208
  height: $spacing-medium;
204
209
  line-height: $spacing-medium;
210
+ margin-left: 1px;
205
211
  margin-right: 0.6em;
206
- text-indent: 0.15em;
207
- vertical-align: middle\0; // Target IE 11 and below to vertically center inputs
208
212
  width: $spacing-medium;
209
213
  }
210
214
 
@@ -213,6 +217,7 @@ legend {
213
217
  box-shadow: 0 0 0 2px $color-white, 0 0 0 3px $color-gray-medium;
214
218
  height: 1.4rem; // Size overrides to account for shape + checked styling
215
219
  line-height: 1.4rem;
220
+ margin-left: 3px;
216
221
  margin-right: 0.75em;
217
222
  width: 1.4rem;
218
223
  }
@@ -338,19 +343,26 @@ legend {
338
343
 
339
344
  // Memorable dates
340
345
 
341
- .usa-date-of-birth {
346
+ .usa-date-of-birth { /* stylelint-disable-line */
342
347
  label {
343
348
  margin-top: 0;
344
349
  }
345
350
 
346
- [type=number]::-webkit-inner-spin-button,
347
- [type=number]::-webkit-outer-spin-button {
348
- appearance: none;
349
- margin: 0;
350
- }
351
-
352
351
  [type=number] {
353
352
  -moz-appearance: textfield;
353
+
354
+ &::-webkit-inner-spin-button {
355
+ appearance: none;
356
+ }
357
+
358
+ &::-webkit-contacts-auto-fill-button {
359
+ visibility: hidden;
360
+ display: none !important; /* stylelint-disable-line declaration-no-important */
361
+ pointer-events: none;
362
+ height: 0;
363
+ width: 0;
364
+ margin: 0;
365
+ }
354
366
  }
355
367
  }
356
368
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uswds-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2018-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -104,14 +104,14 @@ dependencies:
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: 0.52.1
107
+ version: 0.58.0
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - "~>"
113
113
  - !ruby/object:Gem::Version
114
- version: 0.52.1
114
+ version: 0.58.0
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: sass-rails
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -389,7 +389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
389
389
  version: '0'
390
390
  requirements: []
391
391
  rubyforge_project:
392
- rubygems_version: 2.7.4
392
+ rubygems_version: 2.7.6
393
393
  signing_key:
394
394
  specification_version: 4
395
395
  summary: Integrate the U.S. Web Design System into a Ruby on Rails application.