diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss index 87fb0fa0b9..17b96490fa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss @@ -176,6 +176,15 @@ caption { } } +.badge { + &.bg-info-subtle, + &.bg-secondary-subtle { + color: #000 !important; + margin-left: .3em; + text-indent: 0; + } +} + .btn-primary { background-color: $base-theme-color; border: 1px solid darken( $base-theme-color, 10% ); diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 6d64804491..5ca6136c02 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1840,18 +1840,9 @@ nav { } li { - font-size: 90%; - font-weight: bold; + font-size: 95%; list-style-type: none; - li { - font-size: 95%; - font-weight: normal; - line-height: 125%; - margin-bottom: 2px; - padding: .1em .2em; - } - &.showmore { a { font-weight: bold; @@ -1864,8 +1855,59 @@ nav { font-weight: normal; } - .facet-count { - display: inline-block; + .facet-label-selected { + font-weight: bold; + } + + .facet-toggle, + .facet-toggle:hover, + .facet-static { + color: #6F6F6F; + cursor: pointer; + display: inline-flex; + font-weight: bold; + padding: 0.3em 0; + text-decoration: none; + } + .facet-toggle::before { + color: #5A5A5A; + content: "\f0da"; + font-family: "Font Awesome 6 Free"; + font-size: 90%; + line-height: 1.5em; + padding: 0 0.35em 0 0; + transition: transform 0.2s ease; + } + + .facet-toggle[aria-expanded="true"]::before { + content: "\f0d7"; + padding-top: 0; + padding-bottom: 0; + } + + .facet-static::before { + color: #5A5A5A; + content: "\f0c8"; + cursor: default; + font-family: "Font Awesome 6 Free"; + font-size: 50%; + line-height: 1.5em; + padding: .7em 1em 0 0; + } + + .facet-collapse li { + padding: 0.1em 0 0.1em 1.6em; + text-indent: -1em; + } + .facet-remove { + background:#FFF none !important; + color:red !important; + padding:.2em .4em; + border:1px solid rgb(255, 0, 0); + text-indent:0; + } + .facet-remove:hover { + background: rgba(255, 0, 0, 0.1) none !important; } } diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index e56965d663..38742be1d1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -10,161 +10,180 @@