Make review comments standout more from the surrounding code

Review comments are now using the same size font, so the text is a
bit larger and easier to read.  They also use up a bit more screen
space vertically, so its easier to notice the comment block.

Comment sections have a thick orange border on the left and right side,
making them stand out visually from the other parts of the file.
We also color them with a light-peachish background color, which is
visually distinct from the light green or red used on other lines.

Bug: GERRIT-72
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-02-13 09:30:02 -08:00
parent 46a631be79
commit b97bd5e42a

View File

@@ -368,6 +368,11 @@
}
.gerrit-PatchContentTable td.Comment {
vertical-align: top;
border-left: 5px solid orange;
}
.gerrit-PatchContentTable .gwt-DisclosurePanel {
background: #fef8cb;
padding-right: 5px;
}
.gerrit-PatchContentTable .Comment .header {
width: 35em;
@@ -623,8 +628,11 @@
display: table;
}
.gerrit-PatchLineComment {
font-size: smaller;
.gerrit-SideBySideScreen-SideBySideTable td.Comment {
border-left: 5px solid orange;
border-right: 5px solid orange;
padding-right: 5px;
background: #fef8cb;
}
.gerrit-CommentEditor {