rh-rhdata-customer-web/src/css/home.css

321 lines
4.9 KiB
CSS

body {
background: #f5f7fb;
color: #1f2a37;
}
.home {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Helvetica Neue", Arial, sans-serif;
color: inherit;
}
.home-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 48px;
}
.home-brand {
display: flex;
align-items: center;
gap: 10px;
font-weight: 700;
font-size: 18px;
}
.home-logo {
color: #1f6feb;
letter-spacing: 0.5px;
}
.home-nav {
display: flex;
gap: 20px;
font-size: 14px;
}
.home-nav-item {
background: transparent;
border: 0;
color: #1f2a37;
cursor: pointer;
padding: 6px 8px;
}
.home-actions {
display: flex;
align-items: center;
gap: 12px;
font-size: 14px;
}
.home-divider {
width: 1px;
height: 14px;
background: #d0d7e2;
}
.home-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 24px;
padding: 40px 48px 20px;
align-items: center;
}
.home-hero-content h1 {
margin: 0 0 16px;
font-size: 42px;
line-height: 1.2;
}
.home-hero-content h1 span {
color: #1f6feb;
}
.home-hero-content p {
color: #60708a;
margin: 0 0 24px;
}
.home-hero-stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.home-hero-stat {
display: grid;
gap: 4px;
}
.home-hero-stat strong {
font-size: 20px;
}
.home-hero-stat span {
font-size: 12px;
color: #5f6b7c;
}
.home-cta {
background: #1f6feb;
color: #fff;
border: 0;
border-radius: 24px;
padding: 10px 28px;
cursor: pointer;
font-weight: 600;
}
.home-hero-art {
display: flex;
justify-content: center;
}
.home-hero-pattern {
width: 280px;
height: 280px;
border-radius: 32px;
background: radial-gradient(circle at 30% 30%, #dbe9ff, transparent 70%),
linear-gradient(135deg, #e8f1ff, #f8fbff);
position: relative;
overflow: hidden;
}
.home-hero-pattern::after {
content: "";
position: absolute;
inset: 30px;
border: 2px dashed #c3d7f5;
border-radius: 28px;
}
.home-logos {
display: grid;
grid-template-columns: repeat(9, minmax(0, 1fr));
gap: 8px;
background: #fff;
padding: 16px 48px;
border-top: 1px solid #e6edf7;
border-bottom: 1px solid #e6edf7;
}
.home-logo-item {
text-align: center;
color: #94a3b8;
font-size: 12px;
}
.home-section {
padding: 32px 48px 64px;
}
.home-section-header {
display: flex;
align-items: baseline;
gap: 16px;
margin-bottom: 20px;
}
.home-section-number {
font-size: 48px;
color: #e4edf8;
font-weight: 700;
}
.home-section h2 {
margin: 0;
font-size: 24px;
}
.home-section-card {
background: #fff;
border-radius: 20px;
padding: 24px;
box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
.home-section-body {
display: grid;
gap: 20px;
}
.home-section-sidebar {
width: 200px;
border-right: 1px solid #eef2f7;
padding-right: 16px;
color: #64748b;
}
.home-section-filter-title {
font-weight: 600;
margin-bottom: 12px;
color: #1f2a37;
}
.home-section-filter-item {
padding: 6px 0;
}
.home-section-content {
display: grid;
grid-template-columns: 1fr 280px;
gap: 20px;
}
.home-section-card {
display: grid;
grid-template-columns: 200px 1fr;
gap: 20px;
}
.home-section-table {
display: grid;
gap: 8px;
}
.home-section-row {
display: grid;
grid-template-columns: 80px 1fr 80px 80px 100px;
gap: 12px;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid #eef2f7;
font-size: 13px;
color: #5f6b7c;
}
.home-section-row.is-header {
font-weight: 600;
color: #1f2a37;
border-bottom: 1px solid #dde6f2;
}
.home-section-product {
height: 20px;
background: #e9f1ff;
border-radius: 10px;
}
.home-section-chart {
height: 12px;
background: linear-gradient(90deg, #cfe0ff, #8bb4ff);
border-radius: 6px;
}
.home-section-preview-card {
background: #f8fbff;
border-radius: 16px;
padding: 16px;
display: grid;
gap: 12px;
}
.home-section-preview-image {
height: 140px;
border-radius: 12px;
background: linear-gradient(135deg, #f2f6ff, #dfe9ff);
}
.home-section-preview-data,
.home-section-preview-metrics {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
font-size: 12px;
color: #64748b;
}
.home-section-preview-data strong,
.home-section-preview-metrics strong {
display: block;
color: #1f2a37;
font-size: 14px;
}
@media (max-width: 1080px) {
.home-hero {
grid-template-columns: 1fr;
}
.home-hero-stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-logos {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-section-card {
grid-template-columns: 1fr;
}
.home-section-content {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.home-header {
flex-direction: column;
gap: 16px;
align-items: flex-start;
}
.home-nav {
flex-wrap: wrap;
}
.home-hero {
padding: 24px;
}
.home-logos,
.home-section {
padding: 16px 24px 32px;
}
}