Koha/koha-tmpl/intranet-tmpl/prog/css
Owen Leonard b680695142
Bug 34392: Run automated Stylelint fixes on staff CSS
This patch corrects errors raised by the new stylelint configuration in
staff-global.scss. Many of the fixes were made automatically by using
the "--fix" option:

npx stylelint koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
--fix

Some examples of errors found:

    - Expected single space after ":"
    - Expected single space after "("
    - Expected single space before ")"
    - Expected empty line before comment
    - Expected no more than 1 empty line
    - Expected a trailing semicolon

Manual fixes include replacing named colors with hex codes, combining
duplicate selectors, removing empty blocks, etc.

Some warnings remain: "Unexpected !important" requires more than a
quick fix, if we should choose to address them.

To test, apply the patch and rebuild the staff interface CSS:
https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client

The changes affect CSS all around the staff interface, but there should
be no visible results of the patch. Everything should look correct.

The stylelint check should return only warnings about "!important"

npx stylelint koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-18 16:00:34 -03:00
..
src Bug 34392: Run automated Stylelint fixes on staff CSS 2023-10-18 16:00:34 -03:00
addbiblio.css Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
cateditor.css Bug 34567: Correct colors for advanced cataloging editor status bar 2023-08-30 09:02:40 -03:00
hierarchy.css
humanmsg.css
itemsearchform.css
login.css Bug 32044: Improve consistency in primary submit buttons 2022-11-02 19:26:29 -03:00
preferences.css Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
print.css Bug 34119: Improve staff interface print stylesheet following redesign 2023-10-18 10:26:01 -03:00
printreceiptinvoice.css Bug 13614: Replace usage of YUI on basket groups page 2022-06-07 09:32:17 -03:00
reports.css Bug 32239: Remove uneeded CSS from reports.css 2023-01-31 11:08:49 -03:00
right-to-left.css Bug 30952: Fix navbar elements ordering for RTL 2022-10-12 16:14:35 -03:00
select2.css
spinelabel.css
tinymce.css
uploader.css