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> <template>
<div <div
class="note _panel" class="note _panelElevated"
v-if="!muted" v-if="!muted"
v-show="!isDeleted" v-show="!isDeleted"
:tabindex="!isDeleted ? '-1' : null" :tabindex="!isDeleted ? '-1' : null"

View file

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

View file

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