dvla_internal_frontend_toolkit 1.0.7 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/examples/dialog.png +0 -0
- data/app/assets/images/examples/fixed.png +0 -0
- data/app/assets/images/examples/fluid.png +0 -0
- data/app/assets/stylesheets/elements/_data.scss +2 -0
- data/app/assets/stylesheets/elements/_filters.scss +2 -0
- data/app/assets/stylesheets/elements/_layout.scss +4 -3
- data/app/assets/stylesheets/elements/_navigation.scss +2 -0
- data/app/assets/stylesheets/styleguide/_styleguide.scss +41 -1
- data/app/views/layouts/erb/layout-dialog.html.erb +52 -42
- data/app/views/layouts/erb/layout-fixed.html.erb +59 -49
- data/app/views/layouts/erb/layout-fluid.html.erb +53 -41
- data/app/views/layouts/nunjucks/layout-dialog.html +49 -57
- data/app/views/layouts/nunjucks/layout-fixed.html +51 -59
- data/app/views/layouts/nunjucks/layout-fluid.html +50 -56
- data/lib/dvla_internal_frontend_toolkit/version.rb +1 -1
- metadata +5 -8
- data/app/views/layouts/erb/layout-fluid-tabs-left.html.erb +0 -64
- data/app/views/layouts/erb/layout-fluid-tabs-top.html.erb +0 -62
- data/app/views/layouts/erb/layout-fluid-tabs.html.erb +0 -74
- data/app/views/layouts/nunjucks/layout-fluid-tabs-left.html +0 -82
- data/app/views/layouts/nunjucks/layout-fluid-tabs-top.html +0 -79
- data/app/views/layouts/nunjucks/layout-fluid-tabs.html +0 -89
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 439ac0a8922afc542ece9c13e9cbe5c269cb3e9a
|
4
|
+
data.tar.gz: f021080c532b713417b5d0bd34b06f29ee2b3d52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94f2e391525091eb85ee2862fea789eaec6cfd378d3b3aa8d7be0134095162cd13a1d849314ec334d0512077e20c9183069215662fcd97018b5d6f8c919904c0
|
7
|
+
data.tar.gz: 5e060abfca0495318d219728f748341424baa631bf0a1faf8ccf1c3eb19f414be2b0c8d2b9201548919b4588c33d6f42a053febd6593f32a738fd0c93ece2890
|
Binary file
|
Binary file
|
Binary file
|
@@ -296,14 +296,15 @@ body {
|
|
296
296
|
// margin-top: 3em;
|
297
297
|
background: white;
|
298
298
|
flex: 1 0;
|
299
|
+
overflow-y: scroll;
|
299
300
|
}
|
300
301
|
|
301
302
|
@mixin container() {
|
302
303
|
box-sizing: border-box;
|
303
|
-
max-width: calc(100% -
|
304
|
+
max-width: calc(100% - 32px);
|
304
305
|
margin: 0 auto;
|
305
306
|
// padding: 0 8px;
|
306
|
-
width:
|
307
|
+
width: 944px;
|
307
308
|
min-height: 1px;
|
308
309
|
padding-bottom: 2em;
|
309
310
|
}
|
@@ -346,7 +347,7 @@ body {
|
|
346
347
|
}
|
347
348
|
|
348
349
|
.row {
|
349
|
-
|
350
|
+
margin: 0 -8px;
|
350
351
|
//clear: both;
|
351
352
|
box-sizing: border-box;
|
352
353
|
font-size: 0;
|
@@ -25,6 +25,10 @@ p.grid-example {
|
|
25
25
|
margin-bottom: 16px;
|
26
26
|
}
|
27
27
|
|
28
|
+
img {
|
29
|
+
width: 100%;
|
30
|
+
}
|
31
|
+
|
28
32
|
.side-bar, #global-header{
|
29
33
|
position: static;
|
30
34
|
}
|
@@ -322,4 +326,40 @@ pre.language-markup {
|
|
322
326
|
// padding: 1em;
|
323
327
|
// color: white;
|
324
328
|
// background: $primary-light;
|
325
|
-
// }
|
329
|
+
// }
|
330
|
+
|
331
|
+
.template-tags {
|
332
|
+
margin-top: 16px;
|
333
|
+
|
334
|
+
.template-tag {
|
335
|
+
background: $secondary;
|
336
|
+
color: white;
|
337
|
+
font-size: 14px;
|
338
|
+
line-height: 14px;
|
339
|
+
display: inline-block;
|
340
|
+
vertical-align: middle;
|
341
|
+
margin-right: 4px;
|
342
|
+
height: 26px;
|
343
|
+
|
344
|
+
a {
|
345
|
+
display:block;
|
346
|
+
height: 100%;
|
347
|
+
padding: 6px 8px;
|
348
|
+
color: white;
|
349
|
+
text-decoration: none;
|
350
|
+
|
351
|
+
&:hover, &:focus {
|
352
|
+
background-color: $secondary-dark;
|
353
|
+
text-decoration: underline;
|
354
|
+
}
|
355
|
+
|
356
|
+
&:visited {
|
357
|
+
color: white;
|
358
|
+
}
|
359
|
+
}
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
h4.black-example-heading {
|
364
|
+
color: $black;
|
365
|
+
}
|
@@ -1,54 +1,64 @@
|
|
1
1
|
<%= yield :top_of_page %>
|
2
2
|
|
3
3
|
<html lang="en">
|
4
|
-
<head>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</head>
|
10
|
-
|
11
|
-
<body class="<%= yield :body_classes %>">
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
4
|
+
<head>
|
5
|
+
<title><%= yield :page_title %></title>
|
6
|
+
<meta name="viewport" content="width=device-width" />
|
7
|
+
<meta charset="utf-8">
|
8
|
+
<%= yield :head %>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="<%= yield :body_classes %>">
|
12
|
+
<script>
|
13
|
+
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
|
14
|
+
</script>
|
15
|
+
<%= yield :body_start %>
|
16
|
+
|
17
|
+
<header role="banner" id="global-header" class="<%= yield :header_class %>">
|
18
|
+
<div id="header-wrapper">
|
19
|
+
<div id="header-contents">
|
20
|
+
<div id="header-float-left">
|
21
|
+
<div id="header-logo">
|
22
|
+
<a href="/" title="Home" id="logo" class="content">
|
23
|
+
<div id="coat-of-arms" alt=""></div>
|
24
|
+
<div class="name">DVLA</div>
|
25
|
+
</a>
|
26
|
+
<div id="header-application-title">
|
27
|
+
<%= yield :header_application_title %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div id="header-search">
|
31
|
+
<%= yield :header_search %>
|
28
32
|
</div>
|
29
33
|
</div>
|
30
|
-
<div id="header-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
<div id="header-float-right">
|
35
|
-
<div id="user-account">
|
36
|
-
<%= yield :header_user_account %>
|
34
|
+
<div id="header-float-right">
|
35
|
+
<div id="user-account">
|
36
|
+
<%= yield :header_user_account %>
|
37
|
+
</div>
|
37
38
|
</div>
|
38
39
|
</div>
|
39
40
|
</div>
|
40
|
-
</
|
41
|
-
</header>
|
41
|
+
</header>
|
42
42
|
|
43
|
-
|
43
|
+
<%= yield :after_header %>
|
44
44
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
45
|
+
<main id="content">
|
46
|
+
<div class="container-dialog">
|
47
|
+
<div class="dialog">
|
48
|
+
<%= yield :content %>
|
49
|
+
</div>
|
49
50
|
</div>
|
50
|
-
</
|
51
|
-
|
52
|
-
|
51
|
+
</main>
|
52
|
+
|
53
|
+
<%= yield :after_content %>
|
54
|
+
|
55
|
+
<footer id="global-footer" class="<%= yield :footer_class %>">
|
56
|
+
<%= yield :footer %>
|
57
|
+
</footer>
|
58
|
+
|
59
|
+
<%= yield :after_footer %>
|
60
|
+
</body>
|
61
|
+
|
62
|
+
</html>
|
53
63
|
|
54
|
-
|
64
|
+
<%= yield :bottom_of_page %>
|
@@ -1,57 +1,67 @@
|
|
1
1
|
<%= yield :top_of_page %>
|
2
2
|
|
3
3
|
<html lang="en">
|
4
|
-
<head>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</head>
|
10
|
-
|
11
|
-
<body class="<%= yield :body_classes %>">
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
4
|
+
<head>
|
5
|
+
<title><%= yield :page_title %></title>
|
6
|
+
<meta name="viewport" content="width=device-width" />
|
7
|
+
<meta charset="utf-8">
|
8
|
+
<%= yield :head %>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="<%= yield :body_classes %>">
|
12
|
+
<script>
|
13
|
+
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
|
14
|
+
</script>
|
15
|
+
<%= yield :body_start %>
|
16
|
+
|
17
|
+
<header role="banner" id="global-header" class="<%= yield :header_class %>">
|
18
|
+
<div id="header-wrapper">
|
19
|
+
<div id="header-contents">
|
20
|
+
<div id="header-float-left">
|
21
|
+
<div id="header-logo">
|
22
|
+
<a href="/" title="Home" id="logo" class="content">
|
23
|
+
<div id="coat-of-arms" alt=""></div>
|
24
|
+
<div class="name">DVLA</div>
|
25
|
+
</a>
|
26
|
+
<div id="header-application-title">
|
27
|
+
<%= yield :header_application_title %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div id="header-search">
|
31
|
+
<%= yield :header_search %>
|
28
32
|
</div>
|
29
33
|
</div>
|
30
|
-
<div id="header-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
<div id="header-float-right">
|
35
|
-
<div id="user-account">
|
36
|
-
<%= yield :header_user_account %>
|
34
|
+
<div id="header-float-right">
|
35
|
+
<div id="user-account">
|
36
|
+
<%= yield :header_user_account %>
|
37
|
+
</div>
|
37
38
|
</div>
|
38
39
|
</div>
|
39
40
|
</div>
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
41
|
+
<% if content_for?(:global_header_bar) %>
|
42
|
+
<%= yield :global_header_bar %>
|
43
|
+
<% else %>
|
44
|
+
<div id="global-header-bar"></div>
|
45
|
+
<% end %>
|
46
|
+
</header>
|
47
|
+
|
48
|
+
<%= yield :after_header %>
|
49
|
+
|
50
|
+
<main id="content">
|
51
|
+
<div class="container">
|
52
|
+
<%= yield :content %>
|
53
|
+
</div>
|
54
|
+
</main>
|
55
|
+
|
56
|
+
<%= yield :after_content %>
|
57
|
+
|
58
|
+
<footer id="global-footer" class="<%= yield :footer_class %>">
|
59
|
+
<%= yield :footer %>
|
60
|
+
</footer>
|
61
|
+
|
62
|
+
<%= yield :after_footer %>
|
63
|
+
</body>
|
64
|
+
|
65
|
+
</html>
|
66
|
+
|
67
|
+
<%= yield :bottom_of_page %>
|
@@ -1,52 +1,64 @@
|
|
1
1
|
<%= yield :top_of_page %>
|
2
2
|
|
3
3
|
<html lang="en">
|
4
|
-
<head>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</head>
|
10
|
-
|
11
|
-
<body class="<%= yield :body_classes %>">
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
4
|
+
<head>
|
5
|
+
<title><%= yield :page_title %></title>
|
6
|
+
<meta name="viewport" content="width=device-width" />
|
7
|
+
<meta charset="utf-8">
|
8
|
+
<%= yield :head %>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="<%= yield :body_classes %>">
|
12
|
+
<script>
|
13
|
+
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
|
14
|
+
</script>
|
15
|
+
<%= yield :body_start %>
|
16
|
+
|
17
|
+
<header role="banner" id="global-header" class="<%= yield :header_class %>">
|
18
|
+
<div id="header-wrapper">
|
19
|
+
<div id="header-contents">
|
20
|
+
<div id="header-float-left">
|
21
|
+
<div id="header-logo">
|
22
|
+
<a href="/" title="Home" id="logo" class="content">
|
23
|
+
<div id="coat-of-arms" alt=""></div>
|
24
|
+
<div class="name">DVLA</div>
|
25
|
+
</a>
|
26
|
+
<div id="header-application-title">
|
27
|
+
<%= yield :header_application_title %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div id="header-search">
|
31
|
+
<%= yield :header_search %>
|
28
32
|
</div>
|
29
33
|
</div>
|
30
|
-
<div id="header-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
<div id="header-float-right">
|
35
|
-
<div id="user-account">
|
36
|
-
<%= yield :header_user_account %>
|
34
|
+
<div id="header-float-right">
|
35
|
+
<div id="user-account">
|
36
|
+
<%= yield :header_user_account %>
|
37
|
+
</div>
|
37
38
|
</div>
|
38
39
|
</div>
|
39
40
|
</div>
|
40
|
-
|
41
|
-
|
41
|
+
<%= yield :tabs_top %>
|
42
|
+
</header>
|
43
|
+
|
44
|
+
<%= yield :after_header %>
|
45
|
+
|
46
|
+
<main id="content">
|
47
|
+
<%= yield :tabs_left %>
|
48
|
+
<div class="container-fluid">
|
49
|
+
<%= yield :content %>
|
50
|
+
</div>
|
51
|
+
</main>
|
52
|
+
|
53
|
+
<%= yield :after_content %>
|
54
|
+
|
55
|
+
<footer id="global-footer" class="<%= yield :footer_class %>">
|
56
|
+
<%= yield :footer %>
|
57
|
+
</footer>
|
42
58
|
|
43
|
-
|
59
|
+
<%= yield :after_footer %>
|
60
|
+
</body>
|
44
61
|
|
45
|
-
|
46
|
-
<div class="container-fluid">
|
47
|
-
<%= yield :content %>
|
48
|
-
</div>
|
49
|
-
</main>
|
50
|
-
</body>
|
62
|
+
</html>
|
51
63
|
|
52
|
-
|
64
|
+
<%= yield :bottom_of_page %>
|