-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add application component and view style sheets
- Loading branch information
1 parent
0e8b883
commit 96ba9e2
Showing
31 changed files
with
76 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,9 @@ | ||
$covid-grey: #272828; | ||
$covid-yellow: #fff500; | ||
$govuk-new-link-styles: true; | ||
|
||
// This flag stops the font from being included in this application's | ||
// stylesheet - the font is being served by Static across all of GOV.UK, so is | ||
// not needed here. | ||
$govuk-include-default-font-face: false; | ||
|
||
// gem components | ||
@import "govuk_publishing_components/govuk_frontend_support"; | ||
// @import "govuk_publishing_components/component_support"; | ||
// @import "govuk_publishing_components/components/accordion"; | ||
// @import "govuk_publishing_components/components/action-link"; | ||
// @import "govuk_publishing_components/components/big-number"; | ||
// @import "govuk_publishing_components/components/cards"; | ||
// @import "govuk_publishing_components/components/contents-list"; | ||
// @import "govuk_publishing_components/components/details"; | ||
// @import "govuk_publishing_components/components/document-list"; | ||
// @import "govuk_publishing_components/components/govspeak"; | ||
// @import "govuk_publishing_components/components/image-card"; | ||
// @import "govuk_publishing_components/components/inset-text"; | ||
// @import "govuk_publishing_components/components/intervention"; | ||
// @import "govuk_publishing_components/components/inverse-header"; | ||
// @import "govuk_publishing_components/components/lead-paragraph"; | ||
// @import "govuk_publishing_components/components/metadata"; | ||
// @import "govuk_publishing_components/components/notice"; | ||
// @import "govuk_publishing_components/components/organisation-logo"; | ||
// @import "govuk_publishing_components/components/phase-banner"; | ||
// @import "govuk_publishing_components/components/previous-and-next-navigation"; | ||
// @import "govuk_publishing_components/components/related-navigation"; | ||
// @import "govuk_publishing_components/components/share-links"; | ||
// @import "govuk_publishing_components/components/signup-link"; | ||
// @import "govuk_publishing_components/components/step-by-step-nav"; | ||
// @import "govuk_publishing_components/components/subscription-links"; | ||
// @import "govuk_publishing_components/components/translation-nav"; | ||
|
||
@import "helpers/margins"; | ||
@import "components/*"; | ||
|
||
@import "views/browse"; | ||
@import "views/history_people"; | ||
@import "views/topics"; | ||
@import "views/topical_events"; | ||
@import "views/taxons"; | ||
@import "views/organisations"; | ||
@import "views/organisation"; | ||
@import "views/covid"; | ||
@import "views/colhub"; | ||
@import "views/world_location_news"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@import "govuk_publishing_components/individual_component_support"; | ||
|
||
.topics-page { | ||
.page-header { | ||
h2 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<% add_view_stylesheet("browse") %> | ||
|
||
<% content_for :title, t("browse.title") %> | ||
|
||
<% content_for :meta_tags do %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<% add_app_component_stylesheet("taxon-list") %> | ||
|
||
<% | ||
if !local_assigns[:heading_level] | ||
heading_level = :h2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<% add_app_component_stylesheet("topic-list") %> | ||
|
||
<% | ||
items ||= [] | ||
see_more_link ||= false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<% add_view_stylesheet("taxons") %> | ||
|
||
<% content_for :page_class, "taxon-page taxon-page--grid" %> | ||
<%= | ||
render( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters