diff --git a/lib/osf-components/addon/components/search-page/styles.scss b/lib/osf-components/addon/components/search-page/styles.scss index 737eb465e4f..3b2a52bc5d2 100644 --- a/lib/osf-components/addon/components/search-page/styles.scss +++ b/lib/osf-components/addon/components/search-page/styles.scss @@ -27,6 +27,10 @@ white-space: nowrap; } + .provider-description { + width: 100%; + } + .search-input-wrapper { display: flex; flex-direction: row; @@ -96,6 +100,10 @@ margin: 0 3rem 0 2rem; } + .provider-description { + width: 70vw; + } + .heading-label > h1 { margin: 0; white-space: nowrap; @@ -138,6 +146,26 @@ } } +.institutions-overlay { + background-color: $color-bg-gray-blue-light; + background-image: none; + border-bottom: solid 1px $alto; + color: $color-text-black; + display: flex; + flex-direction: column; + height: 100%; + width: 100%; + min-height: 100%; + min-width: 100%; + position: relative; + z-index: 1; + + img { + height: 70px; + margin: 0 auto; + } +} + .search-input-wrapper { display: flex; white-space: nowrap; diff --git a/lib/osf-components/addon/components/search-page/template.hbs b/lib/osf-components/addon/components/search-page/template.hbs index a83f19932d6..b573808bb80 100644 --- a/lib/osf-components/addon/components/search-page/template.hbs +++ b/lib/osf-components/addon/components/search-page/template.hbs @@ -6,7 +6,7 @@ as |layout|> data-test-heading-wrapper data-analytics-scope='Search page heading' {{with-branding (get-model @provider.brand)}} - local-class='{{if this.showSidePanelToggle 'heading-wrapper-mobile' 'heading-wrapper'}} {{if @provider 'hero-overlay'}} {{if @institution 'heading-wrapper-institutions'}} {{if (and this.showSidePanelToggle @institution) 'heading-wrapper-institutions-mobile'}}' + local-class='{{if this.showSidePanelToggle 'heading-wrapper-mobile' 'heading-wrapper'}} {{if @provider 'hero-overlay'}} {{if @institution 'institutions-overlay'}}' > {{#if @provider}}
+
{{html-safe @provider.description}}
{{else if @institution}} -{{html-safe @institution.description}}
{{else}}