Skip to content

Commit

Permalink
Style: Positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonitoflakes committed May 6, 2023
1 parent e84195c commit b55729f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/styles/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
border-bottom: 1px solid #c6d2d9;
border-left: 3px solid var(--primary);
background-color: white;
position: fixed;
top: 0;
width: 100%;
z-index: 10000;
}

.nav__right {
Expand Down
2 changes: 2 additions & 0 deletions src/styles/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
transition: width 0.3s ease-in-out;
min-height: 100vh;
position: fixed;
margin-top: 5.2rem;
top: 0;
}

.sidebar.open {
Expand Down
5 changes: 4 additions & 1 deletion src/styles/timetracker-recorder.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
background: white;
margin: 2rem;
box-shadow: 0 0 20px #0000001a;
margin-left: var(--tracker-margin-left);
transition: 0.3s margin ease-in-out;
position: sticky;
top: 8rem;
z-index: 10000;
margin-left: var(--tracker-margin-left);
}

.timetracker-recorder__input {
Expand Down
15 changes: 13 additions & 2 deletions src/styles/trackerEntry.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
width: 1px;
}

main {
margin-top: 8rem;
}

.week {
margin: 2rem;
margin-left: var(--tracker-margin-left);
Expand Down Expand Up @@ -68,10 +72,17 @@
display: flex;
align-items: center;
border-top: 1px solid rgb(198, 210, 217);
border-bottom: 1px solid rgb(198, 210, 217);
/* border-bottom: 1px solid rgb(198, 210, 217); */
/* border-radius: 2px; */
padding: 1rem;
background: white;
}

input.date-time-picker:focus-visible {
border: 1px solid rgb(198, 210, 217);
}

.tracker-entry:hover {
box-shadow: 0 0 20px #0000001a;
}

Expand Down Expand Up @@ -300,7 +311,7 @@
height: 100dvh;
background-color: rgba(0, 0, 0, 0.8);
z-index: 100;
position: absolute;
position: fixed;
top: 0;
display: flex;
align-items: center;
Expand Down

0 comments on commit b55729f

Please sign in to comment.