fully responsive UI

This commit is contained in:
2025-11-24 23:43:51 +01:00
parent bdc4992d16
commit 177a9cbac3
12 changed files with 1297 additions and 865 deletions

View File

@@ -32,7 +32,7 @@
.hero-content {
z-index: 1;
max-width: 60%;
max-width: 100%;
}
.hero-title {
@@ -42,6 +42,7 @@
background: linear-gradient(to right, #fff, #a5b4fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
@@ -53,7 +54,8 @@
.hero-stats {
display: flex;
gap: 2rem;
gap: 1.5rem;
flex-wrap: wrap;
}
.stat-box {
@@ -65,7 +67,7 @@
}
.stat-value {
font-size: 1.2rem;
font-size: 1.5rem;
font-weight: 700;
color: #fff;
display: block;
@@ -120,6 +122,7 @@
.section-icon {
color: var(--accent);
flex-shrink: 0;
}
.section-title {
@@ -156,6 +159,7 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 0.75rem;
}
.ext-icon-box {
@@ -168,6 +172,7 @@
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.ext-icon {
@@ -231,7 +236,7 @@
}
.install-btn:hover {
background: #7c3aed;
background: #7c3aed;
box-shadow: 0 0 15px var(--accent-glow);
}
@@ -254,4 +259,148 @@
@keyframes rotate { 100% { transform: rotate(360deg); } }
.hidden { display: none !important; }
.loading-state { text-align: center; padding: 4rem; color: var(--text-tertiary); }
.loading-state { text-align: center; padding: 4rem; color: var(--text-tertiary); }
.main-wrapper .top-header {
display: none;
}
@media (max-width: 767px) {
.main-wrapper .top-header {
display: flex;
}
#marketplace-page {
gap: 1.5rem;
padding-bottom: 2rem;
}
.marketplace-hero {
padding: 1.5rem;
border-radius: 12px;
}
.marketplace-hero::before {
width: 250px;
height: 250px;
right: -20%;
top: -30%;
}
.hero-title {
font-size: 1.8rem;
margin-bottom: 0.5rem;
}
.hero-subtitle {
font-size: 0.9rem;
margin-bottom: 1.25rem;
line-height: 1.4;
}
.hero-stats {
gap: 1rem;
}
.stat-box {
padding: 0.6rem 1rem;
flex: 1;
min-width: 0;
}
.stat-value {
font-size: 1.3rem;
}
.stat-label {
font-size: 0.7rem;
}
.marketplace-tabs {
width: 100%;
justify-content: stretch;
gap: 0.5rem;
padding: 0.4rem;
}
.tab-btn {
flex: 1;
padding: 0.7rem 1rem;
font-size: 0.9rem;
}
.section-header {
margin-bottom: 1rem;
}
.section-title {
font-size: 1rem;
}
.section-icon {
width: 18px;
height: 18px;
}
.marketplace-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.extension-card {
padding: 1.25rem;
gap: 0.75rem;
}
.extension-card:hover {
transform: none;
}
.ext-icon-box {
width: 48px;
height: 48px;
}
.ext-name {
font-size: 1rem;
}
.ext-meta {
font-size: 0.75rem;
}
.type-badge {
font-size: 0.6rem;
padding: 3px 7px;
}
.card-footer {
padding-top: 0.75rem;
}
.ext-size {
font-size: 0.7rem;
}
.install-btn {
padding: 0.5rem 0.85rem;
font-size: 0.8rem;
}
.loading-state {
padding: 2rem 1rem;
}
}
@media (min-width: 768px) and (max-width: 1023px) {
.marketplace-grid {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.hero-title {
font-size: 2rem;
}
.marketplace-tabs {
width: auto;
}
}