From 16386bcdcab9e190f323e4966b65caaae469a9f2 Mon Sep 17 00:00:00 2001 From: rdrew Date: Wed, 4 Dec 2024 15:05:13 -0400 Subject: [PATCH] lp and icons --- css/header.css | 16 ++++++--- css/homepage.css | 3 ++ css/islandora_mods.css | 79 ++++++++++++++++++++++++++++++++++++++++++ css/sidebar.css | 2 +- css/site-variables.css | 14 ++++---- 5 files changed, 101 insertions(+), 13 deletions(-) diff --git a/css/header.css b/css/header.css index 75a8254..d48ba44 100755 --- a/css/header.css +++ b/css/header.css @@ -4,7 +4,7 @@ /* Header -> Header top */ /*hide main menu in header*/ /*.region-primary-menu */ -@media only screen and (min-width:991px) { +@media only screen and (min-width: 991px) { nav#block-vre2024-main-menu { display: none; } @@ -31,12 +31,18 @@ font-size: 0.8rem; font-family: var(--font-family-condensed); /*border-left: 1px solid #fff;*/ - padding: 5px; } -.header-top li { - - border-left: 1px solid black; +.header-top { + li { + padding: 6px 0 4px 0; + border-left: 1px solid black; + } + a { + padding: 5px; + margin-left: 4px; + } } + .header { background: var(--header-bg-color); color: var(--header-text-color); diff --git a/css/homepage.css b/css/homepage.css index 996fbfe..a97ac19 100755 --- a/css/homepage.css +++ b/css/homepage.css @@ -1,3 +1,6 @@ +.homepage .messages.messages--status { + display: none; +} .region-content-home-top, .region-content-home-bottom { display: flex; diff --git a/css/islandora_mods.css b/css/islandora_mods.css index 1032d47..c432930 100755 --- a/css/islandora_mods.css +++ b/css/islandora_mods.css @@ -1,3 +1,82 @@ +/*scholars page*/ +form#views-exposed-form-scholars-page-1 { + display: flex; + align-items: flex-end; + .form-type-textfield { + margin: 0; + } + input[type="text"] { + padding: 6px; + } + label { + font-family: var(--font-family-condensed); + } +} +table { + background: #fff; + box-shadow: + 0 0 2px rgba(0, 0, 0, 0.12), + 0 2px 2px rgba(0, 0, 0, 0.2); + thead { + background: #333; + color: #fff; + font-family: var(--font-family-condensed); + } + th { + font-weight: 400; + } + tr { + border-bottom: 1px solid #ccc; + } + td.url, + td.publications { + text-align: center; + } +} + +/*==================*/ +/*search results*/ +.search-result { + background: #fff; + border: 1px solid #ccc; + padding: 0.5rem; + margin-bottom: 1rem; + .views-field { + display: flex; + border-bottom: 1px solid #ccc; + padding: 5px; + } + .field__label { + width: 15%; + display: block; + font-weight: 500; + font-family: var(--font-family-condensed); + } + .field-content { + width: 85%; + } +} +div#block-vre2024-solrsearchcontentsearchresultspagerforpage .pager__group { + display: none; +} +/*facets*/ +.facet-item__value { + color: var(--upei-red); +} +.facet-inactive li.facet-item a { + /*display: flex;*/ + /*justify-content: space-between;*/ +} +div#date { + margin: 2em 1em 1em; +} +span.facet-item__count { +float:right; +} +.noUi-connect { + background: var(--upei-green) !important; +} +/*==================*/ form#views-exposed-form-solr-search-content-block-1 { display: none; } diff --git a/css/sidebar.css b/css/sidebar.css index e20379d..f74ab46 100755 --- a/css/sidebar.css +++ b/css/sidebar.css @@ -21,7 +21,7 @@ font-family: var(--sidebar-block-title-font-family); color: var(--sidebar-block-title-font-color); line-height: 1; - margin-bottom: 1rem; + margin-bottom: .5rem; border-bottom: 2px solid var(--upei-red); } .sidebar .block-content { diff --git a/css/site-variables.css b/css/site-variables.css index 25692e6..bec7c17 100755 --- a/css/site-variables.css +++ b/css/site-variables.css @@ -82,17 +82,17 @@ *block styles */ --sidebar-block-title-font-size: var(--h4-size); - --sidebar-block-title-font-family: var(--font-family-serif); + --sidebar-block-title-font-family: var(--font-family-condensed); --sidebar-block-title-font-color: var(--color-text); --sidebar-block-title-background: inherit; - --sidebar-block-background: var(--light); - --sidebar-block-font-size: inherit; - --sidebar-block-font-family: var(--font-family-sans-serif); - --sidebar-block-font-color: var(--color-text); - --sidebar-block-border: 1px solid var(--light); + --sidebar-block-background: #fff; + --sidebar-block-font-size: .9rem; + --sidebar-block-font-family: var(--font-family-condensed); + --sidebar-block-font-color: var(--upei-red); + --sidebar-block-border: 1px solid #ccc; --sidebar-block-link-color: var(--color-text); --sidebar-block-link-color-hover: var(--primary); - --sidebar-ul-separator-line: 2px solid var(--primary); + --sidebar-ul-separator-line: 1px solid #ccc; /*