add translate

This commit is contained in:
smanylov
2025-12-12 11:00:23 +07:00
parent b63828befb
commit b5b66695df
10 changed files with 215 additions and 149 deletions
+9 -80
View File
@@ -130,7 +130,7 @@
.stats-wrapper {
border-radius: 20px;
overflow: hidden;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background: white;
box-shadow: 0 4px 20px #00000014;
margin-bottom: 30px;
padding: 20px;
@@ -138,14 +138,13 @@
h3 {
font-size: 20px;
margin-bottom: 10px;
color: white;
}
}
.stats-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
--boder-collor: #e4eaf028;
--boder-collor: #f3f4f6;
.stats-item.images {
--card-color-1: #f08c00;
@@ -162,32 +161,32 @@
.stats-item {
border: 1px solid var(--boder-collor);
border-right: none;
border-left: none;
border-bottom: none;
display: flex;
justify-content: center;
align-items: center;
height: 40px;
background: #ffffff1a;
color: white;
&.stats-header {
/* background: linear-gradient(180deg, #6366f1 0%, #8587f7 80%); */
color: white;
background: #f9fafb;
border-left: none;
font-size: 18px;
}
&.first-column {
font-size: 18px;
border-left: 1px solid var(--boder-collor);
justify-content: start;
padding-left: 20px;
.icon {
color: var(--card-color-1);
margin-right: 10px;
}
}
&.last-column {
border-right: 1px solid var(--boder-collor);
}
&.last-row {
@@ -197,6 +196,8 @@
&.left-top-corner {
border-top-left-radius: 10px;
border-left: 1px solid var(--boder-collor);
justify-content: start;
padding-left: 20px;
}
&.right-top-corner {
@@ -347,75 +348,3 @@
}
}
}
.activity-chart {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 20px;
padding: 25px;
box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
border: none;
position: relative;
overflow: hidden;
h3 {
margin: 0 0 15px 0;
font-size: 18px;
color: white;
position: relative;
z-index: 1;
}
.activity-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 12px;
margin: 20px 0;
position: relative;
z-index: 1;
}
.activity-day {
text-align: center;
padding: 15px;
background: rgba(255, 255, 255, 0.15);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
backdrop-filter: blur(10px);
position: relative;
&:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
}
.activity-day-label {
font-size: 12px;
opacity: 0.8;
margin-bottom: 8px;
font-weight: 500;
}
.activity-day-value {
font-size: 20px;
font-weight: 700;
margin-bottom: 4px;
}
.activity-day-files {
font-size: 10px;
opacity: 0.7;
}
.activity-chart-footer {
text-align: center;
font-size: 12px;
opacity: 0.8;
position: relative;
z-index: 1;
margin-top: 15px;
}
}