minor UI tweak

This commit is contained in:
sairaj mote 2022-11-10 20:00:14 +05:30
parent 24863d29f8
commit 9c59d01e11
3 changed files with 95 additions and 313 deletions

View File

@ -1,8 +1,7 @@
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}
@ -24,12 +23,12 @@ body,
body * {
--accent-color: #2672ff;
--accent-color--light: rgba(38, 114, 255, 0.06);
--text-color: 36, 36, 36;
--background-color: 247, 250, 255;
--foreground-color: rgb(250, 252, 255);
--text-color: 20, 20, 20;
--foreground-color: 252, 253, 255;
--background-color: 241, 243, 248;
--danger-color: rgb(255, 75, 75);
--green: #1cad59;
--yellow: #f3a600;
--yellow: rgb(220, 165, 0);
--loan-color: rgb(255, 171, 93);
scrollbar-width: thin;
}
@ -38,13 +37,12 @@ body[data-theme=dark],
body[data-theme=dark] * {
--accent-color: rgb(170, 190, 255);
--accent-color--light: rgba(231, 239, 255, 0.06);
--text-color: 230, 230, 230;
--text-color-light: 170, 170, 170;
--background-color: 10, 10, 10;
--foreground-color: rgb(20, 20, 20);
--text-color: 200, 200, 200;
--foreground-color: 27, 28, 29;
--background-color: 21, 22, 22;
--danger-color: rgb(255, 106, 106);
--green: #00e676;
--yellow: #ffd13a;
--yellow: rgb(255, 213, 5);
--loan-color: rgb(255, 232, 170);
}
@ -65,8 +63,7 @@ a:where([class]) {
text-decoration: none;
}
a:where([class]):focus-visible {
-webkit-box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset;
box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset;
box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset;
}
a {
@ -77,21 +74,15 @@ button,
.button {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: relative;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
border: none;
background-color: transparent;
overflow: hidden;
color: inherit;
cursor: pointer;
-webkit-transition: -webkit-transform 0.3s;
transition: -webkit-transform 0.3s;
transition: transform 0.3s;
transition: transform 0.3s, -webkit-transform 0.3s;
-webkit-tap-highlight-color: transparent;
}
@ -140,8 +131,6 @@ ul {
}
.flex {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
@ -170,7 +159,6 @@ ul {
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
@ -208,8 +196,6 @@ ul {
}
.flex {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
@ -250,15 +236,11 @@ ul {
}
.align-start {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
align-items: flex-start;
}
.align-center {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
}
.text-center {
@ -266,15 +248,11 @@ ul {
}
.justify-start {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: start;
justify-content: start;
}
.justify-center {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
justify-content: center;
}
.justify-right {
@ -282,8 +260,7 @@ ul {
}
.align-self-center {
-ms-flex-item-align: center;
align-self: center;
align-self: center;
}
.justify-self-center {
@ -299,22 +276,15 @@ ul {
}
.direction-column {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-direction: column;
}
.space-between {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
justify-content: space-between;
}
.stretch {
-webkit-box-pack: stretch;
-ms-flex-pack: stretch;
justify-content: stretch;
justify-content: stretch;
justify-items: stretch;
}
.stretch > * {
@ -324,10 +294,7 @@ ul {
.interact {
position: relative;
cursor: pointer;
-webkit-transition: -webkit-transform 0.3s;
transition: -webkit-transform 0.3s;
transition: transform 0.3s;
transition: transform 0.3s, -webkit-transform 0.3s;
-webkit-tap-highlight-color: transparent;
}
@ -369,10 +336,7 @@ ul {
}
#confirmation_popup {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-direction: column;
}
#confirmation_popup h4 {
font-weight: 500;
@ -394,23 +358,19 @@ button:active,
.button:active,
.interact:active,
.nav-item:active {
-webkit-transform: scale(0.96);
transform: scale(0.96);
transform: scale(0.96);
}
#main_page {
padding: 1.5rem;
}
#main_page > section:nth-of-type(1) {
-ms-flex-line-pack: start;
align-content: flex-start;
align-content: flex-start;
}
.logo {
display: grid;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
width: 100%;
grid-template-columns: auto 1fr;
gap: 0 0.3rem;
@ -429,15 +389,10 @@ button:active,
}
details summary {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
justify-content: space-between;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
@ -445,8 +400,7 @@ details[open] > summary {
margin-bottom: 1rem;
}
details[open] > summary .icon {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
transform: rotate(180deg);
}
.card {
@ -482,8 +436,7 @@ details[open] > summary .icon {
padding: 1.5rem 0;
}
#landing > .grid {
-ms-flex-line-pack: start;
align-content: flex-start;
align-content: flex-start;
text-align: center;
gap: 1rem;
}
@ -491,9 +444,7 @@ details[open] > summary .icon {
#sign_in,
#sign_up {
grid-template-rows: auto 1fr;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
}
#sign_in section,
#sign_up section {
@ -547,29 +498,19 @@ details[open] > summary .icon {
#main_nav {
grid-area: main-nav;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.nav-item {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
padding: 0.8rem;
border-radius: 0.5rem;
color: inherit;
-webkit-transition: -webkit-transform 1s;
transition: -webkit-transform 1s;
transition: transform 1s;
transition: transform 1s, -webkit-transform 1s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
@ -595,9 +536,7 @@ details[open] > summary .icon {
padding: 1.5rem;
display: grid;
gap: 1rem;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
grid-template-columns: 1fr auto auto;
}
@ -613,33 +552,22 @@ details[open] > summary .icon {
}
#quick_actions_container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
flex-wrap: wrap;
gap: 1.5rem;
margin: 2rem 0;
}
.quick-action {
color: inherit;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
flex-direction: column;
align-items: center;
}
.quick-action.disabled {
pointer-events: none;
opacity: 0.6;
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
filter: grayscale(100%);
}
.quick-action__icon {
padding: 1rem;
@ -664,8 +592,7 @@ details[open] > summary .icon {
text-align: center;
}
.empty-state .empty-state__icon {
-webkit-filter: drop-shadow(0 0.5rem 0.3rem rgba(0, 0, 0, 0.1));
filter: drop-shadow(0 0.5rem 0.3rem rgba(0, 0, 0, 0.1));
filter: drop-shadow(0 0.5rem 0.3rem rgba(0, 0, 0, 0.1));
height: 12rem;
width: 12rem;
padding: 3rem;
@ -701,21 +628,14 @@ strip-option:last-of-type {
padding: 1rem 0;
gap: 0.4rem 1rem;
border-radius: 0.5rem;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
align-items: flex-start;
color: inherit;
grid-template-columns: auto minmax(0, 1fr) auto;
}
.activity-card__icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-line-pack: center;
align-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
align-content: center;
justify-content: center;
padding: 0.5rem;
border-radius: 0.8rem;
background-color: var(--accent-color--light);
@ -756,13 +676,10 @@ strip-option:last-of-type {
.activity-card--account {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
gap: 1.5rem;
padding: 1rem 1.5rem;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
border: solid thin rgba(var(--text-color), 0.2);
}
.activity-card--account .activity-card__icon {
@ -807,9 +724,7 @@ strip-option:last-of-type {
}
.activity-card--admin {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
grid-template-areas: "icon . button" "icon time button";
}
.activity-card--admin .activity-card__icon {
@ -825,12 +740,8 @@ strip-option:last-of-type {
letter-spacing: 0.05em;
background-color: var(--accent-color--light);
color: var(--accent-color);
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: flex-end;
align-items: center;
}
.activity-card--admin sm-spinner {
--height: 1rem;
@ -923,8 +834,7 @@ strip-option:last-of-type {
#user_section {
display: grid;
-ms-flex-line-pack: start;
align-content: flex-start;
align-content: flex-start;
gap: 2rem;
overflow-y: auto;
padding: 1.5rem;
@ -936,6 +846,7 @@ strip-option:last-of-type {
}
#user_section__header {
position: -webkit-sticky;
position: sticky;
top: 0;
background-color: inherit;
@ -954,43 +865,25 @@ strip-option:last-of-type {
}
#account_chart_container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
flex-direction: column;
align-items: center;
height: 15rem;
padding-bottom: 3rem;
margin: 1.5rem 0;
}
#chart_legend {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
}
.legend {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
font-size: 0.8rem;
margin-right: 1rem;
margin-bottom: 1rem;
@ -1014,22 +907,15 @@ strip-option:last-of-type {
grid-template-columns: auto 1fr;
grid-template-areas: "icon ." "icon .";
padding: 1rem 0;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
gap: 0.3rem 1rem;
border-radius: 0.5rem;
}
.balance-card__icon {
grid-area: icon;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-line-pack: center;
align-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
align-content: center;
justify-content: center;
padding: 0.5rem;
border-radius: 0.8rem;
background-color: var(--accent-color--light);
@ -1056,8 +942,7 @@ strip-option:last-of-type {
grid-template-rows: auto 1fr;
gap: 1rem 0;
padding: 1.5rem 0;
-ms-flex-line-pack: start;
align-content: flex-start;
align-content: flex-start;
}
#transaction section,
@ -1073,28 +958,20 @@ strip-option:last-of-type {
#transaction_top,
#account_top {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-direction: column;
justify-items: flex-start;
position: relative;
}
#transaction_detail__icon,
#account_detail__icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
background-color: var(--accent-color);
border-radius: 40%;
padding: 0.8rem;
justify-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
align-self: flex-start;
}
#transaction_detail__icon .icon,
#account_detail__icon .icon {
@ -1105,8 +982,6 @@ strip-option:last-of-type {
#transaction_detail__amount,
#account_detail__amount {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 1.5rem;
font-weight: 700;
@ -1134,8 +1009,7 @@ strip-option:last-of-type {
#account_process {
display: grid;
-ms-flex-line-pack: start;
align-content: flex-start;
align-content: flex-start;
gap: 2rem;
}
@ -1201,26 +1075,22 @@ strip-option:last-of-type {
@-webkit-keyframes slide-down {
from {
opacity: 0;
-webkit-transform: translateY(-1rem);
transform: translateY(-1rem);
transform: translateY(-1rem);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
transform: none;
}
}
@keyframes slide-down {
from {
opacity: 0;
-webkit-transform: translateY(-1rem);
transform: translateY(-1rem);
transform: translateY(-1rem);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
transform: none;
}
}
#deposit,
@ -1236,13 +1106,8 @@ strip-option:last-of-type {
}
#deposit sm-form::part(form),
#loan sm-form::part(form) {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-direction: column;
}
#deposit__icon .icon,
@ -1270,22 +1135,15 @@ strip-option:last-of-type {
}
.loader-button-wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: relative;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: center;
align-items: center;
}
.loader-button-wrapper sm-button,
.loader-button-wrapper slide-button {
width: 100%;
z-index: 1;
-webkit-transition: -webkit-clip-path 0.3s;
transition: -webkit-clip-path 0.3s;
transition: clip-path 0.3s;
transition: clip-path 0.3s, -webkit-clip-path 0.3s;
@ -1307,14 +1165,10 @@ strip-option:last-of-type {
}
#result section {
text-align: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
}
#result__icon {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
border-radius: 50%;
padding: 1rem;
@ -1342,34 +1196,28 @@ strip-option:last-of-type {
@-webkit-keyframes pop-in {
0% {
opacity: 0;
-webkit-transform: scale(0.4) translateY(6rem);
transform: scale(0.4) translateY(6rem);
transform: scale(0.4) translateY(6rem);
}
40% {
opacity: 1;
-webkit-transform: scale(0.4) translateY(0);
transform: scale(0.4) translateY(0);
transform: scale(0.4) translateY(0);
}
100% {
-webkit-transform: none;
transform: none;
transform: none;
}
}
@keyframes pop-in {
0% {
opacity: 0;
-webkit-transform: scale(0.4) translateY(6rem);
transform: scale(0.4) translateY(6rem);
transform: scale(0.4) translateY(6rem);
}
40% {
opacity: 1;
-webkit-transform: scale(0.4) translateY(0);
transform: scale(0.4) translateY(0);
transform: scale(0.4) translateY(0);
}
100% {
-webkit-transform: none;
transform: none;
transform: none;
}
}
#settings {
@ -1401,50 +1249,36 @@ strip-option:last-of-type {
sm-button {
--padding: 0.9rem 1.6rem;
}
#dashboard {
padding: 0 1.5rem;
}
#main_nav {
background-color: var(--foreground-color);
background-color: rgba(var(--foreground-color), 1);
border-top: thin solid rgba(var(--text-color), 0.1);
}
.nav-item {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex: 1;
flex-direction: column;
}
.nav-item__title {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 0.8rem;
font-weight: 500;
color: rgba(var(--text-color), 0.8);
margin-top: 0.3rem;
}
#transaction_action_button,
#account_action_button,
.loader-button-wrapper {
margin-top: auto;
}
#transaction_top,
#account_top {
margin-top: 1rem;
}
#user_section {
left: 0;
}
#admin__header {
position: relative;
display: grid;
@ -1453,17 +1287,14 @@ strip-option:last-of-type {
text-align: center;
justify-items: center;
}
#account_process,
#transaction__steps {
border-top: solid rgba(var(--text-color), 0.2) thin;
padding-top: 1.5rem;
}
.account-step .button {
margin-top: 0.5rem;
}
.activity-card--account .grid {
text-align: right;
}
@ -1472,39 +1303,29 @@ strip-option:last-of-type {
.h1 {
font-size: 2rem;
}
.h2 {
font-size: 1.8rem;
}
.h3 {
font-size: 1.3rem;
}
.h4 {
font-size: 1rem;
}
#confirmation_popup {
--width: 24rem;
}
.page-layout {
grid-template-columns: 1fr 90vw 1fr;
}
#home {
background-color: var(--foreground-color);
background-color: rgba(var(--foreground-color), 1);
grid-template-rows: auto 1fr;
grid-template-columns: auto minmax(0, 1fr);
grid-template-areas: "main-header main-header user-section" "main-nav subpages user-section";
}
#main_nav {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-direction: column;
padding: 0 1rem;
}
#main_nav::after {
@ -1515,7 +1336,6 @@ strip-option:last-of-type {
background-color: rgba(var(--text-color), 0.2);
height: 80%;
}
.nav-item--active {
background-color: var(--accent-color--light);
}
@ -1529,13 +1349,11 @@ strip-option:last-of-type {
.nav-item__title {
display: none;
}
#user_section {
grid-area: user-section;
background-color: rgba(var(--background-color), 1);
width: min(24rem, 100%);
}
#transaction_top,
#account_top,
#account_process,
@ -1543,29 +1361,18 @@ strip-option:last-of-type {
overflow: hidden;
padding: 1.8rem;
border-radius: 0.5rem;
background-color: var(--foreground-color);
-webkit-box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.1), 0 1rem 1.5rem -0.8rem rgba(0, 0, 0, 0.1);
box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.1), 0 1rem 1.5rem -0.8rem rgba(0, 0, 0, 0.1);
-ms-flex-item-align: start;
align-self: flex-start;
background-color: rgba(var(--foreground-color), 1);
box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.1), 0 1rem 1.5rem -0.8rem rgba(0, 0, 0, 0.1);
align-self: flex-start;
}
#transaction_detail__icon {
justify-self: flex-start;
}
#admin__header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: space-between;
align-items: center;
}
.account-step.row-3 {
grid-template-areas: ". . b-link" ". . b-link";
grid-template-columns: auto minmax(0, 1fr) auto;
@ -1577,32 +1384,23 @@ strip-option:last-of-type {
grid-area: b-link;
align-self: flex-start;
}
#user_accounts:not(:empty) {
gap: 1rem;
}
.activity-card--account {
grid-template-columns: minmax(0, 1fr);
text-align: left;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
justify-content: flex-start;
}
.activity-card--account .activity-card__icon {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
justify-content: flex-start;
}
}
@media screen and (max-width: 1024px) {
#user_section {
position: fixed;
background-color: rgba(var(--background-color), 1);
-webkit-transition: -webkit-transform 0.3s;
transition: -webkit-transform 0.3s;
transition: transform 0.3s;
transition: transform 0.3s, -webkit-transform 0.3s;
z-index: 2;
right: 0;
top: 0;
@ -1610,46 +1408,36 @@ strip-option:last-of-type {
padding-top: 0;
}
#user_section.reveal {
-webkit-box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.1);
box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.1);
box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.1);
}
#user_section:not(.reveal) {
-webkit-transform: translateX(100%);
transform: translateX(100%);
transform: translateX(100%);
}
}
@media screen and (min-width: 1024px) {
.page-layout {
grid-template-columns: 1fr 80vw 1fr;
}
.card {
padding: 1.5rem;
}
#home {
grid-template-columns: 14rem minmax(0, 1fr) 24rem;
}
.nav-item__title {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 0.9rem;
font-weight: 500;
color: rgba(var(--text-color), 0.8);
margin-left: 0.5rem;
}
#transaction section,
#account_details {
grid-template-columns: 18rem minmax(0, 1fr);
}
.hide-on-desktop {
display: none;
}
.activity-card--pending:not(:empty) {
padding: 1.5rem;
}
@ -1664,7 +1452,6 @@ strip-option:last-of-type {
width: 0.5rem;
height: 0.5rem;
}
::-webkit-scrollbar-thumb {
background: rgba(var(--text-color), 0.3);
border-radius: 1rem;
@ -1672,13 +1459,9 @@ strip-option:last-of-type {
::-webkit-scrollbar-thumb:hover {
background: rgba(var(--text-color), 0.5);
}
.nav-item,
.interact {
-webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
transition: background-color 0.3s, -webkit-transform 0.3s;
transition: background-color 0.3s, transform 0.3s;
transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
}
.nav-item:hover,
.interact:hover {

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -20,12 +20,12 @@ body {
* {
--accent-color: #2672ff;
--accent-color--light: rgba(38, 114, 255, 0.06);
--text-color: 36, 36, 36;
--background-color: 247, 250, 255;
--foreground-color: rgb(250, 252, 255);
--text-color: 20, 20, 20;
--foreground-color: 252, 253, 255;
--background-color: 241, 243, 248;
--danger-color: rgb(255, 75, 75);
--green: #1cad59;
--yellow: #f3a600;
--yellow: rgb(220, 165, 0);
--loan-color: rgb(255, 171, 93);
scrollbar-width: thin;
}
@ -39,13 +39,12 @@ body[data-theme="dark"] {
* {
--accent-color: rgb(170, 190, 255);
--accent-color--light: rgba(231, 239, 255, 0.06);
--text-color: 230, 230, 230;
--text-color-light: 170, 170, 170;
--background-color: 10, 10, 10;
--foreground-color: rgb(20, 20, 20);
--text-color: 200, 200, 200;
--foreground-color: 27, 28, 29;
--background-color: 21, 22, 22;
--danger-color: rgb(255, 106, 106);
--green: #00e676;
--yellow: #ffd13a;
--yellow: rgb(255, 213, 5);
--loan-color: rgb(255, 232, 170);
}
}
@ -1181,7 +1180,7 @@ strip-option {
padding: 0 1.5rem;
}
#main_nav {
background-color: var(--foreground-color);
background-color: rgba(var(--foreground-color), 1);
border-top: thin solid rgba(var(--text-color), 0.1);
}
.nav-item {
@ -1254,7 +1253,7 @@ strip-option {
grid-template-columns: 1fr 90vw 1fr;
}
#home {
background-color: var(--foreground-color);
background-color: rgba(var(--foreground-color), 1);
grid-template-rows: auto 1fr;
grid-template-columns: auto minmax(0, 1fr);
grid-template-areas: "main-header main-header user-section" "main-nav subpages user-section";
@ -1299,7 +1298,7 @@ strip-option {
overflow: hidden;
padding: 1.8rem;
border-radius: 0.5rem;
background-color: var(--foreground-color);
background-color: rgba(var(--foreground-color), 1);
box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.1),
0 1rem 1.5rem -0.8rem rgba(0, 0, 0, 0.1);
align-self: flex-start;