mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
chore: 🎨 format
This commit is contained in:
parent
f29c5396c7
commit
c5206e7eb9
6 changed files with 27 additions and 18 deletions
|
@ -55,7 +55,6 @@ import { defaultStore } from "@/store";
|
|||
import { i18n } from "@/i18n";
|
||||
import * as os from "@/os";
|
||||
|
||||
|
||||
const props = defineProps<{
|
||||
image: misskey.entities.DriveFile;
|
||||
raw?: boolean;
|
||||
|
@ -73,8 +72,8 @@ const url =
|
|||
function captionPopup() {
|
||||
os.alert({
|
||||
type: "info",
|
||||
text: props.image.comment
|
||||
})
|
||||
text: props.image.comment,
|
||||
});
|
||||
}
|
||||
|
||||
// Plugin:register_note_view_interruptor を使って書き換えられる可能性があるためwatchする
|
||||
|
|
|
@ -85,8 +85,8 @@ const hide = ref(
|
|||
function captionPopup() {
|
||||
os.alert({
|
||||
type: "info",
|
||||
text: props.video.comment
|
||||
})
|
||||
text: props.video.comment,
|
||||
});
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
|
|
@ -225,7 +225,7 @@ function choose(visibility: (typeof misskey.noteVisibilities)[number]): void {
|
|||
}
|
||||
|
||||
.itemDescription {
|
||||
opacity: .6;
|
||||
opacity: 0.6;
|
||||
display: block;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ import { i18n } from "@/i18n";
|
|||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
import { deepClone } from "@/scripts/clone";
|
||||
import { unisonReload } from "@/scripts/unison-reload";
|
||||
import {addSkinTone } from "@/scripts/emojilist";
|
||||
import { addSkinTone } from "@/scripts/emojilist";
|
||||
|
||||
async function reloadAsk() {
|
||||
const { canceled } = await os.confirm({
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
/>
|
||||
|
||||
<div v-if="queue > 0" class="new">
|
||||
<button
|
||||
class="_buttonPrimary _shadow"
|
||||
<button
|
||||
class="_buttonPrimary _shadow"
|
||||
@click="top()"
|
||||
:class="{ instant: !$store.state.animation }"
|
||||
>
|
||||
|
@ -361,8 +361,18 @@ onMounted(() => {
|
|||
position: absolute;
|
||||
inset: 0;
|
||||
border: 2px solid var(--accentDarken);
|
||||
mask: linear-gradient(to right, transparent,black 40% 60%,transparent);
|
||||
-webkit-mask: linear-gradient(to right, transparent,black 40% 60%,transparent);
|
||||
mask: linear-gradient(
|
||||
to right,
|
||||
transparent,
|
||||
black 40% 60%,
|
||||
transparent
|
||||
);
|
||||
-webkit-mask: linear-gradient(
|
||||
to right,
|
||||
transparent,
|
||||
black 40% 60%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
> button {
|
||||
display: flex;
|
||||
|
@ -370,7 +380,7 @@ onMounted(() => {
|
|||
top: 120%;
|
||||
margin-inline: auto;
|
||||
border-radius: 2em;
|
||||
padding: .5em 1.2em;
|
||||
padding: 0.5em 1.2em;
|
||||
background: var(--accentedBg);
|
||||
border: 0;
|
||||
color: var(--accent);
|
||||
|
@ -378,8 +388,8 @@ onMounted(() => {
|
|||
pointer-events: all;
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
animation: reset .4s forwards cubic-bezier(0,.4,0,1.1),
|
||||
slideUp 1s 5s forwards cubic-bezier(1,0,1,1);
|
||||
animation: reset 0.4s forwards cubic-bezier(0, 0.4, 0, 1.1),
|
||||
slideUp 1s 5s forwards cubic-bezier(1, 0, 1, 1);
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
@ -388,9 +398,9 @@ onMounted(() => {
|
|||
z-index: -1;
|
||||
}
|
||||
i {
|
||||
margin-left: .7em;
|
||||
margin-left: 0.7em;
|
||||
border-left: 1px solid var(--accentedBg);
|
||||
padding-left: .4em;
|
||||
padding-left: 0.4em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<MkContainer
|
||||
<MkContainer
|
||||
:show-header="widgetProps.showHeader"
|
||||
class="mkw-rss"
|
||||
class="mkw-rss"
|
||||
:scrollable="true"
|
||||
:style="`height: ${widgetProps.height}px;`"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue