This commit is contained in:
ntr 2019-04-01 12:28:30 +11:00
parent c31f11624b
commit 631295e3b7
2 changed files with 4 additions and 4 deletions

View File

@ -28,17 +28,17 @@ button, input {
transition-timing-function: ease; transition-timing-function: ease;
} }
button:hover { button:hover, button:focus {
/*colour necesary to bash skellington*/ /*colour necesary to bash skellington*/
color: whitesmoke; color: whitesmoke;
border-color: whitesmoke; border-color: whitesmoke;
} }
button.right:hover { button.right:hover, button.right:focus {
box-shadow: inset -0.5em 0 0 0 whitesmoke; box-shadow: inset -0.5em 0 0 0 whitesmoke;
} }
button.left:hover { button.left:hover, button.left:focus {
box-shadow: inset 0.5em 0 0 0 whitesmoke; box-shadow: inset 0.5em 0 0 0 whitesmoke;
} }

View File

@ -75,7 +75,7 @@ function GamePanel(props) {
<button <button
key={i} key={i}
disabled={!!cdText || ko} disabled={!!cdText || ko}
className={`cryp-skill-btn ${highlight ? 'active' : ''}`} className={`cryp-skill-btn right ${highlight ? 'active' : ''}`}
type="submit" type="submit"
onClick={() => setActiveSkill(cryp.id, s.skill)}> onClick={() => setActiveSkill(cryp.id, s.skill)}>
{s.skill} {cdText} {s.skill} {cdText}