Files
pedwfrontend/styles/sass/welshgov/_application_old.scss

1039 lines
19 KiB
SCSS

body {
margin: 0;
background-color: #ffffff;
}
.app-cookie-banner{
.consentBanner{
.govuk-button{
display: inline;
width:28%;
margin-right: 45px;
}
}
}
.skiplink {
position: absolute;
left: -9999em
}
.skiplink:focus,.skiplink:visited {
color: #0b0c0c
}
.skiplink:focus {
left: 0;
z-index: 1
}
#skiplink-container {
text-align: center;
background: #0b0c0c
}
#skiplink-container div {
text-align: left;
margin: 0 auto;
max-width: 1020px
}
#skiplink-container .skiplink {
display: -moz-inline-stack;
display: inline-block;
margin: 0.75em 0 0 30px
}
.at-content-block{
hr {
border-bottom: 4px solid #1d70b8;
margin-bottom: 20px;
margin-top: 60px;
}
}
@include govuk-media-query($until: desktop) {
a.govuk-button--secondary.govuk-\!-margin-left-2 {
margin-left: initial !important;
}
}
@media (min-width: 40.0625em){
.govuk-body-m, .govuk-body, p {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.31579;
}
}
.govuk-back-link[href] {
text-decoration: underline;
// When the back link is focused, hide the bottom link border as the
// focus styles has a bottom border.
&:focus {
text-decoration: none;
&:before {
border-color: $govuk-text-colour;
}
}
}
.govuk-button--start{
font-size: 1.1875em;
}
.at-dark-grey {
color: govuk-colour("dark-grey");
}
.at-colour-block {
color: #fff;
text-align: center;
background-color: govuk-colour("turquoise");
padding-top: govuk-spacing(9);
padding-bottom: govuk-spacing(9)
}
.at-summary-list__key {
font-weight: 400;
}
.at-side-menu {
li {
padding-bottom: govuk-spacing(2);
&.active {
font-weight: 700;
}
}
}
.at-notice {
border-width: 5px;
border-style: solid;
border-color: #000;
padding: govuk-spacing(3);
margin-bottom: govuk-spacing(6);
p {
width: fit-content;
font-weight: 700;
margin: 0;
}
&.at-notice-correct {
border-color: govuk-colour("green");
p {
color: govuk-colour("green");
}
}
&.at-notice-incorrect {
border-color: govuk-colour("red");
p {
color: govuk-colour("red");
}
}
&.at-notice-not-right {
border-color: govuk-colour("dark-grey");
p {
color: govuk-colour("dark-grey");
}
}
&.at-notice-missed {
border-color: govuk-colour("blue");
}
}
.at-summary-list {
.govuk-summary-list__key {
width: 90%;
}
}
/* Make text grey */
.gov-font-dark-grey {
color: govuk-colour("dark-grey");
}
/* Call out block */
.gov-callout-block {
margin: 2em 0;
background-color: #f3f2f1;
padding: 2em;
}
/* Back to top link */
.app-back-to-top {
margin-top: 20px;
margin-bottom: 30px;
}
.app-back-to-top__icon {
display: inline-block;
width: 0.8em;
height: 1em;
margin-top: -5px;
margin-right: 10px;
vertical-align: middle;
}
/* Ensuring the video player stays the right ratio on mobile */
.govuk-video-player {
width: 100%;
height: calc(
56vw - 30px - env(safe-area-inset-right) - env(safe-area-inset-left)
);
max-width: 560px;
max-height: 315px;
min-height: 170px;
display: block;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.govuk-video-player {
min-height: 296px;
}
}
.govuk-video-player-info {
max-width: 560px;
width: 100%;
margin: 0 0 2em 0;
background-color: #f3f2f1;
padding: 2em 2em 0.1em 2em;
box-sizing: border-box;
}
/* CSS for the downloadable PDF files*/
.gem-c-attachment {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 16px;
font-size: 1rem;
line-height: 1.25;
position: relative;
}
@media print {
.gem-c-attachment {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-attachment {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}
}
@media print {
.gem-c-attachment {
font-size: 14pt;
line-height: 1.15;
}
}
.gem-c-attachment:after {
content: "";
display: block;
clear: both;
}
.gem-c-attachment .govuk-details__summary {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 12px;
font-size: 0.75rem;
line-height: 1.25;
}
@media print {
.gem-c-attachment .govuk-details__summary {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-attachment .govuk-details__summary {
font-size: 14px;
font-size: 0.875rem;
line-height: 1.4285714286;
}
}
@media print {
.gem-c-attachment .govuk-details__summary {
font-size: 12pt;
line-height: 1.2;
}
}
.gem-c-attachment__thumbnail {
position: relative;
width: auto;
margin-right: 25px;
margin-bottom: 15px;
padding: 5px;
float: left;
}
.gem-c-attachment__thumbnail-image {
display: block;
width: auto;
max-width: 99px;
height: 140px;
border: rgba(11, 12, 12, 0.1);
outline: 5px solid rgba(11, 12, 12, 0.1);
background: #fff;
box-shadow: 0 2px 2px rgba(11, 12, 12, 0.4);
fill: #b1b4b6;
stroke: #b1b4b6;
}
.gem-c-attachment__details {
padding-left: 134px;
}
.gem-c-attachment__details .gem-c-details {
word-break: break-word;
word-wrap: break-word;
}
.gem-c-attachment__title {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 18px;
font-size: 1.125rem;
line-height: 1.1111111111;
margin: 0 0 15px;
}
@media print {
.gem-c-attachment__title {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-attachment__title {
font-size: 27px;
font-size: 1.6875rem;
line-height: 1.1111111111;
}
}
@media print {
.gem-c-attachment__title {
font-size: 18pt;
line-height: 1.15;
}
}
.gem-c-attachment__link {
line-height: 1.29;
}
.gem-c-attachment__metadata {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 12px;
font-size: 0.75rem;
line-height: 1.25;
margin: 0 0 15px;
}
@media print {
.gem-c-attachment__metadata {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-attachment__metadata {
font-size: 14px;
font-size: 0.875rem;
line-height: 1.4285714286;
}
}
@media print {
.gem-c-attachment__metadata {
font-size: 12pt;
line-height: 1.2;
}
}
.gem-c-attachment__metadata:last-of-type {
margin-bottom: 0;
}
.gem-c-attachment__metadata--compact {
margin-bottom: 0;
}
.gem-c-attachment__abbr {
text-decoration: none;
cursor: help;
}
.gem-c-attachment-link__abbr {
text-decoration: none;
cursor: help;
}
/* Related content section*/
.gem-c-related-navigation {
color: #0b0c0c;
border-top: 4px solid #1d70b8;
}
@media print {
.gem-c-related-navigation {
color: #000;
}
}
.gem-c-related-navigation__main-heading {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 700;
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.25;
margin-top: 15px;
margin-bottom: 10px;
}
@media print {
.gem-c-related-navigation__main-heading {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__main-heading {
font-size: 24px;
font-size: 1.5rem;
line-height: 1.3157894737;
}
}
@media print {
.gem-c-related-navigation__main-heading {
font-size: 14pt;
line-height: 1.15;
}
}
.gem-c-related-navigation__sub-heading {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 16px;
font-size: 1rem;
line-height: 1.1428571429;
margin: 0;
padding-top: 10px;
}
@media print {
.gem-c-related-navigation__sub-heading {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__sub-heading {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.25;
}
}
@media print {
.gem-c-related-navigation__sub-heading {
font-size: 14pt;
line-height: 1.2;
}
}
.gem-c-related-navigation__sub-heading--footer {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 700;
font-size: 16px;
font-size: 1rem;
line-height: 1.25;
border-top: 0;
padding-top: 0;
margin-top: 15px;
margin-bottom: 10px;
}
@media print {
.gem-c-related-navigation__sub-heading--footer {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__sub-heading--footer {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}
}
@media print {
.gem-c-related-navigation__sub-heading--footer {
font-size: 16pt;
line-height: 1.15;
}
}
.gem-c-related-navigation__main-heading
+ .gem-c-related-navigation__sub-heading {
border-top: 0;
padding-top: 0;
}
.gem-c-related-navigation__sub-heading--other {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 700;
font-size: 16px;
font-size: 1rem;
line-height: 1.25;
border-top: 0;
padding-top: 0;
}
@media print {
.gem-c-related-navigation__sub-heading--other {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__sub-heading--other {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}
}
@media print {
.gem-c-related-navigation__sub-heading--other {
font-size: 16pt;
line-height: 1.15;
}
}
.gem-c-related-navigation__nav-section {
margin-bottom: 30px;
}
.gem-c-related-navigation__link {
list-style-type: none;
margin-top: 20px;
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 16px;
font-size: 1rem;
line-height: 1.45;
}
@media print {
.gem-c-related-navigation__link {
font-family: sans-serif;
}
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__link {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.45;
}
}
@media print {
.gem-c-related-navigation__link {
font-size: 16pt;
line-height: 1.45;
}
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__link {
line-height: 1.28;
}
}
.gem-c-related-navigation__link:focus,
.gem-c-related-navigation__link:active:focus,
.gem-c-related-navigation__link:link:focus,
.gem-c-related-navigation__link:visited:focus {
outline: 3px solid transparent;
color: #0b0c0c;
background-color: #fd0;
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
text-decoration: none;
color: #0b0c0c !important;
}
.gem-c-related-navigation__link--truncated-links {
margin-top: 10px;
}
.gem-c-related-navigation__toggle {
font-family: "GDS Transport", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: none;
}
@media print {
.gem-c-related-navigation__toggle {
font-family: sans-serif;
}
}
.gem-c-related-navigation__toggle:focus {
outline: 3px solid transparent;
color: #0b0c0c;
background-color: #fd0;
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
text-decoration: none;
}
.gem-c-related-navigation__toggle:link {
color: #1d70b8;
}
.gem-c-related-navigation__toggle:visited {
color: #1d70b8;
}
.gem-c-related-navigation__toggle:hover {
color: #003078;
}
.gem-c-related-navigation__toggle:active {
color: #0b0c0c;
}
.gem-c-related-navigation__toggle:focus {
color: #0b0c0c;
}
.js-enabled .gem-c-related-navigation__toggle {
display: inline-block;
}
.gem-c-related-navigation__section-link {
font-weight: bold;
}
.gem-c-related-navigation__section-link:focus,
.gem-c-related-navigation__section-link:active:focus,
.gem-c-related-navigation__section-link:link:focus,
.gem-c-related-navigation__section-link:visited:focus {
outline: 3px solid transparent;
color: #0b0c0c;
background-color: #fd0;
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
text-decoration: none;
color: #0b0c0c !important;
}
.gem-c-related-navigation__section-link--other {
font-weight: normal;
}
.gem-c-related-navigation__section-link--other:focus,
.gem-c-related-navigation__section-link--other:active:focus,
.gem-c-related-navigation__section-link--other:link:focus,
.gem-c-related-navigation__section-link--other:visited:focus {
outline: 3px solid transparent;
color: #0b0c0c;
background-color: #fd0;
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
text-decoration: none;
color: #0b0c0c !important;
}
.gem-c-related-navigation__section-link--footer:focus,
.gem-c-related-navigation__section-link--footer:active:focus,
.gem-c-related-navigation__section-link--footer:link:focus,
.gem-c-related-navigation__section-link--footer:visited:focus {
outline: 3px solid transparent;
color: #0b0c0c;
background-color: #fd0;
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
text-decoration: none;
color: #0b0c0c !important;
}
.gem-c-related-navigation__section-link--inline {
line-height: 1.45;
}
.gem-c-related-navigation__link-list {
padding: 0;
margin: 0;
list-style: none;
margin-bottom: 1.25em;
}
.gem-c-related-navigation__link-list:last-child {
border-bottom: 1px solid #b1b4b6;
padding-bottom: 20px;
}
@media (min-width: 40.0625em) {
.gem-c-related-navigation__toggle-more
.gem-c-related-navigation__section-link {
line-height: 1.45;
}
}
.js-enabled .gem-c-related-navigation__toggle-more.js-hidden {
display: none;
}
.at-nav {
border-top: 5px solid #1d70b8;
padding-top: 25px;
}
.at-nav ul.govuk-list.js-hidden {
display: none;
}
.at-nav__section-title {
width: 84%;
}
.accordion__heading{
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
border-bottom: 1px solid #b1b4b6;
padding-bottom: 20px;
margin-bottom: 15px;
}
.at-nav h4,
.accordion__heading {
font-weight: 300;
font-size: 19px;
}
.at-nav h3 {
}
.at-nav__chapter {
}
.at-nav__section {
cursor: pointer;
}
.at-nav__controls {
position: relative;
text-align: right;
top: 20px;
}
.at-nav__page .govuk-list,
.accordion__panel .govuk-list {
margin-left: 20px;
}
.at-nav__page .govuk-list > li,
.accordion__panel .govuk-list > li{
font-size: 16px;
font-weight: 300;
font-stretch: normal;
font-style: normal;
line-height: 1.25;
letter-spacing: normal;
}
.at-nav__page .govuk-list > li b:before,
.accordion__panel .govuk-list > li b:before {
border-left: 4px solid #1d70b8;
position: relative;
right: 10px;
content: " ";
margin-left: -6px;
}
.at-nav h4 {
border-bottom: 1px solid #b1b4b6;
padding-bottom: 20px;
}
.at-nav .currentSection h2,
.accordion__heading.currentSection
{
border: none;
padding-bottom: 10px;
margin-bottom: 0px;
}
.app-task-list__task-name {
width: 75%;
}
.button-return,
.button-return:visited {
background-color: #005ea5;
}
.button-return:hover,
.button-return:focus {
background-color: #004f8c;
}
.at_inset-bg-color {
background-color: #f3f2f1;
}
.at_tasks .app-task-list__task-name {
margin-bottom: 5px;
}
.app-cookie-banner {
background-color: #f3f2f1;
.govuk-grid-column-one-half-from-desktop {
padding-left: 0;
}
.govuk-button {
width: 90%;
}
}
.at-list-item--dashed {
font-size: 16px;
line-height: 1.25;
li {
position: relative;
padding-left: 25px;
padding-right: 25px;
&:before {
content: "—";
position: absolute;
left: 0;
width: 20px;
overflow: hidden;
}
}
}
#backToTopID {
background-color: #f3f2f1;
bottom: -1px;
left: 0;
margin: 0;
padding: 0;
padding-left: 0;
position: fixed;
width: 100%;
z-index: 1;
}
.app-c-contents-list-with-body__link-container {
margin: 0 auto;
padding-top: 20px;
padding-bottom: 20px;
}
.govuk-sticky-element--hidden {
opacity: 0;
pointer-events: none;
}
.govuk-sticky-element--enabled {
-webkit-transition: opacity 0.3s ease 0s;
-moz-transition: opacity 0.3s ease 0s;
-o-transition: opacity 0.3s ease 0s;
transition: opacity 0.3s ease 0s;
opacity: 1;
}
.app-c-contents-list-with-body__link-wrapper.govuk-sticky-element--stuck-to-window
.app-c-back-to-top {
margin-bottom: 0;
padding: 15px;
width: 66.6666666667%;
}
@media (min-width: 40.0625em) {
.app-c-contents-list-with-body__link-container {
max-width: 1024px;
}
.app-c-contents-list-with-body__link-wrapper.govuk-sticky-element--stuck-to-window
.app-c-back-to-top {
padding: 20px;
}
.app-c-contents-list-with-body__link-container {
max-width: 1024px;
}
}
.at-header-certHeader {
padding-top: 30px;
padding-bottom: 30px;
}
.at-certificate-body {
text-align: center;
.at-certficate-para {
border-top: 2px solid black;
border-bottom: 2px solid black;
padding-top: 15px;
padding-bottom: 15px;
text-align: justify;
}
p.certLink {
margin-top: 50px;
margin-bottom: 150px;
}
.at-certificate-footer {
#certDateStamp {
float: left;
}
.at-certificate-ref {
float: right;
}
}
.at-certificate-footer-left {
position: relative;
min-height: 186px;
.certLink {
position: absolute;
bottom: 0px;
}
}
.at-certificate-footer-right {
position: relative;
min-height: 186px;
.at-ho-logo {
float: right;
}
}
}
//print version
@media print {
.certHeader {
}
.at-header-certHeader {
padding-top: 10px;
padding-bottom: 10px;
}
img {
width: 45% !important;
}
.at-certificate-body {
p {
font-size: 10px;
}
p.certLink {
margin-top: 50px;
margin-bottom: 50px;
}
.govuk-heading-xl {
font-size: 22px !important;
margin-bottom: 10px !important;
}
.govuk-heading-m {
font-size: 12px !important;
}
.govuk-heading-l {
font-size: 14px !important;
padding-top: 20px;
}
.at-certificate-footer-left {
position: relative;
min-height: 80px;
position: inherit;
width: 80px !important;
.certLink {
font-size: 8px !important;
}
}
.at-certificate-footer-right {
position: relative;
min-height: 80px;
position: inherit;
width: 80px !important;
.at-ho-logo {
position: absolute;
bottom: 0px;
right: 0px;
width: 80px !important;
}
}
}
}
.app-list--number-bold li {
font-weight: normal;
&::marker {
font-weight: bold;
}
}
.at-recap .govuk-body {
font-family: "GDS Transport", arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 16px;
font-size: 1rem;
line-height: 1.25;
display: block;
color: govuk-colour("dark-grey");
font-size: 1.1875rem;
line-height: 1.31579;
margin-bottom: 20px;
padding-top: 10px;
}
.at-recap .govuk-body strong{
color: #0b0c0c;
font-family: "GDS Transport", arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 700;
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.31579;
}