diff --git a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css index ada6daaf9..b5b28fe10 100644 --- a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/dist/css/minimally_branded_subtheme.css +++ b/docroot/profiles/sdss/sdss_profile/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--big svg,a.mailto.su-button svg{fill:#fff}a.mailto.su-button--big svg:active,a.mailto.su-button--big svg:focus,a.mailto.su-button--big svg:hover,a.mailto.su-button svg:active,a.mailto.su-button svg:focus,a.mailto.su-button svg:hover{fill:#2e2d29}a.mailto.su-button--big svg:active path,a.mailto.su-button--big svg:focus path,a.mailto.su-button--big svg:hover path,a.mailto.su-button svg:active path,a.mailto.su-button svg:focus path,a.mailto.su-button svg:hover path{stroke:#2e2d29}a.mailto.su-button--big svg path,a.mailto.su-button 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:active path,a.mailto.su-button--secondary svg:focus path,a.mailto.su-button--secondary svg:hover path,a.mailto.su-button--secondary svg 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{padding:0;margin: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(../assets/svg/caret-down-digital-blue.svg) 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(../assets/svg/search-digital-blue.svg) 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}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{background-color:#006cb8}.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}.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}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{color:#006cb8}.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--big svg,a.mailto.su-button svg{fill:#fff}a.mailto.su-button--big svg:active,a.mailto.su-button--big svg:focus,a.mailto.su-button--big svg:hover,a.mailto.su-button svg:active,a.mailto.su-button svg:focus,a.mailto.su-button svg:hover{fill:#2e2d29}a.mailto.su-button--big svg:active path,a.mailto.su-button--big svg:focus path,a.mailto.su-button--big svg:hover path,a.mailto.su-button svg:active path,a.mailto.su-button svg:focus path,a.mailto.su-button svg:hover path{stroke:#2e2d29}a.mailto.su-button--big svg path,a.mailto.su-button 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:active path,a.mailto.su-button--secondary svg:focus path,a.mailto.su-button--secondary svg:hover path,a.mailto.su-button--secondary svg 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{padding:0;margin: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(../assets/svg/caret-down-digital-blue.svg) 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(../assets/svg/search-digital-blue.svg) 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/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/dist/js/scripts.js.map b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/dist/js/scripts.js.map new file mode 100644 index 000000000..90c2cd7e0 --- /dev/null +++ b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/dist/js/scripts.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/js/minimally_branded_subtheme.behaviors.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","window","Drupal","behaviors","minimally_branded_subtheme","attach","jQuery","parents","addClass","detach"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,GAIjBlC,EAAoBA,EAAoBmC,EAAI,G,iBC1ErDC,OAAOC,OAAOC,UAAUC,2BAA6B,CAEnDC,OAAQ,WAIHC,OADC,wBAAwBC,QAAQ,qBAAqBC,SAAS,eAIpEC,OAAQ","file":"scripts.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","/**\n * Behavior Example that works with Webpack.\n *\n * @see: https://www.npmjs.com/package/drupal-behaviors-loader\n *\n * Webpack wraps everything in enclosures and hides the global variables from\n * scripts so special handling is needed.\n */\nwindow.Drupal.behaviors.minimally_branded_subtheme = {\n // Attach Drupal Behavior.\n attach: function attach(context, settings) {\n // console.log(\"Attached.\");\n (function ($) {\n $('.su-lockup__wordmark').parents('.su-lockup__cell1').addClass('empty-logo');\n })(jQuery);\n },\n // Detach Example.\n detach: function detach() {// console.log(\"Detached.\");\n }\n};"],"sourceRoot":""} \ No newline at end of file diff --git a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.info.yml b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.info.yml index 98e2cb7b1..ba382ebfc 100755 --- a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.info.yml +++ b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.info.yml @@ -3,7 +3,7 @@ type: theme description: 'Stanford Minimally Branded Theme' package: Stanford version: 9.x-1.4-dev -core_version_requirement: ^9 +core_version_requirement: ^9 || ^10 base theme: stanford_basic libraries: - minimally_branded_subtheme/allpages diff --git a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.theme b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.theme index f95322412..b51186283 100755 --- a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.theme +++ b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/minimally_branded_subtheme.theme @@ -8,7 +8,7 @@ * Prepares variables for the html.html.twig template. */ function minimally_branded_subtheme_preprocess_html(&$variables) { - $variables['stanford_basic_path'] = drupal_get_path('theme', 'stanford_basic'); + $variables['stanford_basic_path'] = \Drupal::service('extension.list.theme')->getPath('stanford_basic'); } /** @@ -18,4 +18,4 @@ function minimally_branded_subtheme_theme_suggestions_block_alter(array &$sugges if (!empty($variables['elements']['#id']) && $variables['elements']['#id'] == 'minimally_branded_subtheme_search') { $suggestions[] = 'block__stanford_basic_search'; } -} \ No newline at end of file +} diff --git a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/src/scss/theme/_link.scss b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/src/scss/theme/_link.scss index cc950cf0e..7874e3305 100644 --- a/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/src/scss/theme/_link.scss +++ b/docroot/profiles/sdss/sdss_profile/themes/minimally_branded_subtheme/src/scss/theme/_link.scss @@ -217,7 +217,8 @@ } } -.ptype-stanford-entity { +.ptype-stanford-entity, +.paragraph--type--stanford-entity { .ds-entity--stanford-publication { .su-card__contents { > h2 { diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.gitignore b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.gitignore new file mode 100644 index 000000000..11ee75815 --- /dev/null +++ b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.gitignore @@ -0,0 +1 @@ +.env.local diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.nvmrc b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.nvmrc new file mode 100644 index 000000000..3c032078a --- /dev/null +++ b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.nvmrc @@ -0,0 +1 @@ +18 diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.prettierrc b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.prettierrc new file mode 100644 index 000000000..601505cd6 --- /dev/null +++ b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/.prettierrc @@ -0,0 +1,6 @@ +{ + "singleQuote": true, + "trailingComma": "all", + "semi": false, + "endOfLine": "auto" +} diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/FileSizePlugin.js b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/FileSizePlugin.js new file mode 100644 index 000000000..7cb57fb82 --- /dev/null +++ b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/FileSizePlugin.js @@ -0,0 +1,70 @@ +/** + * Gets size stats for built islands. + */ +const { basename, join } = require('path') +const { green, red, yellow, white } = require('kleur') +const gzipSize = require('gzip-size') +const brotliSize = require('brotli-size') +const prettyBytes = require('pretty-bytes') +const fs = require('fs/promises') + +/** + * + * Sauce pulled from here: + * https://github.com/developit/microbundle/blob/ecb0b022912397bcf98550c1a783e9e0534f33e5/src/lib/compressed-size.js + */ +function getPadLeft(str, width, char = ' ') { + return char.repeat(width - str.length) +} + +function formatSize(size, filename, suffix, raw) { + const pretty = raw ? `${size} B` : prettyBytes(size) + const color = size < 5000 ? green : size > 40000 ? red : yellow + const indent = getPadLeft(pretty, 13) + return `${indent}${color(pretty)}: ${white(basename(filename))}${suffix}` +} + +async function getSizeInfo(path, filename) { + const code = await fs.readFile(path) + + const [original, gzip, brotli] = await Promise.all([ + fs.stat(path).then((x) => x.size), + gzipSize(code).catch(() => null), + brotliSize.sync(code), + ]) + + const raw = original < 5000 + + let out = formatSize(original, filename, '', raw) + + out += '\n' + formatSize(gzip, filename, '.gz', raw) + + if (brotli) { + out += '\n' + formatSize(brotli, filename, '.br', raw) + } + + return out +} + +class FileSizePlugin { + apply(compiler) { + compiler.hooks.done.tap( + 'File Size Plugin', + async ( + stats /* stats is passed as an argument when done hook is tapped. */, + ) => { + const promises = [] + stats.compilation.assetsInfo.forEach((value, key) => { + const filePath = join(stats.compilation.outputOptions.path, key) + promises.push(getSizeInfo(filePath, key)) + }) + + const resolve = await Promise.all(promises) + + resolve.map((log) => console.log(log)) + }, + ) + } +} + +module.exports = FileSizePlugin diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/dist/index.html b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/dist/index.html new file mode 100644 index 000000000..2aa02b497 --- /dev/null +++ b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/decoupled-menu/dist/index.html @@ -0,0 +1,21 @@ +