Skip to content

Commit

Permalink
update submit buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed May 22, 2024
1 parent 508365e commit 131e777
Showing 1 changed file with 45 additions and 17 deletions.
62 changes: 45 additions & 17 deletions src/routes/(app)/register/views/Final.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,22 +104,7 @@
justify-content: center;
}
.submit {
width: 100%;
height: 35px;
background-color: #0082ff;
border: none;
border-radius: 4px;
font-weight: bold;
margin-top: 4px;
cursor: pointer;
transition-duration: 150ms;
color: var(--text);
}
.submit:hover {
background-color: #577db2;
}
.item {
/*background-color: green;*/
Expand Down Expand Up @@ -154,6 +139,27 @@
flex-direction: column;
}
.nav-btn {
flex: 1;
height: 35px;
background-color: #0082ff;
border: none;
border-radius: 4px;
font-weight: bold;
cursor: pointer;
transition-duration: 150ms;
color: var(--text);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.nav-btn:hover {
background-color: #577db2;
}
.material-symbols-outlined {
color: #d6d6d6;
width: 24px;
Expand All @@ -167,6 +173,17 @@
"opsz" 24;
}
.button-cont {
margin-top: 10px;
height: 35px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
gap: 10px;
}
@media only screen and (max-width: 600px) {
.box {
row-gap: 30px;
Expand Down Expand Up @@ -216,8 +233,19 @@
</div>
<div class="small-text">Your locker is assigned randomly</div>

<button class="submit" on:click={next}>{buttonMessage}</button>
<button class="submit" on:click={back}>Go back to locker selection</button>
<!-- <button class="submit" on:click={next}>{buttonMessage}</button>-->
<!-- <button class="submit" on:click={back}>Go back to locker selection</button>-->

<div class="button-cont">
<button class="nav-btn" type="button" on:click={back}>
<span class="material-symbols-outlined filled-icons">arrow_back</span>
Back
</button>
<button class="submit nav-btn" type="submit" on:click={next}>
{buttonMessage}
<span class="material-symbols-outlined filled-icons">check</span>
</button>
</div>
</div>
</div>
</div>

0 comments on commit 131e777

Please sign in to comment.