mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Make dashboard theme transition smooth and fix link color (#2046)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user