making inset shadows work on avatars again
This commit is contained in:
parent
77ac42d919
commit
bee738c815
6 changed files with 36 additions and 25 deletions
|
@ -56,8 +56,8 @@
|
|||
line-height: 0;
|
||||
|
||||
&.better-shadow {
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(var(--avatarStatusShadowFilter))
|
||||
box-shadow: var(--avatarStatusShadowInset);
|
||||
filter: var(--avatarStatusShadowFilter)
|
||||
}
|
||||
|
||||
&.animated::before {
|
||||
|
|
|
@ -469,8 +469,8 @@
|
|||
border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
|
||||
|
||||
&.better-shadow {
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(var(--avatarStatusShadowFilter))
|
||||
box-shadow: var(--avatarStatusShadowInset);
|
||||
filter: var(--avatarStatusShadowFilter)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -484,8 +484,8 @@
|
|||
position: relative;
|
||||
|
||||
&.better-shadow {
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(var(--avatarStatusShadowFilter))
|
||||
box-shadow: var(--avatarStatusShadowInset);
|
||||
filter: var(--avatarStatusShadowFilter)
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
|
@ -282,12 +282,15 @@
|
|||
<i18n path="settings.style.shadows.filter_hint.always_drop_shadow" tag="p">
|
||||
<code>filter: drop-shadow()</code>
|
||||
</i18n>
|
||||
<i18n path="settings.style.shadows.filter_hint.text" tag="p">
|
||||
<p>{{$t('settings.style.shadows.filter_hint.avatar_inset')}}</p>
|
||||
<i18n path="settings.style.shadows.filter_hint.drop_shadow_syntax" tag="p">
|
||||
<code>drop-shadow</code>
|
||||
<code>spread-radius</code>
|
||||
<code>inset</code>
|
||||
</i18n>
|
||||
<p>{{$t('settings.style.shadows.filter_hint.inset_ignored')}}</p>
|
||||
<i18n path="settings.style.shadows.filter_hint.inset_classic" tag="p">
|
||||
<code>box-shadow</code>
|
||||
</i18n>
|
||||
<p>{{$t('settings.style.shadows.filter_hint.spread_zero')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -160,8 +160,8 @@
|
|||
object-fit: cover;
|
||||
|
||||
&.better-shadow {
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(var(--avatarStatusShadowFilter))
|
||||
box-shadow: var(--avatarShadowInset);
|
||||
filter: var(--avatarShadowFilter)
|
||||
}
|
||||
|
||||
&.animated::before {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue