mirror of https://github.com/bra1n/townsquare.git
moving button group to the bototm of the modal, as it is not priority information, swapped out the active CSS for the existing .townsfolt class took the button group out of the UL and surounded in a div.
This commit is contained in:
parent
8006ecb55c
commit
0ef34ca3a1
|
@ -8,42 +8,40 @@
|
||||||
: "bluffing"
|
: "bluffing"
|
||||||
}}
|
}}
|
||||||
</h3>
|
</h3>
|
||||||
<ul>
|
<ul class="tokens" v-if="tab === 'editionRoles'">
|
||||||
<li class="button-group" v-if="isBluffs()">
|
<li
|
||||||
<span
|
v-for="role in availableRoles"
|
||||||
class="button"
|
:class="[role.team]"
|
||||||
:class="{ active: tab === 'editionRoles' }"
|
:key="role.id"
|
||||||
@click="tab = 'editionRoles'"
|
@click="setRole(role)"
|
||||||
>Edtition Roles</span
|
>
|
||||||
>
|
<Token :role="role" />
|
||||||
<span
|
|
||||||
class="button"
|
|
||||||
:class="{ active: tab === 'otherTravellers' }"
|
|
||||||
@click="tab = 'otherTravellers'"
|
|
||||||
>Other Travellers</span
|
|
||||||
>
|
|
||||||
</li>
|
</li>
|
||||||
<ul class="tokens" v-if="tab === 'editionRoles'">
|
|
||||||
<li
|
|
||||||
v-for="role in availableRoles"
|
|
||||||
:class="[role.team]"
|
|
||||||
:key="role.id"
|
|
||||||
@click="setRole(role)"
|
|
||||||
>
|
|
||||||
<Token :role="role" />
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tokens" v-if="tab === 'otherTravellers'">
|
|
||||||
<li
|
|
||||||
v-for="role in extraTravellers"
|
|
||||||
:class="[role.team]"
|
|
||||||
:key="role.id"
|
|
||||||
@click="setRole(role)"
|
|
||||||
>
|
|
||||||
<Token :role="role" />
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
<ul class="tokens" v-if="tab === 'otherTravellers'">
|
||||||
|
<li
|
||||||
|
v-for="role in extraTravellers"
|
||||||
|
:class="[role.team]"
|
||||||
|
:key="role.id"
|
||||||
|
@click="setRole(role)"
|
||||||
|
>
|
||||||
|
<Token :role="role" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="button-group" v-if="isBluffs()">
|
||||||
|
<span
|
||||||
|
class="button"
|
||||||
|
:class="{ townsfolk: tab === 'editionRoles' }"
|
||||||
|
@click="tab = 'editionRoles'"
|
||||||
|
>Edtition Roles</span
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="button"
|
||||||
|
:class="{ townsfolk: tab === 'otherTravellers' }"
|
||||||
|
@click="tab = 'otherTravellers'"
|
||||||
|
>Other Travellers</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -145,14 +143,6 @@ ul.tokens li {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button.active {
|
|
||||||
background: linear-gradient(
|
|
||||||
to bottom,
|
|
||||||
$townsfolk 0%,
|
|
||||||
rgba(0, 0, 0, 0.7) 100%
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
#townsquare.spectator ul.tokens li.traveler {
|
#townsquare.spectator ul.tokens li.traveler {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue