GameProposal: create new game #38

Merged
djmil merged 4 commits from 32-newgame-create into main 2023-11-13 16:59:12 +01:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 82f5b07256 - Show all commits

View File

@ -97,16 +97,19 @@
margin: 2px;
}
.ActionPanel .Create:hover, /* OR */
.game-action.busy
.ActionPanel .Create.ready /* , */ /* OR .game-action.busy */
{
background-color:#00b0ff60;
}
.ActionPanel .Create.enabled:active {
.ActionPanel .Create.ready:hover {
background-color:#00b0ffa0;
}
.ActionPanel .Create.ready:active {
background-color:#00b0fff0;
}
.ActionPanel .Cancel:hover,
.ActionPanel .Reject:hover {
background-color:#ff000030

View File

@ -25,7 +25,7 @@ export default function Create({ isCurrentUser }) {
return (
<button className={'Create'
+ (hasPlayers && hasCurrentUser ? ' enabled' : ' disabled')
+ (hasPlayers && hasCurrentUser ? ' ready' : '')
}
onClick={pushNewGame}
>