From 106469dbf424b541c493356aea15e43237376fca Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Tue, 26 Apr 2016 16:33:45 +0200 Subject: [PATCH] Improves table layout for sps admin summary --- app/assets/stylesheets/admin.scss | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 7f05b47f8..dc7ac5d25 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -357,13 +357,27 @@ body.admin { .investment-projects-summary { - th { + th, td { text-align: center; - width: 33%; &:first-child { + font-weight: bold; text-align: left; } + + &:last-child { + font-weight: bold; + } + } + + tr { + &:nth-child(even) td:last-child { + background: $success-border; + } + + &:nth-child(odd) td:last-child { + background: $success-bg; + } } } }