2 changed files with 183 additions and 15 deletions
@ -0,0 +1,105 @@ |
|||||||
|
/* ========================================================================== |
||||||
|
Search & Facets |
||||||
|
========================================================================== */ |
||||||
|
div#block-oliveskspaces-solrsearchcontentsearchresultspagerforpage { |
||||||
|
margin-bottom: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.facets-widget-links { |
||||||
|
li { |
||||||
|
list-style-type: none; |
||||||
|
} |
||||||
|
a { |
||||||
|
text-decoration: none; |
||||||
|
} |
||||||
|
.facet-active, |
||||||
|
li:hover { |
||||||
|
background: #fff; |
||||||
|
border-radius: 4px; |
||||||
|
} |
||||||
|
li.facet-item i.fa-solid.fa-ban { |
||||||
|
color: darkred; |
||||||
|
} |
||||||
|
.facet-active { |
||||||
|
padding-inline-start: 4px; |
||||||
|
} |
||||||
|
ul { |
||||||
|
margin: 0; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
button#toggle-facets { |
||||||
|
background: #013735; |
||||||
|
} |
||||||
|
|
||||||
|
.facet-wrapper .advanced-search-form { |
||||||
|
input[type="submit"] { |
||||||
|
padding-inline: 1rem; |
||||||
|
margin-inline-end: 0.5rem; |
||||||
|
transition: all 0.3s ease; |
||||||
|
} |
||||||
|
input[type="submit"]:focus, |
||||||
|
input[type="submit"]:hover { |
||||||
|
background: #fff; |
||||||
|
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%); |
||||||
|
} |
||||||
|
input[type="submit"].advanced-search-form__search:hover, |
||||||
|
input[type="submit"].advanced-search-form__add:hover { |
||||||
|
background: lightgreen; |
||||||
|
} |
||||||
|
input[type="submit"].advanced-search-form__reset:hover, |
||||||
|
input[type="submit"].advanced-search-form__remove:hover { |
||||||
|
background: lightpink; |
||||||
|
} |
||||||
|
select { |
||||||
|
margin-bottom: 1.125rem; |
||||||
|
margin-inline-end: 0.5rem; |
||||||
|
padding-inline-end: 1.5rem; |
||||||
|
min-width: 5.5rem; |
||||||
|
} |
||||||
|
input[type="text"] { |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
.view-grid > .view-content { |
||||||
|
display: grid; |
||||||
|
grid-template-columns: repeat(3, 1fr); |
||||||
|
/*margin: 0.47214rem 0 0.47214rem 2.61803rem;*/ |
||||||
|
} |
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) { |
||||||
|
.view-grid > .view-content { |
||||||
|
display: grid; |
||||||
|
grid-template-columns: repeat(1, 1fr); |
||||||
|
} |
||||||
|
} |
||||||
|
.search-view .view-header { |
||||||
|
margin: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.search-view .view-filters { |
||||||
|
margin-block-end: var(--sp2); |
||||||
|
} |
||||||
|
|
||||||
|
div#block-olivescraipe-solrsearchcontentsearchresultspagerforpage { |
||||||
|
margin: 1em; |
||||||
|
} |
||||||
|
|
||||||
|
span#override-default-display-mode { |
||||||
|
display: none; |
||||||
|
} |
||||||
|
|
||||||
|
.grid-item { |
||||||
|
border: 1px solid #ccc; |
||||||
|
padding: 8px; |
||||||
|
border-radius: 4px; |
||||||
|
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%); |
||||||
|
} |
||||||
|
|
||||||
|
.grid-item__image { |
||||||
|
margin: 0; |
||||||
|
img { |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue