-
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 #928 from alphagov/mb-sidebar-design-update
Design updates to taxonomy sidebar component
- Loading branch information
Showing
3 changed files
with
88 additions
and
90 deletions.
There are no files selected for viewing
59 changes: 27 additions & 32 deletions
59
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,46 +1,41 @@ | ||
.govuk-taxonomy-sidebar { | ||
border-top: 10px solid $mainstream-brand; | ||
padding-top: 5px; | ||
|
||
h2 { | ||
@include bold-24; | ||
margin: 0; | ||
} | ||
|
||
p { | ||
@include core-19; | ||
margin-top: $gutter-one-third / 2; | ||
margin-bottom: $gutter-two-thirds; | ||
} | ||
|
||
ul { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
@include core-16; | ||
|
||
.sidebar-taxon { | ||
@include core-16; | ||
padding-bottom: 1.25em; | ||
padding-top: 1.25em; | ||
|
||
.taxon-link { | ||
font-size: 19px; | ||
} | ||
} | ||
h2 { | ||
@include bold-24; | ||
margin: 0 0 5px; | ||
|
||
.related-content { | ||
line-height: 1.5; | ||
a { | ||
text-decoration: none; | ||
|
||
.related-content-item { | ||
margin-bottom: 0; | ||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
|
||
.related-link { | ||
text-decoration: none; | ||
.taxon-description { | ||
font-size: 16px; | ||
margin: 0; | ||
} | ||
|
||
&:hover, | ||
&:focus { | ||
text-decoration: underline; | ||
.related-content { | ||
margin: 0 0 0 15px; | ||
padding: 0; | ||
list-style-type: none; | ||
line-height: 1.5; | ||
|
||
a:before { | ||
content: "•"; | ||
display: inline-block; | ||
width: 15px; | ||
margin-left: -15px; | ||
} | ||
} | ||
} | ||
|
||
} |
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