add reports layout

This commit is contained in:
smanylov
2025-12-04 18:21:39 +07:00
parent 8b45b224bf
commit 98ac1aaac8
8 changed files with 440 additions and 20 deletions
+1
View File
@@ -2,6 +2,7 @@
@use './dashboard.scss';
@use './settings.scss';
@use './payment-container.scss';
@use './reports.scss';
.btn {
padding: 12px 24px;
+244
View File
@@ -0,0 +1,244 @@
.enhanced-chart-container {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 25px;
padding: 35px;
color: white;
box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
position: relative;
overflow: hidden;
margin-bottom: 30px;
.enhanced-chart-title {
font-size: 22px;
font-weight: 700;
color: white;
display: flex;
align-items: center;
&::before {
content: '🔍';
margin-right: 12px;
font-size: 28px;
}
}
.search-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
position: relative;
z-index: 2;
}
.search-stat-item {
background: rgba(255, 255, 255, 0.15);
border-radius: 20px;
padding: 25px;
text-align: center;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
&:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.25);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
}
.search-stat-icon {
font-size: 32px;
margin-bottom: 15px;
display: block;
}
.search-stat-value {
font-size: 28px;
font-weight: 800;
margin-bottom: 8px;
color: white;
}
.search-stat-label {
font-size: 14px;
opacity: 0.9;
color: white;
font-weight: 500;
}
}
.analytics-grid {
display: flex;
flex-wrap: wrap;
gap: 30px;
margin-bottom: 40px;
justify-content: space-between;
.analytics-card {
background: white;
border-radius: 25px;
padding: 30px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
flex: 1;
min-width: 350px;
max-width: calc(50% - 15px);
margin-bottom: 20px;
}
.analytics-header {
display: flex;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 2px solid #f3f4f6;
}
.analytics-icon {
font-size: 28px;
margin-right: 15px;
}
.analytics-title {
font-size: 18px;
font-weight: 700;
color: #1f2937;
}
.storage-timeline {
display: flex;
flex-direction: column;
gap: 12px;
}
.timeline-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
background: #f9fafb;
border-radius: 10px;
border-left: 4px solid #6366f1;
}
.timeline-month {
font-weight: 600;
color: #1f2937;
}
.timeline-stats {
display: flex;
gap: 15px;
font-size: 12px;
color: #6b7280;
}
.method-count {
background: #6366f1;
color: white;
padding: 4px 12px;
border-radius: 20px;
font-weight: 700;
font-size: 12px;
}
}
.final-summary {
background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
border-radius: 30px;
padding: 40px;
margin-top: 50px;
color: white;
position: relative;
overflow: hidden;
box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width=" 1"/></pattern></defs><rect width=" 100" height=" 100" fill=" url(%23grid)"/></svg>');
opacity: 0.3;
}
.summary-header {
text-align: center;
margin-bottom: 35px;
position: relative;
z-index: 2;
}
.summary-title {
font-size: 28px;
font-weight: 800;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
}
.summary-subtitle {
font-size: 16px;
opacity: 0.9;
font-weight: 500;
}
.summary-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
position: relative;
z-index: 2;
}
.summary-stat {
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 30px;
text-align: center;
backdrop-filter: blur(15px);
border: 2px solid rgba(255, 255, 255, 0.2);
transition: all 0.4s ease;
&:hover {
transform: translateY(-8px) scale(1.02);
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
}
.summary-stat-icon {
font-size: 40px;
margin-bottom: 15px;
display: block;
}
.summary-stat-value {
font-size: 36px;
font-weight: 900;
margin-bottom: 8px;
color: white;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.summary-stat-label {
font-size: 14px;
color: white;
font-weight: 600;
opacity: 0.95;
}
.summary-stat-change {
font-size: 12px;
margin-top: 8px;
padding: 4px 12px;
background: rgba(255, 255, 255, 0.2);
border-radius: 15px;
display: inline-block;
font-weight: 700;
}
}