Skip to content
Snippets Groups Projects
Commit 08e83e13 authored by syuilo's avatar syuilo
Browse files

✌️

parent ff29e7bb
No related branches found
No related tags found
No related merge requests found
<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>
......
<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
......
<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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment