dta_rapid 0.2.10 → 0.2.11

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: d2a888ff2678fa5e3adfa98547ec77ad754c55db
4
- data.tar.gz: bccf7847b819872ecd44177248db7145f3d8a388
3
+ metadata.gz: 5073269753afcbb6cbf9effbac222ce207faba7e
4
+ data.tar.gz: 877b927a0cc317322665161a1888cb3b90cdff4d
5
5
  SHA512:
6
- metadata.gz: ae4fd04254e4b053c8ca7760fb167c0eada5f0fa3bf801373c5894bff0c44b3f4394f0aef9115269559974755116588fbbe389113a73388fd34e8226f7d7a6b5
7
- data.tar.gz: 8be0d51de395912a3b477b905ac9081ccbfbf18bcf9d68a5b8f868ea88d02a6e4897d9135ffd2ea59168525ca6f6d6e5431f48bc35ca80bd1d96738e688276b2
6
+ metadata.gz: fb47cf42b3c7c740cb7343707a112f18d37f038f2e3f52b18be9dad3c6ec44a12bc7c05bedd03d385010a87feed43fb899d422eba1328e0b3718993930f62bfc
7
+ data.tar.gz: 878633008b7e537d7946d539b2c172cf67c8dce86a20d443b506e3179a2c562b3cc2f883b7fe76bfbe37dfb5b26f833a118e7f5172c07301b4ed84b3d3db20e2
data/_sass/_colors.scss CHANGED
@@ -31,12 +31,12 @@ $light-blue: #e8f5fa;
31
31
 
32
32
  // Seperation of Pretty colors from contextual colors
33
33
 
34
- $action-color: $aqua;
34
+ $action-color: $straya-green;
35
35
  $action-color--hover: darken($action-color, 5%);
36
36
  $action-color--active: darken($action-color, 10%);
37
- $action-color--disabled: lighten($action-color, 30%);
37
+ $action-color--disabled: $light-grey;
38
38
 
39
- $focus-color: lighten($action-color, 30%);
39
+ $focus-color: lighten($aqua, 30%);
40
40
  $error-color: $red;
41
41
  $success-color: $green;
42
42
  $warning-color: $yellow;
@@ -42,6 +42,10 @@ h1 {
42
42
  }
43
43
 
44
44
  @mixin h2 {
45
+
46
+ }
47
+
48
+ h2 {
45
49
  font-size: 2rem;
46
50
  line-height: $small-leading;
47
51
  margin-top: $base-spacing;
@@ -52,10 +56,6 @@ h1 {
52
56
  }
53
57
  }
54
58
 
55
- h2 {
56
- @include h2;
57
- }
58
-
59
59
  h3 {
60
60
  font-size: 1.5rem;
61
61
  font-weight: $heading-font-weight;
@@ -65,7 +65,6 @@ h3 {
65
65
  @include media($tablet) {
66
66
  font-size: 1.625rem;
67
67
  }
68
-
69
68
  }
70
69
 
71
70
  h4,
@@ -75,92 +74,6 @@ h6 {
75
74
  font-weight: $heading-font-weight;
76
75
  }
77
76
 
78
- // Document this later.
79
- .gov-speak {
80
- h1,
81
- h2,
82
- h3,
83
- h4,
84
- h5,
85
- h6 {
86
- line-height: $base-heading-leading;
87
- font-weight: $heading-font-weight;
88
- margin-bottom: $tiny-spacing;
89
- margin-top: $base-spacing;
90
- }
91
-
92
- h1 {
93
- font-size: 2rem;
94
- line-height: $small-leading;
95
-
96
- @include media($tablet) {
97
- font-size: 2.75rem;
98
- }
99
-
100
- @include media($desktop) {
101
- font-size: 2.5rem;
102
- }
103
-
104
- &:first-of-type {
105
- margin-top: $tiny-spacing;
106
- }
107
- }
108
-
109
- h2 {
110
- font-size: 1.75rem;
111
- line-height: $small-leading;
112
-
113
- @include media($tablet) {
114
- font-size: 2rem;
115
- }
116
- }
117
-
118
- h3 {
119
- font-size: 1.5rem;
120
- font-weight: $heading-font-weight;
121
-
122
- @include media($tablet) {
123
- font-size: 1.625rem;
124
- }
125
- }
126
-
127
- h4 {
128
- font-size: 1.1875rem;
129
- font-weight: $heading-font-weight;
130
-
131
- @include media($tablet) {
132
- font-size: 1.375rem;
133
- }
134
- }
135
-
136
- h5 {
137
- font-size: 1.0625rem;
138
- font-weight: $heading-font-weight;
139
- }
140
-
141
- h6 {
142
- font-size: 1.0625rem;
143
- font-weight: $heading-font-weight;
144
- }
145
- }
146
-
147
- @include media($desktop) {
148
- h1,
149
- h2,
150
- h3,
151
- h4,
152
- h5,
153
- p,
154
- li,
155
- dl {
156
- max-width: 38rem
157
- }
158
- .content-full-width {
159
- max-width: none;
160
- width: 100%;
161
- }
162
- }
163
-
164
77
  code,
165
78
  pre,
166
79
  samp,
@@ -15,6 +15,7 @@ input[type="reset"] {
15
15
  border-color: inherit;
16
16
  outline: 0;
17
17
  text-decoration: none;
18
+ text-align: center;
18
19
  font-weight: $bold-font-weight;
19
20
 
20
21
  @include media($tablet) {
@@ -28,6 +29,7 @@ input[type="reset"] {
28
29
  &:hover,
29
30
  &:active,
30
31
  &:focus {
32
+ pointer-events: none;
31
33
  cursor: not-allowed;
32
34
  border-color: $button-bg-color--disabled;
33
35
  background-color: $button-bg-color--disabled;
@@ -57,3 +59,14 @@ input[type="reset"] {
57
59
  border-color: $button-bg-color--disabled;
58
60
  }
59
61
  }
62
+
63
+ .button--full-width-on-mobile {
64
+ display: block;
65
+ text-align: center;
66
+ width: 100%;
67
+
68
+ @include media($desktop) {
69
+ display: inline-block;
70
+ width: auto;
71
+ }
72
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dta_rapid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gareth Rogers