govuk_tech_docs 1.9.0.pre.rc2 → 2.0.0.pre.test.pre.release.pre.524
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +4 -1
- data/CHANGELOG.md +7 -2
- data/example/.ruby-version +1 -1
- data/govuk_tech_docs.gemspec +23 -4
- data/lib/assets/javascripts/govuk_tech_docs.js +2 -0
- data/lib/assets/stylesheets/_core.scss +0 -48
- data/lib/assets/stylesheets/_govuk_tech_docs.scss +4 -8
- data/lib/assets/stylesheets/modules/_anchored-heading.scss +6 -6
- data/lib/assets/stylesheets/modules/_app-pane.scss +46 -47
- data/lib/assets/stylesheets/modules/_collapsible.scss +7 -3
- data/lib/assets/stylesheets/modules/_contribution-banner.scss +9 -7
- data/lib/assets/stylesheets/modules/_footer.scss +6 -127
- data/lib/assets/stylesheets/modules/_page-review.scss +15 -14
- data/lib/assets/stylesheets/modules/_search.scss +53 -42
- data/lib/assets/stylesheets/modules/_technical-documentation.scss +65 -95
- data/lib/assets/stylesheets/modules/_toc.scss +76 -47
- data/lib/assets/stylesheets/palette/_syntax-highlighting.scss +5 -5
- data/lib/govuk_tech_docs.rb +13 -11
- data/lib/govuk_tech_docs/api_reference/api_reference_extension.rb +1 -1
- data/lib/govuk_tech_docs/api_reference/api_reference_renderer.rb +1 -0
- data/lib/govuk_tech_docs/api_reference/templates/api_reference_full.html.erb +1 -1
- data/lib/govuk_tech_docs/page_review.rb +1 -0
- data/lib/govuk_tech_docs/pages.rb +1 -1
- data/lib/govuk_tech_docs/redirects.rb +1 -1
- data/lib/govuk_tech_docs/table_of_contents/heading_tree_renderer.rb +1 -1
- data/lib/govuk_tech_docs/table_of_contents/headings_builder.rb +1 -1
- data/lib/govuk_tech_docs/table_of_contents/helpers.rb +1 -0
- data/lib/govuk_tech_docs/version.rb +1 -1
- data/lib/source/layouts/_footer.erb +32 -7
- data/lib/source/layouts/_header.erb +41 -27
- data/lib/source/layouts/_search.erb +4 -2
- data/lib/source/layouts/core.erb +7 -8
- data/lib/source/stylesheets/manifest.css +3 -0
- data/package-lock.json +3 -3
- data/package.json +3 -2
- metadata +38 -33
- data/lib/assets/stylesheets/_accessibility.scss +0 -9
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_colours.scss +0 -2
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_conditionals.scss +0 -81
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_css3.scss +0 -90
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_device-pixels.scss +0 -10
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_font_stack.scss +0 -19
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_grid_layout.scss +0 -136
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_helpers.scss +0 -16
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_measurements.scss +0 -14
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_shims.scss +0 -55
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_typography.scss +0 -249
- data/lib/assets/stylesheets/govuk_frontend_toolkit/_url-helpers.scss +0 -16
- data/lib/assets/stylesheets/govuk_frontend_toolkit/colours/_organisation.scss +0 -103
- data/lib/assets/stylesheets/govuk_frontend_toolkit/colours/_palette.scss +0 -77
- data/lib/assets/stylesheets/govuk_frontend_toolkit/design-patterns/_alpha-beta.scss +0 -66
- data/lib/assets/stylesheets/govuk_frontend_toolkit/design-patterns/_breadcrumbs.scss +0 -53
- data/lib/assets/stylesheets/govuk_frontend_toolkit/design-patterns/_buttons.scss +0 -141
- data/lib/assets/stylesheets/govuk_frontend_toolkit/design-patterns/_media-player.scss +0 -242
- data/lib/assets/stylesheets/modules/_govuk-logo.scss +0 -47
- data/lib/assets/stylesheets/modules/_header.scss +0 -289
- data/lib/assets/stylesheets/modules/_skip-link.scss +0 -31
- data/lib/source/images/gov.uk_logotype_crown-2x.png +0 -0
- data/lib/source/images/gov.uk_logotype_crown.png +0 -0
- data/lib/source/images/gov.uk_logotype_crown_invert_trans.png +0 -0
- data/lib/source/images/govuk-crest-2x.png +0 -0
- data/lib/source/images/govuk-crest.png +0 -0
- data/lib/source/images/open-government-licence.png +0 -0
- data/lib/source/images/open-government-licence_2x.png +0 -0
@@ -1,242 +0,0 @@
|
|
1
|
-
@import '../colours';
|
2
|
-
@import '../url-helpers';
|
3
|
-
|
4
|
-
// Player overrides
|
5
|
-
|
6
|
-
@mixin media-player {
|
7
|
-
display: block;
|
8
|
-
overflow: hidden;
|
9
|
-
margin: 30px 0;
|
10
|
-
|
11
|
-
&.player-wide {
|
12
|
-
min-width: 580px;
|
13
|
-
}
|
14
|
-
|
15
|
-
span {
|
16
|
-
display: block;
|
17
|
-
margin: 0;
|
18
|
-
padding: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
.video {
|
22
|
-
position: relative;
|
23
|
-
z-index: 3000;
|
24
|
-
|
25
|
-
iframe {
|
26
|
-
display: block;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
.logo {
|
31
|
-
display: none;
|
32
|
-
}
|
33
|
-
|
34
|
-
.control-bar {
|
35
|
-
position: relative;
|
36
|
-
width: 100%;
|
37
|
-
height: 60px;
|
38
|
-
border-bottom: 1px solid $border-colour;
|
39
|
-
|
40
|
-
button {
|
41
|
-
background: transparent;
|
42
|
-
border: none;
|
43
|
-
padding: 0;
|
44
|
-
cursor: pointer;
|
45
|
-
}
|
46
|
-
|
47
|
-
a,
|
48
|
-
button {
|
49
|
-
&:focus {
|
50
|
-
background-color: $focus-colour;
|
51
|
-
outline: none;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.player-controls {
|
56
|
-
.play,
|
57
|
-
.pause {
|
58
|
-
position: absolute;
|
59
|
-
bottom: 0;
|
60
|
-
left: 0;
|
61
|
-
width: 40px;
|
62
|
-
height: 40px;
|
63
|
-
overflow: hidden;
|
64
|
-
text-indent: -5000%;
|
65
|
-
background-repeat: no-repeat;
|
66
|
-
background-position: center left;
|
67
|
-
}
|
68
|
-
|
69
|
-
.play {
|
70
|
-
background-image: file-url('player-icon-play.png');
|
71
|
-
}
|
72
|
-
|
73
|
-
.pause {
|
74
|
-
background-image: file-url('player-icon-pause.png');
|
75
|
-
}
|
76
|
-
|
77
|
-
.rewind,
|
78
|
-
.forward {
|
79
|
-
position: absolute;
|
80
|
-
top: 0;
|
81
|
-
z-index: 30;
|
82
|
-
height: 20px;
|
83
|
-
width: 40px;
|
84
|
-
overflow: hidden;
|
85
|
-
text-indent: -5000%;
|
86
|
-
background-repeat: no-repeat;
|
87
|
-
background-position: center left;
|
88
|
-
}
|
89
|
-
|
90
|
-
.rewind {
|
91
|
-
left: 0;
|
92
|
-
background-image: file-url('player-icon-rewind.png');
|
93
|
-
}
|
94
|
-
|
95
|
-
.forward {
|
96
|
-
left: 100%;
|
97
|
-
margin-left: -40px;
|
98
|
-
background-image: file-url('player-icon-forward.png');
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
.volume-controls {
|
103
|
-
position: absolute;
|
104
|
-
bottom: 0;
|
105
|
-
right: 0;
|
106
|
-
height: 40px;
|
107
|
-
width: 180px;
|
108
|
-
overflow: visible;
|
109
|
-
|
110
|
-
.mute {
|
111
|
-
position: absolute;
|
112
|
-
bottom: 0;
|
113
|
-
left: 120px;
|
114
|
-
height: 40px;
|
115
|
-
width: 50px;
|
116
|
-
padding-top: 1px;
|
117
|
-
font-size: 14px;
|
118
|
-
line-height: 40px;
|
119
|
-
text-align: center;
|
120
|
-
}
|
121
|
-
|
122
|
-
.muted {
|
123
|
-
color: $light-blue;
|
124
|
-
|
125
|
-
~ * {
|
126
|
-
opacity: 0.333;
|
127
|
-
}
|
128
|
-
|
129
|
-
~ .vol-display {
|
130
|
-
text-decoration: line-through;
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
.muted::after {
|
135
|
-
content: "d";
|
136
|
-
}
|
137
|
-
|
138
|
-
.vol-down,
|
139
|
-
.vol-up {
|
140
|
-
position: absolute;
|
141
|
-
bottom: 0;
|
142
|
-
height: 40px;
|
143
|
-
width: 60px;
|
144
|
-
padding-top: 2px;
|
145
|
-
font-size: 24px;
|
146
|
-
line-height: 40px;
|
147
|
-
text-align: center;
|
148
|
-
z-index: 10;
|
149
|
-
|
150
|
-
&:hover,
|
151
|
-
&:focus {
|
152
|
-
color: $light-blue;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
.vol-down {
|
157
|
-
text-align: left;
|
158
|
-
padding-left: 10px;
|
159
|
-
left: 0;
|
160
|
-
}
|
161
|
-
|
162
|
-
.vol-up {
|
163
|
-
text-align: right;
|
164
|
-
padding-right: 10px;
|
165
|
-
left: 60px;
|
166
|
-
}
|
167
|
-
|
168
|
-
.vol-display {
|
169
|
-
position: absolute;
|
170
|
-
bottom: 0;
|
171
|
-
left: 20px;
|
172
|
-
height: 40px;
|
173
|
-
width: 0;
|
174
|
-
padding-left: 35px;
|
175
|
-
overflow: visible;
|
176
|
-
font-size: 14px;
|
177
|
-
font-weight: bold;
|
178
|
-
line-height: 40px;
|
179
|
-
background-repeat: no-repeat;
|
180
|
-
background-position: center left;
|
181
|
-
background-image: file-url('player-icon-volume.png');
|
182
|
-
}
|
183
|
-
}
|
184
|
-
|
185
|
-
.current-time {
|
186
|
-
position: absolute;
|
187
|
-
bottom: 0;
|
188
|
-
left: 50px;
|
189
|
-
height: 40px;
|
190
|
-
font-size: 14px;
|
191
|
-
line-height: 40px;
|
192
|
-
font-weight: bold;
|
193
|
-
}
|
194
|
-
|
195
|
-
.duration-time {
|
196
|
-
display: none;
|
197
|
-
position: absolute;
|
198
|
-
bottom: 0;
|
199
|
-
right: 10px;
|
200
|
-
height: 40px;
|
201
|
-
line-height: 40px;
|
202
|
-
font-size: 16px;
|
203
|
-
font-weight: bold;
|
204
|
-
}
|
205
|
-
|
206
|
-
.ui-slider {
|
207
|
-
position: absolute;
|
208
|
-
top: 0;
|
209
|
-
right: 0;
|
210
|
-
width: 100%;
|
211
|
-
height: 20px;
|
212
|
-
overflow: hidden;
|
213
|
-
background: $border-colour;
|
214
|
-
|
215
|
-
.progress-bar {
|
216
|
-
position: absolute;
|
217
|
-
top: 0;
|
218
|
-
left: 0;
|
219
|
-
height: 100%;
|
220
|
-
padding-bottom: 1px;
|
221
|
-
background: $light-blue;
|
222
|
-
}
|
223
|
-
|
224
|
-
.ui-slider-handle {
|
225
|
-
position: absolute;
|
226
|
-
top: 0;
|
227
|
-
height: 100%;
|
228
|
-
padding-bottom: 1px;
|
229
|
-
width: 20px;
|
230
|
-
// Allow RGBA here, it is the only colour value with alpha transparency
|
231
|
-
// scss-lint:disable ColorVariable
|
232
|
-
color: rgba(0, 0, 0, 0.5);
|
233
|
-
z-index: 10;
|
234
|
-
}
|
235
|
-
}
|
236
|
-
}
|
237
|
-
|
238
|
-
.ui-helper-hidden-accessible {
|
239
|
-
position: absolute;
|
240
|
-
left: -5000%;
|
241
|
-
}
|
242
|
-
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* GOV.UK Logo Component
|
3
|
-
*
|
4
|
-
* Based on the existing GOV.UK logo from the header in GOV.UK Template.
|
5
|
-
*
|
6
|
-
* Notes:
|
7
|
-
*
|
8
|
-
* - The printable-crown element is an image that is included when the page is
|
9
|
-
* printed. It's hidden for the screen media type, where the background image
|
10
|
-
* is used instead.
|
11
|
-
*
|
12
|
-
* Example Usage:
|
13
|
-
*
|
14
|
-
* <span class="govuk-logo">
|
15
|
-
* <img class="govuk-logo__printable-crown" src="/images/gov.uk_logotype_crown_invert_trans.png" height="32" width="36">
|
16
|
-
* GOV.UK
|
17
|
-
* </span>
|
18
|
-
*/
|
19
|
-
|
20
|
-
.govuk-logo {
|
21
|
-
font-weight: bold;
|
22
|
-
display: inline-block;
|
23
|
-
|
24
|
-
@include screen {
|
25
|
-
background-image: file-url('/images/gov.uk_logotype_crown.png');
|
26
|
-
background-repeat: no-repeat;
|
27
|
-
|
28
|
-
@include device-pixel-ratio {
|
29
|
-
background-image: file-url('/images/gov.uk_logotype_crown-2x.png');
|
30
|
-
background-size: 36px 32px;
|
31
|
-
}
|
32
|
-
|
33
|
-
@include media(tablet) {
|
34
|
-
margin-right: 8px;
|
35
|
-
background-position: 0 1px;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.govuk-logo__printable-crown {
|
41
|
-
vertical-align: middle;
|
42
|
-
margin-right: 1px;
|
43
|
-
|
44
|
-
@include screen {
|
45
|
-
visibility: hidden;
|
46
|
-
}
|
47
|
-
}
|
@@ -1,289 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Header Component
|
3
|
-
*
|
4
|
-
* Based on the existing GOV.UK header in GOV.UK Template, with an 'inline'
|
5
|
-
* product name and hopefully improved mobile behaviour
|
6
|
-
*
|
7
|
-
* Notes:
|
8
|
-
*
|
9
|
-
* - Make sure you include header.js in your application. This will update
|
10
|
-
* the aria-expanded and aria-hidden attributes on the toggle and the nav
|
11
|
-
* respectively so that screen readers know what's happening.
|
12
|
-
* - Link the current page to the same place as your skip link (e.g. #main) –
|
13
|
-
* this means that it is included by screen readers but is referred to as a
|
14
|
-
* 'same page' link, and clicking it does not reload the page.
|
15
|
-
*
|
16
|
-
* Example Usage:
|
17
|
-
*
|
18
|
-
* <header class="header">
|
19
|
-
* <div class="header__container">
|
20
|
-
* <div class="header__brand">
|
21
|
-
* <a href="/">
|
22
|
-
* <span class="header__title">My Product Page</span>
|
23
|
-
* </a>
|
24
|
-
* </div>
|
25
|
-
*
|
26
|
-
* <div data-module="navigation">
|
27
|
-
* <button type="button" class="header__navigation-toggle js-nav-toggle" aria-controls="navigation" aria-label="Show or hide top level navigation">
|
28
|
-
* Menu
|
29
|
-
* </button>
|
30
|
-
*
|
31
|
-
* <nav id="navigation" class="header__navigation" aria-label="Top Level Navigation" aria-hidden="true">
|
32
|
-
* <ul>
|
33
|
-
* <li class="active"><a href="#main">Active Page</a></li>
|
34
|
-
* <li><a href="/other.html">Other Page</a></li>
|
35
|
-
* </ul>
|
36
|
-
* </nav>
|
37
|
-
* </div>
|
38
|
-
* </div>
|
39
|
-
* </header>
|
40
|
-
*/
|
41
|
-
|
42
|
-
$active-nav-color: #1d8feb;
|
43
|
-
|
44
|
-
.header {
|
45
|
-
@extend %contain-floats;
|
46
|
-
|
47
|
-
@include screen {
|
48
|
-
background: $black;
|
49
|
-
color: $white;
|
50
|
-
border-bottom: 10px solid $white;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
.header__container {
|
55
|
-
@extend %site-width-container;
|
56
|
-
@extend %contain-floats;
|
57
|
-
zoom: 1;
|
58
|
-
|
59
|
-
padding: 9px 0 6px;
|
60
|
-
|
61
|
-
@include screen {
|
62
|
-
border-bottom: 10px solid $mainstream-brand;
|
63
|
-
margin-bottom: -10px;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
.header.header--full-width {
|
68
|
-
margin-bottom: 0;
|
69
|
-
|
70
|
-
@include screen {
|
71
|
-
border-bottom: 10px solid $mainstream-brand;
|
72
|
-
}
|
73
|
-
|
74
|
-
.header__container {
|
75
|
-
border-bottom: none;
|
76
|
-
width: auto;
|
77
|
-
max-width: none;
|
78
|
-
margin: 0 $gutter-half;
|
79
|
-
|
80
|
-
@include media(tablet) {
|
81
|
-
margin: 0 $gutter;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
.header--without-border {
|
87
|
-
border-bottom: none;
|
88
|
-
margin-bottom: 0;
|
89
|
-
|
90
|
-
.header__container {
|
91
|
-
border-bottom: none;
|
92
|
-
margin-bottom: 0;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
.header__brand {
|
97
|
-
font-size: 30px;
|
98
|
-
|
99
|
-
// Give brand focus outline on mobile
|
100
|
-
&:after {
|
101
|
-
content: ".";
|
102
|
-
height: 0;
|
103
|
-
clear: both;
|
104
|
-
visibility: hidden;
|
105
|
-
}
|
106
|
-
|
107
|
-
a:link, a:visited {
|
108
|
-
text-decoration: none;
|
109
|
-
}
|
110
|
-
|
111
|
-
a:hover {
|
112
|
-
text-decoration: underline;
|
113
|
-
}
|
114
|
-
|
115
|
-
.govuk-logo {
|
116
|
-
float: left;
|
117
|
-
}
|
118
|
-
|
119
|
-
@include screen {
|
120
|
-
a:link, a:visited {
|
121
|
-
color: $white;
|
122
|
-
}
|
123
|
-
|
124
|
-
a:focus {
|
125
|
-
background-color: inherit;
|
126
|
-
}
|
127
|
-
|
128
|
-
@include media(tablet) {
|
129
|
-
float: left;
|
130
|
-
|
131
|
-
.govuk-logo {
|
132
|
-
float: none;
|
133
|
-
}
|
134
|
-
|
135
|
-
a:hover {
|
136
|
-
text-decoration: none;
|
137
|
-
border-bottom: 1px solid $white;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
}
|
141
|
-
|
142
|
-
@include print {
|
143
|
-
a:link, a:visited {
|
144
|
-
color: $black;
|
145
|
-
}
|
146
|
-
}
|
147
|
-
}
|
148
|
-
|
149
|
-
.header__title {
|
150
|
-
@include core-24;
|
151
|
-
display: block;
|
152
|
-
float: left;
|
153
|
-
clear: left;
|
154
|
-
|
155
|
-
@include media(tablet) {
|
156
|
-
display: inherit;
|
157
|
-
float: none;
|
158
|
-
clear: none;
|
159
|
-
}
|
160
|
-
|
161
|
-
.phase-banner {
|
162
|
-
margin-left: 5px;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
.header__navigation {
|
167
|
-
@include screen {
|
168
|
-
|
169
|
-
// We want the same font size on mobile as tablet, so we can't use bold-16.
|
170
|
-
@include _core-font-generator(
|
171
|
-
$font-size: 16px,
|
172
|
-
$font-size-640: 16px,
|
173
|
-
$font-size-print: 12pt,
|
174
|
-
$line-height: (20 / 16),
|
175
|
-
$line-height-640: (20 / 16),
|
176
|
-
$font-weight: 700
|
177
|
-
);
|
178
|
-
|
179
|
-
clear: both;
|
180
|
-
|
181
|
-
padding-top: 10px;
|
182
|
-
|
183
|
-
a:link, a:visited {
|
184
|
-
color: $white;
|
185
|
-
text-decoration: none;
|
186
|
-
padding: 8px 0;
|
187
|
-
display: inline-block;
|
188
|
-
}
|
189
|
-
|
190
|
-
.active a:link, .active a:visited {
|
191
|
-
color: $active-nav-color;
|
192
|
-
}
|
193
|
-
|
194
|
-
a:focus, .active a:focus {
|
195
|
-
color: $black;
|
196
|
-
}
|
197
|
-
|
198
|
-
a:hover, a:active {
|
199
|
-
text-decoration: underline;
|
200
|
-
}
|
201
|
-
|
202
|
-
ul {
|
203
|
-
border-top: 1px solid $grey-1;
|
204
|
-
margin: 0;
|
205
|
-
padding: 8px 0 0;
|
206
|
-
}
|
207
|
-
|
208
|
-
li {
|
209
|
-
list-style: none;
|
210
|
-
margin: 2px 0;
|
211
|
-
}
|
212
|
-
|
213
|
-
@include media(tablet) {
|
214
|
-
display: block;
|
215
|
-
clear: none;
|
216
|
-
padding-top: 2px;
|
217
|
-
border-top: none;
|
218
|
-
float: right;
|
219
|
-
|
220
|
-
a:link, a:visited {
|
221
|
-
padding: 0;
|
222
|
-
}
|
223
|
-
|
224
|
-
ul {
|
225
|
-
border-top: none;
|
226
|
-
padding: 0;
|
227
|
-
}
|
228
|
-
|
229
|
-
li {
|
230
|
-
float: left;
|
231
|
-
margin: 12px 0 0 $gutter-half;
|
232
|
-
}
|
233
|
-
}
|
234
|
-
}
|
235
|
-
|
236
|
-
@include print {
|
237
|
-
display: none;
|
238
|
-
}
|
239
|
-
}
|
240
|
-
|
241
|
-
.header__navigation-toggle {
|
242
|
-
display: none;
|
243
|
-
}
|
244
|
-
|
245
|
-
.js {
|
246
|
-
.header__navigation {
|
247
|
-
display: none;
|
248
|
-
|
249
|
-
@include media(tablet) {
|
250
|
-
display: block;
|
251
|
-
}
|
252
|
-
}
|
253
|
-
|
254
|
-
.header__navigation-toggle {
|
255
|
-
display: block;
|
256
|
-
float: right;
|
257
|
-
color: $white;
|
258
|
-
background: transparent;
|
259
|
-
border: 1px solid $grey-1;
|
260
|
-
border-radius: 3px;
|
261
|
-
padding: 2px 6px 1px;
|
262
|
-
font-size: 80%;
|
263
|
-
font-weight: bold;
|
264
|
-
|
265
|
-
input {
|
266
|
-
display: none;
|
267
|
-
}
|
268
|
-
|
269
|
-
@include media(tablet) {
|
270
|
-
display: none;
|
271
|
-
}
|
272
|
-
|
273
|
-
&:after {
|
274
|
-
display: inline-block;
|
275
|
-
font-size: 8px;
|
276
|
-
padding-left: 5px;
|
277
|
-
vertical-align: middle;
|
278
|
-
content: " \25BC";
|
279
|
-
}
|
280
|
-
}
|
281
|
-
|
282
|
-
&.nav-open .header__navigation-toggle:after {
|
283
|
-
content: "\25B2";
|
284
|
-
}
|
285
|
-
|
286
|
-
&.nav-open .header__navigation {
|
287
|
-
display: block;
|
288
|
-
}
|
289
|
-
}
|