Make some CSS selectors more specific to avoid style bleed into descendents.

Review Request #4492 — Created Aug. 27, 2013 and submitted

Information

Review Board
master

Reviewers

Make some CSS selectors more specific to avoid style bleed into descendents.

The list of replies to a comment on the review request page are arranged
semantically, using ul>li. Unfortunately, the reply-comments style bled through
to *all* li descendants of the top-level list, and not just immediate children.
This meant that when markdown formatting used a list (for actual lists, or the
way that it formats code samples), it would have all the junk used to display
the replies.

Similarly, a couple of the elements inside the change description banners at
the top of the page had loose selectors which caused styles to bleed into the
<pre> unnecessarily.
Saw that lists inside the .reviewtext and change description elements didn't
inherit a bunch of junky styles.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/css/reviews.less
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/css/reviews.less
    
    
  2. 
      
FA
  1. teste review
    1. This is a production server. Please do not use it for testing.
      
      If you'd like to test, you can use http://demo.reviewboard.org (username 'guest', password 'guest')
  2. 
      
david
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/css/common.less
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/css/reviews.less
        reviewboard/static/rb/css/common.less
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (03820d8).
Loading...