idsk_template 0.24.0.idsk.alpha.2 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/images/ministry_logo.png +0 -0
  3. data/app/assets/images/slovensko_sk_logo.png +0 -0
  4. data/app/assets/images/slovensko_sk_logo.svg +73 -0
  5. data/app/assets/stylesheets/fonts.css.erb +20 -33
  6. data/app/assets/stylesheets/fonts/source-sans-pro-bold-latin-ext.woff2 +0 -0
  7. data/app/assets/stylesheets/fonts/source-sans-pro-bold-latin.woff2 +0 -0
  8. data/app/assets/stylesheets/fonts/source-sans-pro-regular-latin-ext.woff2 +0 -0
  9. data/app/assets/stylesheets/fonts/source-sans-pro-regular-latin.woff2 +0 -0
  10. data/app/assets/stylesheets/idsk-template-ie6.css +661 -0
  11. data/app/assets/stylesheets/idsk-template-ie6.css.erb +146 -75
  12. data/app/assets/stylesheets/idsk-template-ie7.css.erb +147 -75
  13. data/app/assets/stylesheets/idsk-template-ie8.css +638 -0
  14. data/app/assets/stylesheets/idsk-template-ie8.css.erb +147 -75
  15. data/app/assets/stylesheets/idsk-template-print.css +75 -0
  16. data/app/assets/stylesheets/idsk-template.css +704 -0
  17. data/app/assets/stylesheets/idsk-template.css.erb +176 -96
  18. data/app/assets/stylesheets/images/icon_user.png +0 -0
  19. data/app/assets/stylesheets/images/stripe.png +0 -0
  20. data/app/views/layouts/idsk_template.html.erb +16 -11
  21. data/lib/idsk_template/engine.rb +3 -0
  22. data/lib/idsk_template/version.rb +1 -1
  23. metadata +18 -17
  24. data/app/assets/stylesheets/fonts/v1-2c037cf7e1-light.eot +0 -0
  25. data/app/assets/stylesheets/fonts/v1-357fdfbcc3-tabular-bold.eot +0 -0
  26. data/app/assets/stylesheets/fonts/v1-458f8ea81c-light.woff +0 -0
  27. data/app/assets/stylesheets/fonts/v1-498ea8ffe2-tabular-light.eot +0 -0
  28. data/app/assets/stylesheets/fonts/v1-62cc6f0a28-tabular-light.woff +0 -0
  29. data/app/assets/stylesheets/fonts/v1-784c21afb8-tabular-bold.woff +0 -0
  30. data/app/assets/stylesheets/fonts/v1-851b10ccdd-tabular-light.woff2 +0 -0
  31. data/app/assets/stylesheets/fonts/v1-a2452cb66f-bold.woff2 +0 -0
  32. data/app/assets/stylesheets/fonts/v1-b89238d840-tabular-bold.woff2 +0 -0
  33. data/app/assets/stylesheets/fonts/v1-f38ad40456-light.woff2 +0 -0
  34. data/app/assets/stylesheets/fonts/v1-f38c792ac2-bold.woff +0 -0
  35. data/app/assets/stylesheets/fonts/v1-fb2676462a-bold.eot +0 -0
@@ -1,11 +1,11 @@
1
- /* govuk_frontend_toolkit includes */
1
+ /* idsk_frontend_toolkit includes */
2
2
  #global-header .header-wrapper:after, #global-header .header-wrapper .header-global:after, #global-header .header-wrapper .header-global .header-logo:after, #global-header .header-proposition #proposition-link:after,
3
3
  #global-header .header-proposition #proposition-links:after, #footer .footer-meta:after {
4
4
  content: "";
5
5
  display: block;
6
6
  clear: both; }
7
7
 
8
- #global-header-bar, #global-cookie-message p, #footer .footer-wrapper {
8
+ #global-cookie-message p, #footer .footer-wrapper {
9
9
  max-width: 960px;
10
10
  width: 960px;
11
11
  margin: 0 15px;
