• 
      

    Split up parts of defs.less and common.less.

    Review Request #5859 — Created May 22, 2014 and submitted

    Information

    Review Board
    release-2.0.x
    2510bab...

    Reviewers

    This is the first step in cleaning up our CSS rules, with the aim of
    bringing some consistency, organization, and to make some rules more
    reusable for extensions.

    defs.less's mixins have been moved out into a set of files in mixins/.
    defs.less pulls those in, meaning that any existing consumer of
    defs.less will continue to work.

    common.less has too much junk in it. Some of the things in there are
    reusable UI components, like boxes, buttons, and banners. Those three
    have been pulled out into files in a ui/ directory.

    My goal is to get all the styles into consistent places over the next
    few changes, and then begin to standardize some of the naming, hopefully
    coming up with a standard set of classes that we can document and reuse
    in extensions.

    Pages continued to load correctly.

    Successfully built a package.

    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
          reviewboard/staticbundles.py
        Ignored Files:
          reviewboard/static/rb/css/layout/helpers.less
          reviewboard/static/rb/css/ui/banners.less
          reviewboard/static/rb/css/mixins/gradients.less
          reviewboard/static/rb/css/ui/boxes.less
          reviewboard/static/rb/css/common.less
          reviewboard/static/rb/css/defs.less
          reviewboard/static/rb/css/ui/buttons.less
          reviewboard/static/rb/css/mixins/style.less
      
      
    2. 
        
    reviewbot
    1. This is a review from Review Bot.
        Tool: Pyflakes
        Processed Files:
          reviewboard/staticbundles.py
        Ignored Files:
          reviewboard/static/rb/css/layout/helpers.less
          reviewboard/static/rb/css/ui/banners.less
          reviewboard/static/rb/css/mixins/gradients.less
          reviewboard/static/rb/css/ui/boxes.less
          reviewboard/static/rb/css/common.less
          reviewboard/static/rb/css/defs.less
          reviewboard/static/rb/css/ui/buttons.less
          reviewboard/static/rb/css/mixins/style.less
      
      
    2. 
        
    david
    1. Ship It!

    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (fc74a9e)