diff --git a/biosafety.libraries.yml b/biosafety.libraries.yml index c4f841d..876f035 100644 --- a/biosafety.libraries.yml +++ b/biosafety.libraries.yml @@ -5,7 +5,7 @@ global-styling: js/barrio.js: {} js/custom.js: {} css: - boostrap.css: {} + #boostrap.css: {} component: css/style.css: {} hacks.css: {} diff --git a/css/style.css b/css/style.css index 9e3a0c1..0e81c24 100644 --- a/css/style.css +++ b/css/style.css @@ -15125,7 +15125,7 @@ a { } .site-footer { - background: #0079C0 !important; + background: #0079C0 ; } .menu--main li a { diff --git a/hacks.css b/hacks.css index a771680..21c0d25 100644 --- a/hacks.css +++ b/hacks.css @@ -1,9 +1,6 @@ /*a {*/ - /*color: #8b1f03 !important;*/ +/*color: #8b1f03 !important;*/ /*}*/ -nav.tabs ul .nav-item.active a { - background: #8b1f03 !important; -} .menu--main li a { color: #fff; font-family: 'Roboto Condensed', sans-serif; @@ -32,3 +29,87 @@ nav.tabs ul .nav-item.active a { } #navbar-top.navbar-dark .nav-link { color: #fff;} +.node--type-biosafety-input-form .node__content .field { + display: flex; + margin-bottom: 5px; + padding-bottom: 5px; + border-bottom: 1px solid #ccc; +} +.node--type-biosafety-input-form .node__content .field__label { + font-weight: bold; + margin-right: 1em; + color: black; + text-transform: uppercase; + width: 300px; +} + +#links-section { + display: flex; + justify-content: space-between; + margin-top: 1em; +} +.site-footer a { + --bs-link-color: #fff; + --bs-link-hover-color: #fff; + text-decoration: none; +} +.site-footer h2 { + color: #fff; +} +.upei-footer ul { + list-style: none; + margin-top: 1em; +} +.upei-footer li { + list-style: none; + margin: 0; +} +a { + --bs-link-color: #8c2004; + --bs-link-hover-color: #8c2004; + +} +.region-footer-first { + + border-bottom: 4px solid #8c2004; + margin-bottom: 1em; + padding-bottom: 1em; + +} +nav.tabs ul .nav-item.active a { + background: #8c2004; +} +header .navbar.bg-primary { + /*background-image: none;*/ + /*filter: none;*/ + /*border: 1px solid #36587c;*/ +} +.site-footer { + background: var(--bs-gray-800); + +} +.footerlogo { + float: right; +} +.addressleft { + float: left; +} +.view nav { + display: flex; + justify-content: space-around; +} +.pagination { + + --bs-link-color: #8c2004; + --bs-pagination-active-bg: #8b1f03; +} +.active>.page-link, .page-link.active { + --bs-pagination-active-color: #fff; + --bs-pagination-active-bg: #8b1f03; + /*border-color: var(--bs-pagination-active-border-color);*/ + } +.accordion-button:not(.collapsed) { + --bs-accordion-active-color: #8b1f03; + background-color: var(--bs-accordion-active-bg); + box-shadow: inset 0 calc(var(--bs-accordion-border-width) * -1) 0 var(--bs-accordion-border-color); + } diff --git a/scss/style.scss b/scss/style.scss index 6077d2b..3b803ba 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -26,7 +26,7 @@ a { } .site-footer { - background: $accent-shade !important; + background: $accent-shade ; } .menu--main li a { @@ -57,4 +57,4 @@ a { .slick>div { margin: 0 15px; -} \ No newline at end of file +} diff --git a/templates/block--system-branding-block.html.twig b/templates/block--system-branding-block.html.twig index 2d8c4f6..6ab49a6 100644 --- a/templates/block--system-branding-block.html.twig +++ b/templates/block--system-branding-block.html.twig @@ -14,7 +14,7 @@ #} {% set attributes = attributes.addClass('site-branding') %} {% if site_logo or site_name %} - + {% if site_logo %} {{ 'Home'|t }} {% endif %} diff --git a/templates/views-exposed-form--clone_of_hazards.html.twig b/templates/views-exposed-form--clone_of_hazards.html.twig new file mode 100644 index 0000000..90c9c85 --- /dev/null +++ b/templates/views-exposed-form--clone_of_hazards.html.twig @@ -0,0 +1,36 @@ +{# +/** + * @file + * Theme override for a views exposed form. + * + * Available variables: + * - form: A render element representing the form. + * + * @see template_preprocess_views_exposed_form() + */ +#} + + +
+
+

+ +

+
+
+{% if q is not empty %} + {# + This ensures that, if clean URLs are off, the 'q' is added first, + as a hidden form element, so that it shows up first in the POST URL. + #} +{{ q }} +{% endif %} +
+ {{ form }} +
+
+
+
+
diff --git a/templates/views-exposed-form.html.twig b/templates/views-exposed-form.html.twig new file mode 100644 index 0000000..90c9c85 --- /dev/null +++ b/templates/views-exposed-form.html.twig @@ -0,0 +1,36 @@ +{# +/** + * @file + * Theme override for a views exposed form. + * + * Available variables: + * - form: A render element representing the form. + * + * @see template_preprocess_views_exposed_form() + */ +#} + + +
+
+

+ +

+
+
+{% if q is not empty %} + {# + This ensures that, if clean URLs are off, the 'q' is added first, + as a hidden form element, so that it shows up first in the POST URL. + #} +{{ q }} +{% endif %} +
+ {{ form }} +
+
+
+
+