Skip to content

Commit

Permalink
♻️ [App] Shuffle some z-index values
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Jul 22, 2024
1 parent 1e10165 commit feac7b1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import {SecretEmail} from '@scripts/SecretEmail';
}

.Contact {
z-index: var(--index-surface);
z-index: var(--index-thermosphere);
position: absolute;
bottom: var(--space-tight);
left: var(--space-tight);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hamburger.astro
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const {id, controlsId} = Astro.props;
/* --- Component --- */

.Hamburger {
z-index: var(--index-troposphere);
z-index: var(--index-thermosphere);
position: fixed;
bottom: var(--space-tight);
right: var(--space-tight);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const {id, items = []} = Astro.props;

.List {
position: fixed;
z-index: var(--index-stratosphere);
z-index: var(--index-thermosphere);
bottom: var(--nav-list-bottom);
right: 0;

Expand Down
2 changes: 1 addition & 1 deletion src/components/Toast.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const {

.Toast {
position: fixed;
z-index: var(--index-thermosphere);
z-index: var(--index-outerspace);
bottom: var(--space-tighter);
left: auto;
right: auto;
Expand Down
4 changes: 2 additions & 2 deletions src/mock/ToastTest.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<style>
.ToastTest {
z-index: var(--index-troposphere);
z-index: var(--index-thermosphere);
position: absolute;
top: var(--space);
left: var(--space);
Expand Down Expand Up @@ -169,7 +169,7 @@
(event) => {
console.log('This Toast has just been removed!', newId, event);
removeItem(newIndex);
},
}
);

console.log('A new Toast has just been created!', newId);
Expand Down
2 changes: 1 addition & 1 deletion src/sections/ProjectOverlay.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const {id} = Astro.props;

.ProjectOverlay {
display: none;
z-index: var(--index-mesosphere);
z-index: var(--index-exosphere);
position: fixed;
inset: 0;
background-color: rgb(0, 0, 0, 0.6);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ body {

&::after {
content: '';
z-index: var(--index-outerspace);
z-index: var(--index-mesosphere);
position: fixed;
inset: 0;
pointer-events: none;
Expand Down

0 comments on commit feac7b1

Please sign in to comment.