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
+35 -2
View File
@@ -38,9 +38,9 @@
border-radius: 16px;
margin-bottom: 2rem;
box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
color: v.$white;
h1 {
color: v.$white;
font-size: 2rem;
font-weight: 700;
margin: 0 0 0.5rem 0;
@@ -50,10 +50,43 @@
}
p {
color: rgba(255, 255, 255, 0.9);
font-size: 1rem;
margin: 0;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
.header-main {
flex: 1;
}
.header-stats {
display: flex;
gap: 28px;
align-items: center;
}
.header-stat-item {
text-align: center;
}
.header-stat-value {
font-size: 28px;
font-weight: 700;
margin-bottom: 4px;
}
.header-stat-label {
font-size: 13px;
opacity: 0.85;
text-transform: uppercase;
letter-spacing: 0.5px;
}
}
}
.main-containter-wrapper {
+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;
}
}