aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/notifications/notifications.scss4
-rw-r--r--src/components/status/status.vue8
-rw-r--r--src/components/style_switcher/style_switcher.vue7
-rw-r--r--src/components/user_card_content/user_card_content.vue4
4 files changed, 13 insertions, 10 deletions
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss
index d17ae25d..a6468e01 100644
--- a/src/components/notifications/notifications.scss
+++ b/src/components/notifications/notifications.scss
@@ -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 {
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 6597d56b..428383e3 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -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 {
diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue
index 66fe0f6b..c0a7da69 100644
--- a/src/components/style_switcher/style_switcher.vue
+++ b/src/components/style_switcher/style_switcher.vue
@@ -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>
diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue
index cca418ff..e8b0ebf9 100644
--- a/src/components/user_card_content/user_card_content.vue
+++ b/src/components/user_card_content/user_card_content.vue
@@ -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 {