-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1222 from alphagov/update-taxonomy-sidebar-design
Update taxonomy sidebar design
- Loading branch information
Showing
5 changed files
with
113 additions
and
41 deletions.
There are no files selected for viewing
71 changes: 46 additions & 25 deletions
71
app/assets/stylesheets/govuk-component/_taxonomy-sidebar.scss
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,29 +1,50 @@ | ||
.govuk-taxonomy-sidebar { | ||
border-top: 10px solid $mainstream-brand; | ||
padding-top: 5px; | ||
@include core-16; | ||
border-top: 2px solid $govuk-blue; | ||
padding-top: $gutter-half; | ||
} | ||
|
||
.govuk-taxonomy-sidebar__heading { | ||
@include bold-19; | ||
margin-bottom: $gutter-one-third; | ||
margin-top: 0; | ||
} | ||
|
||
.govuk-taxonomy-sidebar__taxon-description { | ||
margin-bottom: $gutter-one-third; | ||
margin-top: 0; | ||
} | ||
|
||
.govuk-taxonomy-sidebar__navigation { | ||
margin-bottom: $gutter; | ||
} | ||
|
||
.govuk-taxonomy-sidebar__list { | ||
list-style: none; | ||
margin: 0; | ||
margin-bottom: 1.25em; | ||
padding: 0; | ||
} | ||
|
||
.govuk-taxonomy-sidebar__item { | ||
list-style-type: none; | ||
margin-bottom: $gutter-one-third; | ||
padding: 0; | ||
} | ||
|
||
.govuk-taxonomy-sidebar__link { | ||
text-decoration: none; | ||
} | ||
|
||
|
||
.govuk-taxonomy-sidebar__collections-heading { | ||
border-top: 1px solid $border-colour; | ||
margin-bottom: $gutter-half; | ||
margin-top: $gutter; | ||
padding-top: $gutter-half; | ||
} | ||
|
||
h2 { | ||
@include bold-24; | ||
margin-top: 0.3em; | ||
margin-bottom: 0.5em; | ||
} | ||
|
||
.taxon-description { | ||
margin-bottom: 0.75em; | ||
} | ||
|
||
ul { | ||
// reset the default browser styles | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
margin-bottom: 1.25em; | ||
|
||
li { | ||
// reset the default browser styles | ||
padding: 0; | ||
margin-bottom: 0.75em; | ||
} | ||
} | ||
.govuk-taxonomy-sidebar__collections-link { | ||
@include bold-19; | ||
text-decoration: none; | ||
} |
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 |
---|---|---|
|
@@ -34,3 +34,5 @@ en: | |
in: "in" | ||
task_list_related: | ||
part_of: "Part of" | ||
taxonomy_sidebar: | ||
related_content: "Related content" |
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