From 8854ef6af4f89df49a15c3a37d932a3543aafc9b Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 23 Jan 2016 18:50:20 -0500 Subject: [PATCH] Fix tournaments in dark mode --- style/client.css | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/style/client.css b/style/client.css index 7471501bc..19917d858 100644 --- a/style/client.css +++ b/style/client.css @@ -1395,13 +1395,16 @@ a.ilink.yours { border-width: 0; } .tournament-bracket-table-cell-result-win { - background-color: rgba(0, 255, 0, 0.2) + background-color: rgba(128, 196, 128, 0.7); + color: black; } .tournament-bracket-table-cell-result-draw { - background-color: rgba(255, 255, 0, 0.2) + background-color: rgba(255, 196, 128, 0.7); + color: black; } .tournament-bracket-table-cell-result-loss { - background-color: rgba(255, 0, 0, 0.2) + background-color: rgba(255, 128, 128, 0.7); + color: black; } .tournament-bracket-tree-link { @@ -1414,20 +1417,24 @@ a.ilink.yours { } .tournament-bracket-tree-node > rect { /* Note: Due to SVG limitations, dimensions and border radii are in client-chat-tournament.js (nodeSize) */ - fill: rgba(74, 77, 80, 0.2); + fill: rgba(178, 194, 210, 0.7); stroke: rgba(74, 77, 80, 0.7); + color: black; } .tournament-bracket-tree-node-win > rect { - fill: rgba(0, 128, 0, 0.2); + fill: rgba(128, 196, 128, 0.7); stroke: rgba(0, 128, 0, 0.7); + color: black; } .tournament-bracket-tree-node-draw > rect { - fill: rgba(255, 128, 0, 0.2); + fill: rgba(255, 196, 128, 0.7); stroke: rgba(255, 128, 0, 0.7); + color: black; } .tournament-bracket-tree-node-loss > rect { - fill: rgba(255, 0, 0, 0.2); + fill: rgba(255, 128, 128, 0.7); stroke: rgba(255, 0, 0, 0.7); + color: black; } .tournament-bracket-tree-node > text { font-size: 0.8em;