@@ -23,7 +23,7 @@
23
23
  width: device-width; }
24
24
 
25
25
  html, body, button, input, table, td, th {
26
- font-family: "nta", Arial, sans-serif; }
26
+ font-family: "Source Sans Pro", "Arial", sans-serif; }
27
27
 
28
28
  html, body, div, h1, h2, h3, h4, h5, h6, article, aside, footer, header, hgroup, nav, section {
29
29
  margin: 0;
@@ -62,7 +62,7 @@ html {
62
62
  /* 1 */
63
63
  -ms-text-size-adjust: 100%;
64
64
  /* 1 */
65
- background-color: #dee0e2; }
65
+ background-color: #eaeaea; }
66
66
 
67
67
  /*
68
68
  Force the scrollbar to always display in IE10/11
@@ -86,7 +86,7 @@ fieldset {
86
86
  padding: 0; }
87
87
 
88
88
  a:link {
89
- color: #005ea5; }
89
+ color: #215da8; }
90
90
 
91
91
  a:visited {
92
92
  color: #4c2c92; }
@@ -210,7 +210,7 @@ a:focus {
210
210
 
211
211
  /* Make links slightly darker when focused to improve contrast. */
212
212
  a:link:focus {
213
- color: #005798; }
213
+ color: #1f579d; }
214
214
 
215
215
  /* Make skiplinks visible when they are tabbed to */
216
216
  .skiplink {
@@ -260,20 +260,20 @@ button:focus {
260
260
  clear: both; }
261
261
 
262
262
  #global-header {
263
- background-color: #0b0c0c;
263
+ background-color: #313133;
264
264
  width: 100%; }
265
265
  #global-header .header-wrapper {
266
- background-color: #0b0c0c;
266
+ background-color: #313133;
267
267
  max-width: 990px;
268
268
  margin: 0 auto;
269
- padding-top: 8px;
270
- padding-bottom: 8px;
269
+ padding-top: 21px;
270
+ padding-bottom: 21px;
271
271
  padding-left: 15px;
272
272
  padding-right: 15px;
273
273
  width: 990px; }
274
274
  #global-header .header-wrapper .header-global .header-logo {
275
275
  float: left;
276
- width: 33.33%; }
276
+ width: 30%; }
277
277
  @media screen and (max-width: 379px) {
278
278
  #global-header .header-wrapper .header-global .header-logo {
279
279
  width: auto;
@@ -284,15 +284,18 @@ button:focus {
284
284
  margin-top: 2px; }
285
285
  #global-header.with-proposition .header-wrapper .header-global {
286
286
  float: left;
287
- width: 33.33%; }
287
+ width: 25%;
288
+ min-width: 240px; }
288
289
  #global-header.with-proposition .header-wrapper .header-global .header-logo,
289
290
  #global-header.with-proposition .header-wrapper .header-global .site-search {
290
291
  width: 100%; }
291
292
  #global-header.with-proposition .header-wrapper .header-proposition {
292
- width: 66.66%;
293
+ width: 55%;
293
294
  float: left; }
294
295
  #global-header.with-proposition .header-wrapper .header-proposition .content {
295
- margin: 0 15px; }
296
+ margin: 8px 15px 0 15px; }
297
+ #global-header.with-proposition.with-user .header-wrapper .header-proposition {
298
+ width: 45%; }
296
299
  #global-header #logo {
297
300
  float: left;
298
301
  overflow: visible;
@@ -302,15 +305,7 @@ button:focus {
302
305
  line-height: 1;
303
306
  text-decoration: none;
304
307
  text-rendering: optimizeLegibility;
305
- border-bottom: 1px solid transparent;
306
- background: url(<%= asset_path 'images/gov.uk_logotype_crown.png' %>) no-repeat;
307
- background-size: 36px 32px;
308
- background-position: 0 0;
309
- background-image: url(<%= asset_path 'images/gov.uk_logotype_crown-1x.png' %>); }
310
- #global-header #logo img {
311
- margin: 2px 1px 0 0;
312
- vertical-align: bottom;
313
- visibility: hidden; }
308
+ border-bottom: 1px solid transparent; }
314
309
  #global-header #logo:hover, #global-header #logo:focus {
