]> git.koha-community.org Git - koha.git/commit
Bug 31879: Convert mainpage.css to SCSS
authorOwen Leonard <oleonard@myacpl.org>
Wed, 19 Oct 2022 18:45:48 +0000 (18:45 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Oct 2022 16:18:36 +0000 (13:18 -0300)
commit4a21a36b53c915f2f4bccb8b8401a332d3bcd8d9
tree5ee3574dc91621bf689b7724291c2401880f1762
parentab48b8060ca6bcc974ab36ad73cf61e398743e75
Bug 31879: Convert mainpage.css to SCSS

This patch creates a new SCSS file to be used to generate mainpage.css,
the stylesheet used specifically for the staff interface home page.

The patch makes visible changes in only two places: Removing borders
from two elements to make them consistent with the new staff interface
design:
 - div.pending-info, where pending actions like patrons requesting
   modifications are shown.
 - div#area-userblock, where the contents of the IntranetmainUserblock
   system preference are displayed.

Otherwise the changes are all for the purpose of properly nesting
elements according to SCSS rules and other fixes related to stylelint
rules.

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).

View the main page of the staff interface. Everything should look like
it did before except for those elements which have had their borders
removed.

Signed-off-by: David Nind <david@davidnind.com>
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/src/mainpage.scss [new file with mode: 0644]