Make dashboard theme transition smooth and fix link color (#2046)

This commit is contained in:
Gold856
2025-08-08 16:06:26 -04:00
committed by GitHub
parent 22490b8c38
commit e23df8c9a4
2 changed files with 7 additions and 1 deletions

View File

@@ -151,6 +151,11 @@ const onBeforeTabUpdate = () => {
</template>
<style>
.v-slide-group {
transition-duration: 0.28s;
transition-property: box-shadow, opacity, background;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.v-slide-group__next--disabled,
.v-slide-group__prev--disabled {
display: none !important;

View File

@@ -126,7 +126,7 @@ const showCameraSetupDialog = ref(useCameraSettingsStore().needsCameraConfigurat
<v-card-title>Set up some cameras to get started!</v-card-title>
<v-card-text class="pt-0">
No cameras activated - head to the
<router-link to="/cameraConfigs" color="buttonActive">camera matching tab</router-link> to set some up!
<router-link to="/cameraConfigs">camera matching tab</router-link> to set some up!
</v-card-text>
</v-card>
</v-dialog>
@@ -135,6 +135,7 @@ const showCameraSetupDialog = ref(useCameraSettingsStore().needsCameraConfigurat
<style scoped>
a:link {
color: rgb(var(--v-theme-buttonActive));
background-color: transparent;
text-decoration: none;
}