315
310
  text-decoration: none;
316
311
  border-bottom-color: white; }
@@ -318,12 +313,12 @@ button:focus {
318
313
  padding-top: 10px;
319
314
  padding-top: 0; }
320
315
  #global-header .header-proposition #proposition-name {
321
- font-family: "nta", Arial, sans-serif;
316
+ font-family: "Source Sans Pro", "Arial", sans-serif;
322
317
  font-weight: 400;
323
318
  text-transform: none;
324
319
  font-size: 18px;
325
320
  line-height: 1.2;
326
- font-size: 24px;
321
+ font-size: 20px;
327
322
  line-height: 1.25;
328
323
  font-weight: bold;
329
324
  color: white;
@@ -333,7 +328,7 @@ button:focus {
333
328
  #global-header .header-proposition a#proposition-name:focus {
334
329
  color: #0b0c0c; }
335
330
  #global-header .header-proposition a.menu {
336
- font-family: "nta", Arial, sans-serif;
331
+ font-family: "Source Sans Pro", "Arial", sans-serif;
337
332
  font-weight: 400;
338
333
  text-transform: none;
339
334
  font-size: 14px;
@@ -344,7 +339,10 @@ button:focus {
344
339
  display: block;
345
340
  float: right;
346
341
  text-decoration: none;
342
+ padding-top: 4px;
343
+ margin-left: 10px;
347
344
  padding-top: 6px;
345
+ margin-left: 0;
348
346
  display: none; }
349
347
  #global-header .header-proposition a.menu:hover {
350
348
  text-decoration: underline; }
@@ -358,14 +356,16 @@ button:focus {
358
356
  #global-header .header-proposition a.menu.js-visible:after {
359
357
  content: " \25B2"; }
360
358
  #global-header .header-proposition #proposition-menu {
361
- margin-top: 5px; }
359
+ margin-top: 2px;
360
+ border-top: 1px #515153 solid; }
362
361
  #global-header .header-proposition #proposition-menu.no-proposition-name {
363
362
  margin-top: 37px; }
364
363
  #global-header .header-proposition #proposition-link,
365
364
  #global-header .header-proposition #proposition-links {
366
365
  clear: both;
367
366
  margin: 2px 0 0 0;
368
- padding: 0; }
367
+ padding: 0;
368
+ list-style-type: none; }
369
369
  .js-enabled #global-header .header-proposition #proposition-link, .js-enabled
370
370
  #global-header .header-proposition #proposition-links {
371
371
  display: none;
@@ -381,24 +381,17 @@ button:focus {
381
381
  border-bottom: 1px solid #2e3133;
382
382
  display: block;
383
383
  width: auto;
384
- padding: 0 15px 0 0;
384
+ padding: 0 20px 0 0;
385
385
  border-bottom: 0; }
386
386
  #global-header .header-proposition #proposition-link li.clear-child,
387
387
  #global-header .header-proposition #proposition-links li.clear-child {
388
388
  clear: left; }
389
389
  #global-header .header-proposition #proposition-link a,
390
390
  #global-header .header-proposition #proposition-links a {
391
- color: white;
391
+ color: #c1d0e2;
392
392
  text-decoration: none;
393
- font-family: "nta", Arial, sans-serif;
394
- font-weight: 700;
395
- text-transform: none;
396
- font-size: 12px;
397
- line-height: 1.25;
398
- font-size: 14px;
399
- line-height: 1.42857;
400
- font-family: "nta", Arial, sans-serif;
401
- font-weight: 700;
393
+ font-family: "Source Sans Pro", "Arial", sans-serif;
394
+ font-weight: 400;
402
395
  text-transform: none;
403
396
  font-size: 14px;
404
397
  line-height: 1.14286;
