govuk_elements_rails 3.0.1 → 3.0.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f5a84dbd590c0b2b2caace7b71d843cc051a60a
|
4
|
+
data.tar.gz: 7087493a1923fc9648705f8cc708eeac5aec313a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afa4e526a304e15c82c1a3807ae06465d54cbb7993aab248489ffc8a33ba588bbeff282165f2b99cb2f42ea4ccfa0088d8ea2738aa24a7c472b46bd778e07959
|
7
|
+
data.tar.gz: 815a7a3e70e5f8d6aa590447f26568c88a3287d0aa609551db83444ab0a535781fd0950ad490392f5fd6d7cd21cb7c0b85113bdedd3184bdb09cba7f1f858deb
|
@@ -8,20 +8,11 @@
|
|
8
8
|
clear: left;
|
9
9
|
position: relative;
|
10
10
|
|
11
|
-
padding:
|
11
|
+
padding: 0 0 0 38px;
|
12
12
|
margin-bottom: $gutter-one-third;
|
13
13
|
|
14
|
-
cursor: pointer; // Encourage clicking on the label
|
15
|
-
|
16
|
-
// remove 300ms pause on mobile
|
17
|
-
-ms-touch-action: manipulation;
|
18
|
-
touch-action: manipulation;
|
19
|
-
|
20
14
|
@include media(tablet) {
|
21
15
|
float: left;
|
22
|
-
padding-top: 7px;
|
23
|
-
padding-bottom: 7px;
|
24
|
-
// width: 25%; - Test : check that text within labels will wrap
|
25
16
|
}
|
26
17
|
|
27
18
|
// Absolutely position inputs within label, to allow text to wrap
|
@@ -43,6 +34,18 @@
|
|
43
34
|
|
44
35
|
label {
|
45
36
|
cursor: pointer;
|
37
|
+
padding: 8px $gutter-one-third 9px 12px;
|
38
|
+
display: block;
|
39
|
+
|
40
|
+
// remove 300ms pause on mobile
|
41
|
+
-ms-touch-action: manipulation;
|
42
|
+
touch-action: manipulation;
|
43
|
+
|
44
|
+
@include media(tablet) {
|
45
|
+
float: left;
|
46
|
+
padding-top: 7px;
|
47
|
+
padding-bottom: 7px;
|
48
|
+
}
|
46
49
|
}
|
47
50
|
|
48
51
|
[type=radio] + label::before {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_elements_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob McKinnon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -45,17 +45,17 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - '>='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 5.0
|
48
|
+
version: 5.2.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '>='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 5.0
|
55
|
+
version: 5.2.0
|
56
56
|
description: |-
|
57
|
-
A gem wrapper around govuk_elements v3.0.
|
58
|
-
that pulls stylesheet and javascript files into a Rails app. Changelog: https://github.com/alphagov/govuk_elements/blob/
|
57
|
+
A gem wrapper around govuk_elements v3.0.2
|
58
|
+
that pulls stylesheet and javascript files into a Rails app. Changelog: https://github.com/alphagov/govuk_elements/blob/04646850aafd2236e11562c65602fc8e92a6d9f0
|
59
59
|
/CHANGELOG.md
|
60
60
|
email: robin.whittleton@digital.cabinet-office.gov.uk
|
61
61
|
executables: []
|