Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion css/authentication-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ p {
form {
border: 1px solid #a9a9a9;
padding: 20px;
display: flex;
flex-direction: column;
gap: 30px;
}

.subtext {
Expand All @@ -36,7 +39,8 @@ form {

#sign-in,
#sign-up {
width: 100%;
display: grid;
gap: 30px;
}

a {
Expand Down
83 changes: 81 additions & 2 deletions css/ecommerce-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ section {
}

.header-content {
display: flex;
flex-direction: row;
justify-content: space-around;
}

.logo-search {
display: flex;
flex-direction: row;
justify-content: center;
gap: 40px;
}

.logo {
Expand All @@ -50,6 +57,8 @@ section {
}

.search-bar {
display: flex;
flex-direction: row;
width: 400px;
background: #1f1f27;
padding: 10px 20px;
Expand All @@ -71,9 +80,17 @@ section {
}

.options {
display: flex;
flex-direction: row;
justify-content: space-around;
gap: 10px;
}

.option {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
min-width: 60px;
text-transform: capitalize;
cursor: pointer;
Expand All @@ -85,6 +102,10 @@ section {
}

.categories {
display: flex;
flex-direction: row;
justify-content: center;
gap: 15px;
background-color: #2b2d36;
padding-top: 20px;
}
Expand All @@ -111,6 +132,10 @@ section {
}

.view-options {
display: flex;
flex-direction: row;
justify-content: flex-end;
gap: 20px;
}

i.fa-th-list {
Expand Down Expand Up @@ -182,6 +207,10 @@ i.fa-th-list {
/* GRID VIEW STYLES */

.grid.products {
display: flex;
flex-flow: row wrap;
gap: 25px;
justify-content: flex-start;
}

.grid .product {
Expand All @@ -198,22 +227,38 @@ i.fa-th-list {
}

.grid .product-info {
display: flex;
flex-direction: column;
align-items: space-around;
gap: 5px;
margin: 25px;
text-align: center;
padding: 0 20px 30px;
}

.grid .product-action {
padding-top: 30px;
display: flex;
flex-direction: row;
justify-content: center;
gap: 20px;
padding-top: 35px;
border-top: 1px solid #8d8ba5;
}

/* LINE VIEW STYLES */

.lines.products {
display: flex;
flex-direction: column;
align-content: center;
gap: 20px;
}

.lines .product {
padding: 20px;
display: flex;
flex-direction: row;
justify-content: flex-start;
padding: 10px;
}

.lines .product-image-wrapper {
Expand All @@ -222,20 +267,42 @@ i.fa-th-list {
}

.lines .product-data {
display: flex;
flex-direction: column;
align-content: center;
}

.lines .product-info {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 5px;
margin: 5px;
}

.lines .product-action {
display: flex;
flex-direction: row;
align-items: space-around;
gap: 15px;
padding-top: 40px;
}

/* LINES-ACTION VIEW */

.lines-action.products {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
padding: 15px;
}

.lines-action .product {
display: flex;
flex-direction: row;
justify-content: flex-end;
gap: 5px;
}

.lines-action .product-image-wrapper {
Expand All @@ -244,12 +311,24 @@ i.fa-th-list {
}

.lines-action .product-data {
display: flex;
flex-direction: column;
align-items: center;
}

.lines-action .product-info {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
margin: 15px;
}

.lines-action .product-action {
display: flex;
flex-direction: row;
justify-content: flex-end;
gap: 10px;
border-left: 1px solid #8d8ba5;
padding-left: 30px;
min-width: 200px;
Expand Down
24 changes: 14 additions & 10 deletions pages/authentication-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ <h2>Sign in</h2>
<div class="form-input-control">
<label for="login-field">Login</label>
<input
name="email"
type="email"
id="login-field"
placeholder="use your email as login"
Expand All @@ -41,10 +42,12 @@ <h2>Sign in</h2>
<div class="form-input-control">
<label for="password-field">Password</label>
<input
type="password"
name="password"
type="password"
id="password-field"
placeholder="passwords must match"
minlength="8"
maxlength="20"
required
/>
</div>
Expand Down Expand Up @@ -116,6 +119,7 @@ <h2>Sign up</h2>
minlength="12"
maxlength="12"
placeholder="ex.: +12336456355"
required
/>
</div>
<div class="form-input-control">
Expand All @@ -124,21 +128,21 @@ <h2>Sign up</h2>
</div>
<div class="form-group-horizontal-control">
<div class="form-input-control">
<label for="state">State</label>
<select id="state">
<label for="State">State</label>
<select name="state" id="state">
<option value="" disabled selected>Select your state</option>
<option value="TX">Texas</option>
<option value="IA">Iowa</option>
<option value="SD">South Dakota</option>
<option value="CA">California</option>
<option value="NE">Nebraska</option>
<option value="MI">Michigan</option></option>
</select>
</div>
<div class="form-input-control">
<label for="city">City</label>
<select id="city">
<select name="city" id="city">
<option value="" disabled selected>Select your city</option>
<option value="new-york">New York</option>
<option value="washington">Washington DC</option>
<option value="dallas">Dallas</option>
<option value="orlando">Orlando</option>
<option value="detroit">Detroit</option>
<option value="portland">Portland</option>
</select>
</div>
</div>
Expand Down