From 5c3a218792724c338d6e25ba5cbfc05f7d6fae55 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Feb 2023 17:35:35 +0000 Subject: [PATCH] css tweaks and a pager template --- css-tweaks.css | 21 ++++++++++++-- templates/views-mini-pager.html.twig | 42 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 templates/views-mini-pager.html.twig diff --git a/css-tweaks.css b/css-tweaks.css index f6297bd..89136d2 100644 --- a/css-tweaks.css +++ b/css-tweaks.css @@ -5,9 +5,15 @@ .toolbar-horizontal.toolbar-tray-open .search-box.open { margin-top: 84px; } -div#block-homepagewelcome-2 { - color: #fff !important; - background: #789d4a; } +div#block-homepagewelcome-2, +#block-exposedformdataset-searchpage-1 { + color: #fff !important; + padding: 4rem 0; + background: #789d4a; +} +#block-exposedformdataset-searchpage-1 label { + display:none; +} div#block-homepagewelcome-2 a { color: var(--upei-red); } @@ -16,3 +22,12 @@ div#block-homepagewelcome-2 h2, div#block-homepagewelcome-2 p { color: #fff !important; } + input#edit-search-api-fulltext--2 { + width: 100%; + height: 50px; + } + + .js-form-item.form-item.js-form-type-textfield.form-item-search-api-fulltext.js-form-item-search-api-fulltext { + width: 600px; + /* height: 54px; */ + } diff --git a/templates/views-mini-pager.html.twig b/templates/views-mini-pager.html.twig new file mode 100644 index 0000000..f86a8e1 --- /dev/null +++ b/templates/views-mini-pager.html.twig @@ -0,0 +1,42 @@ +{# +/** + * @file + * Theme override for a views mini-pager. + * + * Available variables: + * - heading_id: Pagination heading ID. + * - items: List of pager items. + * + * @see template_preprocess_views_mini_pager() + */ +#} +{% if items.previous or items.next %} + +{% endif %}