mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-02 00:38:14 +09:00
✌️
This commit is contained in:
parent
ff29e7bb14
commit
08e83e1374
@ -1,5 +1,5 @@
|
||||
<mk-post-form-window>
|
||||
<mk-window ref="window" is-modal={ true } colored={ true }>
|
||||
<mk-window ref="window" is-modal={ true }>
|
||||
<yield to="header">
|
||||
<span if={ !parent.opts.reply }>新規投稿</span>
|
||||
<span if={ parent.opts.reply }>返信</span>
|
||||
|
@ -1,7 +1,11 @@
|
||||
<mk-repost-form-window>
|
||||
<mk-window ref="window" is-modal={ true } colored={ true }><yield to="header"><i class="fa fa-retweet"></i>この投稿をRepostしますか?</yield>
|
||||
<yield to="content">
|
||||
<mk-repost-form ref="form" post={ parent.opts.post }></mk-repost-form></yield>
|
||||
<mk-window ref="window" is-modal={ true }>
|
||||
<yield to="header">
|
||||
<i class="fa fa-retweet"></i>この投稿をRepostしますか?
|
||||
</yield>
|
||||
<yield to="content">
|
||||
<mk-repost-form ref="form" post={ parent.opts.post }></mk-repost-form>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
:scope
|
||||
|
@ -1,4 +1,4 @@
|
||||
<mk-window data-flexible={ isFlexible } data-colored={ opts.colored } ondragover={ ondragover }>
|
||||
<mk-window data-flexible={ isFlexible } ondragover={ ondragover }>
|
||||
<div class="bg" ref="bg" show={ isModal } onclick={ bgClick }></div>
|
||||
<div class="main" ref="main" tabindex="-1" data-is-modal={ isModal } onmousedown={ onBodyMousedown } onkeydown={ onKeydown }>
|
||||
<div class="body">
|
||||
@ -171,25 +171,6 @@
|
||||
> .main > .body > .content
|
||||
height calc(100% - 40px)
|
||||
|
||||
&[data-colored]
|
||||
|
||||
> .main > .body
|
||||
|
||||
> header
|
||||
box-shadow 0 1px 0 rgba($theme-color, 0.1)
|
||||
|
||||
> h1
|
||||
color #d0b4ac
|
||||
|
||||
> .close
|
||||
color rgba($theme-color, 0.4)
|
||||
|
||||
&:hover
|
||||
color rgba($theme-color, 0.6)
|
||||
|
||||
&:active
|
||||
color darken($theme-color, 30%)
|
||||
|
||||
</style>
|
||||
<script>
|
||||
const contains = require('../../common/scripts/contains');
|
||||
|
Loading…
Reference in New Issue
Block a user