From 82c75ef55a1d40b933e6c50063e4fa484b886dc6 Mon Sep 17 00:00:00 2001 From: Matt Barton Date: Wed, 16 Oct 2024 10:54:22 +0100 Subject: [PATCH] update after merge of next --- .../wwwroot/css/application.css | 194 ++++++++++++++++-- 1 file changed, 176 insertions(+), 18 deletions(-) diff --git a/Childrens-Social-Care-CPD/wwwroot/css/application.css b/Childrens-Social-Care-CPD/wwwroot/css/application.css index 1c087443..d5f93f94 100644 --- a/Childrens-Social-Care-CPD/wwwroot/css/application.css +++ b/Childrens-Social-Care-CPD/wwwroot/css/application.css @@ -10721,6 +10721,182 @@ CONTENT TITLE BANNER line-height: 1.15; } } +.govuk-breadcrumbs { + font-family: "GDS Transport", arial, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + font-weight: 400; + font-size: 0.875rem; + line-height: 1.1428571429; + color: #0b0c0c; + margin-top: 15px; + margin-bottom: 10px; +} + +@media print { + .govuk-breadcrumbs { + font-family: sans-serif; + } +} +@media (min-width: 40.0625em) { + .govuk-breadcrumbs { + font-size: 1rem; + line-height: 1.25; + } +} +@media print { + .govuk-breadcrumbs { + font-size: 14pt; + line-height: 1.2; + } +} +@media print { + .govuk-breadcrumbs { + color: #000000; + } +} +.govuk-breadcrumbs__list { + margin: 0; + padding: 0; + list-style-type: none; +} + +.govuk-breadcrumbs__list::after { + content: ""; + display: block; + clear: both; +} + +.govuk-breadcrumbs__list-item { + display: inline-block; + position: relative; + margin-bottom: 5px; + margin-left: 0.625em; + padding-left: 0.9784375em; + float: left; +} + +.govuk-breadcrumbs__list-item::before { + content: ""; + display: block; + position: absolute; + top: 0; + bottom: 0; + left: -0.206875em; + width: 0.4375em; + height: 0.4375em; + margin: auto 0; + transform: rotate(45deg); + border: solid; + border-width: 1px 1px 0 0; + border-color: #505a5f; +} + +@supports (border-width: max(0px)) { + .govuk-breadcrumbs__list-item::before { + border-width: max(1px, 0.0625em) max(1px, 0.0625em) 0 0; + font-size: max(16px, 1em); + } +} +.govuk-breadcrumbs__list-item:first-child { + margin-left: 0; + padding-left: 0; +} + +.govuk-breadcrumbs__list-item:first-child::before { + content: none; + display: none; +} + +.govuk-breadcrumbs__link { + font-family: "GDS Transport", arial, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-decoration: underline; + text-decoration-thickness: max(1px, 0.0625rem); + text-underline-offset: 0.1578em; +} + +@media print { + .govuk-breadcrumbs__link { + font-family: sans-serif; + } +} +.govuk-breadcrumbs__link:hover { + text-decoration-thickness: max(3px, 0.1875rem, 0.12em); + -webkit-text-decoration-skip-ink: none; + text-decoration-skip-ink: none; + -webkit-text-decoration-skip: none; + text-decoration-skip: none; +} + +.govuk-breadcrumbs__link:focus { + outline: 3px solid transparent; + color: #0b0c0c; + background-color: #ffdd00; + box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c; + text-decoration: none; + -webkit-box-decoration-break: clone; + box-decoration-break: clone; +} + +.govuk-breadcrumbs__link:link, .govuk-breadcrumbs__link:visited { + color: #0b0c0c; +} + +@media print { + .govuk-breadcrumbs__link:link, .govuk-breadcrumbs__link:visited { + color: #000000; + } +} +.govuk-breadcrumbs__link:hover { + color: rgba(11, 12, 12, 0.99); +} + +.govuk-breadcrumbs__link:active, .govuk-breadcrumbs__link:focus { + color: #0b0c0c; +} + +@media print { + .govuk-breadcrumbs__link:active, .govuk-breadcrumbs__link:focus { + color: #000000; + } +} +@media (max-width: 40.0525em) { + .govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item { + display: none; + } + .govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item:first-child, .govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item:last-child { + display: inline-block; + } + .govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list-item::before { + top: 0.375em; + margin: 0; + } + .govuk-breadcrumbs--collapse-on-mobile .govuk-breadcrumbs__list { + display: flex; + } +} +.govuk-breadcrumbs--inverse { + color: #ffffff; +} + +.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:link, .govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:visited { + color: #ffffff; +} + +.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:hover, .govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:active { + color: rgba(255, 255, 255, 0.99); +} + +.govuk-breadcrumbs--inverse .govuk-breadcrumbs__link:focus { + color: #0b0c0c; +} + +.govuk-breadcrumbs--inverse .govuk-breadcrumbs__list-item::before { + border-color: currentcolor; +} + /* This component is currently not part of the dfe-frontend-alpha npm package. @@ -11292,24 +11468,6 @@ CONTENT TITLE BANNER top: -35px; } -.breadcrumb { - padding: 0 0.5rem; -} - -.breadcrumb ul { - display: flex; - flex-wrap: wrap; - list-style: none; - margin: 0; - padding: 0; -} - -.breadcrumb li:not(:last-child)::after { - display: inline-block; - margin: 0 0.25rem; - content: ">"; -} - /*! * Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)