From 49ae81fcf02c5f458d3bd798c5cb299368bf5a2e Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Fri, 27 Nov 2015 16:37:16 +0100 Subject: [PATCH] Make 'Cancel' button in reply box grey In the Gerrit UI we highlight buttons that the user should click next. But in the reply box we currently highlight both buttons, the 'Post' button and the 'Cancel' button. Clicking on cancel means you lose the reply that you have typed so far and we shouldn't suggest doing this by highlighting the 'Cancel' button. Change-Id: I2a82768095a72bb5d5c49e88d12eda111a121995 Signed-off-by: Edwin Kempin --- .../main/java/com/google/gerrit/client/change/ReplyBox.ui.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.ui.xml b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.ui.xml index 52f6b6aa0d..6903b9125c 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.ui.xml +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/ReplyBox.ui.xml @@ -38,7 +38,10 @@ limitations under the License. position: absolute; bottom: 5px; right: 5px; + background-color: #eee; + background-image: -webkit-linear-gradient(top, #eee, #eee); } + .cancel div { color: #444; } .comments { max-height: 275px; width: 526px;