@@ -410,7 +403,7 @@ button:focus {
410
403
  text-decoration: underline; }
411
404
  #global-header .header-proposition #proposition-link a.active,
412
405
  #global-header .header-proposition #proposition-links a.active {
413
- color: #1d8feb; }
406
+ color: white; }
414
407
  #global-header .header-proposition #proposition-link a:focus,
415
408
  #global-header .header-proposition #proposition-links a:focus {
416
409
  color: #0b0c0c; }
@@ -420,11 +413,98 @@ button:focus {
420
413
  float: none; }
421
414
  .js-enabled #global-header .header-proposition #proposition-link {
422
415
  display: block; }
416
+ #global-header .header-user {
417
+ width: 100%;
418
+ min-width: 155px;
419
+ width: 20%;
420
+ float: right;
421
+ text-align: right; }
422
+ #global-header .header-user .user-menu {
423
+ position: absolute;
424
+ display: block;
425
+ right: 15px;
426
+ top: 25px;
427
+ display: inline-block;
428
+ width: 28px;
429
+ height: 28px;
430
+ margin-top: 5px;
431
+ vertical-align: top;
432
+ position: static; }
433
+ #global-header .header-user .user-menu #user-icon {
434
+ background: url("images/icon_user.png") no-repeat;
435
+ display: block;
436
+ width: 28px;
437
+ height: 28px; }
438
+ #global-header .header-user #user-signup {
439
+ position: absolute;
440
+ font-size: 12px;
441
+ width: 80px;
442
+ height: 30px;
443
+ line-height: 30px;
444
+ top: 25px;
445
+ right: 15px;
446
+ border: 1px white solid;
447
+ display: block;
448
+ float: right;
449
+ color: white;
450
+ text-decoration: none;
451
+ text-align: center;
452
+ top: 20px;
453
+ width: 125px;
454
+ height: 40px;
455
+ font-size: 20px;
456
+ line-height: 40px;
457
+ position: static; }
458
+ #global-header .header-user #user-signup:hover {
459
+ background: rgba(0, 0, 0, 0.4);
460
+ text-decoration: none;
461
+ color: white;
462
+ outline: none; }
463
+ #global-header .header-user #user-links {
464
+ background: rgba(0, 0, 0, 0.4);
465
+ display: block;
466
+ padding: 15px;
467
+ margin: 20px 0 -20px 0;
468
+ text-align: right;
469
+ margin-left: -15px;
470
+ margin-right: -15px;
471
+ display: inline-block;
472
+ padding: 0;
473
+ text-align: left;
474
+ margin: 0 0 0 9px;
475
+ background: transparent;
476
+ max-width: 65%; }
477
+ #global-header .header-user #user-links a#user-name {
478
+ display: block;
479
+ color: white;
480
+ font-size: 16px;
481
+ line-height: 20px;
482
+ font-weight: 600;
483
+ text-decoration: none; }
484
+ #global-header .header-user #user-links a#user-name:active, #global-header .header-user #user-links a#user-name:hover {
485
+ text-decoration: underline;
486
+ outline: none;
487
+ background: transparent; }
488
+ #global-header .header-user #user-links a#user-logout {
489
+ display: block;
490
+ color: #c1d0e2;
491
+ font-size: 14px;
492
+ line-height: 18px;
493
+ text-decoration: none; }
494
+ #global-header .header-user #user-links a#user-logout:active, #global-header .header-user #user-links a#user-logout:hover {
495
+ text-decoration: underline;
496
+ outline: none;
497
+ background: transparent; }
498
+ .js-enabled #global-header .header-user #user-links {
499
+ display: none;
500
+ display: inline-block; }
501
+ .js-enabled #global-header .header-user #user-links.js-visible {
502
+ display: block; }
423
503
 
424
504
  /* Global header bar */
425
505
  #global-header-bar {
426
- height: 10px;
427
- background-color: #005ea5;
506
+ height: 3px;
507
+ background: url("images/stripe.png");
428
508
  font-size: 0; }
