dvla_internal_frontend_toolkit 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/dvla-icons.woff +0 -0
- data/app/assets/stylesheets/constants/_colours.scss +1 -1
- data/app/assets/stylesheets/constants/_fonts.scss +16 -0
- data/app/assets/stylesheets/elements/_pagination.scss +274 -0
- data/lib/dvla_internal_frontend_toolkit/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acd861d65511ca8312ff891a6dd60ff182a20ec4
|
4
|
+
data.tar.gz: cc778d8627edb6854047df530bb6856303a434a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e9fadb2c06faaf21e8af28972ab935162165fdccee0d76847cb6ecae070b94e2475be27bf7d5da94696e9e7612d777dfafc584194795b57d35229f3457890ee
|
7
|
+
data.tar.gz: 1dba72745410ab4b9a8f5ea9a811ffb9f3f658005a13b0fdbef0156b894e94a52b875c5d7b00a030a0c8fe57be3db593e40f5f0546d300a69d0cb9282a3c0dd3
|
Binary file
|
@@ -108,4 +108,20 @@ $large-font-size: 20px;
|
|
108
108
|
&.icon-caret-left::before {
|
109
109
|
content: '\e912';
|
110
110
|
}
|
111
|
+
|
112
|
+
&.icon-chevron-up::before {
|
113
|
+
content: '\e913';
|
114
|
+
}
|
115
|
+
|
116
|
+
&.icon-chevron-right::before {
|
117
|
+
content: '\e914';
|
118
|
+
}
|
119
|
+
|
120
|
+
&.icon-chevron-down::before {
|
121
|
+
content: '\e915';
|
122
|
+
}
|
123
|
+
|
124
|
+
&.icon-chevron-left::before {
|
125
|
+
content: '\e916';
|
126
|
+
}
|
111
127
|
}
|
@@ -0,0 +1,274 @@
|
|
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
|
+
// }
|
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.
|
4
|
+
version: 2.0.9
|
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-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -94,6 +94,7 @@ 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
|
97
98
|
- app/assets/stylesheets/elements/_tables.scss
|
98
99
|
- app/assets/stylesheets/elements/_tabs.scss
|
99
100
|
- app/assets/stylesheets/elements/_typography.scss
|