diff --git a/config/install/block.block.illinois_framework_theme_main_menu.yml b/config/install/block.block.illinois_framework_theme_main_menu.yml index d936741..1a741ce 100644 --- a/config/install/block.block.illinois_framework_theme_main_menu.yml +++ b/config/install/block.block.illinois_framework_theme_main_menu.yml @@ -16,9 +16,9 @@ plugin: 'system_menu_block:main' settings: id: 'system_menu_block:main' label: 'Main navigation' - provider: system label_display: '0' + provider: system level: 1 - depth: 0 + depth: 2 expand_all_items: true visibility: { } diff --git a/illinois_framework_theme.info.yml b/illinois_framework_theme.info.yml index 2261f67..171614d 100644 --- a/illinois_framework_theme.info.yml +++ b/illinois_framework_theme.info.yml @@ -19,6 +19,9 @@ libraries-override: libraries: - illinois_framework_theme/global-styling - illinois_framework_theme/web-components + - illinois_framework_theme/brand-styles + - illinois_framework_theme/il-header + - illinois_framework_theme/il-footer # Regions regions: diff --git a/illinois_framework_theme.libraries.yml b/illinois_framework_theme.libraries.yml index 541d50b..c18f6ff 100644 --- a/illinois_framework_theme.libraries.yml +++ b/illinois_framework_theme.libraries.yml @@ -22,13 +22,20 @@ web-components: header: true css: theme: - https://cdn.toolkit.illinois.edu/2.16/toolkit.css: + https://contrib.webtheme.illinois.edu/toolkit-lite-v2/toolkit.css: type: external minified: true js: - https://cdn.toolkit.illinois.edu/2.16/toolkit.js: + https://contrib.webtheme.illinois.edu/toolkit-lite-v2/toolkit.js: type: external minified: true +brand-styles: + header: true + css: + theme: + https://cdn.brand.illinois.edu/illinois.css: + type: external + minified: true ils-contentslider: header: true css: @@ -40,6 +47,34 @@ ils-contentslider: https://contrib.webtheme.illinois.edu/ils-contentslider/contentslider.min.js: type: external minified: true +il-header: + header: true + css: + theme: + https://cdn.brand.illinois.edu/components/il-header.css: + type: external + minified: true + js: + https://cdn.brand.illinois.edu/components/il-header.mjs: + type: external + minified: true + attributes: + type: module + blocking: render +il-footer: + header: true + css: + theme: + https://cdn.brand.illinois.edu/components/il-footer.css: + type: external + minified: true + js: + https://cdn.brand.illinois.edu/components/il-footer.mjs: + type: external + minified: true + attributes: + type: module + blocking: render content-adjust: js: js/content.js: {} diff --git a/scss/illinois-framework/_region.footer.scss b/scss/illinois-framework/_region.footer.scss index 262d56a..495cb23 100644 --- a/scss/illinois-framework/_region.footer.scss +++ b/scss/illinois-framework/_region.footer.scss @@ -1,10 +1,43 @@ il-footer { - &[slot="parent"] { + .footer-menus { + display: grid; + grid-template-columns: 1fr; + grid-gap: 0; + @include media-breakpoint-up(lg) { + grid-template-columns: repeat(2,1fr); + grid-gap: 60px; + } + nav { + @include media-breakpoint-up(lg) { + margin-bottom: 1rem; + } + } - p { - font-size: initial; - line-height: initial; + h2 { + font: 600 1.25rem/1.5 var(--il-font-sans); + margin-bottom: .75rem; + font-weight: 700; + border-bottom: 1px solid var(--il-blue); + padding-bottom: .75rem; + } + .col-md { + @include media-breakpoint-up(lg) { + padding-left: 0; + } } + .navbar-nav { + .nav-item { + .nav-link { + font: 400 18px/30px var(--il-font-sans);; + padding: .2rem 0; + } + } + } + } +} +il-footer *[slot=actions] a { + @include media-breakpoint-down(lg) { + margin: 0 .5rem .5rem 0 !important; } } diff --git a/scss/illinois-framework/_region.header.scss b/scss/illinois-framework/_region.header.scss index e643dbe..c3bde2a 100644 --- a/scss/illinois-framework/_region.header.scss +++ b/scss/illinois-framework/_region.header.scss @@ -1,4 +1,16 @@ -.region-header { +il-header { position: relative; - z-index: 101; + z-index: 101 !important; +} +il-header a[slot="site-name"], il-header a[slot="primary-unit"] { + text-decoration: none; + color: var(--il-blue); + &:hover, + &:focus { + text-decoration: underline; + color: var(--il-altgeld); + } +} +il-header-nav-section-with-link > a[slot="link"] { + white-space: wrap !important; } diff --git a/scss/web-components/_web-components.footer.scss b/scss/web-components/_web-components.footer.scss index c5c4f62..948b0ec 100644 --- a/scss/web-components/_web-components.footer.scss +++ b/scss/web-components/_web-components.footer.scss @@ -4,8 +4,16 @@ } } .il-footer-navigation { + padding-top: 0 !important; h2, h3, h4 { - color: white; + color: var(--il-blue); + border-bottom: none !important; + } + a { + color: var(--il-blue); + &:visited { + color: var(--il-blue); + } } } .il-footer-contact { @@ -13,3 +21,6 @@ color: white; } } +.site.section { + gap: 0 !important; +} diff --git a/templates/layout/page--404.html.twig b/templates/layout/page--404.html.twig index 9ea4e44..23e1852 100644 --- a/templates/layout/page--404.html.twig +++ b/templates/layout/page--404.html.twig @@ -45,7 +45,9 @@ */ #}