429
509
 
430
510
  /* Global cookie message */
@@ -438,7 +518,7 @@ button:focus {
438
518
  padding-top: 10px;
439
519
  padding-bottom: 10px; }
440
520
  #global-cookie-message p {
441
- font-family: "nta", Arial, sans-serif;
521
+ font-family: "Source Sans Pro", "Arial", sans-serif;
442
522
  font-weight: 400;
443
523
  text-transform: none;
444
524
  font-size: 14px;
@@ -450,23 +530,23 @@ button:focus {
450
530
 
451
531
  /* Global footer */
452
532
  #footer {
453
- background-color: #dee0e2;
454
- border-top: 1px solid #a1acb2; }
533
+ background-color: #eaeaea; }
534
+ #footer.with-logo .open-government-licence {
535
+ padding-left: 85px; }
455
536
  #footer .footer-wrapper {
456
- background-color: #dee0e2;
457
- padding-top: 20px;
458
- padding-top: 60px; }
537
+ background-color: #eaeaea;
538
+ padding-top: 30px; }
459
539
  #footer a {
460
- color: #454a4c; }
540
+ color: #005ea5; }
461
541
  #footer a:hover {
462
- color: #171819; }
542
+ color: #0b0c0c; }
463
543
  #footer h2 {
464
- font-family: "nta", Arial, sans-serif;
544
+ font-family: "Source Sans Pro", "Arial", sans-serif;
465
545
  font-weight: 400;
466
546
  text-transform: none;
467
547
  font-size: 18px;
468
548
  line-height: 1.2;
469
- font-size: 24px;
549
+ font-size: 20px;
470
550
  line-height: 1.25;
471
551
  font-weight: bold;
472
552
  color: #0b0c0c;
@@ -477,14 +557,14 @@ button:focus {
477
557
  padding-bottom: 60px;
478
558
  clear: both;
479
559
  font-size: 0;
480
- color: #454a4c; }
560
+ color: #0b0c0c; }
481
561
  #footer .footer-meta .footer-meta-inner {
482
562
  display: inline-block;
483
563
  vertical-align: bottom;
484
564
  width: 100%;
485
565
  width: 75%; }
486
566
  #footer .footer-meta .footer-meta-inner ul {
487
- font-family: "nta", Arial, sans-serif;
567
+ font-family: "Source Sans Pro", "Arial", sans-serif;
488
568
  font-weight: 400;
489
569
  text-transform: none;
490
570
  font-size: 14px;
@@ -493,16 +573,15 @@ button:focus {
493
573
  line-height: 1.5;
494
574
  display: inline-block;
495
575
  list-style: none;
496
- margin: 0 0 1.5em 0;
576
+ margin: 5px 0;
497
577
  padding: 0;
498
- margin: 0 0 1em 0; }
578
+ margin: 5px 0; }
499
579
  #footer .footer-meta .footer-meta-inner ul li {
500
580
  display: inline-block;
501
581
  margin: 0 15px 0 0; }
502
582
  #footer .footer-meta .footer-meta-inner .open-government-licence {
503
583
  clear: left;
504
- position: relative;
505
- padding-left: 53px; }
584
+ position: relative; }
506
585
  #footer .footer-meta .footer-meta-inner .open-government-licence .logo {
507
586
  margin-bottom: 1em;
508
587
  padding-top: 0;
@@ -523,7 +602,7 @@ button:focus {
523
602
  background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
524
603
  background-size: 41px 17px; } }
525
604
  #footer .footer-meta .footer-meta-inner .open-government-licence p {
526
- font-family: "nta", Arial, sans-serif;
605
+ font-family: "Source Sans Pro", "Arial", sans-serif;
527
606
  font-weight: 400;
528
607
  text-transform: none;
529
608
  font-size: 14px;
@@ -533,32 +612,25 @@ button:focus {
533
612
  margin: 0;
534
613
  padding-top: 0.1em; }
535
614
  #footer .footer-meta .copyright {
