529 lines
12 KiB
Plaintext
529 lines
12 KiB
Plaintext
@home-primary: var(--app-primary-color, #6366f1);
|
|
@home-text-main: #0f172a; // ui-ux-pro-max slate-900
|
|
@home-text-gray: #475569; // ui-ux-pro-max slate-600
|
|
@home-bg: #f8fafc; // ui-ux-pro-max slate-50
|
|
|
|
.home-page {
|
|
padding: 8px;
|
|
min-width: 0;
|
|
background: #f5f6fa;
|
|
}
|
|
|
|
.home-page > .page-container__body {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.home-shell-card {
|
|
padding: 0;
|
|
}
|
|
|
|
.home-shell-card .section-card__content {
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.home-data-panel {
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.home-data-panel .data-list-panel__table-area,
|
|
.home-data-panel .app-page__table-wrap {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.home-data-panel .data-list-panel__table-container,
|
|
.home-data-panel .data-list-panel__table-area,
|
|
.home-data-panel .app-page__table-wrap {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.home-container {
|
|
position: relative;
|
|
flex: 1;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
padding: clamp(40px, 8vh, 80px) clamp(24px, 5vw, 60px) 0;
|
|
border-radius: 4px;
|
|
background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
|
|
color: @home-text-main;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
overflow: hidden auto;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.home-bg-visual {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.home-bg-sphere {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: clamp(50%, 70vw, 80%);
|
|
transform: translate(-50%, -50%);
|
|
width: clamp(500px, 70vw, 900px);
|
|
height: clamp(500px, 70vw, 900px);
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(220, 230, 255, 0.4) 40%, transparent 70%);
|
|
box-shadow: inset 0 0 100px rgba(255,255,255,0.5);
|
|
filter: blur(20px);
|
|
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 30%;
|
|
left: 20%;
|
|
width: 60%;
|
|
height: 40%;
|
|
background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
|
|
filter: blur(40px);
|
|
border-radius: 50%;
|
|
transform: rotate(-15deg);
|
|
}
|
|
}
|
|
|
|
.home-content-wrapper {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 1400px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
gap: clamp(24px, 5vh, 48px);
|
|
}
|
|
|
|
.home-hero {
|
|
margin-bottom: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.home-title {
|
|
font-size: clamp(32px, 4.5vw, 56px) !important; // Restored size
|
|
font-weight: 800 !important;
|
|
margin-bottom: clamp(32px, 6vh, 64px) !important; // Restored margin
|
|
color: @home-text-main !important;
|
|
letter-spacing: -0.02em;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
|
|
.home-title-accent-wrapper {
|
|
position: relative;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
height: 1.2em;
|
|
overflow: hidden;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.home-title-accent-scroller {
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.home-title-accent {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 1.2em;
|
|
line-height: 1.2em;
|
|
white-space: nowrap;
|
|
background: linear-gradient(90deg, #4f46e5, #7c3aed, #2563eb);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
.home-quick-actions {
|
|
display: flex;
|
|
gap: clamp(24px, 4vw, 48px);
|
|
flex-wrap: wrap;
|
|
|
|
@media (max-width: 768px) {
|
|
gap: 16px;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
|
|
.home-action-item {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.home-action-item {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
max-width: 280px;
|
|
flex: 1;
|
|
min-width: 240px;
|
|
padding: 32px 24px; // Restored original padding
|
|
border-radius: 20px;
|
|
background: var(--action-bg-gradient);
|
|
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
|
|
|
|
&:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 20px 40px -10px var(--action-shadow);
|
|
|
|
.home-action-icon-wrapper {
|
|
transform: translateY(-4px) scale(1.05);
|
|
}
|
|
.home-action-icon {
|
|
box-shadow:
|
|
0 10px 25px -5px rgba(0, 0, 0, 0.1),
|
|
0 8px 10px -6px rgba(0, 0, 0, 0.05),
|
|
inset 0 1px 0 rgba(255,255,255,1);
|
|
}
|
|
.home-action-icon-glow {
|
|
opacity: 0.8;
|
|
transform: translateY(14px) scale(0.9);
|
|
}
|
|
}
|
|
|
|
&--violet {
|
|
--action-color: #7c3aed;
|
|
--action-bg: #8b5cf6;
|
|
--action-bg-gradient: linear-gradient(135deg, rgba(237, 233, 254, 0.8) 0%, rgba(2ede, 233, 254, 0.4) 100%);
|
|
--action-shadow: rgba(124, 58, 237, 0.15);
|
|
--action-badge-bg: linear-gradient(90deg, #8b5cf6, #a78bfa);
|
|
--action-icon-bg: linear-gradient(135deg, #7c3aed, #a78bfa);
|
|
background: linear-gradient(180deg, #f3f0ff 0%, #fdfcff 100%);
|
|
}
|
|
|
|
&--cyan {
|
|
--action-color: #0284c7;
|
|
--action-bg: #0ea5e9;
|
|
--action-bg-gradient: linear-gradient(135deg, rgba(224, 242, 254, 0.8) 0%, rgba(224, 242, 254, 0.4) 100%);
|
|
--action-shadow: rgba(2, 132, 199, 0.15);
|
|
--action-badge-bg: linear-gradient(90deg, #0ea5e9, #38bdf8);
|
|
--action-icon-bg: linear-gradient(135deg, #0284c7, #38bdf8);
|
|
background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%);
|
|
}
|
|
|
|
.home-action-badge {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 6px 16px;
|
|
background: var(--action-badge-bg);
|
|
color: white;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: 0 20px 0 20px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.home-action-icon-wrapper {
|
|
position: relative;
|
|
width: 72px; // Restored original size
|
|
height: 72px;
|
|
margin-bottom: 32px; // Restored margin
|
|
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.home-action-icon {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
color: white;
|
|
background: var(--action-icon-bg);
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow:
|
|
0 8px 16px -4px var(--action-shadow),
|
|
inset 0 2px 4px rgba(255, 255, 255, 0.3);
|
|
transition: box-shadow 0.4s ease;
|
|
}
|
|
|
|
.home-action-icon-circle {
|
|
position: absolute;
|
|
bottom: -8px;
|
|
right: -12px;
|
|
width: 32px;
|
|
height: 32px;
|
|
background: white;
|
|
border-radius: 50%;
|
|
z-index: 3;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&::after {
|
|
content: '';
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--action-color);
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
|
|
.home-action-icon-glow {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%) translateY(8px) scale(0.8);
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--action-bg);
|
|
border-radius: 50%;
|
|
filter: blur(14px);
|
|
z-index: 1;
|
|
opacity: 0.5;
|
|
transition: all 0.4s ease;
|
|
}
|
|
|
|
.home-action-title {
|
|
font-size: 24px !important; // Restored original size
|
|
font-weight: 700 !important;
|
|
margin-bottom: 16px !important;
|
|
color: #1e1e38 !important;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.home-action-desc {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.home-action-line {
|
|
font-size: 15px; // Restored original size
|
|
color: #5a5a72;
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
|
|
.home-recent-section {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.home-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 24px;
|
|
|
|
h3 {
|
|
font-size: 18px !important;
|
|
font-weight: 600 !important;
|
|
margin: 0 !important;
|
|
color: @home-text-gray !important;
|
|
}
|
|
}
|
|
|
|
.home-view-all {
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.home-recent-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 24px;
|
|
|
|
@media (max-width: 1200px) {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
@media (max-width: 1024px) {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
@media (max-width: 768px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.home-recent-card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 140px; // Restored original height
|
|
padding: 20px 24px; // Restored original padding
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
border-radius: 20px;
|
|
border: none;
|
|
background: linear-gradient(180deg, #f9f8fe 0%, #f3f2fa 100%);
|
|
box-shadow: 0 8px 28px rgba(113, 107, 151, 0.08);
|
|
transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
|
|
|
|
&:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 14px 34px rgba(113, 107, 151, 0.12);
|
|
|
|
.home-recent-card-icon {
|
|
transform: translateX(2px);
|
|
box-shadow: 0 10px 22px rgba(118, 105, 255, 0.12);
|
|
}
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 3px solid rgba(126, 105, 255, 0.22);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: auto -92px -136px auto;
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(133, 115, 255, 0.1) 0%, rgba(133, 115, 255, 0) 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.home-recent-card-dot {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(180deg, #ff8f8f 0%, #f56f6f 100%);
|
|
box-shadow: 0 0 0 4px rgba(249, 248, 254, 0.96);
|
|
z-index: 2;
|
|
}
|
|
|
|
.home-recent-card-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.home-recent-card-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
border-radius: 12px;
|
|
background: #efedf8;
|
|
color: #8a80ff;
|
|
box-shadow: none;
|
|
transition: transform 0.28s ease, box-shadow 0.28s ease;
|
|
|
|
.home-recent-card-play-icon {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
.home-recent-card-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 10px;
|
|
margin-bottom: auto;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.home-recent-card-tag {
|
|
margin: 0;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
background: #eceaf7;
|
|
color: #6f66f0;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.home-recent-card-title {
|
|
margin: 0 !important;
|
|
color: #2d2c59 !important;
|
|
font-size: 17px !important; // Restored original size
|
|
line-height: 1.4 !important;
|
|
font-weight: 700 !important;
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
-webkit-line-clamp: 2; // Restored original lines
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.home-recent-card-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 18px;
|
|
gap: 12px;
|
|
color: #7d7d9e;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.home-recent-card-duration {
|
|
font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #7d7d9e;
|
|
}
|
|
|
|
.home-recent-card-time {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #7d7d9e;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.home-recent-skeleton {
|
|
background: #ffffff;
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
.home-empty-state {
|
|
padding: 40px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.home-container > * {
|
|
animation: homeFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
.home-bg-visual { animation-delay: 0s; }
|
|
.home-content-wrapper { animation-delay: 0.1s; }
|
|
|
|
@keyframes homeFadeUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|