dvla_internal_frontend_toolkit 2.0.9 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/constants/_fonts.scss +4 -4
- data/app/assets/stylesheets/constants/paths/_node.scss +9 -1
- data/app/assets/stylesheets/constants/paths/_rails.scss +8 -3
- data/app/assets/stylesheets/elements/_forms.scss +1 -1
- data/app/assets/stylesheets/elements/_layout.scss +1 -1
- data/app/assets/stylesheets/elements/_navigation.scss +1 -1
- data/lib/dvla_internal_frontend_toolkit/version.rb +1 -1
- data/lib/dvla_internal_frontend_toolkit.rb +12 -0
- metadata +3 -4
- data/app/assets/stylesheets/elements/_pagination.scss +0 -274
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e3b23fed27e2d7b93bdd0ad4429199e0796f944
|
4
|
+
data.tar.gz: 02b7c72fdd01502f3945c2f35ed830a907788bc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2de81e5407f1f18454b5a0346a8842712b98035809805ce9c85a3eda7a64461a95bc2f224891405043ef5cfa7b97f6edf6c54a28ff204f4618c02036216385bf
|
7
|
+
data.tar.gz: d1cdb18a65b5dc8731654538d60b53c9de1332f9bbe3c4a0fdbb88ce92ae0b98a9f253dfba5b61cacc728176eef7bd597ec79e58f31850290ed5a2ea5d3075f2
|
@@ -2,26 +2,26 @@
|
|
2
2
|
|
3
3
|
@font-face {
|
4
4
|
font-family: 'Interface';
|
5
|
-
|
5
|
+
@include fontAsset('Inter-UI-Regular.woff');
|
6
6
|
font-weight: normal;
|
7
7
|
font-style: normal;
|
8
8
|
}
|
9
9
|
|
10
10
|
@font-face {
|
11
11
|
font-family: 'Interface';
|
12
|
-
|
12
|
+
@include fontAsset('Inter-UI-Medium.woff');
|
13
13
|
font-weight: 500;
|
14
14
|
}
|
15
15
|
|
16
16
|
@font-face {
|
17
17
|
font-family: 'Interface';
|
18
|
-
|
18
|
+
@include fontAsset('Inter-UI-Bold.woff');
|
19
19
|
font-weight: bold;
|
20
20
|
}
|
21
21
|
|
22
22
|
@font-face{
|
23
23
|
font-family: 'dvla-icons';
|
24
|
-
|
24
|
+
@include fontAsset('dvla-icons.woff');
|
25
25
|
}
|
26
26
|
|
27
27
|
$primary-font: 'Interface', 'Helvetica Neue', Arial, sans-serif;
|
@@ -1,2 +1,10 @@
|
|
1
1
|
$imagePath: '/public/images/';
|
2
|
-
$fontPath: '/public/fonts/';
|
2
|
+
$fontPath: '/public/fonts/';
|
3
|
+
|
4
|
+
@mixin imageAsset($image) {
|
5
|
+
background-image: url('#{$imagePath}#{$image}');
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin fontAsset($font) {
|
9
|
+
src: url('#{$fontPath}#{$image}') format('woff');
|
10
|
+
}
|
@@ -159,7 +159,7 @@
|
|
159
159
|
|
160
160
|
select {
|
161
161
|
background-color: white;
|
162
|
-
|
162
|
+
@include imageAsset('triangle-caret-down.svg');
|
163
163
|
background-repeat: no-repeat;
|
164
164
|
background-size: 28px 12px;
|
165
165
|
background-position: right center;
|
@@ -2,5 +2,17 @@ require "dvla_internal_frontend_toolkit/version"
|
|
2
2
|
|
3
3
|
module DvlaInternalFrontendToolkit
|
4
4
|
class Engine < ::Rails::Engine
|
5
|
+
|
6
|
+
config.to_prepare do
|
7
|
+
Rails.application.config.assets.precompile += %w(
|
8
|
+
*.png
|
9
|
+
*.jpg
|
10
|
+
*.jpeg
|
11
|
+
*.gif
|
12
|
+
*.svg
|
13
|
+
*.woff
|
14
|
+
)
|
15
|
+
end
|
16
|
+
|
5
17
|
end
|
6
18
|
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.
|
4
|
+
version: 2.1.5
|
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-12-
|
13
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -94,7 +94,6 @@ files:
|
|
94
94
|
- app/assets/stylesheets/elements/_lists.scss
|
95
95
|
- app/assets/stylesheets/elements/_modals.scss
|
96
96
|
- app/assets/stylesheets/elements/_navigation.scss
|
97
|
-
- app/assets/stylesheets/elements/_pagination.scss
|
98
97
|
- app/assets/stylesheets/elements/_tables.scss
|
99
98
|
- app/assets/stylesheets/elements/_tabs.scss
|
100
99
|
- app/assets/stylesheets/elements/_typography.scss
|
@@ -130,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
129
|
version: '0'
|
131
130
|
requirements: []
|
132
131
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.6.
|
132
|
+
rubygems_version: 2.6.13
|
134
133
|
signing_key:
|
135
134
|
specification_version: 4
|
136
135
|
summary: DVLA Internal Frontend Toolkit
|
@@ -1,274 +0,0 @@
|
|
1
|
-
.lnk {
|
2
|
-
@include button();
|
3
|
-
font-size: 15px;
|
4
|
-
padding: 8px 12px;
|
5
|
-
|
6
|
-
// & + & {
|
7
|
-
// margin-left: 8px;
|
8
|
-
// }
|
9
|
-
}
|
10
|
-
|
11
|
-
.lnk-primary {
|
12
|
-
color: $primary;
|
13
|
-
background: white;
|
14
|
-
border: 1px solid $grey-2;
|
15
|
-
border-bottom-width: 2px;
|
16
|
-
cursor: pointer;
|
17
|
-
|
18
|
-
&:hover, &:focus {
|
19
|
-
background: $grey-4;
|
20
|
-
color: $primary;
|
21
|
-
|
22
|
-
&:disabled {
|
23
|
-
background: $grey-4;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
&:visited {
|
28
|
-
color: $primary;
|
29
|
-
}
|
30
|
-
|
31
|
-
&.previous {
|
32
|
-
margin-right: 4px;
|
33
|
-
}
|
34
|
-
|
35
|
-
&.next {
|
36
|
-
margin-left: 4px;
|
37
|
-
}
|
38
|
-
|
39
|
-
&.previous::before {
|
40
|
-
font-family: 'dvla-icons';
|
41
|
-
content: '\e912';
|
42
|
-
}
|
43
|
-
|
44
|
-
&.next::before {
|
45
|
-
font-family: 'dvla-icons';
|
46
|
-
content: '\e910';
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
.lnk-active {
|
51
|
-
color: white;
|
52
|
-
background: $secondary;
|
53
|
-
border: 1.5px solid $secondary;
|
54
|
-
cursor: pointer;
|
55
|
-
border-radius: 4px;
|
56
|
-
|
57
|
-
&:hover, &:focus {
|
58
|
-
background: $secondary-dark;
|
59
|
-
border: 1.5px solid $secondary-dark;
|
60
|
-
color: white;
|
61
|
-
|
62
|
-
&:disabled {
|
63
|
-
background: $secondary;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
&:visited {
|
68
|
-
color: white;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
.page-number {
|
73
|
-
color: $primary;
|
74
|
-
margin: 0 16px;
|
75
|
-
}
|
76
|
-
|
77
|
-
.hellip {
|
78
|
-
color: $primary;
|
79
|
-
margin: 0 10px;
|
80
|
-
}
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
// .btn-spacer-right{
|
97
|
-
// margin-right: 32px;
|
98
|
-
// }
|
99
|
-
|
100
|
-
// .btn-spacer-left{
|
101
|
-
// margin-left: 32px;
|
102
|
-
// }
|
103
|
-
// .btn-spacer-top{
|
104
|
-
// margin-top: 32px;
|
105
|
-
// }
|
106
|
-
|
107
|
-
// .btn-spacer-bottom{
|
108
|
-
// margin-bottom: 32px;
|
109
|
-
// }
|
110
|
-
|
111
|
-
// .page-link {
|
112
|
-
// @include button();
|
113
|
-
|
114
|
-
// font-size: 15px;
|
115
|
-
// padding: 8px 14px;
|
116
|
-
|
117
|
-
// display: inline-block;
|
118
|
-
// height: 36px;
|
119
|
-
// padding: 8px 14px;
|
120
|
-
|
121
|
-
// .btn {
|
122
|
-
// @include button();
|
123
|
-
// font-size: 15px;
|
124
|
-
// padding: 8px 14px;
|
125
|
-
|
126
|
-
// &.btn-link {
|
127
|
-
// padding: 8px 0;
|
128
|
-
// }
|
129
|
-
|
130
|
-
// & + & {
|
131
|
-
// margin-left: 8px;
|
132
|
-
// }
|
133
|
-
// }
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
// &.primary {
|
138
|
-
// width: 34px;
|
139
|
-
|
140
|
-
// &.previous {
|
141
|
-
// width: 55px;
|
142
|
-
// }
|
143
|
-
|
144
|
-
// &.next {
|
145
|
-
// width: 55px;
|
146
|
-
// }
|
147
|
-
// }
|
148
|
-
|
149
|
-
// &.previous {
|
150
|
-
// margin-right: 23px;
|
151
|
-
// }
|
152
|
-
|
153
|
-
// &.next {
|
154
|
-
// margin-left: 23px;
|
155
|
-
// }
|
156
|
-
|
157
|
-
// & + & {
|
158
|
-
// margin-left: 8px;
|
159
|
-
// }
|
160
|
-
|
161
|
-
// color: $primary;
|
162
|
-
// background: white;
|
163
|
-
// border: 1px solid $grey-2;
|
164
|
-
// border-bottom-width: 2px;
|
165
|
-
// cursor: pointer;
|
166
|
-
|
167
|
-
// &:hover, &:focus {
|
168
|
-
// background: $grey-4;
|
169
|
-
// color: $primary;
|
170
|
-
|
171
|
-
// &:disabled {
|
172
|
-
// background: $grey-4;
|
173
|
-
// }
|
174
|
-
// }
|
175
|
-
|
176
|
-
// &:visited {
|
177
|
-
// color: $primary;
|
178
|
-
// }
|
179
|
-
// &.btn-link {
|
180
|
-
// padding: 8px 0;
|
181
|
-
// }
|
182
|
-
|
183
|
-
// & + & {
|
184
|
-
// margin-left: 8px;
|
185
|
-
// }
|
186
|
-
|
187
|
-
// .previous {
|
188
|
-
// margin-right: 8px;
|
189
|
-
// }
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
// .next {
|
194
|
-
// margin-right: 8px;
|
195
|
-
// }
|
196
|
-
|
197
|
-
// .page-number {
|
198
|
-
// margin: 0 10px;
|
199
|
-
// }
|
200
|
-
|
201
|
-
// .primary {
|
202
|
-
// color: $primary;
|
203
|
-
// background: white;
|
204
|
-
// border: 1px solid $grey-2;
|
205
|
-
// border-bottom-width: 2px;
|
206
|
-
// cursor: pointer;
|
207
|
-
|
208
|
-
// &:hover, &:focus {
|
209
|
-
// background: $grey-4;
|
210
|
-
// color: $primary;
|
211
|
-
|
212
|
-
// &:disabled {
|
213
|
-
// background: $grey-4;
|
214
|
-
// }
|
215
|
-
// }
|
216
|
-
|
217
|
-
// &:visited {
|
218
|
-
// color: $primary;
|
219
|
-
// }
|
220
|
-
// }
|
221
|
-
|
222
|
-
// .active {
|
223
|
-
// color: white;
|
224
|
-
// background: $secondary;
|
225
|
-
// border-bottom: 2px solid $secondary-darkest;
|
226
|
-
// cursor: pointer;
|
227
|
-
|
228
|
-
// &:hover, &:focus {
|
229
|
-
// background: $secondary-dark;
|
230
|
-
// color: white;
|
231
|
-
|
232
|
-
// &:disabled {
|
233
|
-
// background: $secondary;
|
234
|
-
// }
|
235
|
-
// }
|
236
|
-
|
237
|
-
// &:visited {
|
238
|
-
// color: white;
|
239
|
-
// }
|
240
|
-
// }
|
241
|
-
// }
|
242
|
-
|
243
|
-
// &:hover, &:focus {
|
244
|
-
// background: $grey-4;
|
245
|
-
// color: $primary;
|
246
|
-
|
247
|
-
// &:disabled {
|
248
|
-
// background: $grey-4;
|
249
|
-
// }
|
250
|
-
// }
|
251
|
-
|
252
|
-
// &:visited {
|
253
|
-
// color: $primary;
|
254
|
-
// }
|
255
|
-
|
256
|
-
// &.active {
|
257
|
-
// color: white;
|
258
|
-
// background: $secondary;
|
259
|
-
// border-bottom: 2px solid $secondary-darkest;
|
260
|
-
// cursor: pointer;
|
261
|
-
|
262
|
-
// &:hover, &:focus {
|
263
|
-
// background: $secondary-dark;
|
264
|
-
// color: white;
|
265
|
-
|
266
|
-
// &:disabled {
|
267
|
-
// background: $secondary;
|
268
|
-
// }
|
269
|
-
// }
|
270
|
-
|
271
|
-
// &:visited {
|
272
|
-
// color: white;
|
273
|
-
// }
|
274
|
-
// }
|