From 7939306598399965ce3a07d2aa55b630aea35c05 Mon Sep 17 00:00:00 2001 From: Jen Breese Date: Fri, 1 Nov 2024 14:03:58 -0700 Subject: [PATCH] D8CORE-7558: added the global footer to minimal theme in dark with no logo (#820) --- tests/codeception/acceptance/SubThemeCest.php | 2 +- .../dist/css/minimally_branded_subtheme.css | 2 +- .../components/global-footer/_global-footer.scss | 15 +++++++++++++++ .../src/scss/components/global-footer/index.scss | 15 +++++++++++++++ .../src/scss/components/index.scss | 1 + .../global-footer/global-footer.html.twig | 1 + 6 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 themes/minimally_branded_subtheme/src/scss/components/global-footer/_global-footer.scss create mode 100644 themes/minimally_branded_subtheme/src/scss/components/global-footer/index.scss diff --git a/tests/codeception/acceptance/SubThemeCest.php b/tests/codeception/acceptance/SubThemeCest.php index 0068b90e9..4862d0b5d 100644 --- a/tests/codeception/acceptance/SubThemeCest.php +++ b/tests/codeception/acceptance/SubThemeCest.php @@ -154,7 +154,7 @@ public function testMinimalSubtheme(AcceptanceTester $I) { $I->canSeeResponseCodeIs(200); $I->seeInSource(''); $I->dontSeeElement('.su-brand-bar__logo'); - $I->dontSeeElement('.su-global-footer__container'); + $I->seeElement('.su-global-footer__container'); $I->dontSeeElement('.su-brand-bar--default'); } diff --git a/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css b/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css index 7adfc1015..e4adee471 100644 --- a/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css +++ b/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css @@ -1 +1 @@ -.su-button,.su-button--big,.su-button--big.su-link,.su-button.su-link,[type=button],[type=image],[type=reset],[type=submit],button{background-color:#2e2d29;font-weight:600}.su-button--big.su-link:focus,.su-button--big.su-link:hover,.su-button--big:focus,.su-button--big:hover,.su-button.su-link:focus,.su-button.su-link:hover,.su-button:focus,.su-button:hover,[type=button]:focus,[type=button]:hover,[type=image]:focus,[type=image]:hover,[type=reset]:focus,[type=reset]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{background-color:#ababa9;color:#2e2d29}.su-button--big.su-link:focus:after,.su-button--big.su-link:hover:after,.su-button--big:focus:after,.su-button--big:hover:after,.su-button.su-link:focus:after,.su-button.su-link:hover:after,.su-button:focus:after,.su-button:hover:after,[type=button]:focus:after,[type=button]:hover:after,[type=image]:focus:after,[type=image]:hover:after,[type=reset]:focus:after,[type=reset]:hover:after,[type=submit]:focus:after,[type=submit]:hover:after,button:focus:after,button:hover:after{background-color:#2e2d29}.su-button--secondary,.su-button--secondary.su-link{background-color:#fff;-webkit-box-shadow:inset 0 0 0 2px #2e2d29;box-shadow:inset 0 0 0 2px #2e2d29;color:#2e2d29;font-weight:600}.su-button--secondary.su-link:focus,.su-button--secondary.su-link:hover,.su-button--secondary:focus,.su-button--secondary:hover{background-color:#ababa9;color:#2e2d29}.su-button--secondary.su-link:focus:after,.su-button--secondary.su-link:hover:after,.su-button--secondary:focus:after,.su-button--secondary:hover:after{background-color:#2e2d29}a.su-link--external.su-button--big:after,a.su-link--external.su-button:after{background-color:#fff}a.su-link--external.su-button--secondary:active:after,a.su-link--external.su-button--secondary:after,a.su-link--external.su-button--secondary:focus:after,a.su-link--external.su-button--secondary:hover:after{background-color:#2e2d29}a.su-link--external.su-secondary-nav__link:after{background-color:#fff}a.su-link--external.su-secondary-nav__link:active:after,a.su-link--external.su-secondary-nav__link:focus:after,a.su-link--external.su-secondary-nav__link:hover:after{background-color:#2e2d29}a.mailto svg path{stroke:#fff}a.mailto svg:active,a.mailto svg:focus,a.mailto svg:hover{fill:#2e2d29}a.mailto svg:active path,a.mailto svg:focus path,a.mailto svg:hover path{stroke:#2e2d29}a.mailto.su-button svg,a.mailto.su-button--big svg{fill:#fff}a.mailto.su-button svg:active,a.mailto.su-button svg:focus,a.mailto.su-button svg:hover,a.mailto.su-button--big svg:active,a.mailto.su-button--big svg:focus,a.mailto.su-button--big svg:hover{fill:#2e2d29}a.mailto.su-button svg:active path,a.mailto.su-button svg:focus path,a.mailto.su-button svg:hover path,a.mailto.su-button--big svg:active path,a.mailto.su-button--big svg:focus path,a.mailto.su-button--big svg:hover path{stroke:#2e2d29}a.mailto.su-button svg path,a.mailto.su-button--big svg path{stroke:#fff}a.mailto.su-button--secondary svg,a.mailto.su-button--secondary svg:active,a.mailto.su-button--secondary svg:focus,a.mailto.su-button--secondary svg:hover{fill:#2e2d29}a.mailto.su-button--secondary svg path,a.mailto.su-button--secondary svg:active path,a.mailto.su-button--secondary svg:focus path,a.mailto.su-button--secondary svg:hover path{stroke:#2e2d29}.su-link,a{color:#006cb8}.su-brand-bar--dark,.su-global-footer--dark{height:30px;padding:0}.su-lockup__cell1,.su-lockup__cell2{border:0}.su-lockup__cell1 .su-lockup__line4,.su-lockup__cell1 .su-lockup__logo-wrapper,.su-lockup__cell2 .su-lockup__line4,.su-lockup__cell2 .su-lockup__logo-wrapper{padding-right:7px}.su-lockup__cell1 .su-lockup__line4,.su-lockup__cell2 .su-lockup__line4{overflow-wrap:break-word;word-break:inherit}.su-lockup__cell1.empty-logo,.su-lockup__cell1.empty-logo+.su-lockup__cell2{margin:0;padding:0}.su-masthead{background-color:#f4f4f4}@media (max-width:991px){.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:active:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:focus:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:hover:before,.su-multi-menu .su-multi-menu__menu .su-multi-menu__link:active:before,.su-multi-menu .su-multi-menu__nav-toggle:active:before,.su-multi-menu .su-multi-menu__nav-toggle:before,.su-multi-menu .su-multi-menu__nav-toggle:focus:before,.su-multi-menu .su-multi-menu__nav-toggle:hover:before,.su-multi-menu .su-multi-menu__nav-toggle[aria-expanded=true]:active:before,.su-multi-menu .su-multi-menu__nav-toggle[aria-expanded=true]:focus:before,.su-multi-menu .su-multi-menu__nav-toggle[aria-expanded=true]:hover:before,.su-nav-toggle:before{background-color:#006cb8}}@media (min-width:992px){.su-multi-menu .su-multi-menu__menu-lv1>.su-multi-menu__item>.su-multi-menu__link{color:#006cb8}.su-multi-menu.su-multi-menu--dropdowns .su-multi-menu__menu>.su-multi-menu__item--parent>.su-nav-toggle:before,.su-multi-menu.su-multi-menu--dropdowns .su-multi-menu__menu>.su-multi-menu__item--parent>.su-nav-toggle:focus:before,.su-multi-menu.su-multi-menu--dropdowns .su-multi-menu__menu>.su-multi-menu__item--parent>.su-nav-toggle:hover:before{background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMwMDZjYjg7c3Ryb2tlLXdpZHRoOjIuNTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTAiIGQ9Ik0xOC42IDguNSAxMiAxNS40IDUuNCA4LjUiLz48L3N2Zz4=) no-repeat 50%/50%}.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:active:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:focus:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:hover:before{background-color:#006cb8}}.su-multi-menu .su-multi-menu__menu .su-multi-menu__link:active:before{background-color:#006cb8}.su-secondary-nav--light .su-secondary-nav__link{color:#006cb8}.su-secondary-nav--light .su-secondary-nav__link:focus:before,.su-secondary-nav--light .su-secondary-nav__link:hover:before,a.su-link--external.su-secondary-nav__link:after{background-color:#006cb8}.su-site-search__submit{background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGQ9Ik0xMy45NjEgMy4zODZhNi43NTQgNi43NTQgMCAwIDAtNi43NDYgNi43NDdjMCAxLjQzNC40NTMgMi43NjIgMS4yMTggMy44NTZMMy42IDE4LjgyMmExLjA0OSAxLjA0OSAwIDEgMCAxLjQ4NSAxLjQ4NEw5Ljg5MSAxNS41YTYuNzAzIDYuNzAzIDAgMCAwIDQuMDcgMS4zNzljMy43MiAwIDYuNzQ2LTMuMDI2IDYuNzQ2LTYuNzQ3cy0zLjAyNi02Ljc0Ni02Ljc0Ni02Ljc0NnptMCAxMS4zOTNjLTIuNTYyIDAtNC42NDYtMi4wODUtNC42NDYtNC42NDdzMi4wODQtNC42NDcgNC42NDYtNC42NDcgNC42NDYgMi4wODUgNC42NDYgNC42NDctMi4wODUgNC42NDctNC42NDYgNC42NDd6IiBzdHlsZT0iZmlsbDojMDA2Y2I4Ii8+PC9zdmc+) no-repeat 0 0}.su-event-card.su-card .su-event-list-item__details .event-list-item__type a{color:#006cb8}.su-event-card.su-event-list-item .su-event-list-item__details h2>a{color:#2e2d29}.su-event-card.su-event-list-item .su-event-list-item__details h2>a:active,.su-event-card.su-event-list-item .su-event-list-item__details h2>a:focus,.su-event-card.su-event-list-item .su-event-list-item__details h2>a:hover{color:#006cb8;text-decoration:underline}.su-event-list-item .su-event-list-item__details h2>a:active,.su-event-list-item .su-event-list-item__details h2>a:focus,.su-event-list-item .su-event-list-item__details h2>a:hover{color:#2e2d29;text-decoration:underline}.su-event-list-item .su-event-list-item__details h2>a.su-link--external:after{background-color:#006cb8;display:inline-block}.su-event-list-item .su-event-list-item__details .event-list-item__type a:active,.su-event-list-item .su-event-list-item__details .event-list-item__type a:focus,.su-event-list-item .su-event-list-item__details .event-list-item__type a:hover,.su-event-list-item .su-event-list-item__details h2>a{color:#006cb8}.ds-entity--stanford-event-series .su-card a{color:#2e2d29}.ds-entity--stanford-event-series .su-card a:active,.ds-entity--stanford-event-series .su-card a:focus,.ds-entity--stanford-event-series .su-card a:hover{color:#006cb8}.su-news-list a:active h2,.su-news-list a:focus h2,.su-news-list a:hover h2{color:#2e2d29}.su-news-list a h2{color:#006cb8}.su-news-edit-article a:active,.su-news-edit-article a:focus,.su-news-edit-article a:hover{color:#2e2d29}.su-news-list .su-news-list__topics li a{color:#006cb8}.su-news-list .su-news-list__topics li a:active,.su-news-list .su-news-list__topics li a:focus,.su-news-list .su-news-list__topics li a:hover{color:#2e2d29}.su-news-list .su-link--external:after,.su-news-vertical-teaser.su-card .su-link:after{background-color:#006cb8}.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a{color:#006cb8}.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a:active,.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a:focus,.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a:hover{color:#2e2d29}.ds-entity--stanford-person .stanford-person a,.stanford-people-grid .views-row .views-field-title a,.stanford-publications.view a,.su-news-vertical-teaser.su-card .su-news-vertical-teaser__link:hover h2{color:#006cb8}.stanford-publications.view a:active:after,.stanford-publications.view a:after,.stanford-publications.view a:focus:after,.stanford-publications.view a:hover:after{background-color:#006cb8}.stanford-publications .views-field-edit-node a{color:#b1040e}.stanford-publications .views-field-edit-node a:active,.stanford-publications .views-field-edit-node a:focus,.stanford-publications .views-field-edit-node a:hover{color:#2e2d29}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{background-color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover{color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active:after,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after{background-color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:active,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:focus,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:hover,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:active,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:hover{color:#2e2d29}.ds-entity--stanford-page .su-card .su-card__contents a:active,.ds-entity--stanford-page .su-card .su-card__contents a:focus,.ds-entity--stanford-page .su-card .su-card__contents a:hover{color:#006cb8}.ds-entity--stanford-page .su-card .su-card__contents a:active:after,.ds-entity--stanford-page .su-card .su-card__contents a:after,.ds-entity--stanford-page .su-card .su-card__contents a:focus:after,.ds-entity--stanford-page .su-card .su-card__contents a:hover:after{background-color:#006cb8}.su-basic-page-types-list a{color:#006cb8}.su-basic-page-types-list a:active,.su-basic-page-types-list a:focus,.su-basic-page-types-list a:hover{color:#2e2d29;text-decoration:underline} \ No newline at end of file +.su-button,.su-button--big,.su-button--big.su-link,.su-button.su-link,[type=button],[type=image],[type=reset],[type=submit],button{background-color:#2e2d29;font-weight:600}.su-button--big.su-link:focus,.su-button--big.su-link:hover,.su-button--big:focus,.su-button--big:hover,.su-button.su-link:focus,.su-button.su-link:hover,.su-button:focus,.su-button:hover,[type=button]:focus,[type=button]:hover,[type=image]:focus,[type=image]:hover,[type=reset]:focus,[type=reset]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{background-color:#ababa9;color:#2e2d29}.su-button--big.su-link:focus:after,.su-button--big.su-link:hover:after,.su-button--big:focus:after,.su-button--big:hover:after,.su-button.su-link:focus:after,.su-button.su-link:hover:after,.su-button:focus:after,.su-button:hover:after,[type=button]:focus:after,[type=button]:hover:after,[type=image]:focus:after,[type=image]:hover:after,[type=reset]:focus:after,[type=reset]:hover:after,[type=submit]:focus:after,[type=submit]:hover:after,button:focus:after,button:hover:after{background-color:#2e2d29}.su-button--secondary,.su-button--secondary.su-link{background-color:#fff;-webkit-box-shadow:inset 0 0 0 2px #2e2d29;box-shadow:inset 0 0 0 2px #2e2d29;color:#2e2d29;font-weight:600}.su-button--secondary.su-link:focus,.su-button--secondary.su-link:hover,.su-button--secondary:focus,.su-button--secondary:hover{background-color:#ababa9;color:#2e2d29}.su-button--secondary.su-link:focus:after,.su-button--secondary.su-link:hover:after,.su-button--secondary:focus:after,.su-button--secondary:hover:after{background-color:#2e2d29}a.su-link--external.su-button--big:after,a.su-link--external.su-button:after{background-color:#fff}a.su-link--external.su-button--secondary:active:after,a.su-link--external.su-button--secondary:after,a.su-link--external.su-button--secondary:focus:after,a.su-link--external.su-button--secondary:hover:after{background-color:#2e2d29}a.su-link--external.su-secondary-nav__link:after{background-color:#fff}a.su-link--external.su-secondary-nav__link:active:after,a.su-link--external.su-secondary-nav__link:focus:after,a.su-link--external.su-secondary-nav__link:hover:after{background-color:#2e2d29}a.mailto svg path{stroke:#fff}a.mailto svg:active,a.mailto svg:focus,a.mailto svg:hover{fill:#2e2d29}a.mailto svg:active path,a.mailto svg:focus path,a.mailto svg:hover path{stroke:#2e2d29}a.mailto.su-button svg,a.mailto.su-button--big svg{fill:#fff}a.mailto.su-button svg:active,a.mailto.su-button svg:focus,a.mailto.su-button svg:hover,a.mailto.su-button--big svg:active,a.mailto.su-button--big svg:focus,a.mailto.su-button--big svg:hover{fill:#2e2d29}a.mailto.su-button svg:active path,a.mailto.su-button svg:focus path,a.mailto.su-button svg:hover path,a.mailto.su-button--big svg:active path,a.mailto.su-button--big svg:focus path,a.mailto.su-button--big svg:hover path{stroke:#2e2d29}a.mailto.su-button svg path,a.mailto.su-button--big svg path{stroke:#fff}a.mailto.su-button--secondary svg,a.mailto.su-button--secondary svg:active,a.mailto.su-button--secondary svg:focus,a.mailto.su-button--secondary svg:hover{fill:#2e2d29}a.mailto.su-button--secondary svg path,a.mailto.su-button--secondary svg:active path,a.mailto.su-button--secondary svg:focus path,a.mailto.su-button--secondary svg:hover path{stroke:#2e2d29}.su-link,a{color:#006cb8}.su-brand-bar--dark,.su-global-footer--dark{height:30px;padding:0}.su-global-footer{background-color:#2e2d29}.su-global-footer .su-global-footer__brand{display:none}.su-global-footer .su-global-footer__content{padding-left:0}.su-lockup__cell1,.su-lockup__cell2{border:0}.su-lockup__cell1 .su-lockup__line4,.su-lockup__cell1 .su-lockup__logo-wrapper,.su-lockup__cell2 .su-lockup__line4,.su-lockup__cell2 .su-lockup__logo-wrapper{padding-right:7px}.su-lockup__cell1 .su-lockup__line4,.su-lockup__cell2 .su-lockup__line4{overflow-wrap:break-word;word-break:inherit}.su-lockup__cell1.empty-logo,.su-lockup__cell1.empty-logo+.su-lockup__cell2{margin:0;padding:0}.su-masthead{background-color:#f4f4f4}@media (max-width:991px){.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:active:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:focus:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:hover:before,.su-multi-menu .su-multi-menu__menu .su-multi-menu__link:active:before,.su-multi-menu .su-multi-menu__nav-toggle:active:before,.su-multi-menu .su-multi-menu__nav-toggle:before,.su-multi-menu .su-multi-menu__nav-toggle:focus:before,.su-multi-menu .su-multi-menu__nav-toggle:hover:before,.su-multi-menu .su-multi-menu__nav-toggle[aria-expanded=true]:active:before,.su-multi-menu .su-multi-menu__nav-toggle[aria-expanded=true]:focus:before,.su-multi-menu .su-multi-menu__nav-toggle[aria-expanded=true]:hover:before,.su-nav-toggle:before{background-color:#006cb8}}@media (min-width:992px){.su-multi-menu .su-multi-menu__menu-lv1>.su-multi-menu__item>.su-multi-menu__link{color:#006cb8}.su-multi-menu.su-multi-menu--dropdowns .su-multi-menu__menu>.su-multi-menu__item--parent>.su-nav-toggle:before,.su-multi-menu.su-multi-menu--dropdowns .su-multi-menu__menu>.su-multi-menu__item--parent>.su-nav-toggle:focus:before,.su-multi-menu.su-multi-menu--dropdowns .su-multi-menu__menu>.su-multi-menu__item--parent>.su-nav-toggle:hover:before{background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMwMDZjYjg7c3Ryb2tlLXdpZHRoOjIuNTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTAiIGQ9Ik0xOC42IDguNSAxMiAxNS40IDUuNCA4LjUiLz48L3N2Zz4=) no-repeat 50%/50%}.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:active:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:focus:before,.su-multi-menu .su-multi-menu__item--current>.su-multi-menu__link:hover:before{background-color:#006cb8}}.su-multi-menu .su-multi-menu__menu .su-multi-menu__link:active:before{background-color:#006cb8}.su-secondary-nav--light .su-secondary-nav__link{color:#006cb8}.su-secondary-nav--light .su-secondary-nav__link:focus:before,.su-secondary-nav--light .su-secondary-nav__link:hover:before,a.su-link--external.su-secondary-nav__link:after{background-color:#006cb8}.su-site-search__submit{background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGQ9Ik0xMy45NjEgMy4zODZhNi43NTQgNi43NTQgMCAwIDAtNi43NDYgNi43NDdjMCAxLjQzNC40NTMgMi43NjIgMS4yMTggMy44NTZMMy42IDE4LjgyMmExLjA0OSAxLjA0OSAwIDEgMCAxLjQ4NSAxLjQ4NEw5Ljg5MSAxNS41YTYuNzAzIDYuNzAzIDAgMCAwIDQuMDcgMS4zNzljMy43MiAwIDYuNzQ2LTMuMDI2IDYuNzQ2LTYuNzQ3cy0zLjAyNi02Ljc0Ni02Ljc0Ni02Ljc0NnptMCAxMS4zOTNjLTIuNTYyIDAtNC42NDYtMi4wODUtNC42NDYtNC42NDdzMi4wODQtNC42NDcgNC42NDYtNC42NDcgNC42NDYgMi4wODUgNC42NDYgNC42NDctMi4wODUgNC42NDctNC42NDYgNC42NDd6IiBzdHlsZT0iZmlsbDojMDA2Y2I4Ii8+PC9zdmc+) no-repeat 0 0}.su-event-card.su-card .su-event-list-item__details .event-list-item__type a{color:#006cb8}.su-event-card.su-event-list-item .su-event-list-item__details h2>a{color:#2e2d29}.su-event-card.su-event-list-item .su-event-list-item__details h2>a:active,.su-event-card.su-event-list-item .su-event-list-item__details h2>a:focus,.su-event-card.su-event-list-item .su-event-list-item__details h2>a:hover{color:#006cb8;text-decoration:underline}.su-event-list-item .su-event-list-item__details h2>a:active,.su-event-list-item .su-event-list-item__details h2>a:focus,.su-event-list-item .su-event-list-item__details h2>a:hover{color:#2e2d29;text-decoration:underline}.su-event-list-item .su-event-list-item__details h2>a.su-link--external:after{background-color:#006cb8;display:inline-block}.su-event-list-item .su-event-list-item__details .event-list-item__type a:active,.su-event-list-item .su-event-list-item__details .event-list-item__type a:focus,.su-event-list-item .su-event-list-item__details .event-list-item__type a:hover,.su-event-list-item .su-event-list-item__details h2>a{color:#006cb8}.ds-entity--stanford-event-series .su-card a{color:#2e2d29}.ds-entity--stanford-event-series .su-card a:active,.ds-entity--stanford-event-series .su-card a:focus,.ds-entity--stanford-event-series .su-card a:hover{color:#006cb8}.su-news-list a:active h2,.su-news-list a:focus h2,.su-news-list a:hover h2{color:#2e2d29}.su-news-list a h2{color:#006cb8}.su-news-edit-article a:active,.su-news-edit-article a:focus,.su-news-edit-article a:hover{color:#2e2d29}.su-news-list .su-news-list__topics li a{color:#006cb8}.su-news-list .su-news-list__topics li a:active,.su-news-list .su-news-list__topics li a:focus,.su-news-list .su-news-list__topics li a:hover{color:#2e2d29}.su-news-list .su-link--external:after,.su-news-vertical-teaser.su-card .su-link:after{background-color:#006cb8}.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a{color:#006cb8}.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a:active,.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a:focus,.su-news-vertical-teaser.su-card .su-card__contents .news-vertical-teaser__topics a:hover{color:#2e2d29}.ds-entity--stanford-person .stanford-person a,.stanford-people-grid .views-row .views-field-title a,.stanford-publications.view a,.su-news-vertical-teaser.su-card .su-news-vertical-teaser__link:hover h2{color:#006cb8}.stanford-publications.view a:active:after,.stanford-publications.view a:after,.stanford-publications.view a:focus:after,.stanford-publications.view a:hover:after{background-color:#006cb8}.stanford-publications .views-field-edit-node a{color:#b1040e}.stanford-publications .views-field-edit-node a:active,.stanford-publications .views-field-edit-node a:focus,.stanford-publications .views-field-edit-node a:hover{color:#2e2d29}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{background-color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover{color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active:after,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:active:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after{background-color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{color:#006cb8}.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:active,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:focus,.paragraph--type--stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:hover,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:active,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:hover{color:#2e2d29}.ds-entity--stanford-page .su-card .su-card__contents a:active,.ds-entity--stanford-page .su-card .su-card__contents a:focus,.ds-entity--stanford-page .su-card .su-card__contents a:hover{color:#006cb8}.ds-entity--stanford-page .su-card .su-card__contents a:active:after,.ds-entity--stanford-page .su-card .su-card__contents a:after,.ds-entity--stanford-page .su-card .su-card__contents a:focus:after,.ds-entity--stanford-page .su-card .su-card__contents a:hover:after{background-color:#006cb8}.su-basic-page-types-list a{color:#006cb8}.su-basic-page-types-list a:active,.su-basic-page-types-list a:focus,.su-basic-page-types-list a:hover{color:#2e2d29;text-decoration:underline} \ No newline at end of file diff --git a/themes/minimally_branded_subtheme/src/scss/components/global-footer/_global-footer.scss b/themes/minimally_branded_subtheme/src/scss/components/global-footer/_global-footer.scss new file mode 100644 index 000000000..b3ddb1b89 --- /dev/null +++ b/themes/minimally_branded_subtheme/src/scss/components/global-footer/_global-footer.scss @@ -0,0 +1,15 @@ +@charset "UTF-8"; + +.su-global-footer { + background-color: $su-color-black; + + .su-global-footer__brand { + display: none; + } + + @include grid-media-min('xs') { + .su-global-footer__content { + padding-left: 0; + } + } +} diff --git a/themes/minimally_branded_subtheme/src/scss/components/global-footer/index.scss b/themes/minimally_branded_subtheme/src/scss/components/global-footer/index.scss new file mode 100644 index 000000000..331c788c2 --- /dev/null +++ b/themes/minimally_branded_subtheme/src/scss/components/global-footer/index.scss @@ -0,0 +1,15 @@ +@charset "UTF-8"; + +// +// 5. Theme +// + +// Purely visual styling (“look-and-feel”) for a component. +// +// Purely visual styling, such as border, box-shadow, colors and backgrounds, +// font properties, etc. Ideally, these should be separated enough from a +// component’s structure to be “swappable”, and omitting these entirely should +// not break the component’s functionality or basic usability. + +// Config and supporting scss. +@import 'global-footer'; diff --git a/themes/minimally_branded_subtheme/src/scss/components/index.scss b/themes/minimally_branded_subtheme/src/scss/components/index.scss index 4f7411e67..e8872bdc1 100644 --- a/themes/minimally_branded_subtheme/src/scss/components/index.scss +++ b/themes/minimally_branded_subtheme/src/scss/components/index.scss @@ -21,6 +21,7 @@ // Components. @import 'brandbar/index.scss'; +@import 'global-footer/index.scss'; @import 'lockup/index.scss'; @import 'masthead/index.scss'; @import 'main-nav/index.scss'; diff --git a/themes/minimally_branded_subtheme/templates/components/global-footer/global-footer.html.twig b/themes/minimally_branded_subtheme/templates/components/global-footer/global-footer.html.twig index c6261a3fd..7708efc03 100644 --- a/themes/minimally_branded_subtheme/templates/components/global-footer/global-footer.html.twig +++ b/themes/minimally_branded_subtheme/templates/components/global-footer/global-footer.html.twig @@ -18,4 +18,5 @@ {%- endif %}