From: Ant Zucaro Date: Fri, 13 Mar 2015 01:58:09 +0000 (-0400) Subject: Finish up the game finder page. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6f8c395d88f1d1dfe9e520aa5fac76c8d45e5618;p=xonotic%2Fxonstat.git Finish up the game finder page. I added styles to the nice row of gametype buttons at the top and made sure that they didn't break the flow on mobile. --- diff --git a/xonstat/static/css/app.css b/xonstat/static/css/app.css index 07a916e..a15c61d 100644 --- a/xonstat/static/css/app.css +++ b/xonstat/static/css/app.css @@ -184,3 +184,18 @@ table thead tr th, table thead tr td, table tr th, table tr td { margin: 0; padding: 0.5rem 1rem 0.5rem; } + +.tabs dd > a, .tabs .tab-title > a { + background: none; + color: #aaa; + padding: 1rem; +} + +.tabs dd > a:hover, .tabs .tab-title > a:hover { + background-color: #1D1D1D; +} + +.tabs dd.active a, .tabs .tab-title.active a { + background-color: #111; + color: #aaa; +} diff --git a/xonstat/templates/game_finder.mako b/xonstat/templates/game_finder.mako index 49ff842..a2ff12f 100644 --- a/xonstat/templates/game_finder.mako +++ b/xonstat/templates/game_finder.mako @@ -20,7 +20,7 @@ Game Index