Skip to content
  • Owen Leonard's avatar
    Bug 20427: Convert OPAC LESS to SCSS · 2df87a94
    Owen Leonard authored and Wm. Nick Clemens's avatar Wm. Nick Clemens committed
    
    
    This patch converts the OPAC LESS files to SCSS. In the process of
    converting opac.less (and other .less files) to .scss, I have improved
    the completeness of the nesting, reordered properties, and in general
    done cleanup based on rules in .scss-lint.yml. All of these changes
    should have no impact on the style of the OPAC.
    
    This patch modifies the commands used to compile CSS so that OPAC and
    staff assets can be processed separately:
    
    'yarn build' <-- Builds the staff client assets by default
    'yarn build --view opac' <-- Builds OPAC assets
    
    To test, apply the patch and compile the CSS by running the command
    above (or apply the follow-up patch with compiled CSS).
    
    Do a thorough review of the OPAC, taking care to cover as many pages as
    possible and checking responsive behavior at the same time. There should
    be no visual differences in the OPAC before and after applying the
    patch.
    
    Signed-off-by: default avatarClaire Gravely <claire.gravely@bsz-bw.de>
    
    Signed-off-by: default avatarKatrin Fischer <katrin.fischer.83@web.de>
    
    Signed-off-by: default avatarNick Clemens <nick@bywatersolutions.com>
    2df87a94