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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1d83751be62b2db16c1d7f24dcc61c1aa74d189
4
- data.tar.gz: 4fecc6e38aec4eeb358db72fa945a8b61f65cdee
3
+ metadata.gz: 439ac0a8922afc542ece9c13e9cbe5c269cb3e9a
4
+ data.tar.gz: f021080c532b713417b5d0bd34b06f29ee2b3d52
5
5
  SHA512:
6
- metadata.gz: cf1c32bdc6aa1d47f7f97fbb3d6f7173f3615d7813f7929e3eb7f0a942bbb6775b5a711a0266022f660d0aea16f7665b3868edf59f6b65c8b7f74d2c574fe63a
7
- data.tar.gz: 351e054fb5d085c0362a5ebf2ecb47d973a685e473fa85fe3df1ae7fa88f8bffe1784b535f60d98d70d067cf8c9856184fefcb4ed4b21dbe24ca264cc982ec33
6
+ metadata.gz: 94f2e391525091eb85ee2862fea789eaec6cfd378d3b3aa8d7be0134095162cd13a1d849314ec334d0512077e20c9183069215662fcd97018b5d6f8c919904c0
7
+ data.tar.gz: 5e060abfca0495318d219728f748341424baa631bf0a1faf8ccf1c3eb19f414be2b0c8d2b9201548919b4588c33d6f42a053febd6593f32a738fd0c93ece2890
@@ -6,12 +6,14 @@
6
6
  font-weight: bold;
7
7
  font-size: 32px;
8
8
  vertical-align: middle;
9
+
9
10
  .header{
10
11
  background: $primary-dark;
11
12
  line-height: 48px;
12
13
  font-size: 18px;
13
14
  font-weight: normal;
14
15
  }
16
+
15
17
  .content{
16
18
  line-height: 134px;
17
19
  }
@@ -11,6 +11,7 @@
11
11
  margin-bottom: 6px;
12
12
  }
13
13
  }
14
+
14
15
  .filter-group {
15
16
  border-bottom: 1px solid $grey-2;
16
17
  padding: 28px 0 20px 0;
@@ -33,6 +34,7 @@
33
34
  height: 16px;
34
35
  }
35
36
  }
37
+
36
38
  .filter-footer {
37
39
  padding-top: 16px;
38
40
 
@@ -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% - 16px);
304
+ max-width: calc(100% - 32px);
304
305
  margin: 0 auto;
305
306
  // padding: 0 8px;
306
- width: 960px;
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
- // margin: 0 -8px;
350
+ margin: 0 -8px;
350
351
  //clear: both;
351
352
  box-sizing: border-box;
352
353
  font-size: 0;
@@ -94,6 +94,8 @@
94
94
  background-color: $grey-4;
95
95
  border-right: 1px solid $grey-2;
96
96
  box-sizing: border-box;
97
+ overflow-y: scroll;
98
+ padding-bottom: 120px;
97
99
  // margin-top: -8px;
98
100
 
99
101
  ul {
@@ -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
- <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 %>
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-search">
31
- <%= yield :header_search %>
32
- </div>
33
- </div>
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
- </div>
41
- </header>
41
+ </header>
42
42
 
43
- <%= yield :after_header %>
43
+ <%= yield :after_header %>
44
44
 
45
- <main id="content">
46
- <div class="container-dialog">
47
- <div class="dialog">
48
- <%= yield :content %>
45
+ <main id="content">
46
+ <div class="container-dialog">
47
+ <div class="dialog">
48
+ <%= yield :content %>
49
+ </div>
49
50
  </div>
50
- </div>
51
- </main>
52
- </body>
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
- </html>
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
- <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 %>
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-search">
31
- <%= yield :header_search %>
32
- </div>
33
- </div>
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
- </div>
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
- </body>
56
-
57
- </html>
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
- <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 %>
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-search">
31
- <%= yield :header_search %>
32
- </div>
33
- </div>
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
- </div>
41
- </header>
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
- <%= yield :after_header %>
59
+ <%= yield :after_footer %>
60
+ </body>
44
61
 
45
- <main id="content">
46
- <div class="container-fluid">
47
- <%= yield :content %>
48
- </div>
49
- </main>
50
- </body>
62
+ </html>
51
63
 
52
- </html>
64
+ <%= yield :bottom_of_page %>