@@ -, +, @@ OPAC - Rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Log in to the OPAC as a user with one or more private lists. - Go to Lists -> Your lists. - In the list of lists there should be a "Share" link for each list. Hovering your mouse pointer over the link should change the style in the same way the "Edit" link does. --- koha-tmpl/opac-tmpl/bootstrap/css/src/_mixins.scss | 1 + koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 26 +++++++++++++--------- .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- 3 files changed, 18 insertions(+), 11 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_mixins.scss +++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/_mixins.scss @@ -1,5 +1,6 @@ $color: #999999; $links: #0076B2; +$links-hover: #005580; $footer-height: 45px; $sci-link-color: #0076B6; --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -58,14 +58,18 @@ $footer-height: 45px; } a { - color: $links; + &:link, + &:visited { + color: $links; + } - &.cancel { - padding-left: 1em; + &:hover, + &:active { + color: $links-hover; } - &:visited { - color: $links; + &.cancel { + padding-left: 1em; } &.title { @@ -834,8 +838,6 @@ ul { .ui-state-default { a { - color: #006699; - &:link { color: #006699; } @@ -847,8 +849,6 @@ ul { } .ui-state-hover a { - color: #990033; - &:link { color: #990033; } @@ -997,10 +997,14 @@ ul { border: 1px solid #AAA; color: #222222; - a, + a:link, a:visited { color: $links; } + a:hover, + a:active { + color: $links-hover; + } } .ui-widget-header { @@ -2320,8 +2324,10 @@ input { button { &.btn-link { + color: $links; &:focus, &:hover { + color: $links-hover; text-decoration: none; } } --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -696,7 +696,7 @@ [% END %] [% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] - Share + Share [% END %] [% IF s.is_shared_with( loggedinusernumber ) %]
--