This commit is contained in:
syuilo 2018-05-07 16:39:00 +09:00
parent 8c46e5b3d9
commit 9eb8595130

View file

@ -25,13 +25,15 @@
</div> </div>
<mk-poll-editor v-if="poll" ref="poll" @destroyed="poll = false"/> <mk-poll-editor v-if="poll" ref="poll" @destroyed="poll = false"/>
<mk-uploader ref="uploader" @uploaded="attachMedia" @change="onChangeUploadings"/> <mk-uploader ref="uploader" @uploaded="attachMedia" @change="onChangeUploadings"/>
<button class="upload" @click="chooseFile">%fa:upload%</button> <footer>
<button class="drive" @click="chooseFileFromDrive">%fa:cloud%</button> <button class="upload" @click="chooseFile">%fa:upload%</button>
<button class="kao" @click="kao">%fa:R smile%</button> <button class="drive" @click="chooseFileFromDrive">%fa:cloud%</button>
<button class="poll" @click="poll = true">%fa:chart-pie%</button> <button class="kao" @click="kao">%fa:R smile%</button>
<button class="poll" @click="useCw = !useCw">%fa:eye-slash%</button> <button class="poll" @click="poll = true">%fa:chart-pie%</button>
<button class="geo" @click="geo ? removeGeo() : setGeo()">%fa:map-marker-alt%</button> <button class="poll" @click="useCw = !useCw">%fa:eye-slash%</button>
<button class="visibility" @click="setVisibility" ref="visibilityButton">%fa:lock%</button> <button class="geo" @click="geo ? removeGeo() : setGeo()">%fa:map-marker-alt%</button>
<button class="visibility" @click="setVisibility" ref="visibilityButton">%fa:lock%</button>
</footer>
<input ref="file" class="file" type="file" accept="image/*" multiple="multiple" @change="onChangeFile"/> <input ref="file" class="file" type="file" accept="image/*" multiple="multiple" @change="onChangeFile"/>
</div> </div>
</div> </div>
@ -336,24 +338,25 @@ root(isDark)
> .file > .file
display none display none
> .upload > footer
> .drive white-space nowrap
> .kao overflow auto
> .poll -webkit-overflow-scrolling touch
> .geo overflow-scrolling touch
> .visibility
display inline-block > *
padding 0 display inline-block
margin 0 padding 0
width 48px margin 0
height 48px width 48px
font-size 20px height 48px
color #657786 font-size 20px
background transparent color #657786
outline none background transparent
border none outline none
border-radius 0 border none
box-shadow none border-radius 0
box-shadow none
.mk-post-form[data-darkmode] .mk-post-form[data-darkmode]
root(true) root(true)