player menu order

This commit is contained in:
nicfreeman1209 2021-05-05 11:21:31 +01:00
parent 335c2dd211
commit 946bafec5b
2 changed files with 11 additions and 14 deletions

View File

@ -143,11 +143,7 @@
</template> </template>
</template> </template>
<template <template v-if="tab === 'players' && !session.isSpectator">
v-if="
tab === 'players' && !session.isSpectator
"
>
<!-- Users --> <!-- Users -->
<li class="headline">Players</li> <li class="headline">Players</li>
<li @click="addPlayer" v-if="players.length < 20">Add<em>[A]</em></li> <li @click="addPlayer" v-if="players.length < 20">Add<em>[A]</em></li>

View File

@ -132,18 +132,18 @@
<li @click="changeName"> <li @click="changeName">
<font-awesome-icon icon="user-edit" />Rename <font-awesome-icon icon="user-edit" />Rename
</li> </li>
<li @click="movePlayer()">
<font-awesome-icon icon="redo-alt" />
Move player
</li>
<li @click="swapPlayer()">
<font-awesome-icon icon="exchange-alt" />
Swap seats
</li>
<li @click="removePlayer"> <li @click="removePlayer">
<font-awesome-icon icon="times-circle" /> <font-awesome-icon icon="times-circle" />
Remove Remove
</li> </li>
<li @click="movePlayer()">
<font-awesome-icon icon="redo-alt" />
Move player
</li>
<li @click="swapPlayer()">
<font-awesome-icon icon="exchange-alt" />
Swap seats
</li>
<template v-if="!session.nomination"> <template v-if="!session.nomination">
<li @click="nominatePlayer()"> <li @click="nominatePlayer()">
<font-awesome-icon icon="hand-point-right" /> <font-awesome-icon icon="hand-point-right" />
@ -594,7 +594,8 @@ li.move:not(.from) .player .overlay svg.move {
} }
/****** Vote icon ********/ /****** Vote icon ********/
.player .has-vote, .player .on-block { .player .has-vote,
.player .on-block {
color: #fff; color: #fff;
filter: drop-shadow(0 0 3px black); filter: drop-shadow(0 0 3px black);
transition: opacity 250ms; transition: opacity 250ms;