Bug 32044: Improve consistency in primary submit buttons
authorOwen Leonard <oleonard@myacpl.org>
Mon, 31 Oct 2022 18:19:03 +0000 (18:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 2 Nov 2022 22:26:29 +0000 (19:26 -0300)
commit4bef47bba8f56a1ab7da87a07123582ad4055c0d
treed8626654330b34731b2fe26aa8b653ce7e643498
parentc13692cc4bff70d8f9a55a90814ad4d728bf6756
Bug 32044: Improve consistency in primary submit buttons

We currently have a mix of ways to style buttons, including some using
Bootstrap's btn-primary class and some with CSS targeting
input[type='submit']. This patch works to make these buttons more
consistent in their appearance and to improve the modularity of related
SCSS.

The patch also removes some unused CSS from login.css.

To test, apply the patch and rebuild the staff interface CSS.

Test various page to see if main submit buttons look correct in their
default, hover, and active states:

- The login page
- Circulation -> Checkouts -> Check out button (btn-primary)
- Circulation -> Set library (input[type='submit'])
- Cataloging -> Basic MARC editor (split button)

Also check "default" buttons:

- Patrons -> Sidebar filter (input[type='button'])
- Circulation -> Checkouts -> Show checkouts (btn-default)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/login.css
koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss
koha-tmpl/intranet-tmpl/prog/css/src/_toolbar.scss
koha-tmpl/intranet-tmpl/prog/css/src/_variables.scss
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss