-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added checkout form, validation, buttons..
- Loading branch information
1 parent
3fa7346
commit 4a79c40
Showing
6 changed files
with
243 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
.form { | ||
margin: 1rem 0; | ||
height: 19rem; | ||
overflow: auto; | ||
} | ||
|
||
.control { | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.control label { | ||
font-weight: bold; | ||
margin-bottom: 0.25rem; | ||
display: block; | ||
} | ||
|
||
.control input { | ||
font: inherit; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
width: 20rem; | ||
max-width: 100%; | ||
} | ||
|
||
.actions { | ||
display: flex; | ||
justify-content: flex-end; | ||
gap: 1rem; | ||
} | ||
|
||
.actions button { | ||
font: inherit; | ||
color: #5a1a01; | ||
cursor: pointer; | ||
background-color: transparent; | ||
border: none; | ||
border-radius: 25px; | ||
padding: 0.5rem 2rem; | ||
} | ||
|
||
.actions button:hover, | ||
.actions button:active { | ||
background-color: #ffe6dc; | ||
} | ||
|
||
.actions .submit { | ||
border: 1px solid #5a1a01; | ||
background-color: #5a1a01; | ||
color: white; | ||
} | ||
|
||
.actions .submit:hover, | ||
.actions .submit:active { | ||
background-color: #7a2706; | ||
} | ||
|
||
.invalid label { | ||
color: #ca3e51; | ||
} | ||
|
||
.invalid input { | ||
border-color: #aa0b20; | ||
background-color: #ffeff1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters