diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index 76fca1abb..487a88cf9 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -89,19 +89,39 @@ background-color: #9bafbf; } +///// FOOTER ///// + +// overrides Hyrax styles that prevent footer from sitting at the bottom of the page +body.neutral_repository { + margin-bottom: 0; +} + +// overrides Hyrax styles that prevent footer from sitting at the bottom of the page +.default_home, .cultural_repository, .institutional_repository { + footer { + position: absolute; + bottom: 0; + } +} + footer.navbar { - border-radius: 0; + display: block; font-size: 0.9em; - min-height: 40px; - vertical-align: middle; - p { - margin: 10px; - text-align: center; + .navbar-text { + display: flex; + } - strong { - font-weight: 500; - } + strong { + font-weight: 500; + } + + a { + text-decoration: none; + } + + @media (max-width: 992px) { + justify-content: center; } } @@ -523,11 +543,6 @@ body.public-facing { width: 100%; } -// align featured collections with featured works -#featured_collections { - margin-top: -5px; -} - .mb-30 { margin-bottom: 30px; } @@ -720,10 +735,6 @@ tr[data-feature="use-iiif-print"] { // Featured collection #featured_collections { - display: flex; - flex-wrap: wrap; - justify-content: left; - h3 { font-size: inherit; } diff --git a/app/assets/stylesheets/themes/cultural_repository.scss b/app/assets/stylesheets/themes/cultural_repository.scss index 95bb34934..0a360006d 100644 --- a/app/assets/stylesheets/themes/cultural_repository.scss +++ b/app/assets/stylesheets/themes/cultural_repository.scss @@ -1,9 +1,6 @@ .cultural_repository { + ////// Navbar ////// - .navbar-header { - display: flex; - margin-left: -10px; - } .navbar-expand-lg .navbar-collapse { @media (min-width: 992px) { @@ -46,11 +43,6 @@ display: none; } - .search-items { - padding: 0; - margin: 8px -16px 8px 0px - } - .cultural-homepage > .container { display: flex; } @@ -303,16 +295,20 @@ body.dashboard { padding-top: 0 !important; } + } + + @media (max-width: 992px) { + #facets .top-card-heading { + border: 1px solid #fff; + background-color: #fff; + } - .facet-panel-background-color { + #facets .facet-panel-background-color { background-color: transparent; } - } - @media (max-width: 768px) { - // Note: copied over to override /* line 163, /usr/local/bundle/gems/blacklight-6.23.0/app/assets/stylesheets/blacklight/_facets.scss */ - #facets .top-card-heading { - border: 1px solid #999999 !important; + #facets .facets-heading { + margin-top: 8px; } } } diff --git a/app/assets/stylesheets/themes/institutional_repository.scss b/app/assets/stylesheets/themes/institutional_repository.scss index a15f4e867..b56dcbc5e 100644 --- a/app/assets/stylesheets/themes/institutional_repository.scss +++ b/app/assets/stylesheets/themes/institutional_repository.scss @@ -39,20 +39,12 @@ ////// Navbar ////// - .navbar-collapse { - justify-content: space-between; - } - - // styles the top nav menu application name that is centered + // styles the top nav menu application name .institutional-repository-application-name { - text-align: center; - - span { - color: #fff; - font-size: 20px; - line-height: 50px !important; - vertical-align: middle; - } + color: #fff; + font-size: 20px; + line-height: 50px !important; + vertical-align: middle; } // styles the search bar label in the navbar diff --git a/app/assets/stylesheets/themes/neutral_repository.scss b/app/assets/stylesheets/themes/neutral_repository.scss index 7096c65e1..08e481790 100644 --- a/app/assets/stylesheets/themes/neutral_repository.scss +++ b/app/assets/stylesheets/themes/neutral_repository.scss @@ -174,6 +174,9 @@ div.neutral-repository-collections:nth-of-type(2n+3) { clear: left; } + .theme-container { + display: block; + } } @media (min-width: 992px) { diff --git a/app/views/_user_util_links.html.erb b/app/views/_user_util_links.html.erb index 820293b8a..fde0b9366 100644 --- a/app/views/_user_util_links.html.erb +++ b/app/views/_user_util_links.html.erb @@ -1,4 +1,4 @@ -