diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue
index a1a76a7e7..843986c37 100644
--- a/packages/frontend/src/ui/deck.vue
+++ b/packages/frontend/src/ui/deck.vue
@@ -50,11 +50,11 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -316,7 +316,7 @@ body {
}
.rootIsMobile {
- padding-bottom: 100px;
+ padding-bottom: 80px;
}
.main {
@@ -437,20 +437,22 @@ body {
.navButton {
position: relative;
padding: 0;
- aspect-ratio: 1;
+ aspect-ratio: 1.5;
width: 100%;
max-width: 60px;
margin: auto;
- border-radius: 100%;
+ border-radius: 70% / 100%;
background: var(--MI_THEME-panel);
color: var(--MI_THEME-fg);
&:hover {
background: var(--MI_THEME-panelHighlight);
+ color: var(--MI_THEME-accent);
}
&:active {
background: hsl(from var(--MI_THEME-panel) h s calc(l - 2));
+ color: var(--MI_THEME-accent);
}
}
@@ -469,7 +471,7 @@ body {
}
.navButtonIcon {
- font-size: 18px;
+ font-size: 16px;
vertical-align: middle;
}
@@ -479,6 +481,7 @@ body {
left: 0;
color: var(--MI_THEME-indicator);
font-size: 16px;
+ animation: global-blink 1s infinite;
&:has(.itemIndicateValueIcon) {
animation: none;
diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue
index d739c2e1c..f0ae87405 100644
--- a/packages/frontend/src/ui/universal.vue
+++ b/packages/frontend/src/ui/universal.vue
@@ -25,11 +25,11 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -196,6 +196,12 @@ onMounted(() => {
});
const onContextmenu = (ev) => {
+ const isLink = (el: HTMLElement) => {
+ if (el.tagName === 'A') return true;
+ if (el.parentElement) {
+ return isLink(el.parentElement);
+ }
+ };
if (isLink(ev.target)) return;
if (['INPUT', 'TEXTAREA', 'IMG', 'VIDEO', 'CANVAS'].includes(ev.target.tagName) || ev.target.attributes['contenteditable']) return;
if (window.getSelection()?.toString() !== '') return;
@@ -409,20 +415,22 @@ $widgets-hide-threshold: 1090px;
.navButton {
position: relative;
padding: 0;
- aspect-ratio: 1;
+ aspect-ratio: 1.5;
width: 100%;
max-width: 60px;
margin: auto;
- border-radius: 100%;
+ border-radius: 70% / 100%;
background: var(--MI_THEME-panel);
color: var(--MI_THEME-fg);
&:hover {
background: var(--MI_THEME-panelHighlight);
+ color: var(--MI_THEME-accent);
}
&:active {
background: hsl(from var(--MI_THEME-panel) h s calc(l - 2));
+ color: var(--MI_THEME-accent);
}
}
@@ -451,6 +459,7 @@ $widgets-hide-threshold: 1090px;
left: 0;
color: var(--MI_THEME-indicator);
font-size: 16px;
+ animation: global-blink 1s infinite;
&:has(.itemIndicateValueIcon) {
animation: none;