-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1191 from Gokilp/fixprofile
Account page form Redesign
- Loading branch information
Showing
2 changed files
with
115 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,100 @@ | ||
section .container { | ||
background-color: #ffffff25; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
padding: 30px; | ||
box-shadow: 0 4px 8px rgba(91, 77, 77, 0.1); | ||
max-width: 100%; | ||
transition: box-shadow 0.3s ease; | ||
} | ||
|
||
|
||
section .container:hover { | ||
box-shadow: 0 8px 16px rgba(91, 77, 77, 0.2); | ||
} | ||
|
||
section h1 { | ||
color: #1149ff; | ||
.container { | ||
max-width: 960px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
|
||
.flipkardLoader { | ||
width: 100%; | ||
max-width: 180px; | ||
margin: 0 auto; | ||
} | ||
|
||
h1 { | ||
font-size: 30px; | ||
font-weight: bold; | ||
text-align: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
section .form-group label { | ||
color: #343a40; | ||
font-weight: 600; | ||
margin-bottom: 5px; | ||
margin-top: 5px ; | ||
} | ||
|
||
section .form-group label:hover { | ||
color: #007bff; | ||
} | ||
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif | ||
} | ||
|
||
form { | ||
width: 100%; | ||
max-width: 600px; | ||
margin: 0 auto; | ||
} | ||
|
||
.form-group { | ||
margin-bottom: 15px; | ||
} | ||
|
||
label { | ||
font-weight: bold; | ||
} | ||
|
||
section .form-control { | ||
border: 1px solid #ced4da; | ||
border-radius: 4px; | ||
padding: 10px; | ||
transition: border-color 0.3s ease; | ||
p { | ||
font-family: Arial, sans-serif; | ||
font-size: 16px; | ||
line-height: 1.5em | ||
} | ||
|
||
input[type="text"], | ||
input[type="email"], | ||
textarea { | ||
width: 100%; | ||
padding: 5px; | ||
border: 1px solid #ccc; | ||
border-radius: 3px; | ||
} | ||
|
||
textarea { | ||
height: 100px; | ||
} | ||
|
||
/* Radio buttons */ | ||
.form-check { | ||
display: inline-block; | ||
margin-right: 10px; | ||
} | ||
|
||
section .form-control:focus { | ||
border-color: #0755ff; | ||
box-shadow: 0 0 0 0.2rem rgba(12, 82, 163, 0.25); | ||
outline: none; | ||
} | ||
#para1{ | ||
|
||
font-size: 14px; | ||
|
||
section .btn-primary { | ||
background-color: #007bff; | ||
border-color: #007bff; | ||
border-radius: 4px; | ||
padding: 10px 20px; | ||
} | ||
#heading{ | ||
|
||
font-size: 20px; | ||
font-weight: bold; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
section .btn-primary:hover { | ||
background-color: #0056b3; | ||
border-color: #0056b3; | ||
} | ||
|
||
section .btn-primary:focus { | ||
background-color: #0056b3; | ||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); | ||
} | ||
/* Submit button */ | ||
.btn-primary { | ||
background-color: #2874f0; | ||
color: #fff; | ||
border: none; | ||
padding: 10px 20px; | ||
border-radius: 3px; | ||
cursor: pointer; | ||
} | ||
.btn-primary2 { | ||
display: flex; | ||
justify-content:center; | ||
align-items: center; | ||
background-color: #2874f0; | ||
color: #fff; | ||
border: none; | ||
padding: 10px 20px; | ||
border-radius: 15px; | ||
cursor: pointer; | ||
} | ||
|
||
section .btn-primary:focus { | ||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); | ||
} | ||
|
||
section .form-check-input { | ||
margin-right: 5px; | ||
} | ||
|
||
section #orderHistory { | ||
resize: vertical; | ||
margin-bottom: 15px; | ||
} | ||
} | ||
@media (max-width: 768px) { | ||
h1 { | ||
font-size: 1.8rem; | ||
} | ||
|
||
form { | ||
max-width: 100%; | ||
} | ||
} |