add pages

This commit is contained in:
Artem
2026-09-29 01:55:20 +03:00
parent cd0543907b
commit 7e8cb26ddd
110 changed files with 7948 additions and 367 deletions
+27
View File
@@ -0,0 +1,27 @@
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
height: 100%;
}
html {
color-scheme: dark;
background: var(--color-bg);
}
body {
margin: 0;
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-sans);
}
button,
a {
font-family: inherit;
}
+117
View File
@@ -0,0 +1,117 @@
.pack {
display: block;
padding: 18px 16px 16px;
border: 1px solid var(--color-border);
border-radius: 24px;
background: var(--color-surface);
color: inherit;
text-decoration: none;
}
.pack__head,
.pack__cells {
display: flex;
}
.pack__head {
align-items: center;
justify-content: space-between;
gap: 12px;
}
.pack h2,
.pack h3 {
margin: 0;
font-family: var(--font-display);
font-size: 24px;
font-weight: 700;
line-height: 1.15;
}
.pack p {
margin: 6px 0 0;
color: var(--color-muted);
font-size: 15px;
}
.pack__percent {
position: relative;
display: grid;
flex: none;
place-items: center;
width: 56px;
height: 56px;
border-radius: 50%;
background: conic-gradient(var(--color-accent) calc(var(--p) * 1%), #2e2a24 0);
}
.pack__percent::before {
content: '';
position: absolute;
inset: 5px;
border-radius: 50%;
background: var(--color-surface);
}
.pack__percent span {
position: relative;
z-index: 1;
color: var(--color-accent-soft);
font-size: 13px;
font-weight: 600;
}
.pack__go {
display: flex;
flex: none;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: 1px solid var(--color-border);
border-radius: 20px;
background: var(--color-surface-2);
color: var(--color-accent-soft);
}
.pack__bar {
height: 6px;
margin-top: 14px;
overflow: hidden;
border-radius: 3px;
background: #2e2a24;
}
.pack__bar span {
display: block;
height: 100%;
border-radius: 3px;
background: var(--color-accent);
}
.pack__cells {
justify-content: space-between;
gap: 6px;
margin-top: 16px;
}
.pack__stamp {
display: block;
flex: 1 1 0;
aspect-ratio: 1;
overflow: hidden;
border-radius: 10px;
background: #171512;
}
.pack__stamp img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.pack__stamp--open {
background: rgb(224 184 79 / 10%);
box-shadow: inset 0 0 0 1.5px var(--color-accent);
}
+152
View File
@@ -0,0 +1,152 @@
.city-map__marker,
.city-map__user {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
}
.city-map__marker {
position: relative;
width: 40px;
height: 40px;
overflow: visible;
}
.city-map__marker img,
.city-map__user img {
position: relative;
z-index: 1;
display: block;
filter: drop-shadow(0 4px 10px rgb(0 0 0 / 40%));
}
.city-map__marker--open img {
filter: drop-shadow(0 4px 10px rgb(0 0 0 / 40%)) drop-shadow(0 0 8px rgb(224 184 79 / 35%));
}
.city-map__marker--active {
z-index: 2;
}
.city-map__radius {
position: absolute;
top: 50%;
left: 50%;
z-index: 0;
display: none;
width: var(--radius-px, 80px);
height: var(--radius-px, 80px);
border: 1.5px dashed var(--color-accent);
border-radius: 50%;
background: rgb(224 184 79 / 10%);
transform: translate(-50%, -50%);
pointer-events: none;
}
.city-map__marker--active .city-map__radius {
display: block;
}
.city-map__label {
position: absolute;
left: 50%;
bottom: calc(50% + (var(--radius-px, 80px) / 2) + 6px);
display: none;
padding: 0 4px;
color: var(--color-text);
font-size: 13px;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
text-shadow:
0 0 6px #12110f,
0 1px 0 #12110f,
1px 0 0 #12110f,
-1px 0 0 #12110f;
transform: translateX(-50%);
pointer-events: none;
}
.city-map__marker--active .city-map__label {
display: block;
}
.city-map__user {
position: relative;
width: 32px;
height: 32px;
pointer-events: none;
cursor: default;
}
.city-map__user-body {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
transform: rotate(var(--heading, 0deg));
}
.city-map__user-heading {
position: absolute;
top: 0;
left: 50%;
width: 10px;
height: 12px;
background: var(--color-accent);
clip-path: polygon(50% 0, 100% 100%, 0 100%);
opacity: 0;
transform: translateX(-50%);
}
.city-map__user--headed .city-map__user-heading {
opacity: 1;
}
.city-map__user-dot {
position: relative;
z-index: 1;
width: 16px;
height: 16px;
border: 3px solid #fff;
border-radius: 50%;
background: var(--color-accent);
box-shadow: 0 0 0 8px rgb(224 184 79 / 22%);
}
.city-map__user-dot::after {
content: '';
position: absolute;
inset: -10px;
border: 2px solid rgb(224 184 79 / 35%);
border-radius: 50%;
animation: city-map-pulse 1.8s ease-out infinite;
}
@keyframes city-map-pulse {
from {
transform: scale(0.7);
opacity: 0.8;
}
to {
transform: scale(1.4);
opacity: 0;
}
}
.city-map__canvas [class*='distribution'],
.city-map__canvas [class*='Distribution'],
.city-map__canvas .ymaps3--open-maps-button,
.city-map__canvas .ymaps3--controls_bottom {
display: none !important;
}
.city-map__canvas :has(> .city-map__marker) {
overflow: visible !important;
}
+19
View File
@@ -0,0 +1,19 @@
.mat-mdc-unelevated-button,
.mdc-button--unelevated {
--mat-button-filled-container-color: var(--color-accent);
--mat-button-filled-label-text-color: var(--color-on-accent);
--mat-sys-primary: var(--color-accent);
--mat-sys-on-primary: var(--color-on-accent);
}
.mat-mdc-outlined-button,
.mdc-button--outlined {
--mat-button-outlined-label-text-color: var(--color-text);
--mat-button-outlined-outline-color: var(--color-border);
}
.mdc-button__label {
display: inline-flex;
align-items: center;
gap: 8px;
}
+78
View File
@@ -0,0 +1,78 @@
@keyframes pop {
0% { transform: scale(0.55); opacity: 0; }
60% { transform: scale(1.07); opacity: 1; }
100% { transform: scale(1); opacity: 1; }
}
@keyframes spin {
to { transform: rotate(360deg); }
}
@keyframes scan {
0% { top: 4%; }
100% { top: 94%; }
}
@keyframes grow {
0% { width: var(--from, 0%); }
100% { width: var(--to, 80%); }
}
@property --p {
syntax: '<number>';
inherits: true;
initial-value: 0;
}
@keyframes fill-percent {
from { --p: 0; }
to { --p: var(--to-p, 0); }
}
@keyframes rise {
0% { transform: translateY(14px); opacity: 0; }
100% { transform: translateY(0); opacity: 1; }
}
.anim-pop { animation: pop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.anim-rays { animation: spin 70s linear infinite; }
.anim-spinner { animation: spin 0.9s linear infinite; }
.anim-scan { animation: scan 2.4s ease-in-out infinite alternate; }
.anim-grow { animation: grow 1.3s 0.7s ease-out both; }
.anim-percent { animation: fill-percent 1.3s 0.7s ease-out both; }
.anim-rise { animation: rise 0.7s 0.5s ease-out both; }
@media (prefers-reduced-motion: reduce) {
.anim-pop,
.anim-rays,
.anim-spinner,
.anim-scan,
.anim-grow,
.anim-percent,
.anim-rise {
animation: none;
}
.anim-grow {
width: var(--to, 80%);
}
.anim-percent {
animation: none;
--p: var(--to-p, 0);
}
.anim-pop,
.anim-rise,
.card:hover .card__preview--open img,
.card:active .card__preview--open img {
opacity: 1;
transform: none;
animation: none;
}
.card:hover .card__preview--open .card__rays,
.card:active .card__preview--open .card__rays {
animation: none;
}
}
+137
View File
@@ -0,0 +1,137 @@
.object__hero {
position: relative;
aspect-ratio: 390 / 320;
width: 100%;
max-height: 320px;
overflow: hidden;
background:
radial-gradient(circle at 50% 46%, rgb(224 184 79 / 18%), transparent 62%),
linear-gradient(to bottom, #161b38, #4a3a63 55%, #c9764c);
}
.object__hero-img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center bottom;
}
.object__hero::after {
content: '';
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 120px;
background: linear-gradient(to bottom, transparent, var(--color-bg));
}
.photos {
display: flex;
gap: 10px;
overflow: auto;
}
.photos figure {
position: relative;
flex: none;
width: 128px;
height: 168px;
margin: 0;
overflow: hidden;
border: 1px solid var(--color-border);
border-radius: 14px;
background: var(--color-surface);
}
.photos img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.photos span {
position: absolute;
left: 8px;
bottom: 8px;
padding: 3px 9px;
border-radius: 8px;
background: rgb(18 17 15 / 78%);
font-size: 12px;
font-weight: 500;
}
.owned-photo {
position: relative;
display: block;
width: 100%;
height: 220px;
padding: 0;
overflow: hidden;
border: 1px solid var(--color-accent-strong);
border-radius: 16px;
background: var(--color-surface);
cursor: zoom-in;
}
.owned-photo img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.owned-photo__badge {
position: absolute;
left: 12px;
bottom: 12px;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 11px;
overflow: visible;
border-radius: 10px;
background: rgb(18 17 15 / 82%);
color: var(--color-accent-soft);
font-size: 13px;
font-weight: 500;
line-height: 1;
}
.photo-viewer {
position: fixed;
inset: 0;
z-index: 40;
display: flex;
align-items: center;
justify-content: center;
padding: 56px 16px 24px;
background: rgb(18 17 15 / 94%);
}
.photo-viewer img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 12px;
}
.photo-viewer__close {
position: absolute;
top: 16px;
left: 16px;
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border: 1px solid var(--color-border);
border-radius: 14px;
background: rgb(28 26 23 / 86%);
color: var(--color-text);
cursor: pointer;
}
+19
View File
@@ -0,0 +1,19 @@
:root {
--color-bg: #12110f;
--color-surface: #1c1a17;
--color-surface-2: #26231f;
--color-border: #3a352d;
--color-text: #f4efe5;
--color-text-soft: #ddd6c8;
--color-muted: #aaa192;
--color-accent: #e0b84f;
--color-accent-strong: #8c7431;
--color-accent-soft: #f2d98e;
--color-on-accent: #1a1508;
--color-danger: #ea333d;
--color-success: #67c3b0;
--nav-height: 72px;
--page-max-width: 560px;
--radius-card: 24px;
--radius-pill: 999px;
}
+8
View File
@@ -0,0 +1,8 @@
:root {
--font-sans: Onest, Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-display: 'Playfair Display', Georgia, serif;
}
body {
font-family: var(--font-sans);
}
+8
View File
@@ -0,0 +1,8 @@
@use 'tokens';
@use 'typography';
@use 'base';
@use 'material';
@use 'motion';
@use 'map';
@use 'object';
@use 'collection';