Removed proxy and added api calls, has gov gateway auth

This commit is contained in:
2022-01-20 10:56:26 +00:00
parent 6f37064eba
commit 5a536e158c
127 changed files with 5829 additions and 3097 deletions
+178
View File
@@ -11,10 +11,12 @@ html {
.govuk-heading-xl,
.govuk-heading-l,
.govuk-heading-m,
.govuk-heading-s,
.govuk-header-l,
.govuk-header-m,
.govuk-header__link,
.govuk-footer__link,
.govuk-link,
.govuk-button,
.govuk-label,
.govuk-select,
@@ -213,11 +215,65 @@ a.longLinkBreak {
@media screen and (max-width: 360px) {
flex-direction: column-reverse;
align-items: flex-start;
.pedw_logo {
margin-bottom: 20px;
}
}
}
&.myportal {
display: flex;
justify-content: space-between;
@media screen and (max-width: 414px) {
flex-direction: column;
}
h1 {
img {
@media screen and (max-width: 414px) {
padding-bottom: 20px;
}
}
}
.serviceBanner_userDetails {
display: flex;
justify-content: space-between;
width: auto;
align-items: center;
.serviceBanner_userDetails_name {
padding-left: 8px;
padding-right: 20px;
color: $blue;
font-size: 16px;
font-weight: bold;
@media screen and (max-width: 414px) {
max-width: 41%;
}
}
.govuk-header__link {
color: $blue;
font-weight: bold;
border: 1px solid $blue;
color: $blue;
font-size: 16px;
font-weight: bold;
padding: 10px 20px;
&:hover {
background: $blue;
border: 1px solid $blue;
color: $white;
font-size: 16px;
padding: 10px 20px;
text-decoration: none;
}
&:focus {
box-shadow: none;
}
}
}
}
}
.govuk-grid-row {
@@ -1436,6 +1492,11 @@ ul#sharePageLinks.active {
.paragraph--type--call-out-message {
border-left-color: $blue;
background-color: $lightgrey_light;
&.call-out-type-positive-alert-message {
background: #cdf7d4;
border-left: 10px solid #019e1e;
}
}
#cookies-js form {
@@ -1646,3 +1707,120 @@ ul#sharePageLinks.active {
background-color: $white;
}
}
// modal timeout
.modal {
position: fixed;
top: 0;
left: 0;
z-index: 1060;
display: none;
width: 100%;
height: 100%;
overflow: hidden;
outline: 0;
top: 30%;
@media screen and (min-width: 768px) {
top: 35%;
}
}
fade {
transition: opacity 0.15s linear;
}
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
.modal-backdrop {
position: fixed;
top: 0;
left: 0;
z-index: 1040;
width: 100vw;
height: 100vh;
background-color: #000;
}
.modal-backdrop.fade {
opacity: 0;
}
.modal-backdrop.show {
opacity: 0.5;
}
.modal-dialog {
position: relative;
width: 80%;
margin: auto 1rem;
pointer-events: none;
z-index: 1050;
@media screen and (min-width: 768px) {
width: auto;
}
}
@media (min-width: 576px) {
.modal-dialog {
max-width: 500px;
margin: 0 auto;
}
}
.modal.fade.show {
display: block;
}
.modal.show .modal-dialog {
transform: none;
}
.modal.fade .modal-dialog {
transition: transform 0.3s ease-out;
}
.modal-content {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 0.3rem;
outline: 0;
padding: 20px;
align-items: flex-end;
}
.modal-footer {
display: flex;
flex-wrap: wrap;
flex-shrink: 0;
align-items: center;
justify-content: flex-end;
padding: 0.75rem;
border-top: 1px solid #dee2e6;
border-bottom-right-radius: calc(0.3rem - 1px);
border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-body {
position: relative;
flex: 1 1 auto;
padding: 1rem;
}
.modal-header {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: space-between;
padding: 1rem 1rem;
border-bottom: 1px solid #dee2e6;
border-top-left-radius: calc(0.3rem - 1px);
border-top-right-radius: calc(0.3rem - 1px);
}