536
- font-family: "nta", Arial, sans-serif;
615
+ font-family: "Source Sans Pro", "Arial", sans-serif;
537
616
  font-weight: 400;
538
617
  text-transform: none;
539
618
  font-size: 14px;
540
619
  line-height: 1.14286;
541
620
  font-size: 16px;
542
621
  line-height: 1.25;
543
- margin: 30px 0 0 0;
622
+ text-align: left;
623
+ margin: 0 0 30px 0;
544
624
  width: 100%;
545
625
  display: block;
626
+ vertical-align: top;
546
627
  display: inline-block;
547
628
  text-align: inherit;
548
629
  width: 25%;
549
- padding-top: 15px;
550
- margin-top: 0; }
630
+ padding-top: 0;
631
+ margin-bottom: 0; }
551
632
  #footer .footer-meta .copyright a {
552
633
  display: block;
553
- background-image: url(<%= asset_path 'images/govuk-crest.png' %>);
554
- background-repeat: no-repeat;
555
- background-position: 50% 0%;
556
- background-position: 100% 0%;
557
- text-align: center;
558
- text-decoration: none;
559
- text-align: right;
560
- padding: 115px 0 0 0; }
561
- @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
562
- #footer .footer-meta .copyright a {
563
- background-image: url(<%= asset_path 'images/govuk-crest-2x.png' %>);
564
- background-size: 125px 102px; } }
634
+ text-decoration: none; }
635
+ #footer .footer-meta .copyright a img.logo {
636
+ max-width: 218px; }
@@ -0,0 +1,75 @@
1
+ html {
2
+ font-size: 62.5%; }
3
+
4
+ /* Global print stylesheet */
5
+ /* reset everything */
6
+ * {
7
+ background: transparent;
8
+ color: black;
9
+ text-shadow: none;
10
+ filter: none;
11
+ -ms-filter: none; }
12
+
13
+ body {
14
+ font-family: sans-serif;
15
+ font-weight: 400;
16
+ text-transform: none;
17
+ font-size: 11pt;
18
+ line-height: 1.42857;
19
+ margin: 0;
20
+ padding: 0;
21
+ width: 100%; }
22
+
23
+ a, a:visited {
24
+ word-wrap: break-word; }
25
+
26
+ a[href^="/"]:after,
27
+ a[href^="http://"]:after,
28
+ a[href^="https://"]:after {
29
+ content: " (" attr(href) ")";
30
+ font-size: 90%; }
31
+
32
+ a[href^="javascript:"]:after,
33
+ a[href^="#"]:after {
34
+ content: ""; }
35
+
36
+ img {
37
+ max-width: 100% !important; }
38
+
39
+ select {
40
+ background: white; }
41
+
42
+ #global-header {
43
+ margin: 3px 0 1em; }
44
+ #global-header #logo {
45
+ font-family: sans-serif;
46
+ font-weight: 700;
47
+ text-transform: none;
48
+ font-size: 18pt;
49
+ line-height: 1.04167;
50
+ font-size: 28pt;
51
+ /* `bold-80` can be used instead when govuk_frontend_toolkit gem is >= 4.18.2,
52
+ see https://github.com/alphagov/govuk_frontend_toolkit/pull/328 */
53
+ text-rendering: optimizeLegibility; }
54
+ #global-header #logo img {
55
+ width: 45px;
56
+ height: 40px;
57
+ position: relative;
58
+ top: -3px;
59
+ vertical-align: bottom; }
60
+ #global-header .content {
61
+ margin: 0 !important; }
62
+ #global-header a, #global-header a:visited {
63
+ text-decoration: none; }
64
+ #global-header a:after {
65
+ content: ""; }
66
+ #global-header img {
67
+ border: 0;
68
+ vertical-align: middle; }
69
+
70
+ /* hide the unnecessary page elements */
71
+ body footer,
72
+ .visuallyhidden,
73
+ #global-cookie-message,
74
+ #skiplink-container {
75
+ display: none !important; }