govuk_publishing_components 11.2.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/govuk_publishing_components/favicon-example.png +0 -0
  3. data/app/assets/images/govuk_publishing_components/favicon-production.png +0 -0
  4. data/app/assets/javascripts/component_guide/application.js +1 -1
  5. data/app/assets/javascripts/component_guide/no_slimmer.js +15 -0
  6. data/app/assets/javascripts/govuk_publishing_components/admin_scripts.js +2 -4
  7. data/app/assets/javascripts/govuk_publishing_components/all_components.js +4 -0
  8. data/app/assets/stylesheets/component_guide/application.scss +80 -74
  9. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +4 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +26 -5
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +21 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +7 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +2 -0
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +24 -5
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +2 -0
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +19 -7
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +11 -1
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +12 -0
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +9 -2
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +2 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +11 -0
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +7 -2
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +9 -8
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +4 -2
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +12 -1
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +6 -0
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +16 -2
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +7 -0
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +8 -2
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -0
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +5 -0
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +30 -7
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +14 -4
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +2 -0
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-list.scss +2 -1
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-navigation.scss +10 -0
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +4 -0
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +7 -2
  41. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +4 -0
  42. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +24 -8
  43. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +47 -13
  44. data/app/controllers/govuk_publishing_components/application_controller.rb +5 -6
  45. data/app/views/govuk_publishing_components/component_guide/index.html.erb +2 -2
  46. data/app/views/govuk_publishing_components/component_guide/show.html.erb +9 -9
  47. data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +1 -1
  48. data/app/views/govuk_publishing_components/components/_feedback.html.erb +2 -2
  49. data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -1
  50. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +4 -7
  51. data/app/views/govuk_publishing_components/components/_notice.html.erb +2 -2
  52. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +2 -2
  53. data/app/views/govuk_publishing_components/components/_radio.html.erb +1 -1
  54. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +1 -1
  55. data/app/views/govuk_publishing_components/components/_subscription-links.html.erb +2 -2
  56. data/app/views/govuk_publishing_components/components/_taxonomy_navigation.html.erb +2 -2
  57. data/app/views/govuk_publishing_components/components/_translation-nav.html.erb +1 -1
  58. data/app/views/govuk_publishing_components/components/docs/fieldset.yml +1 -1
  59. data/app/views/govuk_publishing_components/components/docs/layout_for_admin.yml +1 -0
  60. data/app/views/govuk_publishing_components/components/docs/tabs.yml +7 -7
  61. data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +1 -1
  62. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +3 -3
  63. data/app/views/layouts/govuk_publishing_components/application.html.erb +43 -44
  64. data/config/initializers/assets.rb +2 -0
  65. data/lib/govuk_publishing_components/app_helpers/environment.rb +1 -0
  66. data/lib/govuk_publishing_components/config.rb +1 -1
  67. data/lib/govuk_publishing_components/engine.rb +0 -1
  68. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +1 -1
  69. data/lib/govuk_publishing_components/presenters/step_by_step_nav_helper.rb +1 -1
  70. data/lib/govuk_publishing_components/version.rb +1 -1
  71. data/node_modules/jquery/AUTHORS.txt +266 -0
  72. data/node_modules/jquery/LICENSE.txt +36 -0
  73. data/node_modules/jquery/README.md +65 -0
  74. data/node_modules/jquery/bower.json +14 -0
  75. data/node_modules/jquery/dist/jquery.js +11008 -0
  76. data/node_modules/jquery/dist/jquery.min.js +5 -0
  77. data/node_modules/jquery/dist/jquery.min.map +1 -0
  78. data/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  79. data/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
  80. data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  81. data/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  82. data/node_modules/jquery/package.json +157 -0
  83. data/node_modules/jquery/src/ajax.js +842 -0
  84. data/node_modules/jquery/src/ajax/jsonp.js +100 -0
  85. data/node_modules/jquery/src/ajax/load.js +83 -0
  86. data/node_modules/jquery/src/ajax/parseJSON.js +53 -0
  87. data/node_modules/jquery/src/ajax/parseXML.js +31 -0
  88. data/node_modules/jquery/src/ajax/script.js +95 -0
  89. data/node_modules/jquery/src/ajax/var/location.js +3 -0
  90. data/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  91. data/node_modules/jquery/src/ajax/var/rquery.js +3 -0
  92. data/node_modules/jquery/src/ajax/xhr.js +229 -0
  93. data/node_modules/jquery/src/attributes.js +11 -0
  94. data/node_modules/jquery/src/attributes/attr.js +281 -0
  95. data/node_modules/jquery/src/attributes/classes.js +174 -0
  96. data/node_modules/jquery/src/attributes/prop.js +156 -0
  97. data/node_modules/jquery/src/attributes/support.js +70 -0
  98. data/node_modules/jquery/src/attributes/val.js +191 -0
  99. data/node_modules/jquery/src/callbacks.js +232 -0
  100. data/node_modules/jquery/src/core.js +529 -0
  101. data/node_modules/jquery/src/core/access.js +65 -0
  102. data/node_modules/jquery/src/core/init.js +140 -0
  103. data/node_modules/jquery/src/core/parseHTML.js +41 -0
  104. data/node_modules/jquery/src/core/ready.js +163 -0
  105. data/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
  106. data/node_modules/jquery/src/css.js +563 -0
  107. data/node_modules/jquery/src/css/addGetHookIf.js +24 -0
  108. data/node_modules/jquery/src/css/adjustCSS.js +65 -0
  109. data/node_modules/jquery/src/css/curCSS.js +137 -0
  110. data/node_modules/jquery/src/css/defaultDisplay.js +72 -0
  111. data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +42 -0
  112. data/node_modules/jquery/src/css/showHide.js +45 -0
  113. data/node_modules/jquery/src/css/support.js +184 -0
  114. data/node_modules/jquery/src/css/var/cssExpand.js +3 -0
  115. data/node_modules/jquery/src/css/var/isHidden.js +16 -0
  116. data/node_modules/jquery/src/css/var/rmargin.js +3 -0
  117. data/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
  118. data/node_modules/jquery/src/css/var/swap.js +24 -0
  119. data/node_modules/jquery/src/data.js +342 -0
  120. data/node_modules/jquery/src/data/support.js +23 -0
  121. data/node_modules/jquery/src/data/var/acceptData.js +20 -0
  122. data/node_modules/jquery/src/deferred.js +159 -0
  123. data/node_modules/jquery/src/deprecated.js +34 -0
  124. data/node_modules/jquery/src/dimensions.js +56 -0
  125. data/node_modules/jquery/src/effects.js +640 -0
  126. data/node_modules/jquery/src/effects/Tween.js +121 -0
  127. data/node_modules/jquery/src/effects/animatedSelector.js +13 -0
  128. data/node_modules/jquery/src/effects/support.js +58 -0
  129. data/node_modules/jquery/src/event.js +1134 -0
  130. data/node_modules/jquery/src/event/ajax.js +20 -0
  131. data/node_modules/jquery/src/event/alias.js +25 -0
  132. data/node_modules/jquery/src/event/support.js +28 -0
  133. data/node_modules/jquery/src/exports/amd.js +24 -0
  134. data/node_modules/jquery/src/exports/global.js +26 -0
  135. data/node_modules/jquery/src/intro.js +44 -0
  136. data/node_modules/jquery/src/jquery.js +37 -0
  137. data/node_modules/jquery/src/manipulation.js +585 -0
  138. data/node_modules/jquery/src/manipulation/_evalUrl.js +21 -0
  139. data/node_modules/jquery/src/manipulation/buildFragment.js +157 -0
  140. data/node_modules/jquery/src/manipulation/createSafeFragment.js +20 -0
  141. data/node_modules/jquery/src/manipulation/getAll.js +33 -0
  142. data/node_modules/jquery/src/manipulation/setGlobalEval.js +19 -0
  143. data/node_modules/jquery/src/manipulation/support.js +72 -0
  144. data/node_modules/jquery/src/manipulation/var/nodeNames.js +5 -0
  145. data/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
  146. data/node_modules/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
  147. data/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
  148. data/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
  149. data/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
  150. data/node_modules/jquery/src/offset.js +219 -0
  151. data/node_modules/jquery/src/outro.js +2 -0
  152. data/node_modules/jquery/src/queue.js +144 -0
  153. data/node_modules/jquery/src/queue/delay.js +22 -0
  154. data/node_modules/jquery/src/selector-sizzle.js +14 -0
  155. data/node_modules/jquery/src/selector.js +1 -0
  156. data/node_modules/jquery/src/serialize.js +125 -0
  157. data/node_modules/jquery/src/support.js +63 -0
  158. data/node_modules/jquery/src/traversing.js +179 -0
  159. data/node_modules/jquery/src/traversing/findFilter.js +100 -0
  160. data/node_modules/jquery/src/traversing/var/dir.js +20 -0
  161. data/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
  162. data/node_modules/jquery/src/traversing/var/siblings.js +15 -0
  163. data/node_modules/jquery/src/var/class2type.js +5 -0
  164. data/node_modules/jquery/src/var/concat.js +5 -0
  165. data/node_modules/jquery/src/var/deletedIds.js +3 -0
  166. data/node_modules/jquery/src/var/document.js +3 -0
  167. data/node_modules/jquery/src/var/documentElement.js +5 -0
  168. data/node_modules/jquery/src/var/hasOwn.js +5 -0
  169. data/node_modules/jquery/src/var/indexOf.js +5 -0
  170. data/node_modules/jquery/src/var/pnum.js +3 -0
  171. data/node_modules/jquery/src/var/push.js +5 -0
  172. data/node_modules/jquery/src/var/rcssNum.js +7 -0
  173. data/node_modules/jquery/src/var/rnotwhite.js +3 -0
  174. data/node_modules/jquery/src/var/slice.js +5 -0
  175. data/node_modules/jquery/src/var/support.js +5 -0
  176. data/node_modules/jquery/src/var/toString.js +5 -0
  177. data/node_modules/jquery/src/wrap.js +77 -0
  178. metadata +111 -19
  179. data/app/assets/images/govuk_publishing_components/favicon-test.png +0 -0
  180. data/app/assets/stylesheets/govuk_publishing_components/admin_styles_ie8.scss +0 -3
  181. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_touch-friendly-links.scss +0 -11
