mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix(client): Show shadow
This commit is contained in:
parent
35a8c37922
commit
0f5db9558c
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="fgmtyycl _panel" :style="{ top: top + 'px', left: left + 'px' }">
|
<div class="fgmtyycl _panel _shadow" :style="{ top: top + 'px', left: left + 'px' }">
|
||||||
<mk-url-preview :url="url"/>
|
<mk-url-preview :url="url"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<transition name="popup" appear @after-leave="() => { $emit('closed'); destroyDom(); }">
|
<transition name="popup" appear @after-leave="() => { $emit('closed'); destroyDom(); }">
|
||||||
<div v-if="show" class="fxxzrfni _panel" ref="content" :style="{ top: top + 'px', left: left + 'px' }" @mouseover="() => { $emit('mouseover'); }" @mouseleave="() => { $emit('mouseleave'); }">
|
<div v-if="show" class="fxxzrfni _panel _shadow" ref="content" :style="{ top: top + 'px', left: left + 'px' }" @mouseover="() => { $emit('mouseover'); }" @mouseleave="() => { $emit('mouseleave'); }">
|
||||||
<div class="banner" :style="u.bannerUrl ? `background-image: url(${u.bannerUrl})` : ''"></div>
|
<div class="banner" :style="u.bannerUrl ? `background-image: url(${u.bannerUrl})` : ''"></div>
|
||||||
<mk-avatar class="avatar" :user="u" :disable-preview="true"/>
|
<mk-avatar class="avatar" :user="u" :disable-preview="true"/>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
@ -207,6 +207,10 @@ hr {
|
|||||||
backdrop-filter: var(--modalBgFilter);
|
backdrop-filter: var(--modalBgFilter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
._shadow {
|
||||||
|
box-shadow: 0px 4px 32px var(--shadow) !important;
|
||||||
|
}
|
||||||
|
|
||||||
._button {
|
._button {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
panelHeaderFg: '@fg',
|
panelHeaderFg: '@fg',
|
||||||
panelHeaderDivider: 'rgba(0, 0, 0, 0)',
|
panelHeaderDivider: 'rgba(0, 0, 0, 0)',
|
||||||
panelBorder: 'rgba(0, 0, 0, 0)',
|
panelBorder: 'rgba(0, 0, 0, 0)',
|
||||||
shadow: 'rgba(0, 0, 0, 0.1)',
|
shadow: 'rgba(0, 0, 0, 0.3)',
|
||||||
header: ':alpha<0.7<@bg',
|
header: ':alpha<0.7<@bg',
|
||||||
navBg: '@bg',
|
navBg: '@bg',
|
||||||
navFg: '@fg',
|
navFg: '@fg',
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
panelHeaderBg: '@panel',
|
panelHeaderBg: '@panel',
|
||||||
panelHeaderDivider: '@divider',
|
panelHeaderDivider: '@divider',
|
||||||
panelBorder: '@divider',
|
panelBorder: '@divider',
|
||||||
|
shadow: 'rgba(255, 255, 255, 0.05)',
|
||||||
modalBg: 'rgba(255, 255, 255, 0.1)',
|
modalBg: 'rgba(255, 255, 255, 0.1)',
|
||||||
messageBg: '#1d1d1d',
|
messageBg: '#1d1d1d',
|
||||||
deckColumnBorder: '@divider',
|
deckColumnBorder: '@divider',
|
||||||
|
Loading…
Reference in New Issue
Block a user