1045 lines
17 KiB
SCSS
1045 lines
17 KiB
SCSS
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Roboto", sans-serif;
|
|
}
|
|
|
|
:root {
|
|
font-size: clamp(1rem, 1.2vmax, 1.2rem);
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
--accent-color: #256eff;
|
|
--text-color: 20, 20, 20;
|
|
--background-color: 240, 240, 240;
|
|
--foreground-color: 250, 250, 250;
|
|
--danger-color: rgb(255, 75, 75);
|
|
--green: #1cad59;
|
|
scrollbar-width: thin;
|
|
scrollbar-gutter: stable;
|
|
color: rgba(var(--text-color), 1);
|
|
background-color: rgba(var(--background-color), 1);
|
|
transition: background-color 0.3s;
|
|
// Accent colors
|
|
--dark-red: #d40e1e;
|
|
--red: #f50000;
|
|
--kinda-pink: #e40273;
|
|
--purple: #462191;
|
|
--shady-blue: #324de6;
|
|
--nice-blue: #256eff;
|
|
--maybe-cyan: #00b0ff;
|
|
--teal: #00bcd4;
|
|
--mint-green: #16c79a;
|
|
--yellowish-green: #66bb6a;
|
|
--greenish-yellow: #8bc34a;
|
|
--dark-teal: #11698e;
|
|
--tangerine: #ff6f00;
|
|
--orange: #ff9100;
|
|
--redish-orange: #ff3d00;
|
|
}
|
|
|
|
body[data-theme="dark"] {
|
|
--accent-color: #86afff;
|
|
--text-color: 220, 220, 220;
|
|
--background-color: 10, 10, 10;
|
|
--foreground-color: 24, 24, 24;
|
|
--danger-color: rgb(255, 106, 106);
|
|
--green: #00e676;
|
|
// Accent colors
|
|
--dark-red: #ff5e7e;
|
|
--red: #ff6098;
|
|
--kinda-pink: #c44ae6;
|
|
--purple: #9565f7;
|
|
--shady-blue: #7084f5;
|
|
--nice-blue: #86afff;
|
|
--maybe-cyan: #66cfff;
|
|
--teal: #6aeeff;
|
|
--mint-green: #4dffd2;
|
|
--yellowish-green: #9effa2;
|
|
--greenish-yellow: #c7fc8b;
|
|
--dark-teal: #51cbff;
|
|
--tangerine: #ffac6d;
|
|
--orange: #ffbe68;
|
|
--redish-orange: #ff8560;
|
|
sm-popup::part(popup) {
|
|
background-color: rgba(var(--foreground-color), 1);
|
|
}
|
|
}
|
|
|
|
p,
|
|
strong {
|
|
font-size: 0.9rem;
|
|
max-width: 65ch;
|
|
line-height: 1.7;
|
|
color: rgba(var(--text-color), 0.9);
|
|
|
|
&:not(:last-of-type) {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--accent-color);
|
|
&:focus-visible {
|
|
box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset;
|
|
}
|
|
}
|
|
|
|
button {
|
|
user-select: none;
|
|
position: relative;
|
|
display: inline-flex;
|
|
border: none;
|
|
background-color: transparent;
|
|
overflow: hidden;
|
|
color: inherit;
|
|
-webkit-tap-highlight-color: transparent;
|
|
align-items: center;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
padding: 0.8rem;
|
|
border-radius: 0.3rem;
|
|
justify-content: center;
|
|
&:focus-visible {
|
|
outline: var(--accent-color) solid medium;
|
|
}
|
|
&:not(:disabled) {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.button {
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
}
|
|
.button--primary,
|
|
.button--danger {
|
|
color: rgba(var(--background-color), 1);
|
|
.icon {
|
|
fill: rgba(var(--background-color), 1);
|
|
}
|
|
}
|
|
.button--primary {
|
|
background-color: var(--accent-color);
|
|
}
|
|
.button--danger {
|
|
background-color: var(--danger-color);
|
|
}
|
|
.cta {
|
|
text-transform: uppercase;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
.icon-only {
|
|
padding: 0.5rem;
|
|
border-radius: 0.3rem;
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
a:any-link:focus-visible {
|
|
outline: rgba(var(--text-color), 1) 0.1rem solid;
|
|
}
|
|
details {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
details summary {
|
|
display: flex;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
details[open] {
|
|
& summary {
|
|
margin-bottom: 1rem;
|
|
}
|
|
& > summary .down-arrow {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
sm-input,
|
|
sm-textarea {
|
|
font-size: 0.9rem;
|
|
--border-radius: 0.3rem;
|
|
--background-color: rgba(var(--foreground-color), 1);
|
|
button {
|
|
.icon {
|
|
fill: var(--accent-color);
|
|
}
|
|
}
|
|
}
|
|
sm-button {
|
|
--padding: 0.6rem 0.8rem;
|
|
&[variant="primary"] {
|
|
.icon {
|
|
fill: rgba(var(--background-color), 1);
|
|
}
|
|
}
|
|
|
|
&[disabled] {
|
|
.icon {
|
|
fill: rgba(var(--text-color), 0.6);
|
|
}
|
|
}
|
|
&.danger {
|
|
--background: var(--danger-color);
|
|
color: rgba(var(--background-color), 1);
|
|
}
|
|
}
|
|
sm-spinner {
|
|
--size: 1rem;
|
|
--stroke-width: 0.1rem;
|
|
}
|
|
sm-form {
|
|
--gap: 1rem;
|
|
}
|
|
strip-select {
|
|
--gap: 0;
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
border-radius: 0.3rem;
|
|
padding: 0.3rem;
|
|
}
|
|
strip-option {
|
|
font-size: 0.8rem;
|
|
--border-radius: 0.2rem;
|
|
user-select: none;
|
|
}
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.overflow-ellipsis {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.breakable {
|
|
overflow-wrap: break-word;
|
|
word-wrap: break-word;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.full-bleed {
|
|
grid-column: 1/-1;
|
|
}
|
|
|
|
.h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.h2 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.2rem;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.h4 {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.h5 {
|
|
font-size: 0.75rem;
|
|
}
|
|
.uppercase {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.capitalize {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.sticky {
|
|
position: sticky;
|
|
}
|
|
.top-0 {
|
|
top: 0;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
.flex-wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
}
|
|
.flow-column {
|
|
grid-auto-flow: column;
|
|
}
|
|
|
|
.gap-0-5 {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.gap-1 {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.gap-1-5 {
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.gap-2 {
|
|
gap: 2rem;
|
|
}
|
|
|
|
.gap-3 {
|
|
gap: 3rem;
|
|
}
|
|
|
|
.text-align-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.align-start {
|
|
align-content: flex-start;
|
|
}
|
|
|
|
.align-center {
|
|
align-items: center;
|
|
}
|
|
.align-end {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.justify-start {
|
|
justify-content: start;
|
|
}
|
|
|
|
.justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.justify-right {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.align-self-center {
|
|
align-self: center;
|
|
}
|
|
|
|
.justify-self-center {
|
|
justify-self: center;
|
|
}
|
|
|
|
.justify-self-start {
|
|
justify-self: start;
|
|
}
|
|
|
|
.justify-self-end {
|
|
justify-self: end;
|
|
}
|
|
|
|
.direction-column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.space-between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100%;
|
|
}
|
|
.h-100 {
|
|
height: 100%;
|
|
}
|
|
|
|
.ripple {
|
|
height: 8rem;
|
|
width: 8rem;
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
transform: scale(0);
|
|
background: radial-gradient(
|
|
circle,
|
|
rgba(var(--text-color), 0.3) 0%,
|
|
rgba(0, 0, 0, 0) 50%
|
|
);
|
|
pointer-events: none;
|
|
}
|
|
.button--primary,
|
|
.button--danger {
|
|
.ripple {
|
|
background: radial-gradient(
|
|
circle,
|
|
rgba(var(--background-color), 0.3) 0%,
|
|
rgba(0, 0, 0, 0) 50%
|
|
);
|
|
}
|
|
}
|
|
.interact {
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
.empty-state {
|
|
display: grid;
|
|
width: 100%;
|
|
padding: 1.5rem 0;
|
|
}
|
|
|
|
.observe-empty-state:empty {
|
|
display: none;
|
|
}
|
|
|
|
.observe-empty-state:not(:empty) + .empty-state {
|
|
display: none;
|
|
}
|
|
|
|
.bullet-point {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 0.8ch;
|
|
&::after {
|
|
content: "";
|
|
height: 0.4ch;
|
|
width: 0.4ch;
|
|
border-radius: 0.5em;
|
|
background-color: var(--accent-color);
|
|
}
|
|
}
|
|
.icon {
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
fill: rgba(var(--text-color), 0.8);
|
|
flex-shrink: 0;
|
|
}
|
|
.margin-right-0-5 {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.margin-left-0-5 {
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.icon-button {
|
|
padding: 0.6rem;
|
|
border-radius: 0.8rem;
|
|
background-color: rgba(var(--text-color), 0.1);
|
|
height: max-content;
|
|
.icon {
|
|
fill: var(--accent-color);
|
|
}
|
|
}
|
|
#confirmation_popup,
|
|
#prompt_popup {
|
|
flex-direction: column;
|
|
h4 {
|
|
font-weight: 500;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
sm-button {
|
|
margin: 0;
|
|
}
|
|
.flex {
|
|
padding: 0;
|
|
margin-top: 1rem;
|
|
sm-button:first-of-type {
|
|
margin-right: 0.6rem;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
}
|
|
#prompt_message {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.popup__header {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
padding: 0 1.5rem;
|
|
align-items: center;
|
|
grid-auto-flow: column;
|
|
}
|
|
|
|
.popup__header__close {
|
|
padding: 0.5rem;
|
|
margin-left: -0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
textarea {
|
|
color: inherit;
|
|
width: 100%;
|
|
font-size: 1em;
|
|
display: flex;
|
|
background-color: transparent;
|
|
padding: 1em;
|
|
border-radius: 0.3rem;
|
|
border: none;
|
|
font-family: inherit;
|
|
transition: box-shadow 0.2s;
|
|
outline: none;
|
|
caret-color: var(--accent-color, teal);
|
|
resize: none;
|
|
line-height: 1.6;
|
|
}
|
|
.textarea {
|
|
display: grid;
|
|
width: 100%;
|
|
align-self: flex-start;
|
|
position: relative;
|
|
border-radius: 0.3rem;
|
|
padding: 1rem 0.8rem;
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
transition: box-shadow 0.2s;
|
|
& > * {
|
|
padding: 0;
|
|
grid-area: 1/1/2/2;
|
|
}
|
|
.label {
|
|
align-self: flex-start;
|
|
pointer-events: none;
|
|
opacity: 0.6;
|
|
transition: transform 0.2s, color 0.2s;
|
|
user-select: none;
|
|
transform-origin: left;
|
|
will-change: transform;
|
|
}
|
|
&.label-active {
|
|
.label {
|
|
opacity: 1;
|
|
transform: translateY(-60%) scale(0.8);
|
|
color: var(--accent-color);
|
|
}
|
|
textarea {
|
|
transform: translateY(0.5rem);
|
|
}
|
|
}
|
|
&:focus-within {
|
|
box-shadow: 0 0 0 0.1rem var(--accent-color) inset;
|
|
& > * {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
#show_character_count {
|
|
font-size: 0.8rem;
|
|
margin-left: auto;
|
|
}
|
|
|
|
#flo_data_status:not(:empty) {
|
|
color: red;
|
|
padding: 0.5rem 0;
|
|
}
|
|
#saved_ids_popup {
|
|
--height: 80vh;
|
|
}
|
|
|
|
#main_header {
|
|
padding: 1rem 1.5rem;
|
|
}
|
|
#main_card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: rgba(var(--foreground-color), 1);
|
|
transition: background-color 0.3s;
|
|
}
|
|
#pages_container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#main_navbar {
|
|
display: flex;
|
|
background: rgba(var(--text-color), 0.03);
|
|
&.hide-away {
|
|
position: absolute;
|
|
}
|
|
ul {
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
li {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
.nav-item {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.5rem 0.3rem;
|
|
color: var(--text-color);
|
|
font-size: 0.7rem;
|
|
border-radius: 0.3rem;
|
|
.icon {
|
|
transition: transform 0.2s;
|
|
}
|
|
&__title {
|
|
margin-top: 0.3rem;
|
|
transition: opacity 0.2s, transform 0.2s;
|
|
}
|
|
&--active {
|
|
color: var(--accent-color);
|
|
.icon {
|
|
fill: var(--accent-color);
|
|
transform: translateY(50%);
|
|
}
|
|
.nav-item__title {
|
|
transform: translateY(100%);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
&__indicator {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 2rem;
|
|
height: 0.3rem;
|
|
background: var(--accent-color);
|
|
border-radius: 1rem 1rem 0 0;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
#fix_invalid_button {
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
|
|
#get_private_key_field {
|
|
label {
|
|
display: flex;
|
|
input:checked ~ .visible {
|
|
display: none;
|
|
}
|
|
input:not(:checked) ~ .invisible {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
.multi-state-button {
|
|
display: grid;
|
|
text-align: center;
|
|
align-items: center;
|
|
& > * {
|
|
grid-area: 1/1/2/2;
|
|
}
|
|
button {
|
|
z-index: 1;
|
|
}
|
|
}
|
|
.clip {
|
|
clip-path: circle(0);
|
|
}
|
|
|
|
#flo_id_warning {
|
|
padding-bottom: 1.5rem;
|
|
border-bottom: thin solid rgba(var(--text-color), 0.3);
|
|
.icon {
|
|
height: 4rem;
|
|
width: 4rem;
|
|
padding: 1rem;
|
|
background-color: #ffc107;
|
|
border-radius: 3rem;
|
|
fill: rgba(0, 0, 0, 0.8);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
.generated-id-card {
|
|
display: grid;
|
|
gap: 1rem;
|
|
h5 {
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
}
|
|
|
|
#home {
|
|
padding: 0;
|
|
& > :first-child {
|
|
overflow-y: auto;
|
|
align-content: flex-start;
|
|
padding: 0.5rem 1.5rem 4rem 1.5rem;
|
|
}
|
|
}
|
|
.primary-action {
|
|
display: flex;
|
|
padding: 0.8rem 1rem;
|
|
gap: 0.5rem;
|
|
white-space: normal;
|
|
font-size: 0.8rem;
|
|
border-radius: 0.5rem;
|
|
background-color: transparent;
|
|
border: thin solid rgba(var(--text-color), 0.3);
|
|
.icon {
|
|
fill: var(--accent-color);
|
|
}
|
|
&:not(:last-of-type) {
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
#saved_ids_list {
|
|
position: relative;
|
|
align-content: flex-start;
|
|
padding-bottom: 1.5rem;
|
|
margin-top: 1rem;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
|
|
}
|
|
.saved-id {
|
|
grid-template-columns: auto 1fr;
|
|
gap: 0 0.8rem;
|
|
border-radius: 0.3rem;
|
|
padding: 0.5rem;
|
|
background-color: rgba(var(--text-color), 0.03);
|
|
user-select: none;
|
|
&.highlight {
|
|
box-shadow: 0 0 0.1rem 0.1rem var(--accent-color) inset;
|
|
}
|
|
.edit-saved {
|
|
grid-area: 1/1/3/2;
|
|
padding: 0.3rem;
|
|
position: relative;
|
|
.icon {
|
|
position: absolute;
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 0.5rem;
|
|
padding: 0.2rem;
|
|
background-color: rgba(var(--background-color), 1);
|
|
}
|
|
}
|
|
&__initial {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 2.4rem;
|
|
width: 2.4rem;
|
|
font-size: 1.2rem;
|
|
text-transform: uppercase;
|
|
color: rgba(var(--background-color), 1);
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
background-color: var(--accent-color);
|
|
justify-self: flex-start;
|
|
border-radius: 2rem;
|
|
}
|
|
&__label {
|
|
align-self: flex-end;
|
|
}
|
|
&__flo-id {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
.page {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
align-content: flex-start;
|
|
padding: 0 1.5rem;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
#transactions {
|
|
position: relative;
|
|
height: 100%;
|
|
padding: 0;
|
|
header {
|
|
padding: 1rem;
|
|
.grid {
|
|
grid-template-columns: auto 1fr auto;
|
|
}
|
|
}
|
|
}
|
|
#flo_id_name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
#token_list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
.token-item {
|
|
font-size: 0.9rem;
|
|
padding: 0.5rem 1rem;
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
border-radius: 0.3rem;
|
|
}
|
|
#transactions_list {
|
|
flex-direction: column;
|
|
padding-bottom: 4rem;
|
|
}
|
|
.transaction {
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background-color: rgba(var(--text-color), 0.03);
|
|
border-radius: 0.3rem;
|
|
&:not(:last-of-type) {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.icon {
|
|
fill: var(--accent-color);
|
|
}
|
|
&__time,
|
|
&__link,
|
|
&__receiver {
|
|
font-size: 0.8rem;
|
|
}
|
|
&__receiver {
|
|
margin-left: 0.5rem;
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
p {
|
|
font-size: 0.9rem;
|
|
max-width: unset;
|
|
}
|
|
&__time {
|
|
justify-self: flex-end;
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
}
|
|
.fab {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin: 1.5rem;
|
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
|
|
z-index: 2;
|
|
}
|
|
#scroll_to_top {
|
|
border-radius: 3rem;
|
|
background-color: rgba(var(--foreground-color), 1);
|
|
}
|
|
#add_address_button {
|
|
border-radius: 0.5rem;
|
|
color: rgba(var(--background-color), 1);
|
|
background-color: var(--accent-color);
|
|
.icon {
|
|
fill: rgba(var(--background-color), 1);
|
|
}
|
|
}
|
|
|
|
#transaction_result {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
height: max(40vh, 24rem);
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
align-content: center;
|
|
&.success {
|
|
.icon--failed {
|
|
display: none;
|
|
}
|
|
}
|
|
&.failed {
|
|
.icon--success {
|
|
display: none;
|
|
}
|
|
}
|
|
h3 {
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
.icon {
|
|
justify-self: center;
|
|
height: 4rem;
|
|
width: 4rem;
|
|
border-radius: 5rem;
|
|
margin-bottom: 1rem;
|
|
animation: popup 1s;
|
|
&--success {
|
|
fill: rgba(var(--background-color), 1);
|
|
padding: 1rem;
|
|
background-color: #0bbe56;
|
|
}
|
|
&--failed {
|
|
background-color: rgba(var(--text-color), 0.03);
|
|
fill: var(--danger-color);
|
|
}
|
|
}
|
|
sm-copy {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
@keyframes popup {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(0.2) translateY(600%);
|
|
}
|
|
10% {
|
|
transform: scale(0.2) translateY(5rem);
|
|
opacity: 1;
|
|
}
|
|
40% {
|
|
transform: scale(0.2) translateY(0);
|
|
}
|
|
80% {
|
|
transform: scale(1.1) translateY(0);
|
|
}
|
|
100% {
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
}
|
|
|
|
#settings {
|
|
}
|
|
|
|
@media screen and (max-width: 40rem) {
|
|
#main_navbar {
|
|
&.hide-away {
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
}
|
|
@media screen and (min-width: 40rem) {
|
|
body {
|
|
// background: url("back.png") no-repeat;
|
|
background-size: cover;
|
|
}
|
|
sm-popup {
|
|
--width: 24rem;
|
|
}
|
|
.popup__header {
|
|
grid-column: 1/-1;
|
|
padding: 1rem 1.5rem 0 1.5rem;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#main_card {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
grid-template-rows: auto 1fr;
|
|
grid-template-areas: "nav header" "nav main";
|
|
position: relative;
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.05),
|
|
0 1rem 3rem rgba(0, 0, 0, 0.2);
|
|
// backdrop-filter: blur(2rem);
|
|
background-color: rgba(var(--foreground-color), 0.9);
|
|
}
|
|
#main_header {
|
|
grid-area: header;
|
|
}
|
|
#pages_container {
|
|
grid-area: main;
|
|
}
|
|
|
|
#main_navbar {
|
|
grid-area: nav;
|
|
border-top: none;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
ul {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 0.3rem;
|
|
|
|
li:last-of-type {
|
|
margin-top: auto;
|
|
}
|
|
}
|
|
}
|
|
.nav-item {
|
|
aspect-ratio: 1/1;
|
|
&__indicator {
|
|
width: 0.25rem;
|
|
height: 50%;
|
|
left: 0;
|
|
border-radius: 0 1rem 1rem 0;
|
|
bottom: auto;
|
|
}
|
|
}
|
|
#create_flo_id_popup {
|
|
--width: 28rem;
|
|
}
|
|
#send {
|
|
sm-form::part(form) {
|
|
align-items: flex-start;
|
|
grid-template-columns: 45% 1fr;
|
|
}
|
|
}
|
|
}
|
|
@media screen and (min-width: 56rem) {
|
|
#main_card {
|
|
height: 80vh;
|
|
width: 56rem;
|
|
}
|
|
}
|
|
|
|
@media (any-hover: hover) {
|
|
::-webkit-scrollbar {
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(var(--text-color), 0.3);
|
|
border-radius: 1rem;
|
|
|
|
&:hover {
|
|
background: rgba(var(--text-color), 0.5);
|
|
}
|
|
}
|
|
.interact:not([disabled]) {
|
|
transition: background-color 0.3s;
|
|
&:hover {
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
}
|
|
}
|
|
.button:not([disabled]) {
|
|
transition: background-color 0.3s, filter 0.3s;
|
|
&:hover {
|
|
filter: contrast(2);
|
|
}
|
|
}
|
|
}
|
|
|
|
@supports (overflow: overlay) {
|
|
body {
|
|
overflow: overlay;
|
|
}
|
|
}
|
|
|
|
.hide {
|
|
display: none !important;
|
|
}
|