[PATCH website 1/7] Bring in CSS for rating colors from AppDB

Kyle Auble kyle.auble at zoho.com
Wed May 2 20:11:20 CDT 2018


Signed-off-by: Kyle Auble <kyle.auble at zoho.com>
---
 css/styles.css | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/css/styles.css b/css/styles.css
index 55640887..8fd8b13c 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -587,8 +587,27 @@ p.indent            { padding-left: 1em; padding-right: 1em;}
 .committed          { font-style: italic; color: gray; }
 
 /* App Support status */
+.platinum           { background-color: whitesmoke; }
 .gold               { background-color: wheat; }
 .silver             { background-color: silver; }
+.bronze             { background-color: goldenrod; }
+.garbage            { background-color: darkkhaki; }
+
+/* table row colors for ratings (alternating colors for rows) */
+tr:nth-child(odd) td.Platinum   { background-color: #E5E4E2 !important; }
+tr:nth-child(even) td.Platinum  { background-color: #F5F5F5 !important; }
+
+tr:nth-child(odd) td.Gold       { background-color: #FFF600 !important; }
+tr:nth-child(even) td.Gold      { background-color: #fffcb3 !important; }
+
+tr:nth-child(odd) td.Silver     { background-color: #A9A9A9 !important; }
+tr:nth-child(even) td.Silver    { background-color: #D3D3D3 !important; }
+
+tr:nth-child(odd) td.Bronze     { background-color: #DAA520 !important; }
+tr:nth-child(even) td.Bronze    { background-color: #FCBA0A !important; }
+
+tr:nth-child(odd) td.Garbage    { background-color: #999966 !important; }
+tr:nth-child(even) td.Garbage   { background-color: #BDB76B !important; }
 
 /*
   =====================================================================================================================
-- 
2.11.0





More information about the wine-devel mailing list