From 6b8c58ac2d4de502421acef48f4434bee605633f Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Tue, 8 Jan 2013 01:53:05 -0800 Subject: Challenges Implementation. LOTS of stuff Fixed an issue with loading best solution from logged out to logged in state. Commented out a lot of firephp stuff; feel free to uncomment. --- css/challenge.css | 15 ++++++++++++--- css/stats.css | 19 ++++++++++++++++--- 2 files changed, 28 insertions(+), 6 deletions(-) (limited to 'css') diff --git a/css/challenge.css b/css/challenge.css index 12ba61a..399570b 100644 --- a/css/challenge.css +++ b/css/challenge.css @@ -5,11 +5,20 @@ font-weight: bold; } #challenge_wrapper #challenges_listing { } -#challenge_wrapper #challenges_listing .challenge_complete { - text-decoration: line-through; +.challenge_complete { + color:green; + font-weight: normal; } -#challenge_wrapper #challenges_listing .challenge_incomplete { +.challenge_incomplete { font-weight: bold; + color:red; +} + +.challenge_complete a { + display:inline; +} +.challenge_incomplete a { + display: none; } /** Challenge listing page **/ diff --git a/css/stats.css b/css/stats.css index 8d3b361..ab4cb96 100644 --- a/css/stats.css +++ b/css/stats.css @@ -87,10 +87,15 @@ td, th { margin-right:auto; position:relative; } + + .scoreMedal { - text-align:right; - vertical-align:bottom; - background-repeat:no-repeat; + text-align:left; +} +.scoreMedal img { + width:32px; + height:32px; + vertical-align:middle; } .scoreGold { background-image: url(../images/MedalGoldCAb.png); @@ -98,4 +103,12 @@ td, th { .scoreSilver { background-image: url(../images/MedalSilverCAb.png); } +.scoreName { + float:left; + padding: 5px 0px 3px 3px; + width:120px; + overflow:hidden; + text-overflow: ellipsis; + white-space:nowrap; +} -- cgit v1.2.3