You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/04 01:12:59 UTC

[2/2] git commit: updated refs/heads/ui-restyle to f6fb769

Add nth-child coloring for list rows


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f6fb769b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f6fb769b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f6fb769b

Branch: refs/heads/ui-restyle
Commit: f6fb769b69a4add2b2e273eb128b54e17ad5e42d
Parents: 4cf18a1
Author: Brian Federle <br...@citrix.com>
Authored: Thu Oct 3 16:12:42 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Thu Oct 3 16:12:42 2013 -0700

----------------------------------------------------------------------
 ui/stylesheets/csui/_list.scss | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f6fb769b/ui/stylesheets/csui/_list.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_list.scss b/ui/stylesheets/csui/_list.scss
index f82bd89..1a7e2c9 100644
--- a/ui/stylesheets/csui/_list.scss
+++ b/ui/stylesheets/csui/_list.scss
@@ -38,6 +38,10 @@
             &:not(.empty) {
                 border-bottom: 1px solid #ccc;
             }
+
+            &:nth-child(even) {
+                background: lighten(#ccc, 17%);
+            }
         }
 
         tr td {