From a3faad5f6a351aff7fb04c656f07d2e7aa2befd6 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 7 Nov 2014 11:10:41 +0100 Subject: [PATCH] make -1s red in gerrit new screen the following css attribute selector will make -1s in the english ui version of gerrit new screen be the color red. This is as good as we can do today given that gerrit doesn't provide real classes on things any more. Reference on attr selectors: http://css-tricks.com/attribute-selectors/ (should work on all browsers > ie6) A follow up will be to see if we can get proper semantic tags back into gerrit for things like this. Change-Id: I8236cf83b648bfe352daea1f3ae59c151068ab44 --- modules/openstack_project/files/gerrit/GerritSite.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/openstack_project/files/gerrit/GerritSite.css b/modules/openstack_project/files/gerrit/GerritSite.css index 7dd70293a0..5b60381195 100644 --- a/modules/openstack_project/files/gerrit/GerritSite.css +++ b/modules/openstack_project/files/gerrit/GerritSite.css @@ -65,3 +65,8 @@ table.infoTable td.notVotable, .addMemberTextBox { width: 20em; } + +/* css attribute selector to make -1s show up red in new screen */ +[title="This patch needs further work before it can be merged"] { + color: red; +} \ No newline at end of file