merge SM codes
This commit is contained in:
commit
540e3db424
3088
components.js
Normal file
3088
components.js
Normal file
File diff suppressed because it is too large
Load Diff
298
css/main.css
298
css/main.css
@ -19,7 +19,6 @@ body {
|
|||||||
background: var(--foreground-color);
|
background: var(--foreground-color);
|
||||||
color: rgba(var(--text-color), 1);
|
color: rgba(var(--text-color), 1);
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -52,9 +51,13 @@ h5 {
|
|||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5 {
|
h1,
|
||||||
font-family: "Manrope", sans-serif;
|
h2,
|
||||||
font-weight: 700;
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
font-family: "Poppins", sans-serif;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@ -70,7 +73,7 @@ button {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
padding: 0.6rem 1.2rem;
|
padding: 0.6rem 1.2rem;
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
@ -78,7 +81,7 @@ button {
|
|||||||
border: none;
|
border: none;
|
||||||
background: rgba(var(--text-color), 0.1);
|
background: rgba(var(--text-color), 0.1);
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
font-family: "Manrope", sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
button:focus {
|
button:focus {
|
||||||
outline: thin solid rgba(var(--text-color-light), 0.4);
|
outline: thin solid rgba(var(--text-color-light), 0.4);
|
||||||
@ -158,6 +161,18 @@ input:invalid {
|
|||||||
gap: 1em;
|
gap: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.align-center {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.direction-column {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.space-between {
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
margin-bottom: 0.4rem;
|
margin-bottom: 0.4rem;
|
||||||
}
|
}
|
||||||
@ -474,28 +489,35 @@ form {
|
|||||||
margin-bottom: 1.5rem !important;
|
margin-bottom: 1.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#confirmation, #prompt {
|
#confirmation,
|
||||||
|
#prompt {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
#confirmation p, #prompt p {
|
#confirmation p,
|
||||||
|
#prompt p {
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
}
|
}
|
||||||
#confirmation h4, #prompt h4 {
|
#confirmation h4,
|
||||||
|
#prompt h4 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
#confirmation .input, #prompt .input {
|
#confirmation .input,
|
||||||
|
#prompt .input {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
#confirmation .btns, #prompt .btns {
|
#confirmation .btns,
|
||||||
|
#prompt .btns {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: right;
|
justify-content: right;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
#confirmation .btns button, #prompt .btns button {
|
#confirmation .btns button,
|
||||||
|
#prompt .btns button {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
#confirmation .btns button:first-of-type, #prompt .btns button:first-of-type {
|
#confirmation .btns button:first-of-type,
|
||||||
|
#prompt .btns button:first-of-type {
|
||||||
margin-right: 0.6em;
|
margin-right: 0.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -530,21 +552,11 @@ form {
|
|||||||
|
|
||||||
#main_header {
|
#main_header {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1em 0;
|
padding: 1rem;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
#main_header #display_balance {
|
|
||||||
display: grid;
|
#display_balance .icon {
|
||||||
grid-template-columns: 1fr auto;
|
|
||||||
grid-template-areas: "title title" " . .";
|
|
||||||
gap: 0.3rem 0.5rem;
|
|
||||||
align-items: center;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
#main_header #display_balance h5 {
|
|
||||||
grid-area: title;
|
|
||||||
}
|
|
||||||
#main_header #display_balance .icon {
|
|
||||||
height: 1.4rem;
|
height: 1.4rem;
|
||||||
width: 1.4rem;
|
width: 1.4rem;
|
||||||
padding: 0.3rem;
|
padding: 0.3rem;
|
||||||
@ -607,66 +619,114 @@ form {
|
|||||||
stroke-width: 4;
|
stroke-width: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#home_page h1 {
|
#home_page {
|
||||||
margin-bottom: 0;
|
padding: 1rem 0 4rem 0;
|
||||||
font-weight: 800;
|
}
|
||||||
|
#home_page .left h4 {
|
||||||
|
padding: 0 1.5rem;
|
||||||
|
}
|
||||||
|
#home_page sm-carousel::part(carousel) {
|
||||||
|
padding: 0 1.5rem;
|
||||||
}
|
}
|
||||||
#home_page p {
|
#home_page p {
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
}
|
}
|
||||||
#home_page h2 {
|
|
||||||
margin-bottom: 1rem;
|
#user_panel {
|
||||||
|
position: relative;
|
||||||
|
padding: 1.5rem;
|
||||||
|
margin: 0 1.5rem;
|
||||||
|
border-radius: 0.6rem;
|
||||||
|
background: linear-gradient(160deg, #ffffff10 50%, #00000040 80%), linear-gradient(-120deg, #ffffff10 50%, #00000040 10%), rgba(var(--text-color), 0.8);
|
||||||
|
box-shadow: 0 0.1rem 0.6rem #00000020;
|
||||||
|
color: rgba(var(--foreground-color), 1);
|
||||||
|
}
|
||||||
|
#user_panel .icon {
|
||||||
|
stroke: rgba(var(--foreground-color), 1);
|
||||||
|
}
|
||||||
|
#user_panel::before, #user_panel::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
height: 2rem;
|
||||||
|
bottom: 0.8rem;
|
||||||
|
box-shadow: 0 1rem 0.2rem #00000030;
|
||||||
|
z-index: -1;
|
||||||
|
border-radius: 0.4rem;
|
||||||
|
}
|
||||||
|
#user_panel::before {
|
||||||
|
left: 0;
|
||||||
|
right: 50%;
|
||||||
|
transform: rotate(-3deg);
|
||||||
|
}
|
||||||
|
#user_panel::after {
|
||||||
|
left: 50%;
|
||||||
|
right: 0;
|
||||||
|
transform: rotate(3deg);
|
||||||
|
}
|
||||||
|
#user_panel .copy-row {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
#user_panel .grid {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
}
|
||||||
|
#user_panel .grid h5 {
|
||||||
|
font-weight: 500;
|
||||||
|
color: rgba(var(--foreground-color), 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
#user_type {
|
||||||
|
font-weight: 500;
|
||||||
|
color: rgba(var(--foreground-color), 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.options-tab {
|
.options-tab {
|
||||||
display: flex;
|
margin: 1rem 0;
|
||||||
margin-top: 1rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
}
|
||||||
.options-tab .option {
|
.options-tab .option {
|
||||||
display: inline-flex;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
border-radius: 0.4rem;
|
border-radius: 0.4rem;
|
||||||
padding: 1.5rem;
|
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
width: 10rem;
|
width: 5rem;
|
||||||
box-shadow: 0 1px 0.1rem #00000030, 0 0 0.4rem #00000016;
|
min-width: 5rem;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
transition: transform 0.3s;
|
transition: transform 0.3s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.options-tab .option .icon {
|
.options-tab .option .icon {
|
||||||
height: 2.8rem;
|
height: 3rem;
|
||||||
width: 2.8rem;
|
width: 3rem;
|
||||||
padding: 0.8rem;
|
padding: 0.8rem;
|
||||||
border-radius: 2rem;
|
border-radius: 4rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 0.5rem;
|
||||||
stroke: rgba(var(--text-color), 0.4);
|
stroke: rgba(var(--foreground-color), 1);
|
||||||
|
}
|
||||||
|
.options-tab .option h4 {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
.options-tab .option:active {
|
.options-tab .option:active {
|
||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
.options-tab .option:nth-of-type(1) .icon {
|
.options-tab .option:nth-of-type(1) .icon {
|
||||||
background: #ffe5ea;
|
background: #D32F2F;
|
||||||
stroke: #af0f2c;
|
|
||||||
}
|
}
|
||||||
.options-tab .option:nth-of-type(2) .icon {
|
.options-tab .option:nth-of-type(2) .icon {
|
||||||
background: #fff9d5;
|
background: #7B1FA2;
|
||||||
stroke: #e69620;
|
|
||||||
}
|
}
|
||||||
.options-tab .option:nth-of-type(3) .icon {
|
.options-tab .option:nth-of-type(3) .icon {
|
||||||
background: #e5ffe3;
|
background: #303F9F;
|
||||||
stroke: #189b0f;
|
|
||||||
}
|
}
|
||||||
.options-tab .option:nth-of-type(4) .icon {
|
.options-tab .option:nth-of-type(4) .icon {
|
||||||
background: #e4fbff;
|
background: #1976D2;
|
||||||
stroke: #0b8ea5;
|
|
||||||
}
|
}
|
||||||
.options-tab .option:nth-of-type(5) .icon {
|
.options-tab .option:nth-of-type(5) .icon {
|
||||||
background: #efe5ff;
|
background: #388E3C;
|
||||||
stroke: #10359b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-dot::after {
|
.notification-dot::after {
|
||||||
@ -686,7 +746,8 @@ form {
|
|||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#deposit .container-header, #withdraw .container-header {
|
#deposit .container-header,
|
||||||
|
#withdraw .container-header {
|
||||||
background: linear-gradient(rgba(var(--foreground-color), 1) 90%, transparent);
|
background: linear-gradient(rgba(var(--foreground-color), 1) 90%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -708,7 +769,8 @@ sm-tab-header {
|
|||||||
margin-bottom: 0.2rem;
|
margin-bottom: 0.2rem;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
.request h3, .request h4 {
|
.request h3,
|
||||||
|
.request h4 {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
.request h4:last-of-type {
|
.request h4:last-of-type {
|
||||||
@ -763,11 +825,11 @@ sm-tab-header {
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
padding: 2rem 0;
|
padding: 1rem 1.5rem;
|
||||||
padding-bottom: 4rem;
|
padding-bottom: 4rem;
|
||||||
}
|
}
|
||||||
.page .container-header {
|
.page .container-header {
|
||||||
@ -850,7 +912,8 @@ sm-tab-header {
|
|||||||
.complaint .unprocessed {
|
.complaint .unprocessed {
|
||||||
color: #d43125;
|
color: #d43125;
|
||||||
}
|
}
|
||||||
.complaint .processed, .complaint .unprocessed {
|
.complaint .processed,
|
||||||
|
.complaint .unprocessed {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
.complaint button .icon {
|
.complaint button .icon {
|
||||||
@ -874,7 +937,8 @@ sm-tab-header {
|
|||||||
.complaint-placeholder {
|
.complaint-placeholder {
|
||||||
animation: pulse infinite 0.6s alternate;
|
animation: pulse infinite 0.6s alternate;
|
||||||
}
|
}
|
||||||
.complaint-placeholder h4, .complaint-placeholder h5 {
|
.complaint-placeholder h4,
|
||||||
|
.complaint-placeholder h5 {
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
.complaint-placeholder h5 {
|
.complaint-placeholder h5 {
|
||||||
@ -897,14 +961,56 @@ sm-tab-header {
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#main_loader {
|
||||||
|
box-shadow: none;
|
||||||
|
background: none;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
#main_loader button {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
}
|
||||||
|
#main_loader svg {
|
||||||
|
height: 2rem;
|
||||||
|
width: 2rem;
|
||||||
|
stroke: var(--accent-color);
|
||||||
|
stroke-width: 6;
|
||||||
|
fill: none;
|
||||||
|
overflow: visible;
|
||||||
|
stroke-linecap: round;
|
||||||
|
stroke-dashoffset: 210;
|
||||||
|
stroke-dasharray: 210;
|
||||||
|
justify-self: center;
|
||||||
|
align-self: center;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
#main_loader h3 {
|
||||||
|
width: 100%;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: 400;
|
||||||
|
word-spacing: 0.16em;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 640px) {
|
@media only screen and (max-width: 640px) {
|
||||||
|
#home_page {
|
||||||
|
display: grid;
|
||||||
|
gap: 1.5rem;
|
||||||
|
grid-template-areas: "." "left";
|
||||||
|
grid-template-columns: minmax(0, 1fr);
|
||||||
|
}
|
||||||
|
#home_page .left {
|
||||||
|
grid-area: left;
|
||||||
|
}
|
||||||
|
|
||||||
sm-select {
|
sm-select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 640px) {
|
@media only screen and (min-width: 640px) {
|
||||||
body {
|
body {
|
||||||
padding: 1rem 6vw;
|
padding: 0 2rem;
|
||||||
margin-left: 6rem;
|
margin-left: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -920,10 +1026,6 @@ sm-tab-header {
|
|||||||
width: 24rem;
|
width: 24rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
#navbar {
|
#navbar {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -968,52 +1070,21 @@ sm-tab-header {
|
|||||||
#sign_in_popup {
|
#sign_in_popup {
|
||||||
width: 24rem;
|
width: 24rem;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#profile_page .copy-row {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main_loader {
|
#profile_page .copy-row {
|
||||||
box-shadow: none;
|
display: inline-flex;
|
||||||
background: none;
|
|
||||||
text-align: center;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
#main_loader button {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
}
|
|
||||||
#main_loader svg {
|
|
||||||
height: 2rem;
|
|
||||||
width: 2rem;
|
|
||||||
stroke: var(--accent-color);
|
|
||||||
stroke-width: 6;
|
|
||||||
fill: none;
|
|
||||||
overflow: visible;
|
|
||||||
stroke-linecap: round;
|
|
||||||
stroke-dashoffset: 210;
|
|
||||||
stroke-dasharray: 210;
|
|
||||||
justify-self: center;
|
|
||||||
align-self: center;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
#main_loader h3 {
|
|
||||||
width: 100%;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-weight: 400;
|
|
||||||
word-spacing: 0.16em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#activity_page sm-tab-header {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 800px) {
|
|
||||||
.container {
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#home_page {
|
||||||
|
display: grid;
|
||||||
|
gap: 1.5rem;
|
||||||
|
grid-template-columns: minmax(0, 1fr) 24rem;
|
||||||
|
}
|
||||||
|
#activity_page sm-tab-header {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (min-width: 800px) {
|
||||||
.complaint {
|
.complaint {
|
||||||
gap: 0 1.5rem;
|
gap: 0 1.5rem;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
@ -1034,25 +1105,14 @@ sm-tab-header {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 1280px) {
|
|
||||||
body {
|
|
||||||
padding: 1rem 12vw;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media only screen and (min-width: 1920px) {
|
@media only screen and (min-width: 1920px) {
|
||||||
body {
|
body {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
padding: 2rem 20vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 2048px) {
|
@media only screen and (min-width: 2048px) {
|
||||||
body {
|
body {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
padding: 2rem 30vw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 320px) {
|
@media only screen and (max-width: 320px) {
|
||||||
|
|||||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
1026
css/main.scss
1026
css/main.scss
File diff suppressed because it is too large
Load Diff
2804
index.html
2804
index.html
File diff suppressed because it is too large
Load Diff
1580
index.html.orig
1580
index.html.orig
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user