Skip to content

Commit

Permalink
Merge pull request #15 from Carifio24/updates
Browse files Browse the repository at this point in the history
Make various updates to template
  • Loading branch information
Carifio24 authored Feb 7, 2025
2 parents 735927f + 3540aa2 commit 3994336
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions src/MainComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
v-click-outside="closeSplashScreen"
:style="cssVars"
>
<div
<font-awesome-icon
id="close-splash-button"
@click="closeSplashScreen"
>&times;
</div>
@keyup.enter="closeSplashScreen"
icon="xmark"
tabindex="0"
/>
<div id="splash-screen-text">
<p>Splash Screen Content</p>
</div>
Expand Down Expand Up @@ -164,6 +166,7 @@
<v-card class="no-bottom-border-radius scrollable">
<v-card-text class="info-text no-bottom-border-radius">
Information goes here
<v-spacer class="end-spacer"></v-spacer>
</v-card-text>
</v-card>
</v-window-item>
Expand Down Expand Up @@ -296,7 +299,7 @@ const ready = computed(() => layersLoaded.value && positionSet.value);
const isLoading = computed(() => !ready.value);
/* Properties related to device/screen characteristics */
const smallSize = computed(() => smAndDown);
const smallSize = computed(() => smAndDown.value);
/* This lets us inject component data into element CSS */
const cssVars = computed(() => {
Expand Down Expand Up @@ -470,8 +473,7 @@ body {
width: calc(100% - 2rem);
pointer-events: none;
display: flex;
flex-direction: column;
justify-content: space-around;
justify-content: space-between;
align-items: flex-start;
}
Expand All @@ -481,6 +483,14 @@ body {
gap: 10px;
}
#right-buttons {
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-end;
height: auto;
}
#bottom-content {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -553,6 +563,16 @@ body {
}
}
// From Sara Soueidan (https://www.sarasoueidan.com/blog/focus-indicators/) & Erik Kroes (https://www.erikkroes.nl/blog/the-universal-focus-state/)
:focus-visible,
button:focus-visible,
.focus-visible,
.v-selection-control--focus-visible .v-selection-control__input {
outline: 9px double white !important;
box-shadow: 0 0 0 6px black !important;
border-radius: .125rem;
}
.video-wrapper {
height: 100%;
background: black;
Expand Down

0 comments on commit 3994336

Please sign in to comment.