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,31 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Skip Link Component
|
3
|
-
*
|
4
|
-
* Notes:
|
5
|
-
*
|
6
|
-
* - Should be the first element in your <body>
|
7
|
-
* - Ensure the target (e.g. #main) exists within your pages.
|
8
|
-
*
|
9
|
-
* Example Usage:
|
10
|
-
*
|
11
|
-
* <a href="#main" class="skip-link">Skip to main content</a>
|
12
|
-
*/
|
13
|
-
|
14
|
-
.skip-link {
|
15
|
-
display: block;
|
16
|
-
position: absolute;
|
17
|
-
left: -9999em;
|
18
|
-
|
19
|
-
&:focus {
|
20
|
-
position: relative;
|
21
|
-
left: inherit;
|
22
|
-
background: $yellow;
|
23
|
-
color: $black;
|
24
|
-
text-decoration: none;
|
25
|
-
padding: 5px $gutter-half;
|
26
|
-
|
27
|
-
@include media(tablet) {
|
28
|
-
padding: 5px $gutter;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|