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 <[email protected]> Authored: Thu Oct 3 16:12:42 2013 -0700 Committer: Brian Federle <[email protected]> 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 {
