Files
TeleEms-Dashboard/src/pages/PerspectiveLauncher.css

389 lines
7.4 KiB
CSS

.launcher-page {
min-height: 100vh;
background: var(--hull-dark-l);
background-color: hsl(var(--hull-dark-h), var(--hull-dark-s), 4%);
color: #fff;
font-family: 'Inter', system-ui, sans-serif;
position: relative;
display: flex;
flex-direction: column;
}
.launcher-page::-webkit-scrollbar {
width: 8px;
}
.launcher-page::-webkit-scrollbar-track {
background: rgba(2, 6, 23, 0.8);
}
.launcher-page::-webkit-scrollbar-thumb {
background: rgba(59, 130, 246, 0.2);
border-radius: 4px;
}
.launcher-page::-webkit-scrollbar-thumb:hover {
background: rgba(59, 130, 246, 0.4);
}
/* Background Effects - Clean Clinical Finish */
.launcher-bg {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
background: hsl(var(--hull-dark-h), var(--hull-dark-s), 2%);
}
.launcher-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(to right, hsla(var(--accent-cyan-h), 100%, 50%, 0.015) 1px, transparent 1px),
linear-gradient(to bottom, hsla(var(--accent-cyan-h), 100%, 50%, 0.015) 1px, transparent 1px);
background-size: 80px 80px;
mask-image: radial-gradient(circle at 0% 0%, black, transparent 100%);
}
/* Header */
.launcher-header {
position: sticky;
top: 0;
z-index: 100;
padding: 20px 40px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
background: hsla(220, 30%, 5%, 0.8);
backdrop-filter: blur(20px);
}
.launcher-brand {
display: flex;
align-items: center;
gap: 16px;
}
.launcher-logo {
width: 44px;
height: 44px;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.brand-name {
font-size: 1.25rem;
font-weight: 800;
letter-spacing: -0.02em;
margin: 0;
display: flex;
align-items: baseline;
gap: 8px;
}
.brand-version {
font-size: 0.75rem;
color: #3b82f6;
background: rgba(59, 130, 246, 0.1);
padding: 2px 8px;
border-radius: 99px;
font-weight: 600;
}
.brand-tagline {
font-size: 0.75rem;
color: #94a3b8;
margin: 0;
font-weight: 500;
}
.launcher-actions {
display: flex;
align-items: center;
gap: 20px;
}
.security-status {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.75rem;
font-weight: 600;
color: #10b981;
background: rgba(16, 185, 129, 0.05);
padding: 6px 12px;
border-radius: 8px;
border: 1px solid rgba(16, 185, 129, 0.1);
}
.config-btn {
background: #f8fafc;
color: #020617;
border: none;
padding: 8px 16px;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 700;
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
transition: all 0.2s;
}
.config-btn:hover {
background: #ffffff;
transform: translateY(-1px);
}
/* Content */
.launcher-content {
position: relative;
z-index: 1;
flex: 1;
max-width: 1400px;
margin: 0 auto;
padding: 60px 40px;
width: 100%;
}
.launcher-intro {
text-align: center;
margin-bottom: 60px;
}
.launcher-main-title {
font-size: 3.5rem;
font-weight: 900;
margin: 0 0 16px 0;
letter-spacing: -0.04em;
}
.launcher-main-title span {
background: linear-gradient(to right, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.launcher-main-subtitle {
font-size: 1.125rem;
color: #94a3b8;
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}
/* Grid */
.portal-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
}
/* Cards */
.portal-card {
position: relative;
background: hsla(220, 30%, 10%, 0.4);
border: 1px solid hsla(0, 0%, 100%, 0.05);
border-radius: 28px;
padding: 32px;
cursor: pointer;
overflow: hidden;
transition: var(--transition-snappy);
display: flex;
flex-direction: column;
}
.portal-card:hover {
border-color: var(--accent-color);
background: hsla(220, 30%, 15%, 0.6);
transform: translateY(-8px);
box-shadow: 0 30px 60px -12px hsla(0, 0%, 0%, 0.5);
}
.portal-card-glow {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at top right, var(--accent-color), transparent 60%);
opacity: 0;
transition: opacity 0.4s;
pointer-events: none;
}
.portal-card:hover .portal-card-glow {
opacity: 0.15;
}
.portal-card-inner {
position: relative;
z-index: 2;
height: 100%;
display: flex;
flex-direction: column;
}
.portal-icon-container {
width: 64px;
height: 64px;
background: rgba(255, 255, 255, 0.03);
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent-color);
margin-bottom: 24px;
transition: all 0.3s;
}
.portal-card:hover .portal-icon-container {
background: var(--accent-color);
color: #fff;
transform: scale(1.1);
box-shadow: 0 0 20px var(--accent-color);
}
.portal-subtitle {
font-size: 0.65rem;
font-weight: 950;
letter-spacing: 0.15em;
color: var(--accent-color);
filter: brightness(1.2);
margin-bottom: 8px;
display: block;
text-transform: uppercase;
}
.portal-title {
font-size: 1.6rem;
font-weight: 900;
margin: 0 0 12px 0;
color: #fff;
}
.portal-description {
font-size: 0.9375rem;
color: #94a3b8;
line-height: 1.5;
margin-bottom: 32px;
flex: 1;
}
.portal-footer {
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.portal-action {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.875rem;
font-weight: 700;
color: #f8fafc;
}
.portal-action svg {
transition: transform 0.2s;
}
.portal-card:hover .portal-action svg {
transform: translateX(4px);
}
/* Footer */
.launcher-footer {
position: relative;
z-index: 10;
padding: 32px 40px;
background: rgba(2, 6, 23, 0.8);
border-top: 1px solid rgba(255, 255, 255, 0.05);
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-info {
display: flex;
gap: 40px;
}
.info-item {
display: flex;
flex-direction: column;
gap: 4px;
}
.info-item .label {
font-size: 0.625rem;
font-weight: 700;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.info-item .value {
font-size: 0.875rem;
font-weight: 700;
color: #f8fafc;
}
.progress-bar {
width: 100px;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: #3b82f6;
}
.footer-links {
display: flex;
gap: 24px;
}
.footer-links a {
color: #64748b;
text-decoration: none;
font-size: 0.8125rem;
font-weight: 600;
transition: color 0.2s;
display: flex;
align-items: center;
gap: 4px;
}
.footer-links a:hover {
color: #f8fafc;
}
@media (max-width: 1024px) {
.launcher-main-title { font-size: 3rem; }
.portal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
.launcher-header { padding: 16px 20px; }
.launcher-actions { display: none; }
.launcher-main-title { font-size: 2.2rem; }
.launcher-intro { margin-bottom: 40px; }
.portal-grid { grid-template-columns: 1fr; gap: 16px; }
.launcher-content { padding: 40px 20px; }
.portal-card { padding: 24px; }
.footer-info { gap: 20px; flex-direction: column; align-items: center; text-align: center; }
.footer-links { justify-content: center; width: 100%; margin-top: 24px; }
.launcher-footer { flex-direction: column; gap: 24px; padding: 40px 20px; }
}