Koha/koha-tmpl/intranet-tmpl/prog/css/src
Owen Leonard d6f1ca6255
Bug 32145: Fix style of buttons with class .btn-danger
This patch adds style to the staff client's global SCSS which adds
correct styling to buttons classed with .btn-danger.

This isn't the correct way to fix this, but it's the fast way.
Rebuilding Bootstrap with custom colors is the correct way, but
Bootstrap 3.x doesn't use SCSS. I consider this is a FIXME for an
upgrade of Bootstrap in the staff interface.

To test, apply the patch and rebuild the staff interface CSS. Test
instances where the .btn-danger class is used. Two examples:

Holds:

- Locate a bibliographic records with holds and view the holds.
- Click the "trash" icon to delete one of the holds.
- In the confirmation modal, check that the "Confirm cancellation"
  button looks correct in its default, hover, and active ("clicked")
  state.

Cataloging:

- Open a new blank record in the basic MARC editor.
- Click "Save" without filling any mandatory fields.
- You should see a warning about the empty fields.
- Scroll down until the warning is offscreen. An "Errors" button should
  appear in the toolbar.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-10 14:47:42 -03:00
..
_flatpickr.scss Bug 31943: Date inputs wider than other inputs 2022-11-03 09:03:45 -03:00
_flatpickr_vars.scss Bug 28963: Use Flatpickr on calendar page 2021-10-12 11:15:32 +02:00
_fonts.scss Bug 30952: Add Poppins font assets 2022-10-12 15:58:32 -03:00
_forms.scss Bug 32022: Style tweaks to fieldsets and page-section 2022-10-28 16:41:36 -03:00
_header.scss Bug 32004: Match font size for dropdowns to header 2022-11-09 13:56:59 -03:00
_mixins.scss Bug 32148: Buttons must inherit Bootstrap size classes 2022-11-10 09:28:19 -03:00
_tables.scss Bug 31861: (follow-up) Fix disabled clear search button 2022-10-24 11:13:51 -03:00
_toolbar.scss Bug 32101: Add padding to floating toolbars 2022-11-10 09:29:59 -03:00
_variables.scss Bug 31943: Date inputs wider than other inputs 2022-11-03 09:03:45 -03:00
calendar.scss Bug 28963: Use Flatpickr on calendar page 2021-10-12 11:15:32 +02:00
holds.scss Bug 28816: Improve the display of multiple holds during hold process 2021-11-03 15:40:53 +01:00
installer.scss Bug 28982: Use Flatpickr on onboarding pages 2021-11-03 15:40:53 +01:00
mainpage.scss Bug 31879: Convert mainpage.css to SCSS 2022-10-24 13:18:36 -03:00
staff-global.scss Bug 32145: Fix style of buttons with class .btn-danger 2022-11-10 14:47:42 -03:00