add my content layout

This commit is contained in:
smanylov
2026-01-15 12:27:39 +07:00
parent 719a3e3582
commit 7213e40b96
13 changed files with 257 additions and 30 deletions
+81
View File
@@ -1856,4 +1856,85 @@
color: #6b7280;
font-weight: 500;
}
}
.my-content-stats-overview {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-bottom: 30px;
@media (max-width: 1400px) {
grid-template-columns: repeat(2, 1fr);
}
.stat-card.files {
--card-color-1: #ff6b8a;
--card-color-2: #ff8da1;
}
.stat-card.protected {
--card-color-1: #8b5cf6;
--card-color-2: #a78bfa;
}
.stat-card.checks {
--card-color-1: #10b981;
--card-color-2: #34d399;
}
.stat-card.storage {
--card-color-1: #f59e0b;
--card-color-2: #fbbf24;
}
.stat-card {
background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
border-radius: 20px;
padding: 32px 28px;
color: white;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
transition: all 0.4s ease;
cursor: pointer;
position: relative;
overflow: hidden;
&:hover {
transform: translateY(-8px);
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
}
.stat-icon {
font-size: 36px;
}
.stat-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
position: relative;
z-index: 1;
}
.stat-value {
font-size: 32px;
font-weight: 700;
color: white;
margin-bottom: 6px;
position: relative;
z-index: 1;
}
.stat-label {
font-size: 13px;
color: white;
opacity: 0.9;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
position: relative;
z-index: 1;
}
}