Change linenum color of diff viewer for better user visibility.
Review Request #7687 — Created Oct. 9, 2015 and submitted
Information | |
---|---|
eklau | |
Review Board | |
release-2.0.x | |
3981 | |
Reviewers | |
reviewboard | |
I have changed the line number color of diff viewer for better user visibility. The color in diff viewer before was black by default and was a distraction to the actual code. I have made this line number color lighter and less noticable so that the code is easier to read.
Reloaded the page to see if the color had changed.
Fixed the order of code in diffviewer.less
Updated the diff-line-num to #444444
Description | From | Last Updated |
---|---|---|
Hmm. This color might still be too low contrast. Let's darken it a bit. |
|
|
This is the same as after. I think you uploaded the wrong image because thats supposed to be black. |
|
|
Instead of using transparency, can we just make this a medium grey color? Something like #777777? |
|
|
We should probably also add font-weight: normal to avoid the browser bolding everything. |
|
|
Should be in alphabetical order. |
|
-
-
reviewboard/static/rb/css/defs.less (Diff revision 1) Instead of using transparency, can we just make this a medium grey color? Something like #777777?
-
reviewboard/static/rb/css/diffviewer.less (Diff revision 1) We should probably also add
font-weight: normal
to avoid the browser bolding everything.

-
Tool: Pyflakes Ignored Files: reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/diffviewer.less Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/diffviewer.less
-
Your description still talks about transparency, but we're not using transparency anymore.
Please also attach screenshots of equals, removed, and changed blocks (so we can see what it looks like against all color backgrounds).
-

-
Tool: Pyflakes Ignored Files: reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/diffviewer.less Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/diffviewer.less
-
Edward, I'm still waiting on you updating the description to be accurate (we're not using transparency anymore).
Description: |
|
||||||
---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+5 -2) |

-
Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/diffviewer.less Tool: Pyflakes Ignored Files: reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/diffviewer.less
-
I don't agree with this new description of the change. Making the line numbers lighter weight and a lighter color makes them less noticible, not more. The initial problem was that the heavy-weight numbers distracted from the real focus of the page, which should be the code itself.
Description: |
|
---|