@@ -, +, @@ pay/writeoff buttons in paycollect - Locate a patron who has outstanding charges (lost item charge, account renewal fee, overdue fine, etc.). - From the patron checkout or detail page, click the "Accounting" tab in the left hand sidebar. - Click the "Pay" button on one of the oustanding charges. - On the "Pay an individual fine" page, confirm that there is a button and a link at the top of tab panel: "Pay" and "Write off." The "Pay" button should green with white text, the "Write off" button should be white with green text. - Click the "Write off" button and the styles of the links should be reversed. - Confirm that the CSS changes do not affect the appearance of the main navigation bar at the top of the page. --- .../intranet-tmpl/prog/css/src/_header.scss | 7 +++-- .../prog/css/src/staff-global.scss | 27 ++++++++++++++----- .../prog/en/modules/members/paycollect.tt | 4 +-- 3 files changed, 28 insertions(+), 10 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss +++ a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss @@ -8,8 +8,11 @@ a.navbar-toggle { color: #FFFFFF; text-shadow: unset; - &:hover, &:active { - border-bottom: 1px #FFFFFF; + &:hover, + &:active, + &:focus { + background-color: transparent; + text-decoration: underline 2px; } } --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2962,14 +2962,29 @@ nav { border: 0; } -.nav > li > a:hover, -.nav > li > a:focus { - background-color: transparent; - padding: .4em 15px; - color: #fff; - text-decoration: underline 2px; +.nav-pills { + li { + a { + background-color: transparent; + } + &.active { + a { + &:link, + &:visited { + background-color: $background-color-primary; + } + + &:active, + &:hover, + &:focus { + background-color: $background-color-secondary; + } + } + } + } } + .pagination { margin: .5em 0; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -131,7 +131,7 @@ [% ELSE %] @@ -228,7 +228,7 @@ [% ELSIF ( writeoff_individual ) %]
--