This commit is contained in:
syuilo 2020-11-29 16:37:33 +09:00
parent 133766bf8c
commit e87b3e2933
3 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<template>
<div
class="note _panel"
class="note _panelElevated"
v-if="!muted"
v-show="!isDeleted"
:tabindex="!isDeleted ? '-1' : null"

View File

@ -236,15 +236,21 @@ hr {
}
._panel {
//position: relative;
//z-index: 1;
background: var(--panel);
border-radius: var(--radius);
//border: var(--panelBorder);
//box-shadow: var(--panelShadow);
overflow: hidden;
}
// TODO: 普通のpanelとの使い分けが特に決まっていないので廃止してもいいかも
._panelElevated {
@extend ._panel;
//position: relative;
//z-index: 1;
box-shadow: var(--panelShadow);
}
._card {
@extend ._panel;

View File

@ -1,7 +1,7 @@
<template>
<div class="rwqkcmrc" :style="{ backgroundImage: `url(${ $store.state.instance.meta.backgroundImageUrl })` }">
<div class="back"></div>
<div class="fade"></div>
<div class="fade" v-if="full"></div>
<div class="contents">
<div class="wrapper">
<h1 v-if="meta" :class="{ full }">