dvla_internal_frontend_toolkit 2.0.3 → 2.0.4

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: d651dd9495c0eb3a6ff9b7e9475b1529606adc8e
4
- data.tar.gz: 95915d05b482e07c28d66c0db2f054f828e8890c
3
+ metadata.gz: be3d0b573c5933b272e4c3e8d17ea172181a1abd
4
+ data.tar.gz: 925a1e87675edafcd9202a3a6a292afccbd39e82
5
5
  SHA512:
6
- metadata.gz: b394e52044742d644d3d765e8efdf0fb6b20638f8e950a50c45a9f975183f25b223471917c12f2eedba10ff9e34317099f91856f155cf46dd86eea641ef07a4f
7
- data.tar.gz: 8ab76bda63d1f18e5df6625448ee8e92c24197a004524dc22ac892c5cadc46570e9c7d91d7d577f7d1f86f2353cd2ed903f5975449b164a56b56f302608868c9
6
+ metadata.gz: 764bb0f9b362d1d2a93af46c28e060e4bd50bba4411b6a1e0472b586cfb388d08604416258adbd5348ce5388c1140045ca6b8a5a5785aba4b912e6b4ea7fec0a
7
+ data.tar.gz: b838b2193f1b2ccc0d3012d1e104be551ac174b4f873f86f137565b65bc9ef67e41aa98cd27a3886210ae2c5d7f39b5953176855f63d918ab238f244ceae074b
@@ -19,7 +19,7 @@
19
19
  align-items: stretch;
20
20
  width: 100%;
21
21
 
22
- .form-control {
22
+ .form-control, .form-control-sml, .form-control-lrg {
23
23
  position: relative;
24
24
  -ms-flex: 1 1 auto;
25
25
  flex: 1 1 auto;
@@ -95,8 +95,9 @@
95
95
  align-items: center;
96
96
  }
97
97
 
98
- .form-control {
98
+ @mixin form-control() {
99
99
  width: 100%;
100
+ margin-bottom: 16px;
100
101
  border-radius: 0;
101
102
  -webkit-appearance: none;
102
103
  -moz-appearance: none;
@@ -104,9 +105,7 @@
104
105
  border: 2px solid $grey-1;
105
106
  border-radius: 0;
106
107
  color: $black;
107
- font-size: 18px;
108
108
  font-family: "Interface", "Helvetica Neue", Arial, sans-serif;
109
- margin-bottom: 16px;
110
109
 
111
110
  &:last-child {
112
111
  margin-bottom: 0;
@@ -142,9 +141,23 @@
142
141
  }
143
142
  }
144
143
 
144
+ .form-control {
145
+ @include form-control();
146
+ font-size: 18px;
147
+ }
148
+
149
+ .form-control-sml {
150
+ @include form-control();
151
+ font-size: 14px;
152
+ }
153
+
154
+ .form-control-lrg {
155
+ @include form-control();
156
+ font-size: 24px;
157
+ }
158
+
145
159
 
146
160
  select {
147
- height: 40px;
148
161
  background-color: white;
149
162
  background-image: url('#{$imagePath}triangle-caret-down.svg');
150
163
  background-repeat: no-repeat;
@@ -164,9 +177,24 @@ textarea {
164
177
  padding: 8px;
165
178
  }
166
179
 
167
- input[type="text"], input[list] {
180
+ input[type="text"], input[list], select {
168
181
  height: 40px;
169
182
  padding: 0 8px;
183
+
184
+ &.form-control-sml {
185
+ height: 32px;
186
+ padding: 0 6px;
187
+ }
188
+
189
+ &.form-control {
190
+ height: 40px;
191
+ padding: 0 8px;
192
+ }
193
+
194
+ &.form-control-lrg {
195
+ height: 50px;
196
+ padding: 0 10px;
197
+ }
170
198
  }
171
199
  input[list] {
172
200
 
@@ -1,3 +1,3 @@
1
1
  module DvlaInternalFrontendToolkit
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvla_internal_frontend_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Betsworth
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-11-29 00:00:00.000000000 Z
13
+ date: 2017-11-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.6.13
131
+ rubygems_version: 2.6.14
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: DVLA Internal Frontend Toolkit