From 1f8b30fa865ec567cf2e7e4f73fabebdeb7138e8 Mon Sep 17 00:00:00 2001 From: rdrew Date: Mon, 10 Jun 2024 14:29:36 -0300 Subject: [PATCH] tweaked the advanced search --- css/base.css | 5 +++- css/islandora_mods.css | 57 +++++++++++++++++++++++++++++++++++++++++- css/sidebar.css | 3 +++ css/site-variables.css | 2 +- 4 files changed, 64 insertions(+), 3 deletions(-) diff --git a/css/base.css b/css/base.css index e608a19..dd2b699 100644 --- a/css/base.css +++ b/css/base.css @@ -158,7 +158,10 @@ a:focus { outline: 0; } a:hover { - color: var(--secondary); + /*color: var(--secondary);*/ + text-decoration: underline; + + text-decoration-style: double; } a:not([class]) { text-decoration-skip-ink: auto; diff --git a/css/islandora_mods.css b/css/islandora_mods.css index 68d6a55..77d3ab6 100644 --- a/css/islandora_mods.css +++ b/css/islandora_mods.css @@ -5,12 +5,67 @@ form#views-exposed-form-solr-search-content-block-1 { #advanced-search-ajax .form-wrapper { select { /*margin: 0;*/ + padding: 0; + margin-bottom: 0.5rem; } input[type="text"] { - width: 130px !important; + /*width: 130px !important;*/ + padding: 2px; + margin: 0 0 1rem 0; + /*border-bottom: 1px dotted #333;*/ } input { } /*display: flex !important;*/ /*height: 20px;*/ } +.advanced-search-form__add { + background: #fff; + color: #333; + color: var(--upei-green); + font-weight: bold; + border: 1px solid; + /*padding: 3px 8px;*/ + line-height: 0.6; + border-radius: 50%; +} +.advanced-search-form__remove { + background: #fff; + color: #333; + color: var(--upei-red); + font-weight: bold; + border: 1px solid var(--upei-red); + /*padding: 3px 8px;*/ + /*padding: 3px 8px;*/ + line-height: 0.6; + border-radius: 50%; +} + +.advanced-search-form__remove:hover { + background: var(--upei-red); + color: #fff; + border-color: var(--upei-red); +} +.advanced-search-form__add:hover { + background: var(--upei-green); + color: #fff; + border-color: var(--upei-green); +} +.citation-container { + .left-col { + flex: 0 0 40%; + } + .right-col input.form-submit { + margin-top: 0 !important; + font-size: 0.8rem; + border-radius: 0 6px 5px 0; + } +} +div#block-views-block-oai-pmh-item-links-block-1 .field-content { + display: flex; + a:first-child:after { + content: " |"; + margin-right: 4px; + /*padding-right: 4px;*/ + } +} diff --git a/css/sidebar.css b/css/sidebar.css index dcb3f3f..e20379d 100644 --- a/css/sidebar.css +++ b/css/sidebar.css @@ -20,6 +20,9 @@ font-size: var(--sidebar-block-title-font-size); font-family: var(--sidebar-block-title-font-family); color: var(--sidebar-block-title-font-color); + line-height: 1; + margin-bottom: 1rem; + border-bottom: 2px solid var(--upei-red); } .sidebar .block-content { font-variation-settings: "wdth" 75; diff --git a/css/site-variables.css b/css/site-variables.css index 3477074..824b076 100644 --- a/css/site-variables.css +++ b/css/site-variables.css @@ -77,7 +77,7 @@ /* *block styles */ - --sidebar-block-title-font-size: var(--h3-size); + --sidebar-block-title-font-size: var(--h4-size); --sidebar-block-title-font-family: var(--font-family-serif); --sidebar-block-title-font-color: var(--color-text); --sidebar-block-title-background: inherit;