Creating Sub Admin UI and functions
This commit is contained in:
parent
8f778b9417
commit
b80599138c
41
css/main.css
41
css/main.css
@ -15,7 +15,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
--accent-color: #256eff;
|
--accent-color: #365eff;
|
||||||
--text-color: 30, 30, 30;
|
--text-color: 30, 30, 30;
|
||||||
--background-color: 240, 240, 240;
|
--background-color: 240, 240, 240;
|
||||||
--foreground-color: 250, 250, 250;
|
--foreground-color: 250, 250, 250;
|
||||||
@ -673,8 +673,8 @@ h3 {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drag-drop-container,
|
.card {
|
||||||
#file_upload_section {
|
padding: 1.5rem;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
box-shadow: 0 0 0 1px rgba(var(--text-color), 0.1);
|
box-shadow: 0 0 0 1px rgba(var(--text-color), 0.1);
|
||||||
background-color: rgba(var(--foreground-color), 1);
|
background-color: rgba(var(--foreground-color), 1);
|
||||||
@ -682,22 +682,30 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.drag-drop-container {
|
.drag-drop-container {
|
||||||
padding: max(3rem, 6vw) 1.5rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
|
padding: 3vw 1rem;
|
||||||
}
|
}
|
||||||
.drag-drop-container.drag-over, .drag-drop-container:hover {
|
.drag-drop-container.drag-over, .drag-drop-container:hover {
|
||||||
box-shadow: 0 0 0 0.1rem var(--accent-color);
|
box-shadow: 0 0 0 0.1rem var(--accent-color);
|
||||||
}
|
}
|
||||||
.drag-drop-container .drag-drop-text {
|
.drag-drop-container .drag-drop-text {
|
||||||
|
font-size: 1.1rem;
|
||||||
color: rgba(var(--text-color), 0.9);
|
color: rgba(var(--text-color), 0.9);
|
||||||
}
|
}
|
||||||
.drag-drop-container p {
|
.drag-drop-container p {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
color: rgba(var(--text-color), 0.6);
|
color: rgba(var(--text-color), 0.6);
|
||||||
}
|
}
|
||||||
|
.drag-drop-container strong {
|
||||||
|
font-weight: 500;
|
||||||
|
color: rgba(var(--text-color), 0.8);
|
||||||
|
background-color: rgba(var(--text-color), 0.06);
|
||||||
|
border-radius: 3rem;
|
||||||
|
padding: 0.1rem 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
#upload_icon {
|
#upload_icon {
|
||||||
width: 8rem;
|
width: 8rem;
|
||||||
@ -711,7 +719,6 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#file_upload_section {
|
#file_upload_section {
|
||||||
padding: 1.5rem;
|
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
}
|
}
|
||||||
#file_upload_section fieldset {
|
#file_upload_section fieldset {
|
||||||
@ -749,6 +756,30 @@ h3 {
|
|||||||
color: rgba(var(--text-color), 0.8);
|
color: rgba(var(--text-color), 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kyc-request {
|
||||||
|
display: grid;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
background-color: rgba(var(--foreground-color), 1);
|
||||||
|
}
|
||||||
|
.kyc-request time {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: rgba(var(--text-color), 0.8);
|
||||||
|
}
|
||||||
|
.kyc-request h4 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
.kyc-request sm-copy {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.kyc-request button {
|
||||||
|
text-transform: uppercase;
|
||||||
|
padding: 0.4rem 0.6rem;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 40rem) {
|
@media screen and (max-width: 40rem) {
|
||||||
theme-toggle {
|
theme-toggle {
|
||||||
order: 2;
|
order: 2;
|
||||||
|
|||||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -15,7 +15,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
--accent-color: #256eff;
|
--accent-color: #365eff;
|
||||||
--text-color: 30, 30, 30;
|
--text-color: 30, 30, 30;
|
||||||
--background-color: 240, 240, 240;
|
--background-color: 240, 240, 240;
|
||||||
--foreground-color: 250, 250, 250;
|
--foreground-color: 250, 250, 250;
|
||||||
@ -633,24 +633,25 @@ h3 {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.drag-drop-container,
|
.card {
|
||||||
#file_upload_section {
|
padding: 1.5rem;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
box-shadow: 0 0 0 1px rgba(var(--text-color), 0.1);
|
box-shadow: 0 0 0 1px rgba(var(--text-color), 0.1);
|
||||||
background-color: rgba(var(--foreground-color), 1);
|
background-color: rgba(var(--foreground-color), 1);
|
||||||
transition: box-shadow 0.2s, background-color 0.2s;
|
transition: box-shadow 0.2s, background-color 0.2s;
|
||||||
}
|
}
|
||||||
.drag-drop-container {
|
.drag-drop-container {
|
||||||
padding: max(3rem, 6vw) 1.5rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
|
padding: 3vw 1rem;
|
||||||
&.drag-over,
|
&.drag-over,
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0 0 0 0.1rem var(--accent-color);
|
box-shadow: 0 0 0 0.1rem var(--accent-color);
|
||||||
}
|
}
|
||||||
.drag-drop-text {
|
.drag-drop-text {
|
||||||
|
font-size: 1.1rem;
|
||||||
color: rgba(var(--text-color), 0.9);
|
color: rgba(var(--text-color), 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -658,6 +659,13 @@ h3 {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
color: rgba(var(--text-color), 0.6);
|
color: rgba(var(--text-color), 0.6);
|
||||||
}
|
}
|
||||||
|
strong {
|
||||||
|
font-weight: 500;
|
||||||
|
color: rgba(var(--text-color), 0.8);
|
||||||
|
background-color: rgba(var(--text-color), 0.06);
|
||||||
|
border-radius: 3rem;
|
||||||
|
padding: 0.1rem 0.8rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#upload_icon {
|
#upload_icon {
|
||||||
width: 8rem;
|
width: 8rem;
|
||||||
@ -671,7 +679,6 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#file_upload_section {
|
#file_upload_section {
|
||||||
padding: 1.5rem;
|
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
fieldset {
|
fieldset {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
@ -706,6 +713,30 @@ h3 {
|
|||||||
color: rgba(var(--text-color), 0.8);
|
color: rgba(var(--text-color), 0.8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kyc-request {
|
||||||
|
display: grid;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
background-color: rgba(var(--foreground-color), 1);
|
||||||
|
time {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: rgba(var(--text-color), 0.8);
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
sm-copy {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
text-transform: uppercase;
|
||||||
|
padding: 0.4rem 0.6rem;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media screen and (max-width: 40rem) {
|
@media screen and (max-width: 40rem) {
|
||||||
theme-toggle {
|
theme-toggle {
|
||||||
order: 2;
|
order: 2;
|
||||||
|
|||||||
299
index.html
299
index.html
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user