-
mdi-camera-off
+
+ ph-camera-slash
No saved positions yet.
diff --git a/app/components/CameraOrientation.vue b/app/components/CameraOrientation.vue
index 6da6f70f4..3b5a8a3c3 100644
--- a/app/components/CameraOrientation.vue
+++ b/app/components/CameraOrientation.vue
@@ -193,7 +193,11 @@ watch(hoveredFace, (newFace, oldFace) => {
class="pa-0 overflow-hidden position-relative"
style="
height: 220px;
- background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
+ background: radial-gradient(
+ circle at center,
+ rgba(var(--v-theme-on-surface), 0.05),
+ transparent 70%
+ );
"
>
@@ -272,15 +277,15 @@ watch(hoveredFace, (newFace, oldFace) => {
diff --git a/app/components/ClippingPlaneCard.vue b/app/components/ClippingPlaneCard.vue
index f1c59cb2f..b4728a1db 100644
--- a/app/components/ClippingPlaneCard.vue
+++ b/app/components/ClippingPlaneCard.vue
@@ -40,7 +40,7 @@ const emit = defineEmits
();
();
:max="1"
:step="0.05"
:color="getPlaneCssColor(index)"
- track-color="grey-lighten-2"
density="compact"
hide-details
/>
@@ -104,7 +103,7 @@ const emit = defineEmits();
size="x-small"
variant="text"
color="primary"
- prepend-icon="mdi-swap-horizontal"
+ prepend-icon="ph-arrows-left-right"
class="text-none text-caption px-1"
@click="emit('flipNormal')"
>
diff --git a/app/components/ClippingPlanes.vue b/app/components/ClippingPlanes.vue
index 805ac0836..68bc621a7 100644
--- a/app/components/ClippingPlanes.vue
+++ b/app/components/ClippingPlanes.vue
@@ -288,7 +288,7 @@ onBeforeUnmount(cleanupLocalWidget);
size="x-small"
variant="tonal"
color="primary"
- icon="mdi-plus"
+ icon="ph-plus"
@click="addSlice"
/>
@@ -314,7 +314,7 @@ onBeforeUnmount(cleanupLocalWidget);
size="x-small"
variant="tonal"
color="primary"
- icon="mdi-plus"
+ icon="ph-plus"
@click="addPlane"
/>
diff --git a/app/components/CrsSelector.vue b/app/components/CrsSelector.vue
index 63ae0943a..c895a4a1f 100644
--- a/app/components/CrsSelector.vue
+++ b/app/components/CrsSelector.vue
@@ -73,8 +73,8 @@ onMounted(async () => {
();
-
-
+
+
Delete Item
-
+
Are you sure you want to delete this item?
-
+
{{ item.name }}
@@ -41,12 +39,11 @@ const emit = defineEmits
();
- mdi-close-circle-outline
+ ph-x-circle
Cancel
@@ -61,32 +58,31 @@ const emit = defineEmits();
class="text-none rounded-lg font-weight-bold"
elevation="4"
>
- mdi-trash-can-outline
+ ph-trash
Delete
-
-
+
+
Delete Items
-
+
Are you sure you want to delete
- {{ selectedCount }} items?
+ {{ selectedCount }} items?
- mdi-close-circle-outline
+ ph-x-circle
Cancel
@@ -101,7 +97,7 @@ const emit = defineEmits();
class="text-none rounded-lg font-weight-bold"
elevation="4"
>
- mdi-trash-can-outline
+ ph-trash
Delete All
diff --git a/app/components/DragAndDropInternal/DragAndDropInline.vue b/app/components/DragAndDropInternal/DragAndDropInline.vue
index eb51e0bec..95eee206d 100644
--- a/app/components/DragAndDropInternal/DragAndDropInline.vue
+++ b/app/components/DragAndDropInternal/DragAndDropInline.vue
@@ -45,28 +45,28 @@ const emit = defineEmits();
>
{{ loading ? texts.loading : isDragging ? texts.drop : texts.idle }}
{{ Array.isArray(accept) ? accept.join(", ") : accept }}
@@ -77,8 +77,8 @@ const emit = defineEmits();
diff --git a/app/components/MissingFilesSelector.vue b/app/components/MissingFilesSelector.vue
index 113ed52b4..fda668840 100644
--- a/app/components/MissingFilesSelector.vue
+++ b/app/components/MissingFilesSelector.vue
@@ -239,7 +239,7 @@ await missing_files();
-
+
Mandatory files:
@@ -248,7 +248,7 @@ await missing_files();
-
+
Additional files:
@@ -259,7 +259,7 @@ await missing_files();
-
+
Mandatory files:
@@ -268,7 +268,7 @@ await missing_files();
-
+
Additional files:
diff --git a/app/components/ObjectSelector.vue b/app/components/ObjectSelector.vue
index 65e37c50e..906c13c30 100644
--- a/app/components/ObjectSelector.vue
+++ b/app/components/ObjectSelector.vue
@@ -210,7 +210,7 @@ await getAllowedGeodeObjects();
-
+
Not supported, will be skipped:
{{ filename }}
diff --git a/app/components/PackagesVersions.vue b/app/components/PackagesVersions.vue
index 31dbffe56..767a3904a 100644
--- a/app/components/PackagesVersions.vue
+++ b/app/components/PackagesVersions.vue
@@ -49,9 +49,7 @@ await get_packages_versions();
-
- mdi-information-outline
-
+ ph-info
diff --git a/app/components/ProjectCrs.vue b/app/components/ProjectCrs.vue
index 8538766c1..9591e8b17 100644
--- a/app/components/ProjectCrs.vue
+++ b/app/components/ProjectCrs.vue
@@ -17,7 +17,7 @@ const label = computed(() =>
class="project-crs text-none"
size="small"
variant="tonal"
- prepend-icon="mdi-earth"
+ prepend-icon="ph-globe-hemisphere-west"
:disabled="!crsStore.crsEditEnabled"
v-tooltip="formatCrs(crsStore.projectCrs)"
@click="crsStore.requestProjectCrsEdit()"
diff --git a/app/components/Screenshot.vue b/app/components/Screenshot.vue
index ce213d636..3543f0862 100644
--- a/app/components/Screenshot.vue
+++ b/app/components/Screenshot.vue
@@ -10,8 +10,10 @@ import viewer_schemas, {
import ToolPanel from "@ogw_front/components/ToolPanel.vue";
import fileDownload from "js-file-download";
import { useClipboardItems } from "@vueuse/core";
+import { useDataStyleStore } from "@ogw_front/stores/data_style";
import { useFeedbackStore } from "@ogw_front/stores/feedback";
import { useViewerStore } from "@ogw_front/stores/viewer";
+import { withViewerMarker } from "@ogw_front/composables/orientation_overlay";
const DEFAULT_PANEL_WIDTH = 260;
const EXTENSION_SELECT_WIDTH = 80;
@@ -68,6 +70,7 @@ async function deliverScreenshot(blob: Blob | Uint8Array, current_filename: stri
async function takeSceneScreenshot(current_filename: string): Promise {
const viewerStore = useViewerStore();
+ const dataStyleStore = useDataStyleStore();
const schema = viewer_schemas.opengeodeweb_viewer.viewer.take_screenshot;
const params = {
filename: current_filename,
@@ -75,16 +78,23 @@ async function takeSceneScreenshot(current_filename: string): Promise {
include_background: include_background.value,
...screenshot_size.value,
};
- await viewerStore.request(
- {
- schema,
- params,
- },
- {
- // `blob` is the image file content, received as binary (Uint8Array) through wslink
- response_function: async ({ blob }) => {
- await deliverScreenshot(blob, current_filename);
- },
+ // The front orientation overlay is not part of the viewer image: the viewer draws its marker for the capture
+ await withViewerMarker(
+ dataStyleStore.sceneStyle.orientation_widget,
+ (args) => viewerStore.request(args),
+ async () => {
+ await viewerStore.request(
+ {
+ schema,
+ params,
+ },
+ {
+ // `blob` is the image file content, received as binary (Uint8Array) through wslink
+ response_function: async ({ blob }) => {
+ await deliverScreenshot(blob, current_filename);
+ },
+ },
+ );
},
);
}
@@ -202,7 +212,7 @@ function handleClose(): void {
>
@@ -286,7 +296,7 @@ function handleClose(): void {
/>
px
-
+
@@ -321,7 +331,6 @@ function handleClose(): void {
Screenshot
diff --git a/app/components/SearchBar.vue b/app/components/SearchBar.vue
index 27c475f0d..0a7ce2c3b 100644
--- a/app/components/SearchBar.vue
+++ b/app/components/SearchBar.vue
@@ -17,14 +17,12 @@ const emit = defineEmits();
diff --git a/app/components/SliceCard.vue b/app/components/SliceCard.vue
index 7b85af1aa..57a88314a 100644
--- a/app/components/SliceCard.vue
+++ b/app/components/SliceCard.vue
@@ -32,7 +32,6 @@ const emit = defineEmits();
:max="maxIndex"
:step="1"
color="primary"
- track-color="grey-lighten-2"
density="compact"
hide-details
/>
@@ -40,7 +39,7 @@ const emit = defineEmits();
(() => {
{{ steps[stepIndex]!.step_title }}
diff --git a/app/components/Stepper.vue b/app/components/Stepper.vue
index 13f9e1894..a3933adca 100644
--- a/app/components/Stepper.vue
+++ b/app/components/Stepper.vue
@@ -25,10 +25,12 @@ const { steps, current_step_index } = toRefs(state) as unknown as {
-
+
Import Data
-
Select and configure your files for a seamless import.
+
+ Select and configure your files for a seamless import.
+
@@ -55,26 +57,26 @@ const { steps, current_step_index } = toRefs(state) as unknown as {
}
.custom-stepper :deep(.v-stepper-vertical-item__content) {
- background: rgba(255, 255, 255, 0.03) !important;
+ background: rgba(var(--v-theme-on-surface), 0.04) !important;
border-radius: 12px;
margin: 8px 16px 16px 40px !important;
padding: 16px !important;
- border: 1px solid rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
}
.custom-stepper :deep(.v-avatar) {
- border: 1px solid rgba(255, 255, 255, 0.2);
- background: rgba(255, 255, 255, 0.1) !important;
- color: white !important;
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
+ background: rgba(var(--v-theme-on-surface), 0.08) !important;
+ color: rgb(var(--v-theme-on-surface)) !important;
}
.custom-stepper :deep(.v-stepper-vertical-item--active .v-avatar) {
- background: #3c9983 !important;
- border-color: #3c9983;
- color: #0a0f0e !important;
+ background: rgb(var(--v-theme-primary)) !important;
+ border-color: rgb(var(--v-theme-primary));
+ color: rgb(var(--v-theme-on-primary)) !important;
}
.custom-stepper :deep(.v-stepper-vertical-item__connector) {
- border-color: rgba(255, 255, 255, 0.1) !important;
+ border-color: rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}
diff --git a/app/components/ThresholdCard.vue b/app/components/ThresholdCard.vue
index ccad4f297..5a00d69d0 100644
--- a/app/components/ThresholdCard.vue
+++ b/app/components/ThresholdCard.vue
@@ -149,7 +149,7 @@ defineExpose({ resetRange });
{
size="x-small"
variant="tonal"
color="primary"
- icon="mdi-plus"
+ icon="ph-plus"
@click="addThreshold"
/>
diff --git a/app/components/TimeSeriesTargetSelector.vue b/app/components/TimeSeriesTargetSelector.vue
index 7efdadcbd..e451e68c1 100644
--- a/app/components/TimeSeriesTargetSelector.vue
+++ b/app/components/TimeSeriesTargetSelector.vue
@@ -66,7 +66,7 @@ await get_targets();
data-testid="timeSeriesTarget"
:title="target.name"
:subtitle="target.geode_object_type"
- prepend-icon="mdi-cube-outline"
+ prepend-icon="ph-cube"
@click="select(target)"
/>
diff --git a/app/components/ToolPanel.vue b/app/components/ToolPanel.vue
index 58ddf67be..63d61f2bb 100644
--- a/app/components/ToolPanel.vue
+++ b/app/components/ToolPanel.vue
@@ -57,13 +57,7 @@ function close(): void {
-
+
{{ closeLabel }}
@@ -85,7 +78,8 @@ function close(): void {
diff --git a/app/components/Viewer/ContextMenu/ContextMenuItem.vue b/app/components/Viewer/ContextMenu/ContextMenuItem.vue
index d5462eb67..64e050037 100644
--- a/app/components/Viewer/ContextMenu/ContextMenuItem.vue
+++ b/app/components/Viewer/ContextMenu/ContextMenuItem.vue
@@ -26,7 +26,7 @@ interface Props {
index: number;
itemProps: ItemProps;
tooltip: string;
- // An image, or an mdi icon name
+ // An image, or an icon name of the app icon set (ph-...)
btnImage?: string;
btnIcon?: string;
}
@@ -162,6 +162,7 @@ export type { ItemProps };
:src="btnImage"
height="28"
width="28"
+ class="ogw-svg-icon"
style="pointer-events: none; object-fit: contain"
/>
@@ -214,7 +215,7 @@ export type { ItemProps };
.menu-btn {
background: transparent !important;
- border: 1px solid rgba(255, 255, 255, 0.2) !important;
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
position: relative;
overflow: hidden;
transition: all 0.2s ease;
@@ -224,7 +225,10 @@ export type { ItemProps };
content: "";
position: absolute;
inset: 0;
- background: rgba(255, 255, 255, var(--adaptive-opacity));
+ background: rgba(
+ var(--v-theme-surface),
+ max(var(--adaptive-opacity), var(--ogw-viewer-glass-min-opacity, 0))
+ );
backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
-webkit-backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
z-index: 0;
@@ -240,12 +244,15 @@ export type { ItemProps };
}
.menu-btn:hover::before {
- background: rgba(255, 255, 255, calc(var(--adaptive-opacity, 0.15) + 0.15));
+ background: rgba(
+ var(--v-theme-surface),
+ calc(max(var(--adaptive-opacity, 0.15), var(--ogw-viewer-glass-min-opacity, 0)) + 0.15)
+ );
}
.menu-btn.v-btn--active {
background-color: v-bind(primaryColor) !important;
- color: white !important;
+ color: rgb(var(--v-theme-on-primary)) !important;
}
.menu-btn.v-btn--active::before {
@@ -254,8 +261,12 @@ export type { ItemProps };
-webkit-backdrop-filter: none !important;
}
+.ogw-svg-icon ::v-deep(.v-img__img) {
+ filter: var(--ogw-svg-icon-filter, none);
+}
+
.menu-btn.v-btn--active ::v-deep(.v-img__img) {
- filter: invert(100%);
+ filter: var(--ogw-svg-icon-active-filter, invert(100%));
}
.menu-options {
diff --git a/app/components/Viewer/ContextMenu/InfoCard.vue b/app/components/Viewer/ContextMenu/InfoCard.vue
index 068d338df..c2c1bcc3c 100644
--- a/app/components/Viewer/ContextMenu/InfoCard.vue
+++ b/app/components/Viewer/ContextMenu/InfoCard.vue
@@ -153,7 +153,7 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
>
@@ -174,9 +174,9 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
{{ isCopied(metaData.data_id) ? "COPIED!" : formattedId }}
@@ -191,11 +191,10 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
@@ -204,7 +203,7 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
@@ -224,9 +223,9 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
{{ isCopied(componentItem.id) ? "COPIED!" : formatId(componentItem.id) }}
@@ -241,8 +240,8 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
.id-badge-container {
font-family: monospace;
font-size: 0.6rem;
- background: rgba(255, 255, 255, 0.08);
- border: 1px solid rgba(255, 255, 255, 0.15);
+ background: rgba(var(--v-theme-on-surface), 0.06);
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
border-radius: 4px;
cursor: pointer;
user-select: none;
@@ -251,8 +250,8 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
}
.id-badge-container:hover {
- background: rgba(255, 255, 255, 0.15);
- border-color: rgba(255, 255, 255, 0.35);
+ background: rgba(var(--v-theme-primary), 0.12);
+ border-color: rgba(var(--v-theme-primary), 0.35);
opacity: 1;
transform: scale(1.03);
}
@@ -263,7 +262,7 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
.id-text {
letter-spacing: 0.5px;
- color: rgba(255, 255, 255, 0.85);
+ color: rgba(var(--v-theme-on-surface), 0.85);
}
.object-name-popover {
diff --git a/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue b/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue
index 9427be57a..c9efedd57 100644
--- a/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue
+++ b/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue
@@ -293,13 +293,13 @@ const { handleKeyDown } = useTreeKeyboardNav(
.tree-row-wrapper {
min-height: 28px !important;
cursor: pointer;
- border-radius: 4px;
+ border-radius: var(--ogw-viewer-row-radius, 4px);
margin: 0 2px;
}
.tree-row-wrapper.is-focused {
- background-color: rgba(0, 0, 0, 0.08) !important;
- box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
+ background-color: rgba(var(--v-theme-on-surface), 0.08) !important;
+ box-shadow: inset 0 0 0 2px rgba(var(--v-theme-on-surface), 0.15);
}
.tree-row-wrapper.is-active {
@@ -327,7 +327,7 @@ const { handleKeyDown } = useTreeKeyboardNav(
}
.tree-row-wrapper:hover:not(.is-focused):not(.is-active) {
- background-color: rgba(0, 0, 0, 0.04) !important;
+ background-color: rgba(var(--v-theme-on-surface), 0.04) !important;
}
:deep(.v-list-item__content) {
diff --git a/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue b/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue
index 685064d8f..b4e0eff98 100644
--- a/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue
+++ b/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue
@@ -53,7 +53,7 @@ const rows = computed<{ label: string; summary: string; testId: string }[]>(() =
- {{ row.label }}:
+ {{ row.label }}:
{{ row.summary }}
diff --git a/app/components/Viewer/ObjectTree/Base/Controls.vue b/app/components/Viewer/ObjectTree/Base/Controls.vue
index 1b2b9c81c..f99b8a6ce 100644
--- a/app/components/Viewer/ObjectTree/Base/Controls.vue
+++ b/app/components/Viewer/ObjectTree/Base/Controls.vue
@@ -40,19 +40,18 @@ watch(
-
+
@@ -62,8 +61,6 @@ watch(
data-testid="searchObjectsInput"
:model-value="search"
placeholder="Search objects..."
- color="black"
- base-color="black"
variant="plain"
density="compact"
prepend-inner-icon=""
@@ -86,11 +83,8 @@ watch(
@@ -99,9 +93,8 @@ watch(
@@ -121,9 +114,8 @@ watch(
@@ -134,8 +126,14 @@ watch(
diff --git a/app/components/Viewer/ObjectTree/Base/TreeRow.vue b/app/components/Viewer/ObjectTree/Base/TreeRow.vue
index 9be2423f4..781e61b76 100644
--- a/app/components/Viewer/ObjectTree/Base/TreeRow.vue
+++ b/app/components/Viewer/ObjectTree/Base/TreeRow.vue
@@ -64,9 +64,8 @@ function handleRowClick(event: MouseEvent): void {
@@ -74,10 +73,9 @@ function handleRowClick(event: MouseEvent): void {
{{ item.raw[itemProps.title] || item.id }}
diff --git a/app/components/Viewer/ObjectTree/Box.vue b/app/components/Viewer/ObjectTree/Box.vue
index 751f5fb5c..abbe70a59 100644
--- a/app/components/Viewer/ObjectTree/Box.vue
+++ b/app/components/Viewer/ObjectTree/Box.vue
@@ -7,7 +7,7 @@ interface Props {
title: string;
closable?: boolean;
icon?: string;
- mdiIcon?: string;
+ fontIcon?: string;
scrollTop?: number;
borderRadius?: string;
borderLeft?: boolean;
@@ -19,9 +19,9 @@ const {
title,
closable = false,
icon = "",
- mdiIcon = "",
+ fontIcon = "",
scrollTop = 0,
- borderRadius = "16px",
+ borderRadius = "var(--ogw-viewer-panel-radius, 16px)",
borderLeft = true,
accent = undefined,
} = defineProps();
@@ -127,10 +127,14 @@ watch(
height="24"
max-width="24"
class="mr-2"
- style="filter: brightness(0); display: flex; align-items: center"
+ style="
+ filter: var(--ogw-mono-icon-filter, brightness(0));
+ display: flex;
+ align-items: center;
+ "
/>
- {{ mdiIcon }}
- mdi-drag-variant
+ {{ fontIcon }}
+ ph-dots-six-vertical
-
+
@@ -180,8 +178,8 @@ watch(
height: 100%;
min-height: 0;
background-color: transparent !important;
- border: 1px solid rgba(255, 255, 255, 0.2) !important;
- box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
+ box-shadow: 0 4px 15px rgba(var(--v-theme-on-surface), 0.05);
position: relative;
overflow: hidden;
transition:
@@ -193,10 +191,11 @@ watch(
content: "";
position: absolute;
inset: 0;
- background: rgba(255, 255, 255, var(--adaptive-opacity));
+ /* Adaptive glass: apps can tint it (an "r, g, b" triplet) and change its blending, per theme */
+ background: rgba(var(--ogw-viewer-glass-tint, 255, 255, 255), var(--adaptive-opacity));
backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
-webkit-backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
- mix-blend-mode: lighten;
+ mix-blend-mode: var(--ogw-viewer-glass-blend, lighten);
z-index: 0;
pointer-events: none;
border-radius: inherit;
@@ -225,7 +224,7 @@ watch(
border-color: var(--tree-box-accent) !important;
box-shadow:
inset 0 0 0 2px var(--tree-box-accent),
- 0 4px 15px rgba(0, 0, 0, 0.05);
+ 0 4px 15px rgba(var(--v-theme-on-surface), 0.05);
}
.tree-box.is-highlighted .tree-box-header {
@@ -234,9 +233,9 @@ watch(
.tree-box-header {
height: 32px !important;
- padding: 0 10px !important;
- background-color: rgba(255, 255, 255, 0.05);
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+ padding: 0 var(--ogw-viewer-panel-padding, 10px) !important;
+ background-color: rgba(var(--v-theme-surface), 0.05);
+ border-bottom: 1px solid rgba(var(--v-theme-on-surface), 0.05);
flex-shrink: 0;
font-size: 0.875rem !important;
line-height: 1.25rem !important;
diff --git a/app/components/Viewer/ObjectTree/Layout.vue b/app/components/Viewer/ObjectTree/Layout.vue
index cefc7c520..58402f415 100644
--- a/app/components/Viewer/ObjectTree/Layout.vue
+++ b/app/components/Viewer/ObjectTree/Layout.vue
@@ -16,6 +16,8 @@ const PERCENT_100 = 100;
const TOTAL_PERCENT = 100;
const MAX_PANEL_WIDTH_RATIO = 0.8;
const AUTO_CLOSE_THRESHOLD = 80;
+// Apps can align the panels on their own shape system (fallbacks: the former look)
+const PANEL_RADIUS = "var(--ogw-viewer-panel-radius, 16px)";
interface Props {
containerWidth: number;
@@ -229,9 +231,9 @@ function onVerticalResizeStart(event: MouseEvent, index: number): void {
>
- mdi-magnify-expand
+ ph-magnifying-glass-plus
diff --git a/app/components/Viewer/ObjectTree/Views/ModelTree.vue b/app/components/Viewer/ObjectTree/Views/ModelTree.vue
index 9e51b7433..74fbf4e19 100644
--- a/app/components/Viewer/ObjectTree/Views/ModelTree.vue
+++ b/app/components/Viewer/ObjectTree/Views/ModelTree.vue
@@ -265,7 +265,7 @@ function getLeafViewerIds(item: CollectionTreeItem): number[] {
@@ -130,12 +130,10 @@ watch(filteredPresets, drawAllCanvases);
placeholder="Search presets..."
density="compact"
hide-details
- prepend-inner-icon="mdi-magnify"
+ prepend-inner-icon="ph-magnifying-glass"
variant="solo-filled"
flat
class="mb-3"
- base-color="white"
- color="white"
/>
-
+
-
{{ child.Name }}
+
{{ child.Name }}
diff --git a/app/components/Viewer/Ui.vue b/app/components/Viewer/Ui.vue
index 7c424dcaf..6f62e2f68 100644
--- a/app/components/Viewer/Ui.vue
+++ b/app/components/Viewer/Ui.vue
@@ -130,7 +130,7 @@ defineExpose({ get_viewer_id });
data-testid="pickingActiveChip"
label="Picking active — click in the viewer"
color="secondary"
- icon="mdi-crosshairs-gps"
+ icon="ph-gps-fix"
@close="viewerStore.toggle_picking_mode(false)"
/>
import { useToggle } from "@vueuse/core";
+import { useChromeTheme } from "@ogw_front/composables/chrome_theme";
+
import CsvSettings from "./CsvSettings.vue";
import CsvTable from "./CsvTable.vue";
@@ -26,6 +28,8 @@ interface Props {
}
const { file, modelValue = false } = defineProps();
+// The dialog takes the chrome theme itself: a wrapper would break the Vuetify dialog > card sizing rules
+const chromeTheme = useChromeTheme();
const MAX_CONTENT_SLICE = 1000;
const MAX_LINES_FOR_DETECTION = 5;
@@ -212,20 +216,16 @@ function onConfirm(): void {
:model-value="modelValue"
@update:model-value="emit('update:modelValue', $event)"
max-width="1200px"
+ :theme="chromeTheme"
>
-
+
-
-
+
+
CSV Previewer & Configuration
-
+
@@ -254,14 +254,9 @@ function onConfirm(): void {
-
+
-
+
Cancel
.glass-ui {
- background: rgba(30, 30, 30, 0.8) !important;
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border: 1px solid rgba(255, 255, 255, 0.1);
+ background: rgb(var(--v-theme-surface)) !important;
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
}
.previewer-grid {
@@ -293,8 +286,8 @@ function onConfirm(): void {
overflow: hidden;
}
-.bg-white-opacity-5 {
- background: rgba(255, 255, 255, 0.03);
+.bg-subtle {
+ background: rgba(var(--v-theme-on-surface), 0.04);
}
/* Custom scrollbar */
@@ -305,10 +298,10 @@ function onConfirm(): void {
background: transparent;
}
::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.1);
+ background: rgba(var(--v-theme-on-surface), 0.1);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
- background: rgba(255, 255, 255, 0.2);
+ background: rgba(var(--v-theme-on-surface), 0.2);
}
diff --git a/app/components/csv-preview/CsvSettings.vue b/app/components/csv-preview/CsvSettings.vue
index 17f90f50a..9697d3451 100644
--- a/app/components/csv-preview/CsvSettings.vue
+++ b/app/components/csv-preview/CsvSettings.vue
@@ -67,7 +67,7 @@ watch(customValue, (newVal) => {
-
+
Parser Settings
{
label="X Column"
variant="outlined"
density="compact"
- prepend-inner-icon="mdi-axis-x-arrow"
+ prepend-inner-icon="ph-arrow-right"
color="light-blue-accent-3"
class="mb-2"
clearable
@@ -150,7 +150,7 @@ watch(customValue, (newVal) => {
label="Y Column"
variant="outlined"
density="compact"
- prepend-inner-icon="mdi-axis-y-arrow"
+ prepend-inner-icon="ph-arrow-up-right"
color="light-green-accent-3"
class="mb-2"
clearable
@@ -165,7 +165,7 @@ watch(customValue, (newVal) => {
label="Z Column"
variant="outlined"
density="compact"
- prepend-inner-icon="mdi-axis-z-arrow"
+ prepend-inner-icon="ph-arrow-up"
color="red-accent-3"
class="mb-8"
clearable
@@ -176,7 +176,7 @@ watch(customValue, (newVal) => {
diff --git a/app/components/csv-preview/CsvTable.vue b/app/components/csv-preview/CsvTable.vue
index e5aae8124..f875fca16 100644
--- a/app/components/csv-preview/CsvTable.vue
+++ b/app/components/csv-preview/CsvTable.vue
@@ -47,9 +47,9 @@ function getColumnClass(key: string): string {
-
+
-
+
Live Preview (First 100 rows)
@@ -80,7 +80,7 @@ function getColumnClass(key: string): string {
-
+
No preview available
Check your parser settings
@@ -90,15 +90,17 @@ function getColumnClass(key: string): string {