added dns record view with tabs

This commit is contained in:
2021-08-10 17:17:39 +01:00
parent 259d1e0d88
commit b96aa3acbe
23 changed files with 1497 additions and 115 deletions
+1 -1
View File
@@ -3,7 +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_old";
// @import "welshgov/application_old";
// global styles for <a> and <p> tags
$govuk-global-styles: true;
+296 -1
View File
@@ -4,6 +4,7 @@ html {
*,
.govuk-body,
.govuk-body-xs,
.govuk-body-s,
.govuk-body-m,
.govuk-footer,
@@ -21,6 +22,7 @@ html {
.govuk-input,
.govuk-panel,
.govuk-panel__title,
.govuk-warning-text__text,
h1,
h2,
h3,
@@ -29,6 +31,68 @@ h5,
a {
font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
.govuk-label-s {
font-size: 1rem;
}
.govuk-label-xs {
font-size: 0.875rem;
}
.govuk-select-s {
font-size: 1rem;
padding: 2px;
height: 1.8rem;
}
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;
}
a.longLinkBreak {
word-wrap: break-word;
}
.govuk-header {
background-color: #323232;
}
@@ -146,7 +210,7 @@ a {
display: block;
position: relative;
clear: both;
margin-top: 40px;
margin-top: -10px;
margin-right: -10px;
.mobileMenu {
@@ -320,6 +384,73 @@ a {
word-wrap: normal;
}
.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%;
}
.at-nav h4 {
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 {
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 {
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 {
border: none;
padding-bottom: 10px;
margin-bottom: 0px;
}
.form-inline-label {
.inlineFieldset {
display: flex;
@@ -347,6 +478,12 @@ a {
background: #f3f2f1;
}
.results .govuk-summary-list__row {
@media screen and (max-width: 900px) {
padding: 20px 10px;
}
}
.results_wider {
width: 170px;
}
@@ -744,3 +881,161 @@ ul#sharePageLinks.active {
color: #fff;
}
}
.map-responsive {
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
height: 0;
&.halfWidth {
padding-bottom: 100%;
}
}
.map-responsive iframe {
left: 0;
top: 0;
height: 100%;
width: 100%;
position: absolute;
}
//dns application view
.govuk-warning-text__icon {
margin-top: 5px;
}
.govuk-timeline-list__row {
position: relative;
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 10px;
border: 1px solid #b1b4b6;
border-top: none;
&:first-of-type {
border-top: 1px solid #b1b4b6;
}
&:nth-child(odd) {
background: #f3f2f1;
}
.govuk-timeline-text__text {
position: relative;
font-weight: normal;
padding-left: 45px;
}
.govuk-warning-text__icon {
margin-left: 10px;
border-color: grey;
background-color: white;
color: grey;
font-weight: bold;
font-size: 16px;
min-height: 25px;
min-width: 25px;
line-height: 21px;
}
.dateRight {
text-align: right;
}
}
// dns docs filter accordion
.accordion {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px;
font-size: 16px;
}
.accordion__item + .accordion__item {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.accordion__button {
background-color: #f4f4f4;
color: #444;
cursor: pointer;
padding: 18px;
// width: 100%;
text-align: left;
border: none;
}
.accordion__button:hover {
background-color: #ddd;
}
.accordion__button:before {
display: inline-block;
content: "";
height: 10px;
width: 10px;
margin-right: 12px;
border-bottom: 2px solid currentColor;
border-right: 2px solid currentColor;
transform: rotate(-45deg);
}
.accordion__button[aria-expanded="true"]::before,
.accordion__button[aria-selected="true"]::before {
transform: rotate(45deg);
}
[hidden] {
display: none;
}
.accordion__panel {
padding: 20px 10px;
animation: fadein 0.35s ease-in;
.accordion__button {
background-color: #f4f4f43d;
}
}
/* -------------------------------------------------- */
/* ---------------- Animation part ------------------ */
/* -------------------------------------------------- */
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
//dns document list
.documents__list {
.documents__list__item {
border-bottom: 1px solid #b1b4b6;
padding: 20px 10px;
&:hover {
background-color: #e3e3e3;
}
}
.document__list__item__link {
font-weight: bold;
margin-right: 10px;
padding-bottom: 20px;
display: inline-block;
}
.document__list__meta {
display: flex;
justify-content: space-between;
font-size: 0.875rem;
color: #333;
}
}