@@ -2,6 +2,7 @@
2
2
  @import "typography";
3
3
 
4
4
  .gem-c-document-list {
5
+ @include govuk-text-colour;
5
6
  @include core-19;
6
7
  margin: 0;
7
8
  padding: 0;
@@ -20,6 +21,8 @@
20
21
  }
21
22
 
22
23
  .gem-c-document-list__item-title {
24
+ @include govuk-link-common;
25
+ @include govuk-link-style-default;
23
26
  @include bold-19;
24
27
  display: inline-block;
25
28
  }
@@ -38,7 +41,9 @@
38
41
  }
39
42
 
40
43
  .gem-c-document-list__item-description {
41
- margin-bottom: 5px;
44
+ @include govuk-text-colour;
45
+ @include govuk-font($size: 16, $line-height: 1.5);
46
+ margin: 0 0 5px 0;
42
47
  }
43
48
 
44
49
  .gem-c-document-list__item-metadata {
@@ -46,6 +51,7 @@
46
51
  }
47
52
 
48
53
  .gem-c-document-list__attribute {
54
+ @include govuk-text-colour;
49
55
  @include core-14;
50
56
  display: inline-block;
51
57
  list-style: none;
@@ -11,6 +11,7 @@
11
11
 
12
12
  .gem-c-error-alert__message {
13
13
  @include bold-19;
14
+ margin: 0;
14
15
  }
15
16
 
16
17
  .gem-c-error-summary__title {
@@ -26,6 +27,7 @@
26
27
 
27
28
  .gem-c-error-summary__body {
28
29
  @include core-19;
30
+ margin: 0;
29
31
  }
30
32
 
31
33
  .gem-c-error-alert:focus {
@@ -58,6 +58,7 @@
58
58
  }
59
59
 
60
60
  .gem-c-error-summary__link {
61
+ @include govuk-link-common;
61
62
  &:link,
62
63
  &:link:focus,
63
64
  &:focus,
@@ -4,6 +4,10 @@
4
4
  .gem-c-feedback {
5
5
  max-width: 960px;
6
6
  margin: 0 auto;
7
+
8
+ .visually-hidden {
9
+ @include govuk-visually-hidden;
10
+ }
7
11
  }
8
12
 
9
13
  .gem-c-feedback--top-margin {
@@ -16,7 +20,11 @@
16
20
 
17
21
  // hide without js
18
22
  // show with js, unless also has the js-hidden class
19
- .gem-c-feedback__js-show {
23
+ .gem-c-feedback__js-show,
24
+ .gem-c-feedback__form,
25
+ .gem-c-feedback__prompt-success,
26
+ .gem-c-feedback__js-prompt-questions,
27
+ .gem-c-feedback__error-summary {
20
28
  display: none;
21
29
 
22
30
  .js-enabled & {
@@ -50,7 +58,7 @@
50
58
  display: inline-block;
51
59
 
52
60
  // There's a global h3 rule in some layouts that interferes with this component
53
- margin-top: 0;
61
+ margin: 0;
54
62
 
55
63
  &:focus {
56
64
  outline: 0;
@@ -63,6 +71,7 @@
63
71
  }
64
72
 
65
73
  .gem-c-feedback__prompt-link {
74
+ @include govuk-link-common;
66
75
  @include core-19;
67
76
  margin-left: $gutter-half;
68
77
 
@@ -113,14 +122,20 @@
113
122
  // this comes from the backend so we can't put a class on it
114
123
  h2,
115
124
  .gem-c-feedback__heading {
125
+ @include govuk-text-colour;
116
126
  @include bold-24;
117
127
  margin: 0;
118
128
  }
119
129
 
120
130
  p {
131
+ @include govuk-text-colour;
121
132
  @include core-19;
122
133
  margin: $gutter-one-third 0;
123
134
  }
135
+
136
+ a {
137
+ @extend %govuk-link;
138
+ }
124
139
  }
125
140
 
126
141
  .gem-c-feedback__error-message {
@@ -141,13 +156,15 @@
141
156
  }
142
157
 
143
158
  .gem-c-feedback__form-heading {
159
+ @include govuk-text-colour;
144
160
  @include bold-24;
145
- margin-bottom: $gutter-half;
161
+ margin: 0 0 $gutter-half 0;
146
162
  }
147
163
 
148
164
  .gem-c-feedback__form-paragraph {
165
+ @include govuk-text-colour;
149
166
  @include core-19;
150
- margin-bottom: $gutter;
167
+ margin: 0 0 $gutter 0;
151
168
  }
152
169
 
153
170
  .gem-c-feedback__form-label {
@@ -157,9 +174,11 @@
157
174
  }
158
175
 
159
176
  .gem-c-feedback__close {
177
+ @include govuk-link-common;
178
+ @include govuk-link-style-default;
160
179
  @include core-19;
161
180
  float: right;
162
- margin-bottom: $gutter-one-third;
181
+ margin: 0 0 $gutter-one-third 0;
163
182
 
164
183
  @include media(tablet) {
165
184
  padding-top: 0;
@@ -1,5 +1,7 @@
1
1
  .gem-c-heading {
2
+ @include govuk-text-colour;
2
3
  @include bold-27;
4
+ margin: 0;
3
5
  }
4
6
 
5
7
  .gem-c-heading--font-size-24 {
@@ -1,7 +1,9 @@
1
1
  .gem-c-highlight-boxes {
2
+ @include govuk-text-colour;
2
3
  display: flex;
3
4
  flex-wrap: wrap;
4
- margin-top: $gutter-half;
5
+ margin: $gutter-half 0 0 0;
6
+ padding: 0;
5
7
 
6
8
  @include media(tablet) {
7
9
  margin-right: -25px;
@@ -47,27 +49,37 @@
47
49
  color: $white;
48
50
  }
49
51
 
50
- .gem-c-highlight-boxes--inverse .gem-c-highlight-boxes__title {
51
- color: $white;
52
- }
53
-
54
52
  .gem-c-highlight-boxes__title {
53
+ @extend %govuk-link;
55
54
  @include bold-19;
56
55
  display: block;
57
56
  text-decoration: underline;
58
57
  margin-bottom: 5px;
59
58
  }
60
59
 
60
+ .gem-c-highlight-boxes--inverse .gem-c-highlight-boxes__title {
61
+ &:link,
62
+ &:visited,
63
+ &:hover {
64
+ color: $white;
65
+ }
66
+
67
+ &:active,
68
+ &:focus {
69
+ color: $govuk-link-colour;
70
+ }
71
+ }
72
+
61
73
  .gem-c-highlight-boxes__title--featured {
62
74
  @include bold-24;
63
75
  }
64
76
 
65
77
  .gem-c-highlight-boxes__description {
66
- margin-bottom: $gutter-one-third;
78
+ margin: 0 0 $gutter-one-third 0;
67
79
  }
68
80
 
69
81
  .gem-c-highlight-boxes__metadata {
82
+ margin: 0 $gutter-half 0 0;
70
83
  @include core-16;
71
84
  display: inline-block;
72
- margin-right: $gutter-half;
73
85
  }
@@ -6,10 +6,12 @@
6
6
  @extend %contain-floats;
7
7
  margin: 0 (-$gutter-half) $gutter (-$gutter-half);
8
8
  position: relative;
9
+ @include govuk-text-colour;
9
10
  }
10
11
 
11
12
  .gem-c-image-card__image-wrapper {
12
13
  @include grid-column( 1 / 3, mobile );
14
+ margin: 0;
13
15
 
14
16
  @include media(tablet) {
15
17
  margin-bottom: $gutter-one-third;
@@ -33,9 +35,11 @@
33
35
 
34
36
  .gem-c-image-card__title {
35
37
  @include bold-19;
38
+ margin: 0;
36
39
  }
37
40
 
38
41
  .gem-c-image-card__title-link {
42
+ @extend %govuk-link;
39
43
  text-decoration: none;
40
44
 
41
45
  &:hover {
@@ -68,7 +72,7 @@
68
72
  .gem-c-image-card__context,
69
73
  .gem-c-image-card__metadata {
70
74
  @include core-14;
71
- margin-bottom: $gutter-one-quarter;
75
+ margin: 0 0 $gutter-one-quarter;
72
76
  color: $grey-1;
73
77
 
74
78
  @include media(tablet) {
@@ -77,17 +81,23 @@
77
81
  }
78
82
 
79
83
  .gem-c-image-card__description {
84
+ @include govuk-font($size: 16, $line-height: 1.5);
80
85
  padding-top: $gutter-one-quarter;
81
86
  word-wrap: break-word;
82
87
  }
83
88
 
84
89
  .gem-c-image-card__list {
90
+ @include govuk-font($size: 16, $line-height: 1.5);
85
91
  position: relative;
86
92
  z-index: 2;
87
93
  padding: $gutter-one-quarter 0 0 0;
88
94
  margin: 0;
89
95
  list-style: none;
90
96
 
97
+ .gem-c-image-card__list-item-link {
98
+ @extend %govuk-link;
99
+ }
100
+
91
101
  &.gem-c-image-card__list--indented {
92
102
  padding-left: $gutter-half;
93
103
 
@@ -11,6 +11,18 @@
11
11
  color: $white;
12
12
  }
13
13
 
14
+
15
+ .gem-c-inverse-header {
16
+ // This publication-header class is injected on publication pages, really
17
+ // it should be a component class or be a component in it's own right.
18
+ .gem-c-inverse-header__supplement,
19
+ .publication-header__last-changed {
20
+ @include govuk-font($size: 16, $line-height: 1.5);
21
+ color: $white;
22
+ margin: 0;
23
+ }
24
+ }
25
+
14
26
  .gem-c-inverse-header--full-width {
15
27
  padding-left: 0;
16
28
  padding-right: 0;
@@ -10,8 +10,11 @@
10
10
  border-bottom-color: govuk-colour("yellow");
11
11
  }
12
12
 
13
- .gem-c-layout-header--development .govuk-header__container,
14
- .gem-c-layout-header--test .govuk-header__container {
13
+ .gem-c-layout-header--example .govuk-header__container {
14
+ border-bottom-color: govuk-colour("bright-purple");
15
+ }
16
+
17
+ .gem-c-layout-header--development .govuk-header__container {
15
18
  border-bottom-color: govuk-colour("grey-1");
16
19
  }
17
20
 
@@ -38,6 +41,10 @@
38
41
  background-color: govuk-colour("bright-red");
39
42
  }
40
43
 
44
+ .gem-c-environment-tag--example {
45
+ background-color: govuk-colour("bright-purple");
46
+ }
47
+
41
48
  .gem-c-environment-tag--development {
42
49
  background-color: govuk-colour("grey-1");
43
50
  }
@@ -1,7 +1,9 @@
1
1
  @import "mixins/margins";
2
2
 
3
3
  .gem-c-lead-paragraph {
4
+ @include govuk-text-colour;
4
5
  @include core-24;
6
+ margin-top: 0;
5
7
  @include responsive-bottom-margin;
6
8
  // Ensure the text has a line-length of around 60 characters
7
9
  max-width: 30em;
@@ -1,4 +1,5 @@
1
1
  .gem-c-metadata {
2
+ @include govuk-text-colour;
2
3
  @include core-16;
3
4
  @include responsive-bottom-margin;
4
5
  @extend %contain-floats;
@@ -35,15 +36,21 @@
35
36
  }
36
37
 
37
38
  .gem-c-metadata__definition {
39
+ margin: 0;
38
40
  line-height: normal;
39
41
 
40
42
  @include media(tablet) {
41
43
  float: left;
42
44
  width: 70%;
43
45
  }
46
+
47
+ a {
48
+ @extend %govuk-link;
49
+ }
44
50
  }
45
51
 
46
52
  .gem-c-metadata__definition-link {
53
+ @extend %govuk-link;
47
54
  text-decoration: none;
48
55
  }
49
56
 
@@ -64,3 +71,7 @@
64
71
  .js-enabled .gem-c-metadata__toggle-wrap {
65
72
  display: block;
66
73
  }
74
+
75
+ .js-enabled .gem-c-metadata__toggle-items.js-hidden {
76
+ display: none;
77
+ }
@@ -1,4 +1,5 @@
1
1
  .gem-c-notice {
2
+ @include govuk-text-colour;
2
3
  clear: both;
3
4
  padding: $gutter-two-thirds;
4
5
  border: 2px solid $govuk-blue;
@@ -20,14 +21,18 @@
20
21
 
21
22
  .gem-c-notice__title {
22
23
  @include bold-27;
23
- margin-bottom: $gutter-one-third;
24
+ margin: 0 0 $gutter-one-third 0;
24
25
 
25
26
  &:last-child {
26
27
  margin-bottom: 0;
27
28
  }
29
+
30
+ a {
31
+ @extend %govuk-link;
32
+ }
28
33
  }
29
34
 
30
35
  .gem-c-notice__description {
31
36
  @include core-19;
32
- margin-bottom: 0;
37
+ margin: 0;
33
38
  }
@@ -1,6 +1,5 @@
1
1
  // Default logo corresponds with the "medium stacked" Whitehall equivalent
2
2
  .gem-c-organisation-logo {
3
- font-family: $helvetica-regular;
4
3
  font-size: 13px;
5
4
  line-height: (15 / 13);
6
5
  font-weight: 400;
@@ -49,16 +48,18 @@
49
48
  .gem-c-organisation-logo__name {
50
49
  position: relative;
51
50
  top: 3px;
51
+ font-family: $helvetica-regular;
52
52
  }
53
53
 
54
- .gem-c-organisation-logo__link:link,
55
- .gem-c-organisation-logo__link:visited {
56
- color: $black;
57
- }
54
+ .gem-c-organisation-logo__link {
55
+ @include govuk-link-common;
56
+ @include govuk-link-style-text;
57
+ font-family: $helvetica-regular;
58
58
 
59
- .gem-c-organisation-logo__link:hover,
60
- .gem-c-organisation-logo__link:focus {
61
- text-decoration: underline;
59
+ &:hover,
60
+ &:focus {
61
+ text-decoration: underline;
62
+ }
62
63
  }
63
64
 
64
65
  // all crest images are currently in whitehall
@@ -1,7 +1,9 @@
1
- @import "mixins/touch-friendly-links";
2
1
  @import "design-patterns/alpha-beta";
3
2
 
4
3
  .gem-c-phase-banner {
5
4
  @include phase-banner;
6
- @include touch-friendly-links;
5
+
6
+ a {
7
+ @extend %govuk-link;
8
+ }
7
9
  }
@@ -6,19 +6,26 @@
6
6
  margin-right: -$gutter-half;
7
7
  }
8
8
 
9
+ .gem-c-pagination__list {
10
+ margin: 0;
11
+ padding: 0;
12
+ }
13
+
9
14
  .gem-c-pagination__item {
10
15
  @include core-16($line-height: (20 / 16));
11
16
  list-style: none;
12
17
  }
13
18
 
14
19
  .gem-c-pagination__link {
20
+ @extend %govuk-link;
15
21
  display: block;
16
22
  padding: $gutter-half;
17
23
  text-decoration: none;
18
24
 
19
25
  &:hover,
20
26
  &:active,
21
- &:visited {
27
+ &:visited,
28
+ &:focus {
22
29
  color: $link-colour;
23
30
  }
24
31
 
@@ -32,6 +39,10 @@
32
39
  display: block;
33
40
  }
34
41
 
42
+ .gem-c-pagination__link-divider {
43
+ @include govuk-visually-hidden;
44
+ }
45
+
35
46
  .gem-c-pagination__link-text {
36
47
  @include bold-19;
37
48
  margin-left: $gutter / 3;