govuk_publishing_components 58.1.0 → 58.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +7 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +10 -10
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +3 -16
- data/app/views/govuk_publishing_components/components/_add_another.html.erb +0 -1
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2fbc187d41fb43b4005ecda265842cd3c9dde603272971d6429d674a4fe99d3
|
4
|
+
data.tar.gz: 17a7f6abba141f6fbb5e12520c8195fedebae2ae55efbe721857431aadefa76c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d296de9af1c9e495442d31f08bdf5107e657abb510d09e1362d526d741e4f47521cceb2707195d5bca801cfc56ba17d5f8c612da99cb1b0519dd4da457ee5f6e
|
7
|
+
data.tar.gz: 53ed8e3164202b9d51541016ec88d460559856d78814a01ddea790b5f93858ec485ef02561ad6f08349527121e21e942a60790fd6e72bff42ac73755a8150e50
|
@@ -8,7 +8,7 @@ $chevron-indent-spacing: 7px;
|
|
8
8
|
|
9
9
|
$pseudo-underline-height: 3px;
|
10
10
|
|
11
|
-
$navbar-height:
|
11
|
+
$navbar-height: 61px;
|
12
12
|
|
13
13
|
$button-pipe-colour: $govuk-blue-tint-95;
|
14
14
|
|
@@ -98,7 +98,6 @@ $search-icon-height: 20px;
|
|
98
98
|
background: $govuk-brand-colour;
|
99
99
|
border-top: 1px solid $govuk-brand-colour;
|
100
100
|
margin-top: -1px;
|
101
|
-
border-bottom: 1px solid transparent;
|
102
101
|
position: relative;
|
103
102
|
|
104
103
|
[hidden] {
|
@@ -694,4 +693,10 @@ $search-icon-height: 20px;
|
|
694
693
|
padding: 10px 0 !important; // stylelint-disable-line declaration-no-important
|
695
694
|
}
|
696
695
|
}
|
696
|
+
|
697
|
+
// Used to add a transparent bottom border for forced-colour modes
|
698
|
+
.transparent-bottom-border {
|
699
|
+
border-bottom: 1px solid transparent;
|
700
|
+
}
|
701
|
+
|
697
702
|
// stylelint-enable max-nesting-depth
|
@@ -31,20 +31,20 @@
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
|
34
|
+
.email-url-number {
|
35
|
+
.email {
|
36
|
+
word-wrap: break-word;
|
37
|
+
}
|
38
|
+
|
39
|
+
span {
|
40
|
+
display: block;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
34
44
|
.content {
|
35
45
|
float: none;
|
36
46
|
width: 100%;
|
37
47
|
|
38
|
-
.email-url-number {
|
39
|
-
.email {
|
40
|
-
word-wrap: break-word;
|
41
|
-
}
|
42
|
-
|
43
|
-
span {
|
44
|
-
display: block;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
48
|
.comments {
|
49
49
|
@include govuk-font($size: 16);
|
50
50
|
@include govuk-media-query($from: tablet) {
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss
CHANGED
@@ -53,26 +53,13 @@
|
|
53
53
|
}
|
54
54
|
|
55
55
|
&.gem-c-govspeak--direction-rtl blockquote {
|
56
|
-
padding: 0 govuk-spacing(
|
57
|
-
|
58
|
-
@include govuk-media-query($from: desktop) {
|
59
|
-
margin: 0 (- govuk-spacing(6)) 0 0;
|
60
|
-
}
|
56
|
+
padding: 0 govuk-spacing(6) 0 0;
|
61
57
|
|
62
58
|
p {
|
63
|
-
padding-right: govuk-spacing(3);
|
64
|
-
padding-left: 0;
|
65
|
-
|
66
|
-
@include govuk-media-query($from: tablet) {
|
67
|
-
padding-right: govuk-spacing(6);
|
68
|
-
padding-left: 0;
|
69
|
-
}
|
70
|
-
|
71
59
|
&::before {
|
72
60
|
content: "\201D";
|
73
|
-
|
74
|
-
|
75
|
-
margin-left: 0;
|
61
|
+
right: auto;
|
62
|
+
left: 100%;
|
76
63
|
}
|
77
64
|
|
78
65
|
&:last-child::after {
|
data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
%>
|
44
44
|
<%= tag.header(**component_helper.all_attributes) do %>
|
45
45
|
<div class="gem-c-layout-super-navigation-header__container govuk-clearfix">
|
46
|
-
<div class="govuk-width-container">
|
46
|
+
<div class="govuk-width-container transparent-bottom-border">
|
47
47
|
<%= content_tag(:div, {
|
48
48
|
class: header_logo_classes
|
49
49
|
}) do %>
|