257 lines
5.1 KiB
CSS
257 lines
5.1 KiB
CSS
#marketplace-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2.5rem;
|
|
padding-bottom: 4rem;
|
|
}
|
|
|
|
.marketplace-hero {
|
|
background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
|
|
border-radius: var(--radius-lg);
|
|
padding: 2.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
box-shadow: 0 20px 50px -10px rgba(49, 46, 129, 0.5);
|
|
}
|
|
|
|
.marketplace-hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -10%;
|
|
width: 400px;
|
|
height: 400px;
|
|
background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
|
|
filter: blur(60px);
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero-content {
|
|
z-index: 1;
|
|
max-width: 60%;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
margin-bottom: 0.5rem;
|
|
background: linear-gradient(to right, #fff, #a5b4fc);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
color: #c7d2fe;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.hero-stats {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.stat-box {
|
|
background: rgba(0,0,0,0.3);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
display: block;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.75rem;
|
|
color: #a5b4fc;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.marketplace-tabs {
|
|
display: flex;
|
|
gap: 1rem;
|
|
background: var(--bg-surface);
|
|
padding: 0.5rem;
|
|
border-radius: 12px;
|
|
width: fit-content;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.tab-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-tertiary);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
padding: 0.6rem 1.5rem;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
color: var(--text-primary);
|
|
background: rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
box-shadow: 0 4px 15px var(--accent-glow);
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.section-icon {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.marketplace-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.extension-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
padding: 1.5rem;
|
|
position: relative;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.extension-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.card-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.ext-icon-box {
|
|
width: 54px;
|
|
height: 54px;
|
|
background: var(--bg-base);
|
|
border-radius: 12px;
|
|
padding: 8px;
|
|
border: 1px solid var(--border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ext-icon {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.type-badge {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.type-image { color: #38bdf8; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); }
|
|
.type-book { color: #f472b6; background: rgba(244, 114, 182, 0.1); border: 1px solid rgba(244, 114, 182, 0.2); }
|
|
|
|
.ext-name {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin: 0.5rem 0 0.25rem 0;
|
|
}
|
|
|
|
.ext-meta {
|
|
font-size: 0.8rem;
|
|
color: var(--text-tertiary);
|
|
font-family: monospace;
|
|
}
|
|
|
|
.card-footer {
|
|
margin-top: auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.ext-size {
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.install-btn {
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.install-btn:hover {
|
|
background: #7c3aed;
|
|
box-shadow: 0 0 15px var(--accent-glow);
|
|
}
|
|
|
|
.install-btn.installed {
|
|
background: var(--bg-base);
|
|
color: #ef4444;
|
|
border: 1px solid var(--border);
|
|
}
|
|
.install-btn.installed:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-color: #ef4444;
|
|
}
|
|
|
|
.spinner {
|
|
width: 14px;
|
|
height: 14px;
|
|
animation: rotate 1s linear infinite;
|
|
stroke: currentColor;
|
|
}
|
|
@keyframes rotate { 100% { transform: rotate(360deg); } }
|
|
|
|
.hidden { display: none !important; }
|
|
.loading-state { text-align: center; padding: 4rem; color: var(--text-tertiary); } |