added in welsh translations and spot check 2

This commit is contained in:
2021-10-25 16:29:36 +01:00
parent 7d0ccf481d
commit 6a1ee7a5d3
41 changed files with 647 additions and 363 deletions
+4 -4
View File
@@ -82,7 +82,7 @@ html[data-useragent*="MSIE 10.0"] .flex-container {
.card-body {
//border-bottom: 1px solid $govuk-border-colour; //$panel-colour;
padding: 12px;
padding: 40px 20px;
*:last-child {
margin-bottom: 0;
@@ -231,9 +231,9 @@ html[data-useragent*="MSIE 10.0"] .flex-container {
}
}
.card-body {
width: 93%;
}
// .card-body {
// width: 93%;
// }
div.cardModuleItem:last-of-type {
margin-bottom: 20px !important;
+1
View File
@@ -3,6 +3,7 @@
// Add extra styles here, or re-organise the Sass files in whichever way makes most sense to you
@import "welshgov/_variables";
@import "welshgov/_application";
@import "welshgov/_application_errors";
// @import "welshgov/application_old";
// global styles for <a> and <p> tags
+56 -11
View File
@@ -26,6 +26,7 @@ html {
.govuk-panel__title,
.govuk-warning-text__text,
.app-cookie-banner,
.govuk-error-message.govuk-form-group--error,
h1,
h2,
h3,
@@ -144,6 +145,9 @@ a.longLinkBreak {
.govuk-header {
background-color: $charcoal;
@media screen and (max-width: 900px) {
border-bottom: none;
}
.govuk-header__container {
border-bottom: none;
margin-bottom: initial;
@@ -214,12 +218,30 @@ textarea,
background-color: $red;
color: $white;
font-size: 20px;
background-image: url(/assets/images/arrow-right--white.svg);
font-weight: bold;
background-repeat: no-repeat;
background-position: right center;
padding: 15px 45px 15px 20px !important;
transition: all 0.2s ease-in;
padding: 15px 20px 15px 20px !important;
box-shadow: none;
&.govuk-button-cta {
border-radius: 30px;
background-color: $blue;
&:hover {
background-color: $lightblue;
}
}
&.withChevron {
background-image: url(/assets/images/arrow-right--white.svg);
padding: 15px 45px 15px 20px !important;
&:focus {
color: $black;
background-image: url(https://gov.wales/themes/custom/govwales/storage/smartsurvey/arrow-right--black.svg);
}
}
&.govuk-button--secondary {
background-color: $white;
@@ -233,14 +255,36 @@ textarea,
color: $white;
}
}
&:hover {
background-color: $brightred;
}
&:active {
top: 0px;
}
&:focus {
color: $black;
background-image: url(https://gov.wales/themes/custom/govwales/storage/smartsurvey/arrow-right--black.svg);
background-color: #ffd530 !important;
border-color: transparent !important;
color: #1f1f1f !important;
outline: 2px solid #1f1f1f;
text-decoration: none !important;
-webkit-box-shadow: 0 0 0 2px #ffd530;
box-shadow: 0 0 0 2px #ffd530;
}
}
.govuk-button:hover {
background-color: $brightred;
.govuk-select {
appearance: none;
width: 100%;
margin-bottom: 20px;
background-image: url(/assets/images/select-down-arrow.svg);
background-size: 19px 12px;
background-repeat: no-repeat;
background-position: 98% 15px;
background-color: #fff;
padding: 10px 15px;
border: 1px solid #666666;
}
.sharebar {
@@ -305,7 +349,7 @@ textarea,
@media screen and (max-width: 900px) {
position: absolute;
top: 10px;
top: 20px;
right: -10px;
}
a.govuk-header__link {
@@ -424,9 +468,10 @@ textarea,
}
.fullNav {
display: block;
@media screen and (max-width: 900px) {
display: none;
}
//add back in when signout link is used
// @media screen and (max-width: 900px) {
// display: none;
// }
}
}
@@ -0,0 +1,28 @@
.govuk-error-message.govuk-form-group--error-summary {
background: $whitered;
border-left: 10px solid $red;
font-size: 18px;
color: $black;
font-weight: normal;
padding: 20px;
.govuk-error-exclamation {
background-image: url(/assets/images/exclamation.svg);
background-repeat: no-repeat;
padding-left: 46px;
display: block;
padding-top: 2px;
background-position: left center;
}
}
.govuk-error-message.govuk-form-group--error {
background: $whitered;
border-left: 3px solid $red;
font-size: 18px;
color: $black;
font-weight: normal;
padding: 20px;
margin-top: 20px;
max-width: 41ex;
}