Commit c3e56cfc authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt

improve legibility and consistency of poll vote-type buttons

parent 069540a8
Pipeline #1196 failed with stage
in 55 seconds
<template>
<div>
<div v-if="this.voteType.getType() !== 'hidden'">
<div v-if="this.voteType.getType() !== 'hidden'" style="margin: 2rem 0 -1rem 0">
<label id="vote-type-label" class="control-label">
Wie wird abgestimmt?
</label>
<div class="row">
<div class="col-md-6" v-for="choice in voteTypes">
<div class="form-group" aria-labelledby="vote-type-label">
<div class="btn btn-default btn-state"
<div class="btn btn-plane"
:aria-pressed="myVoteType === choice.value ? 'true' : 'false'"
@click="myVoteType = choice.value">
<poll-vote-type :choice="choice" />
......
<template>
<div class="content-meta">
<div class="content-meta-avatar">
<div class="avatar avatar-size-48-48" style="color: inherit">
<i class="fa" style="font-size: 2.25rem" :class="choice.icon"></i>
</div>
<span class="btn-radio-state-indicator"></span>
</div>
<div class="content-meta-info">
<div class="content-meta-author">{{ choice.name }}</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment