summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-02-13 09:30:02 -0800
committerShawn O. Pearce <sop@google.com>2009-02-13 10:58:55 -0800
commitb97bd5e42a0e4bee99f7554d2e25da90f0a84333 (patch)
tree6cbf4d179e288f8d0f94ee6d24fd78338dfa4b04
parent46a631be79d4e553ef3066eac7efb429df705027 (diff)
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>
-rw-r--r--src/main/java/com/google/gerrit/public/Gerrit.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main/java/com/google/gerrit/public/Gerrit.css b/src/main/java/com/google/gerrit/public/Gerrit.css
index 55e4a7c43a..b15cf42c9e 100644
--- a/src/main/java/com/google/gerrit/public/Gerrit.css
+++ b/src/main/java/com/google/gerrit/public/Gerrit.css
@@ -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 {