css solved class ambiguity fix

This commit is contained in:
Daniel 2014-04-22 12:05:54 +02:00
commit 6e238f9a1c
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@
<?php if(!is_null($queststatus)) : ?>
<?php if($queststatus == 'solved') : ?>
<section class="solved">
<section class="success">
<p class="fwb"><i class="fa fa-check-circle fa-fw"></i><?=_('solved')?></p>
<p><small><?=sprintf(_('Quest completed. You have earned %d XPs.'), $quest['xps'])?></small></p>
<?php elseif($queststatus == 'unsolved') : ?>

View file

@ -237,9 +237,9 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
/** Quest Types **/
.solved,.error{margin-top:15px;padding:5px 15px;border:1px solid #4F8A10;background:#DFF2BF;color:#4F8A10;border-radius:3px}
.success,.error{margin-top:15px;padding:5px 15px;border:1px solid #4F8A10;background:#DFF2BF;color:#4F8A10;border-radius:3px}
.error{border:1px solid #850000;background:#ebd3d3;color:#850000}
.solved p,.error p{margin-bottom:5px}
.success p,.error p{margin-bottom:5px}
.mchoice{list-style-type:lower-alpha;list-style-position:inside}
.mchoice li{margin:0 0 10px 0}