From 2f07ebd8118b46b47fa81857bc2cff36cfb14665 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 26 Jun 2019 12:56:54 -0400 Subject: [PATCH] Minor less/scss cleanup. --- themes/bootstrap3/less/bootstrap.less | 5 +++-- themes/bootstrap3/scss/bootstrap.scss | 5 +++++ themes/bootstrap3/scss/components/search.scss | 4 +++- themes/sandal/scss/search.scss | 9 +++++---- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/themes/bootstrap3/less/bootstrap.less b/themes/bootstrap3/less/bootstrap.less index 85574a35d85..e51588d7e99 100644 --- a/themes/bootstrap3/less/bootstrap.less +++ b/themes/bootstrap3/less/bootstrap.less @@ -404,6 +404,7 @@ div.holding-notes { padding-right: 0.5rem; } -.odbrand{ +.odbrand { padding: 7px; -} \ No newline at end of file +} + diff --git a/themes/bootstrap3/scss/bootstrap.scss b/themes/bootstrap3/scss/bootstrap.scss index 3b1ccd9bdbc..059e51e15cb 100644 --- a/themes/bootstrap3/scss/bootstrap.scss +++ b/themes/bootstrap3/scss/bootstrap.scss @@ -403,3 +403,8 @@ div.holding-notes { padding-left: 0.5rem; padding-right: 0.5rem; } + +.odbrand { + padding: 7px; +} + diff --git a/themes/bootstrap3/scss/components/search.scss b/themes/bootstrap3/scss/components/search.scss index 45e895ded2d..4f6283488a6 100644 --- a/themes/bootstrap3/scss/components/search.scss +++ b/themes/bootstrap3/scss/components/search.scss @@ -403,9 +403,11 @@ body.rtl { display: inline-block; padding: .5rem 1rem; color: #555; + background-color: rgba(0,0,0,.05); + border-radius: 4px; &:hover { - background-color: #eee; + background-color: rgba(0,0,0,.1); } } .search-filter-remove { diff --git a/themes/sandal/scss/search.scss b/themes/sandal/scss/search.scss index 1128aa9e749..a7ffb0b4dec 100644 --- a/themes/sandal/scss/search.scss +++ b/themes/sandal/scss/search.scss @@ -284,11 +284,12 @@ .reset-filters-btn { font-weight: bold; color: #fff; + background-color: rgba(255,255,255,.1); border-radius: 4px; - - &:hover { - background-color: rgba(255,255,255,.2); - } +} +.active-filters .reset-filters-btn:hover { + color: #fff; + background-color: rgba(255,255,255,.2); } .active-filters .filters .filter-value, .search-filter-dropdown .btn, -- GitLab