govuk_publishing_components 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd686b764227170cd5029b2e357499afb254e157
4
- data.tar.gz: c9789a0a73bf3dd79b242e300495790d253641a3
3
+ metadata.gz: 40aeafd501d4e7377faa6a98a0cc4f03689c8b4d
4
+ data.tar.gz: 4a9d118b698280ee82ea98b76ff46800c5710556
5
5
  SHA512:
6
- metadata.gz: 7148c05e82ebe78bd28e8ff6469e9c5ad0a23820118d23c519de2ab0f4ecc6574d25c8f077834137363beb2f2fe31d0e3991ccf51da4506c27dec0face3ff6d1
7
- data.tar.gz: 6005d721d3bd60a2c7494c059b9dc8624e03f77f4ea42849ee81ac4dfd73f2ae6cab7087f3378b6760d5cb4306ee0e7aa3e173b98213afd0c86187142bb6bff1
6
+ metadata.gz: 473cee8babe4cb5bf8ee0ccfb2de2f1c07c7b413b991f79ed8cbf2299d20c82db4d7b840f120b8474e2590ebf2782396cad0349a455e35c591b2e1a51b6ef7ab
7
+ data.tar.gz: b143ccd9fcd0b0a93c24c10d49279b63ca067b6b169cde89db7beee6f0b54c928a011a0a594ad74cee3ebfd66db63607546ecca71660d0356a9edad7fd790088
@@ -1,11 +1,17 @@
1
1
  // scss-lint:disable SelectorFormat
2
2
 
3
+ .gem-c-task-list__circle,
3
4
  .gem-c-task-list__controls,
4
5
  .gem-c-task-list__toggle-link,
5
6
  .gem-c-task-list__help {
6
7
  display: none;
7
8
  }
8
9
 
10
+ .gem-c-task-list__step,
11
+ .gem-c-task-list__paragraph {
12
+ padding-bottom: 1em;
13
+ }
14
+
9
15
  .gem-c-task-list__title {
10
16
  margin: 0;
11
17
  padding: 0;
@@ -24,8 +30,7 @@
24
30
  }
25
31
 
26
32
  .gem-c-task-list__links {
27
- padding-left: 0;
28
- list-style: none;
33
+ list-style: disc;
29
34
  }
30
35
 
31
36
  .gem-c-task-list__links--choice {
@@ -28,7 +28,6 @@ $top-border: solid 2px $grey-3;
28
28
 
29
29
  .gem-c-task-list {
30
30
  margin-bottom: $gutter-half;
31
- overflow: hidden;
32
31
  }
33
32
 
34
33
  .gem-c-task-list__controls {
@@ -41,6 +40,7 @@ $top-border: solid 2px $grey-3;
41
40
  cursor: pointer;
42
41
  background: none;
43
42
  border: 0;
43
+ margin: 0;
44
44
  }
45
45
 
46
46
  // removes extra dotted outline from buttons in Firefox
@@ -105,7 +105,10 @@ $top-border: solid 2px $grey-3;
105
105
 
106
106
  .gem-c-task-list__step:last-child {
107
107
  &:after {
108
+ // scss-lint:disable DuplicateProperty
109
+ height: -webkit-calc(100% - #{$gutter-half}); // fallback
108
110
  height: calc(100% - #{$gutter-half});
111
+ // scss-lint:enable DuplicateProperty
109
112
  }
110
113
 
111
114
  .gem-c-task-list__help:after {
@@ -223,15 +226,21 @@ $top-border: solid 2px $grey-3;
223
226
  }
224
227
  }
225
228
 
226
- // to make the numbers readable for users zooming the text only in Firefox
229
+ // makes sure logic text expands to the left if text size is zoomed, preventing overlap
227
230
  .gem-c-task-list__circle-inner {
228
231
  float: right;
229
232
  min-width: 100%;
230
233
  }
231
234
 
232
235
  .gem-c-task-list__circle-background {
233
- background: $white;
234
- border-radius: 100px;
236
+ $shadow-offset: 0.1em;
237
+ $shadow-colour: $white;
238
+
239
+ // to make numbers readable for users zooming text only in browsers such as Firefox
240
+ text-shadow: 0 -#{$shadow-offset} 0 $shadow-colour,
241
+ $shadow-offset 0 0 $shadow-colour,
242
+ 0 $shadow-offset 0 $shadow-colour,
243
+ -#{$shadow-offset} 0 0 $shadow-colour;
235
244
  }
236
245
 
237
246
  .gem-c-task-list__header {
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '3.0.0'.freeze
2
+ VERSION = '3.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-15 00:00:00.000000000 Z
11
+ date: 2017-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails