digital_nsw_template 0.0.2 → 0.0.3

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
  SHA256:
3
- metadata.gz: 1ee9e1c75e0df0d12b53b4d2cfff87e29865994988d54a49cbf0c247bbd96a84
4
- data.tar.gz: 28f45cc81cbf582f3bcfeb895a9d6a91f907c7dbfd1a7931e9c22db56dcd719a
3
+ metadata.gz: 3b9ee595a46654da6c4802c5b49effe4c775db3a8fa8a2823f0994933355cf31
4
+ data.tar.gz: 7437cc7f9bb5b353ad7f84ce8cd72d22be45c69d3d6c465c341310bcc079eea0
5
5
  SHA512:
6
- metadata.gz: b15840f56c3902cdb3eb9fc05580632b28331905b93ab8964905c7ed74640c406962995dd63e0f4f1732d8249834cc357751cf7658f0621a4bd16fbad62cc06b
7
- data.tar.gz: 365a915fd384353294ded3ed044d5c2abf15dcd6bbe188835973119a59c3f40eb0496ac2bd72619708adf1c15f210d94c20ac897daa37b39dcd3bf7ac0301d09
6
+ metadata.gz: 5ce34256e5caec436b4b3b4a99fd8bd63393dc25f7070c0a957e338ecdee00427f5a934542d58061a9d00d211bfaf187ba1178053d371476a48508dc9823674c
7
+ data.tar.gz: b880d03877a4c5dfe00fdc63970d0632227a48845bd8c0907167696b97b92f0402aeee6d07a3d13863d14aad79fcd519c9afd810f8e46f2ea09806ca067f816a
@@ -9,6 +9,7 @@
9
9
  @import 'digital_nsw_template/patterns/check-answers';
10
10
  @import 'digital_nsw_template/patterns/confirmation';
11
11
  @import 'digital_nsw_template/patterns/logo';
12
+ @import 'digital_nsw_template/patterns/task-list';
12
13
 
13
14
  @import 'digital_nsw_template/layout/alerts';
14
15
  @import 'digital_nsw_template/layout/article';
@@ -19,9 +19,12 @@
19
19
  width: auto;
20
20
  }
21
21
 
22
+ &:hover, &:focus {
23
+ color: $white;
24
+ }
25
+
22
26
  &:focus {
23
27
  outline: 3px solid $focus-colour;
24
- color: $white;
25
28
  }
26
29
 
27
30
  &.disabled,
@@ -0,0 +1,60 @@
1
+ @mixin task-list {
2
+ padding: 1rem 0 3rem;
3
+ list-style: none;
4
+ font-size: .85rem;
5
+
6
+ @include media-breakpoint-up(md) {
7
+ font-size: 1.1rem;
8
+ }
9
+
10
+ > li {
11
+ font-size: 1em;
12
+ font-weight: bold;
13
+ margin-bottom: 3em;
14
+
15
+ h2 {
16
+ .step-number {
17
+ display: inline-block;
18
+ width: 1.75em;
19
+ }
20
+
21
+ font-size: 1.6em;
22
+ font-weight: bold;
23
+ }
24
+ }
25
+
26
+ ul {
27
+ padding-left: 3em;
28
+ font-weight: normal;
29
+
30
+ li {
31
+ list-style: none;
32
+ padding: .6em 0;
33
+ overflow: auto;
34
+
35
+ border-bottom: 1px solid $grey-3;
36
+
37
+ &:first-of-type {
38
+ border-top: 1px solid $grey-3;
39
+ }
40
+
41
+ .completed {
42
+ display: inline-block;
43
+ float: right;
44
+ padding: 0.3em 0.4em;
45
+
46
+ background: $dark-blue;
47
+ color: #fff;
48
+
49
+ text-transform: uppercase;
50
+ font-size: 0.95em;
51
+ line-height: 1.1em;
52
+ font-weight: 600;
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ ol.task-list {
59
+ @include task-list;
60
+ }
@@ -1,3 +1,3 @@
1
1
  module DigitalNswTemplate
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digital_nsw_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - NSW Department of Finance, Services and Innovation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-09 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -82,6 +82,7 @@ files:
82
82
  - assets/stylesheets/digital_nsw_template/patterns/check-answers.scss
83
83
  - assets/stylesheets/digital_nsw_template/patterns/confirmation.scss
84
84
  - assets/stylesheets/digital_nsw_template/patterns/logo.scss
85
+ - assets/stylesheets/digital_nsw_template/patterns/task-list.scss
85
86
  - digital_nsw_template.gemspec
86
87
  - lib/digital_nsw_template.rb
87
88
  - lib/digital_nsw_template/engine.rb