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> <template>
<div> <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"> <label id="vote-type-label" class="control-label">
Wie wird abgestimmt? Wie wird abgestimmt?
</label> </label>
<div class="row"> <div class="row">
<div class="col-md-6" v-for="choice in voteTypes"> <div class="col-md-6" v-for="choice in voteTypes">
<div class="form-group" aria-labelledby="vote-type-label"> <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'" :aria-pressed="myVoteType === choice.value ? 'true' : 'false'"
@click="myVoteType = choice.value"> @click="myVoteType = choice.value">
<poll-vote-type :choice="choice" /> <poll-vote-type :choice="choice" />
......
<template> <template>
<div class="content-meta"> <div class="content-meta">
<div class="content-meta-avatar"> <div class="content-meta-avatar">
<div class="avatar avatar-size-48-48" style="color: inherit"> <span class="btn-radio-state-indicator"></span>
<i class="fa" style="font-size: 2.25rem" :class="choice.icon"></i>
</div>
</div> </div>
<div class="content-meta-info"> <div class="content-meta-info">
<div class="content-meta-author">{{ choice.name }}</div> <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