added multiple features and bug fixes
Added- 1. Refresh balance button available for balance 2. New page to see user activities such as deposit, withdraw etc. 3. Report option added to activities to reach out to helpline. 4. Payment request option to request rupee from other users 5. Reset option is added on loading screen to reset if error is encountered. Fixes-- 1. Fixed issue with some validation causing button to stop from activating. 2. Replaced system prompts with custom ones. 3. Minor UI/UX changes.
This commit is contained in:
parent
d087614c6b
commit
79c34370ca
376
css/main.css
376
css/main.css
@ -120,7 +120,7 @@ input:invalid {
|
||||
}
|
||||
|
||||
.bottom-padding {
|
||||
padding-bottom: 1em;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.top-padding {
|
||||
@ -128,7 +128,7 @@ input:invalid {
|
||||
}
|
||||
|
||||
.bottom-margin {
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.top-margin {
|
||||
@ -359,6 +359,18 @@ p {
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background: rgba(var(--text), 0.1);
|
||||
border: none;
|
||||
border-radius: 0.2rem;
|
||||
resize: none;
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
padding: 0.8rem;
|
||||
}
|
||||
|
||||
.input {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
@ -370,9 +382,10 @@ p {
|
||||
position: relative;
|
||||
padding: 0.8em;
|
||||
margin-bottom: 1.5em;
|
||||
border-radius: 0.2em;
|
||||
border-radius: 0.2rem;
|
||||
background: rgba(var(--text), 0.1);
|
||||
border: 0.1em solid transparent;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.input:last-of-type {
|
||||
@ -383,7 +396,7 @@ p {
|
||||
border: 0.1em solid var(--primary-color);
|
||||
}
|
||||
|
||||
.input label {
|
||||
.input .placeholder {
|
||||
opacity: .7;
|
||||
font-weight: 500;
|
||||
font-size: 1em;
|
||||
@ -415,7 +428,7 @@ p {
|
||||
transform: translateY(0.5em);
|
||||
}
|
||||
|
||||
.animate-label label {
|
||||
.animate-label .placeholder {
|
||||
-webkit-transform: translateY(-60%) scale(0.7);
|
||||
transform: translateY(-60%) scale(0.7);
|
||||
opacity: 1;
|
||||
@ -489,7 +502,7 @@ p {
|
||||
}
|
||||
|
||||
.solid-background {
|
||||
background: var(--background) !important;
|
||||
background: rgba(var(--foreground), 1) !important;
|
||||
}
|
||||
|
||||
form {
|
||||
@ -505,7 +518,7 @@ form {
|
||||
left: 0;
|
||||
right: 0;
|
||||
place-items: center;
|
||||
background: rgba(0, 0, 0, 0.24);
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
z-index: 10;
|
||||
-webkit-transition: opacity 0.3s ease;
|
||||
transition: opacity 0.3s ease;
|
||||
@ -551,17 +564,32 @@ form {
|
||||
}
|
||||
|
||||
.popup-container .popup .container-header {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: auto 1fr auto;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.popup-container .popup .container-header .icon {
|
||||
cursor: pointer;
|
||||
padding-right: 0.4rem;
|
||||
stroke-width: 8;
|
||||
}
|
||||
|
||||
.popup-container .popup .container-header .btn {
|
||||
padding: 0.6em 1.2em;
|
||||
}
|
||||
|
||||
.popup-container .popup .container-header h3 {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.popup-container .popup p {
|
||||
margin-bottom: 1.5rem !important;
|
||||
}
|
||||
@ -573,8 +601,8 @@ form {
|
||||
transition: opacity 0.3s, -webkit-transform 0.3s;
|
||||
transition: transform 0.3s, opacity 0.3s;
|
||||
transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
|
||||
-webkit-box-shadow: 0.2rem 0.4rem 0.8rem rgba(0, 0, 0, 0.16);
|
||||
box-shadow: 0.2rem 0.4rem 0.8rem rgba(0, 0, 0, 0.16);
|
||||
-webkit-box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.08);
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
@ -589,7 +617,10 @@ form {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
width: calc(100% - 2rem);
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
border: solid 1px rgba(var(--text), 0.2);
|
||||
max-width: 100%;
|
||||
z-index: 40;
|
||||
background: rgba(var(--foreground), 1);
|
||||
@ -628,6 +659,10 @@ form {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#show_message span::first-letter {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#show_message button {
|
||||
padding: 1rem;
|
||||
margin: 0 1em 0 0;
|
||||
@ -642,40 +677,45 @@ form {
|
||||
stroke-width: 6;
|
||||
}
|
||||
|
||||
#confirmation {
|
||||
#confirmation, #prompt {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
#confirmation p {
|
||||
#confirmation p, #prompt p {
|
||||
margin: 1rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
color: rgba(var(--rgb-bw), 1) !important;
|
||||
}
|
||||
|
||||
#confirmation div {
|
||||
#confirmation h4, #prompt h4 {
|
||||
font-weight: 500;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
#confirmation .input, #prompt .input {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
#confirmation .btns, #prompt .btns {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
padding: 1em;
|
||||
-webkit-box-pack: right;
|
||||
-ms-flex-pack: right;
|
||||
justify-content: right;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#confirmation div button {
|
||||
#confirmation .btns button, #prompt .btns button {
|
||||
background: none;
|
||||
}
|
||||
|
||||
#confirmation div button:first-of-type {
|
||||
#confirmation .btns button:first-of-type, #prompt .btns button:first-of-type {
|
||||
margin-right: 0.6em;
|
||||
}
|
||||
|
||||
@ -684,30 +724,23 @@ form {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#sign_in_popup {
|
||||
-ms-flex-item-align: center;
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
border-radius: 0.5em;
|
||||
width: calc(100vw - 2em);
|
||||
background: rgba(var(--foreground), 1);
|
||||
}
|
||||
|
||||
#sign_in_popup h1 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
#sign_in_popup p:first-of-type {
|
||||
margin-bottom: 4em;
|
||||
#sign_in_popup h4 {
|
||||
font-weight: 500;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
#sign_in_popup button {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
#sign_in_popup p:nth-of-type(2) {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
#sign_in_popup p {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
#sign_in_popup .input {
|
||||
@ -728,30 +761,39 @@ form {
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
#main_header svg {
|
||||
stroke: var(--primary-color);
|
||||
stroke-width: 10;
|
||||
stroke-linecap: round;
|
||||
height: 2em;
|
||||
width: 3em;
|
||||
fill: none;
|
||||
margin-right: 0.4em;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#main_header #display_balance {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
margin-left: auto;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 1fr auto;
|
||||
grid-template-columns: 1fr auto;
|
||||
grid-template-areas: 'title title'
' . .';
|
||||
gap: 0.3rem 0.5rem;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#main_header #display_balance h5 {
|
||||
-ms-grid-row: 1;
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
grid-area: title;
|
||||
}
|
||||
|
||||
#main_header #display_balance .icon {
|
||||
height: 1.4rem;
|
||||
width: 1.4rem;
|
||||
padding: 0.3rem;
|
||||
stroke-width: 10;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon {
|
||||
height: 1.2rem;
|
||||
width: 1.2rem;
|
||||
@ -783,6 +825,7 @@ form {
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
border-top: solid 1px rgba(var(--text), 0.2);
|
||||
border-right: none;
|
||||
z-index: 3;
|
||||
background: rgba(var(--foreground), 1);
|
||||
}
|
||||
@ -797,6 +840,7 @@ form {
|
||||
color: rgba(var(--text), 0.8);
|
||||
font-size: 0.9em;
|
||||
text-transform: uppercase;
|
||||
width: 100%;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
@ -833,12 +877,13 @@ form {
|
||||
}
|
||||
|
||||
.options-tab {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin-top: 1rem;
|
||||
-ms-grid-columns: (10rem)[2];
|
||||
grid-template-columns: repeat(2, 10rem);
|
||||
margin-bottom: 1rem;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.options-tab .option {
|
||||
@ -849,19 +894,52 @@ form {
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
border-radius: 0.2rem;
|
||||
border-radius: 0.4rem;
|
||||
padding: 1.5rem;
|
||||
margin-right: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
border: solid 1px rgba(var(--text), 0.3);
|
||||
width: 9rem;
|
||||
border: solid 1px rgba(var(--text), 0.2);
|
||||
text-transform: capitalize;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.options-tab .option .icon {
|
||||
height: 1.4rem;
|
||||
width: 1.4rem;
|
||||
margin-bottom: 1.5rem;
|
||||
height: 2.8rem;
|
||||
width: 2.8rem;
|
||||
padding: 0.8rem;
|
||||
border-radius: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
stroke: rgba(var(--text), 0.4);
|
||||
}
|
||||
|
||||
.options-tab .option h4 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.options-tab .option:nth-of-type(1) .icon {
|
||||
background: #ffe5ea;
|
||||
stroke: #af0f2c;
|
||||
}
|
||||
|
||||
.options-tab .option:nth-of-type(2) .icon {
|
||||
background: #fff9d5;
|
||||
stroke: #e69620;
|
||||
}
|
||||
|
||||
.options-tab .option:nth-of-type(3) .icon {
|
||||
background: #e5ffe3;
|
||||
stroke: #189b0f;
|
||||
}
|
||||
|
||||
.options-tab .option:nth-of-type(4) .icon {
|
||||
background: #e4fbff;
|
||||
stroke: #0b8ea5;
|
||||
}
|
||||
|
||||
.options-tab .option:nth-of-type(5) .icon {
|
||||
background: #efe5ff;
|
||||
stroke: #10359b;
|
||||
}
|
||||
|
||||
.notification-dot::after {
|
||||
@ -890,6 +968,10 @@ form {
|
||||
background: linear-gradient(rgba(var(--foreground), 1) 90%, transparent);
|
||||
}
|
||||
|
||||
.secondary-btn {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.request {
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
@ -898,14 +980,14 @@ form {
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
padding: 2em 1.5em;
|
||||
padding: 1.5em;
|
||||
border-radius: 0.4em;
|
||||
background: var(--background);
|
||||
border: solid 1px rgba(var(--text), 0.2);
|
||||
}
|
||||
|
||||
.request h5 {
|
||||
color: rgba(var(--text-light), 1);
|
||||
margin-bottom: 0.6rem;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.request h3, .request h4 {
|
||||
@ -914,6 +996,10 @@ form {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.request h4:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.request .action {
|
||||
-ms-flex-item-align: end;
|
||||
align-self: flex-end;
|
||||
@ -927,6 +1013,50 @@ form {
|
||||
width: auto;
|
||||
-ms-flex-item-align: end;
|
||||
align-self: flex-end;
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.request .copy-row {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.request .flex {
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.request .flex h5 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.request .flex button {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.deposited {
|
||||
color: #007732;
|
||||
}
|
||||
|
||||
.deposited::before {
|
||||
content: '+ ';
|
||||
}
|
||||
|
||||
.decline-request {
|
||||
margin-right: 0.5rem !important;
|
||||
}
|
||||
|
||||
.withdrawn {
|
||||
color: #d43125;
|
||||
}
|
||||
|
||||
.withdrawn::before {
|
||||
content: '- ';
|
||||
}
|
||||
|
||||
.container {
|
||||
@ -952,8 +1082,8 @@ form {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding-bottom: 1em;
|
||||
margin-bottom: 1em;
|
||||
background: rgba(var(--foreground), 1);
|
||||
will-change: auto;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -993,6 +1123,79 @@ form {
|
||||
background: rgba(var(--text-light), 0.2);
|
||||
}
|
||||
|
||||
.copy-row {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 1fr auto;
|
||||
grid-template-columns: 1fr auto;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.copy-row h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.copy-row .icon {
|
||||
cursor: pointer;
|
||||
padding: 0.4rem;
|
||||
height: 1.8rem;
|
||||
width: 1.8rem;
|
||||
}
|
||||
|
||||
.copy-row .copy {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#textCopied {
|
||||
padding: 0.6rem 1.2rem;
|
||||
border-radius: 2rem;
|
||||
background: rgba(var(--text), 0.1);
|
||||
color: rgba(var(--text), 1);
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
margin: 2rem 0;
|
||||
left: 50%;
|
||||
-webkit-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
-webkit-transition: 0.3s opacity ease;
|
||||
transition: 0.3s opacity ease;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
margin-bottom: 1.5rem !important;
|
||||
}
|
||||
|
||||
#report_popup h4 {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
#report_popup textarea {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
#profile_page {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#profile_page button {
|
||||
-ms-flex-item-align: start;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 640px) {
|
||||
body {
|
||||
padding: 1rem 6vw;
|
||||
@ -1017,19 +1220,8 @@ form {
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
#confirmation {
|
||||
padding: 1rem;
|
||||
width: 24rem;
|
||||
}
|
||||
#confirmation button {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
#confirmation button:first-of-type {
|
||||
margin-left: auto;
|
||||
}
|
||||
#confirmation p {
|
||||
margin: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.container {
|
||||
-ms-grid-columns: (1fr)[2];
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
@ -1050,6 +1242,7 @@ form {
|
||||
top: 0;
|
||||
right: auto;
|
||||
width: 6rem;
|
||||
border-top: none;
|
||||
border-right: solid 1px rgba(var(--text), 0.2);
|
||||
}
|
||||
#navbar .navbar-item {
|
||||
@ -1082,14 +1275,12 @@ form {
|
||||
#sign_in_popup {
|
||||
width: 24rem;
|
||||
}
|
||||
.options-tab {
|
||||
-ms-grid-columns: (10rem)[3];
|
||||
grid-template-columns: repeat(3, 10rem);
|
||||
}
|
||||
}
|
||||
|
||||
#profile_page h5 {
|
||||
margin-bottom: 0.5rem;
|
||||
#profile_page .copy-row {
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
#main_loader {
|
||||
@ -1097,9 +1288,18 @@ form {
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
text-align: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#main_loader button {
|
||||
margin-left: 0;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
#main_loader svg {
|
||||
@ -1142,10 +1342,6 @@ form {
|
||||
-ms-grid-columns: (1fr)[3];
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
.options-tab {
|
||||
-ms-grid-columns: (10rem)[4];
|
||||
grid-template-columns: repeat(4, 10rem);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1920px) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
290
css/main.scss
290
css/main.scss
@ -81,13 +81,13 @@ input:invalid{
|
||||
border: none;
|
||||
}
|
||||
.bottom-padding{
|
||||
padding-bottom: 1em;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
.top-padding{
|
||||
padding-top: 1em;
|
||||
}
|
||||
.bottom-margin{
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.top-margin{
|
||||
margin-top: 1em;
|
||||
@ -222,7 +222,17 @@ p{
|
||||
stroke: none;
|
||||
}
|
||||
}
|
||||
|
||||
textarea{
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background: rgba(var(--text), 0.1);
|
||||
border: none;
|
||||
border-radius: 0.2rem;
|
||||
resize: none;
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
padding: 0.8rem;
|
||||
}
|
||||
.input{
|
||||
display: flex;
|
||||
width: 100%;
|
||||
@ -230,16 +240,17 @@ p{
|
||||
position: relative;
|
||||
padding: 0.8em;
|
||||
margin-bottom: 1.5em;
|
||||
border-radius: 0.2em;
|
||||
border-radius: 0.2rem;
|
||||
background: rgba(var(--text), 0.1);
|
||||
border: 0.1em solid transparent;
|
||||
cursor: text;
|
||||
&:last-of-type{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
&:focus-within{
|
||||
border: 0.1em solid var(--primary-color);
|
||||
}
|
||||
label{
|
||||
.placeholder{
|
||||
opacity: .7;
|
||||
font-weight: 500;
|
||||
font-size: 1em;
|
||||
@ -263,7 +274,7 @@ p{
|
||||
input{
|
||||
transform: translateY(0.5em);
|
||||
}
|
||||
label{
|
||||
.placeholder{
|
||||
transform: translateY(-60%) scale(0.7);
|
||||
opacity: 1;
|
||||
color: var(--primary-color);
|
||||
@ -315,7 +326,7 @@ p{
|
||||
background: rgba(var(--foreground), 1);
|
||||
}
|
||||
.solid-background{
|
||||
background: var(--background) !important;
|
||||
background: rgba(var(--foreground), 1) !important;
|
||||
}
|
||||
form{
|
||||
width: 100%;
|
||||
@ -328,7 +339,7 @@ form{
|
||||
left: 0;
|
||||
right: 0;
|
||||
place-items: center;
|
||||
background: rgba($color: #000000, $alpha: 0.24);
|
||||
background: rgba($color: #000000, $alpha: 0.4);
|
||||
z-index: 10;
|
||||
transition: opacity 0.3s ease;
|
||||
.popup{
|
||||
@ -353,12 +364,23 @@ form{
|
||||
margin-left: auto;
|
||||
}
|
||||
.container-header{
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
.icon{
|
||||
cursor: pointer;
|
||||
padding-right: 0.4rem;
|
||||
stroke-width: 8;
|
||||
}
|
||||
.btn{
|
||||
padding: 0.6em 1.2em;
|
||||
}
|
||||
h3{
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
p{
|
||||
margin-bottom: 1.5rem !important;
|
||||
@ -368,7 +390,7 @@ form{
|
||||
#show_message{
|
||||
transform: translate(0, -100%);
|
||||
transition: transform 0.3s, opacity 0.3s;
|
||||
box-shadow: 0.2rem 0.4rem 0.8rem rgba($color: #000000, $alpha: 0.16);
|
||||
box-shadow: 0 0.4rem 0.8rem rgba($color: #000000, $alpha: 0.08);
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
display: flex;
|
||||
@ -376,7 +398,10 @@ form{
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
width: calc(100% - 2rem);
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
border: solid 1px rgba(var(--text), 0.2);
|
||||
max-width: 100%;
|
||||
z-index: 40;
|
||||
background: rgba(var(--foreground), 1);
|
||||
@ -403,6 +428,9 @@ form{
|
||||
font-weight: 500;
|
||||
flex: 1;
|
||||
}
|
||||
span::first-letter{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
button{
|
||||
padding: 1rem;
|
||||
margin: 0 1em 0 0;
|
||||
@ -416,19 +444,24 @@ form{
|
||||
}
|
||||
}
|
||||
}
|
||||
#confirmation{
|
||||
#confirmation,#prompt{
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
p{
|
||||
margin: 1rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
color: rgba(var(--rgb-bw),1) !important;
|
||||
}
|
||||
div{
|
||||
h4{
|
||||
font-weight: 500;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.input{
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.btns{
|
||||
display: flex;
|
||||
padding: 1em;
|
||||
justify-content: right;
|
||||
width: 100%;
|
||||
button{
|
||||
@ -444,22 +477,20 @@ form{
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
#sign_in_popup{
|
||||
align-self: center;
|
||||
border-radius: 0.5em;
|
||||
width: calc(100vw - 2em);
|
||||
background: rgba(var(--foreground), 1);
|
||||
h1{
|
||||
margin-top: 2rem;
|
||||
}
|
||||
p:first-of-type{
|
||||
margin-bottom: 4em;
|
||||
h4{
|
||||
font-weight: 500;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
button{
|
||||
margin: 1rem 0;
|
||||
}
|
||||
p:nth-of-type(2){
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
p{
|
||||
margin-top: 1rem;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.input{
|
||||
background: rgba(var(--text), 0.1);
|
||||
@ -474,20 +505,25 @@ form{
|
||||
#main_header{
|
||||
align-items: center;
|
||||
padding: 1em 0;
|
||||
svg{
|
||||
stroke: var(--primary-color);
|
||||
stroke-width: 10;
|
||||
stroke-linecap: round;
|
||||
height: 2em;
|
||||
width: 3em;
|
||||
fill: none;
|
||||
margin-right: 0.4em;
|
||||
}
|
||||
justify-content: space-between;
|
||||
#display_balance{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
grid-template-areas: 'title title'
|
||||
' . .';
|
||||
gap: 0.3rem 0.5rem;
|
||||
align-items: center;
|
||||
text-align: right;
|
||||
h5{
|
||||
grid-area: title;
|
||||
}
|
||||
.icon{
|
||||
height: 1.4rem;
|
||||
width: 1.4rem;
|
||||
padding: 0.3rem;
|
||||
stroke-width: 10;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
.icon{
|
||||
@ -511,6 +547,7 @@ form{
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
border-top: solid 1px rgba(var(--text), 0.2);
|
||||
border-right: none;
|
||||
z-index: 3;
|
||||
background: rgba(var(--foreground), 1);
|
||||
.navbar-item{
|
||||
@ -523,6 +560,7 @@ form{
|
||||
color: rgba(var(--text), 0.8);
|
||||
font-size: 0.9em;
|
||||
text-transform: uppercase;
|
||||
width: 100%;
|
||||
letter-spacing: 0.1em;
|
||||
h5{
|
||||
font-size: 0.6em;
|
||||
@ -554,24 +592,61 @@ form{
|
||||
}
|
||||
}
|
||||
.options-tab{
|
||||
display: grid;
|
||||
display: flex;
|
||||
margin-top: 1rem;
|
||||
grid-template-columns: repeat(2, 10rem);
|
||||
margin-bottom: 1rem;
|
||||
flex-wrap: wrap;
|
||||
.option{
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
border-radius: 0.2rem;
|
||||
border-radius: 0.4rem;
|
||||
padding: 1.5rem;
|
||||
margin-right: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
border: solid 1px rgba(var(--text), 0.3);
|
||||
width: 9rem;
|
||||
border: solid 1px rgba(var(--text), 0.2);
|
||||
text-transform: capitalize;
|
||||
cursor: pointer;
|
||||
.icon{
|
||||
height: 1.4rem;
|
||||
width: 1.4rem;
|
||||
margin-bottom: 1.5rem;
|
||||
height: 2.8rem;
|
||||
width: 2.8rem;
|
||||
padding: 0.8rem;
|
||||
border-radius: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
stroke: rgba(var(--text), 0.4);
|
||||
}
|
||||
h4{
|
||||
font-weight: 600;
|
||||
}
|
||||
&:nth-of-type(1){
|
||||
.icon{
|
||||
background: rgb(255, 229, 234);
|
||||
stroke: rgb(175, 15, 44);
|
||||
}
|
||||
}
|
||||
&:nth-of-type(2){
|
||||
.icon{
|
||||
background: rgb(255, 249, 213);
|
||||
stroke: rgb(230, 150, 32);
|
||||
}
|
||||
}
|
||||
&:nth-of-type(3){
|
||||
.icon{
|
||||
background: rgb(229, 255, 227);
|
||||
stroke: rgb(24, 155, 15);
|
||||
}
|
||||
}
|
||||
&:nth-of-type(4){
|
||||
.icon{
|
||||
background: rgb(228, 251, 255);
|
||||
stroke: rgb(11, 142, 165);
|
||||
}
|
||||
}
|
||||
&:nth-of-type(5){
|
||||
.icon{
|
||||
background: rgb(239, 229, 255);
|
||||
stroke: rgb(16, 53, 155);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -595,21 +670,27 @@ form{
|
||||
background: linear-gradient(rgba(var(--foreground), 1) 90%, transparent);
|
||||
}
|
||||
}
|
||||
.secondary-btn{
|
||||
background: none;
|
||||
}
|
||||
.request{
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
padding: 2em 1.5em;
|
||||
padding: 1.5em;
|
||||
border-radius: 0.4em;
|
||||
background: var(--background);
|
||||
border: solid 1px rgba(var(--text), 0.2);
|
||||
h5{
|
||||
color: rgba(var(--text-light), 1);
|
||||
margin-bottom: 0.6rem;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
h3,h4{
|
||||
margin-bottom: 1.5rem;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
h4:last-of-type{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.action{
|
||||
align-self: flex-end;
|
||||
}
|
||||
@ -619,6 +700,37 @@ form{
|
||||
button{
|
||||
width: auto;
|
||||
align-self: flex-end;
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.copy-row{
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.flex{
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin-top: 1.5rem;
|
||||
h5{
|
||||
margin: 0;
|
||||
}
|
||||
button{
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.deposited{
|
||||
color: #007732;
|
||||
&::before{
|
||||
content: '+ ';
|
||||
}
|
||||
}
|
||||
.decline-request{
|
||||
margin-right: 0.5rem !important;
|
||||
}
|
||||
.withdrawn{
|
||||
color: #d43125;
|
||||
&::before{
|
||||
content: '- ';
|
||||
}
|
||||
}
|
||||
.container{
|
||||
@ -637,8 +749,8 @@ form{
|
||||
gap: 1rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding-bottom: 1em;
|
||||
margin-bottom: 1em;
|
||||
background: rgba(var(--foreground), 1);
|
||||
will-change: auto;
|
||||
z-index: 2;
|
||||
h2{
|
||||
font-weight: 600;
|
||||
@ -669,6 +781,59 @@ form{
|
||||
}
|
||||
}
|
||||
}
|
||||
.copy-row{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
h4{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.icon{
|
||||
cursor: pointer;
|
||||
padding: 0.4rem;
|
||||
height: 1.8rem;
|
||||
width: 1.8rem;
|
||||
}
|
||||
.copy{
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
#textCopied{
|
||||
padding: 0.6rem 1.2rem;
|
||||
border-radius: 2rem;
|
||||
background: rgba(var(--text), 0.1);
|
||||
color: rgba(var(--text), 1);
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
margin: 2rem 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
transition: 0.3s opacity ease;
|
||||
z-index: 20;
|
||||
}
|
||||
.time{
|
||||
font-family: 'Roboto', sans-serif;
|
||||
margin-bottom: 1.5rem !important;
|
||||
}
|
||||
#report_popup{
|
||||
h4{
|
||||
font-weight: 400;
|
||||
}
|
||||
textarea{
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
#profile_page{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
button{
|
||||
align-self: flex-start;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 640px){
|
||||
body{
|
||||
padding: 1rem 6vw;
|
||||
@ -690,18 +855,7 @@ form{
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
#confirmation{
|
||||
padding: 1rem;
|
||||
width: 24rem;
|
||||
button{
|
||||
margin-left: 0.5rem;
|
||||
&:first-of-type{
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
p{
|
||||
margin: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
.container{
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
@ -715,6 +869,7 @@ form{
|
||||
top: 0;
|
||||
right: auto;
|
||||
width: 6rem;
|
||||
border-top: none;
|
||||
border-right: solid 1px rgba(var(--text), 0.2);
|
||||
.navbar-item{
|
||||
width: auto;
|
||||
@ -751,20 +906,22 @@ form{
|
||||
#sign_in_popup{
|
||||
width: 24rem;
|
||||
}
|
||||
.options-tab{
|
||||
grid-template-columns: repeat(3, 10rem);
|
||||
}
|
||||
}
|
||||
#profile_page{
|
||||
h5{
|
||||
margin-bottom: 0.5rem;
|
||||
.copy-row{
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
#main_loader{
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
button{
|
||||
margin-left: 0;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
svg{
|
||||
height: 2rem;
|
||||
width: 2rem;
|
||||
@ -798,9 +955,6 @@ form{
|
||||
.container{
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
.options-tab{
|
||||
grid-template-columns: repeat(4, 10rem);
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1920px){
|
||||
body{
|
||||
|
||||
1091
index.html
1091
index.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user