This commit is contained in:
syuilo 2019-02-20 01:00:59 +09:00
parent 1b8467d5e5
commit 7921f8cd43
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 49 additions and 39 deletions

View file

@ -1,6 +1,6 @@
<template>
<button class="wfliddvnhxvyusikowhxozkyxyenqxqr"
:class="{ wait, block, inline, mini, active: isFollowing || hasPendingFollowRequestFromYou }"
:class="{ wait, block, inline, mini, transparent, active: isFollowing || hasPendingFollowRequestFromYou }"
@click="onClick"
:disabled="wait"
:inline="inline"
@ -38,7 +38,12 @@ export default Vue.extend({
type: Boolean,
required: false,
default: false
}
},
transparent: {
type: Boolean,
required: false,
default: true
},
},
data() {
@ -134,6 +139,9 @@ export default Vue.extend({
border solid 1px var(--primary)
border-radius 36px
&:not(.transparent)
background #fff
&.inline
display inline-block