-
Notifications
You must be signed in to change notification settings - Fork 16
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 #442 from NHSLeadership/develop
Update master with current theme version from develop 2.3.2.2
- Loading branch information
Showing
69 changed files
with
9,025 additions
and
32,608 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,6 @@ nightingale.zip | |
|
||
# Docker stuff | ||
ssh-key | ||
/style.css.map | ||
/style-gutenburg.css.map | ||
/page-colours.css.map |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* Reusable mixin for a focus element outline */ | ||
@mixin a11y-focus__outline { | ||
border: nhsuk-spacing(1) solid $nhsuk-focus-color; | ||
box-shadow: inset 0 0 0 nhsuk-spacing(1) $color_nhsuk-black; | ||
} | ||
|
||
/* Add a focus indicator for keyboard nav on clickable cards */ | ||
.nhsuk-card--clickable | ||
{ | ||
&.focus-visible { | ||
@include a11y-focus__outline; | ||
} | ||
} | ||
|
||
/* add more obvious visual representation when dashboard elements are active on keyboard nav */ | ||
.nhsuk-dashboard .nhsuk-panel-group__item .nhsuk-promo__link-wrapper { | ||
&.focus-visible { | ||
.nhsuk-panel-with-label { | ||
@include a11y-focus__outline; | ||
h3.nhsuk-panel-with-label__label { | ||
background-color: $nhsuk-focus-color; | ||
color: $color_nhsuk-black; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#cookie-notice { | ||
position : fixed; | ||
min-width : 100%; | ||
height : auto; | ||
padding : nhsuk-spacing(3) 0; | ||
z-index : 100000; | ||
letter-spacing : 0; | ||
left : 0; | ||
text-align : center; | ||
border-top : nhsuk-spacing(1) solid $color_nhsuk-dark-blue; | ||
font-weight : normal; | ||
padding: 0; | ||
|
||
.cookie-notice-container { | ||
background-color : $color_nhsuk-white; | ||
padding: 0; | ||
|
||
.cn-text-container { | ||
@extend .nhsuk-width-container; | ||
@extend .nhsuk-heading-s; | ||
padding-top: nhsuk-spacing(3); | ||
color: $color_nhsuk-dark-blue; | ||
text-align: left; | ||
} | ||
|
||
|
||
#cn-notice-buttons { | ||
@extend .nhsuk-width-container; | ||
padding-bottom: nhsuk-spacing(3); | ||
display : block; | ||
text-align: right; | ||
|
||
.cn-button.bootstrap { | ||
@extend .nhsuk-button; | ||
background : $nhsuk-button-color; | ||
margin-bottom : 0; | ||
|
||
&.cn-more-info { | ||
@extend .nhsuk-button--secondary; | ||
} | ||
} | ||
} | ||
.cn-close-icon { | ||
opacity: 1; | ||
top: nhsuk-spacing(3); | ||
&:after, &:before { | ||
background-color: $color_nhsuk-black; | ||
height: nhsuk-spacing(6); | ||
} | ||
&.focus-visible { | ||
height: nhsuk-spacing(6); | ||
width: nhsuk-spacing(6); | ||
} | ||
} | ||
} | ||
|
||
} |
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,32 +1,7 @@ | ||
.download-button { | ||
@extend .nhsuk-button; | ||
background-image: none; | ||
text-shadow: none; | ||
&:hover { | ||
background-image: none; | ||
} | ||
.download-count { | ||
float: right; | ||
} | ||
.download-box { | ||
text-align: unset; | ||
@extend .nhsuk-panel; | ||
img { | ||
display: none !important; | ||
} | ||
.download-count { | ||
@extend .nhsuk-tag; | ||
position: absolute; | ||
right: 0; | ||
} | ||
|
||
&:after { | ||
clear: both; | ||
} | ||
} | ||
ul.download-versions { | ||
@extend .nhsuk-list; | ||
@extend .nhsuk-list--bullet; | ||
list-style-type: square; | ||
} | ||
.download-link { | ||
font-size: $nhsuk-base-font-size; | ||
} |
Oops, something went wrong.