Browse Source

tweaked the advanced search

master
rdrew 5 months ago
parent
commit
1f8b30fa86
  1. 5
      css/base.css
  2. 57
      css/islandora_mods.css
  3. 3
      css/sidebar.css
  4. 2
      css/site-variables.css

5
css/base.css

@ -158,7 +158,10 @@ a:focus {
outline: 0; outline: 0;
} }
a:hover { a:hover {
color: var(--secondary); /*color: var(--secondary);*/
text-decoration: underline;
text-decoration-style: double;
} }
a:not([class]) { a:not([class]) {
text-decoration-skip-ink: auto; text-decoration-skip-ink: auto;

57
css/islandora_mods.css

@ -5,12 +5,67 @@ form#views-exposed-form-solr-search-content-block-1 {
#advanced-search-ajax .form-wrapper { #advanced-search-ajax .form-wrapper {
select { select {
/*margin: 0;*/ /*margin: 0;*/
padding: 0;
margin-bottom: 0.5rem;
} }
input[type="text"] { input[type="text"] {
width: 130px !important; /*width: 130px !important;*/
padding: 2px;
margin: 0 0 1rem 0;
/*border-bottom: 1px dotted #333;*/
} }
input { input {
} }
/*display: flex !important;*/ /*display: flex !important;*/
/*height: 20px;*/ /*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;*/
}
}

3
css/sidebar.css

@ -20,6 +20,9 @@
font-size: var(--sidebar-block-title-font-size); font-size: var(--sidebar-block-title-font-size);
font-family: var(--sidebar-block-title-font-family); font-family: var(--sidebar-block-title-font-family);
color: var(--sidebar-block-title-font-color); color: var(--sidebar-block-title-font-color);
line-height: 1;
margin-bottom: 1rem;
border-bottom: 2px solid var(--upei-red);
} }
.sidebar .block-content { .sidebar .block-content {
font-variation-settings: "wdth" 75; font-variation-settings: "wdth" 75;

2
css/site-variables.css

@ -77,7 +77,7 @@
/* /*
*block styles *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-family: var(--font-family-serif);
--sidebar-block-title-font-color: var(--color-text); --sidebar-block-title-font-color: var(--color-text);
--sidebar-block-title-background: inherit; --sidebar-block-title-background: inherit;

Loading…
Cancel
Save