2025-12-27 13:47:51 +07:00
|
|
|
@use './variable.scss' as v;
|
2025-11-26 14:01:35 +07:00
|
|
|
|
2025-11-26 17:18:20 +07:00
|
|
|
.chart-title {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-12-27 13:47:51 +07:00
|
|
|
color: v.$text-p;
|
2025-11-26 17:18:20 +07:00
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
content: '';
|
|
|
|
|
width: 6px;
|
|
|
|
|
height: 6px;
|
2025-12-27 13:47:51 +07:00
|
|
|
background: v.$p-color;
|
2025-11-26 17:18:20 +07:00
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-26 14:01:35 +07:00
|
|
|
.protection-overview {
|
2025-12-27 13:47:51 +07:00
|
|
|
background: linear-gradient(135deg, v.$p-color 50%, v.$s-color 100%);
|
|
|
|
|
color: v.$white;
|
2025-11-26 17:18:20 +07:00
|
|
|
border-radius: 20px;
|
|
|
|
|
padding: 25px;
|
|
|
|
|
margin-bottom: 30px;
|
2025-12-11 18:28:35 +07:00
|
|
|
position: relative;
|
2025-11-26 17:18:20 +07:00
|
|
|
|
2025-11-26 14:01:35 +07:00
|
|
|
h3 {
|
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
font-size: 14px;
|
2025-12-11 18:28:35 +07:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pie-char-text {
|
2025-12-27 13:47:51 +07:00
|
|
|
fill: v.$white;
|
2025-12-11 18:28:35 +07:00
|
|
|
font-size: 20px;
|
|
|
|
|
text-anchor: middle;
|
|
|
|
|
dominant-baseline: middle;
|
2025-11-26 14:01:35 +07:00
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
|
|
|
|
|
.protection-stats {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
|
|
|
gap: 20px;
|
2025-12-11 18:28:35 +07:00
|
|
|
grid-template-areas: "aaa bbb ccc";
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
height: 124px;
|
|
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
|
grid-template-areas: "aaa ccc ccc" "bbb ccc ccc";
|
|
|
|
|
height: 254px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.total-files {
|
|
|
|
|
grid-area: aaa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.total-checks {
|
|
|
|
|
grid-area: bbb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.total-usage {
|
|
|
|
|
grid-area: ccc;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.protection-stat {
|
|
|
|
|
padding: 15px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
|
|
border-radius: 12px;
|
2025-12-11 18:28:35 +07:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
2025-12-28 11:34:22 +07:00
|
|
|
&.total-checks,
|
|
|
|
|
&.total-files {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1.5fr;
|
|
|
|
|
gap: 0 10px;
|
|
|
|
|
|
|
|
|
|
.protection-stat-value {
|
|
|
|
|
justify-self: end;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.protection-stat-label {
|
|
|
|
|
text-align: start;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
&-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-12-28 11:34:22 +07:00
|
|
|
justify-content: center;
|
2025-12-11 18:28:35 +07:00
|
|
|
gap: 10px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-value {
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
margin-bottom: 5px;
|
2025-12-18 17:21:18 +07:00
|
|
|
|
|
|
|
|
&.btn {
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
2025-12-11 18:28:35 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-label {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
opacity: 0.9;
|
2025-12-28 11:34:22 +07:00
|
|
|
text-align: center;
|
2025-12-11 18:28:35 +07:00
|
|
|
}
|
2025-12-17 12:50:01 +07:00
|
|
|
|
|
|
|
|
&-total-info {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10;
|
|
|
|
|
left: 10;
|
|
|
|
|
background-color: #1f293718;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
border-radius: 10;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stacked-bar-chart {
|
|
|
|
|
border-radius: 10;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2025-12-18 17:21:18 +07:00
|
|
|
|
|
|
|
|
&-drop-down-list {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 80%;
|
|
|
|
|
top: 50%;
|
|
|
|
|
max-height: 0;
|
2025-12-27 13:47:51 +07:00
|
|
|
color: v.$white;
|
2025-12-18 17:21:18 +07:00
|
|
|
font-size: 16px;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
width: 200px;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
background: #ffffff00;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
|
max-height: 500px;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
box-shadow: 0 4px 20px #ffffff34;
|
|
|
|
|
background: #7165b6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-12-28 11:34:22 +07:00
|
|
|
|
|
|
|
|
&:has(.stacked-bar-chart) {
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding-left: 100px;
|
|
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
&-switch {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
top: 10px;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
2025-12-28 11:34:22 +07:00
|
|
|
|
|
|
|
|
&:has(.stacked-bar-chart) {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2025-12-11 18:28:35 +07:00
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
.stats-wrapper {
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
margin-bottom: 10px;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stats-grid {
|
|
|
|
|
display: grid;
|
2025-12-11 18:28:35 +07:00
|
|
|
grid-template-columns: repeat(5, 1fr);
|
2025-12-12 11:00:23 +07:00
|
|
|
--boder-collor: #f3f4f6;
|
2025-12-18 17:21:18 +07:00
|
|
|
border-bottom: 1px solid var(--boder-collor);
|
|
|
|
|
align-items: center;
|
2025-11-26 17:18:20 +07:00
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
.stats-item.images {
|
|
|
|
|
--card-color-1: #f08c00;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
.stats-item.videos {
|
|
|
|
|
--card-color-1: #2f9e44;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
.stats-item.audio {
|
|
|
|
|
--card-color-1: #1971c2;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
.stats-item {
|
|
|
|
|
border: 1px solid var(--boder-collor);
|
|
|
|
|
border-right: none;
|
2025-12-12 11:00:23 +07:00
|
|
|
border-left: none;
|
2025-12-11 18:28:35 +07:00
|
|
|
border-bottom: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 40px;
|
|
|
|
|
background: #ffffff1a;
|
2025-11-26 17:18:20 +07:00
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
&.stats-header {
|
2025-12-12 11:00:23 +07:00
|
|
|
background: #f9fafb;
|
2025-12-11 18:28:35 +07:00
|
|
|
border-left: none;
|
2025-12-15 11:24:07 +07:00
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 500;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
&.first-column {
|
2025-12-15 11:24:07 +07:00
|
|
|
font-size: 16px;
|
2025-12-12 11:00:23 +07:00
|
|
|
justify-content: start;
|
|
|
|
|
padding-left: 20px;
|
2025-12-15 11:24:07 +07:00
|
|
|
font-weight: 500;
|
2025-12-11 18:28:35 +07:00
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
color: var(--card-color-1);
|
2025-12-12 11:00:23 +07:00
|
|
|
margin-right: 10px;
|
2025-12-11 18:28:35 +07:00
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-18 17:21:18 +07:00
|
|
|
&.second-row {
|
|
|
|
|
border-top: none;
|
2025-12-11 18:28:35 +07:00
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
&.left-top-corner {
|
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
|
border-left: 1px solid var(--boder-collor);
|
2025-12-12 11:00:23 +07:00
|
|
|
justify-content: start;
|
|
|
|
|
padding-left: 20px;
|
2025-12-11 18:28:35 +07:00
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
|
2025-12-11 18:28:35 +07:00
|
|
|
&.right-top-corner {
|
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.left-bottom-corner {
|
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.right-bottom-corner {
|
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
|
}
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.block-wrapper {
|
2025-12-27 13:47:51 +07:00
|
|
|
background: v.$white;
|
2025-11-26 17:18:20 +07:00
|
|
|
border-radius: 20px;
|
|
|
|
|
padding: 25px;
|
2025-12-27 13:47:51 +07:00
|
|
|
box-shadow: 0 4px 20px v.$shadow-1;
|
|
|
|
|
border: 1px solid v.$b-color-1;
|
2025-11-26 18:21:44 +07:00
|
|
|
margin-bottom: 30px;
|
2025-11-26 17:18:20 +07:00
|
|
|
}
|
|
|
|
|
|
2025-12-17 12:50:01 +07:00
|
|
|
.upload-section {
|
2025-12-27 13:47:51 +07:00
|
|
|
background: v.$white;
|
2025-12-17 12:50:01 +07:00
|
|
|
border-radius: 20px;
|
|
|
|
|
padding: 30px;
|
|
|
|
|
margin-bottom: 30px;
|
2025-12-27 13:47:51 +07:00
|
|
|
box-shadow: 0 4px 20px v.$shadow-1;
|
2025-12-17 12:50:01 +07:00
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
|
margin-bottom: 20px;
|
2025-12-27 13:47:51 +07:00
|
|
|
color: v.$text-p;
|
2025-12-17 12:50:01 +07:00
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.drag-drop-zone {
|
2025-12-27 13:47:51 +07:00
|
|
|
border: 3px dashed v.$p-color;
|
2025-12-17 12:50:01 +07:00
|
|
|
border-radius: 15px;
|
|
|
|
|
padding: 40px 20px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
width: 70px;
|
|
|
|
|
height: 70px;
|
|
|
|
|
margin: 0 auto;
|
2025-12-27 13:47:51 +07:00
|
|
|
color: v.$p-color;
|
2025-12-17 12:50:01 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h4 {
|
2025-12-27 13:47:51 +07:00
|
|
|
color: v.$p-color;
|
2025-12-17 12:50:01 +07:00
|
|
|
margin-bottom: 5px;
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.description {
|
2025-12-27 13:47:51 +07:00
|
|
|
color: v.$text-s;
|
2025-12-17 12:50:01 +07:00
|
|
|
margin-bottom: 5px;
|
|
|
|
|
text-align: start;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
2025-12-27 13:47:51 +07:00
|
|
|
background: v.$p-color;
|
2025-12-17 12:50:01 +07:00
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected-file {
|
|
|
|
|
border-radius: 15px;
|
2025-12-27 13:47:51 +07:00
|
|
|
background: v.$white;
|
2025-12-17 12:50:01 +07:00
|
|
|
padding: 10px;
|
2025-12-25 17:24:59 +07:00
|
|
|
border: 2px solid transparent;
|
|
|
|
|
transition: all 0.3s ease-in;
|
|
|
|
|
|
|
|
|
|
&.done {
|
|
|
|
|
border-color: #00a63e;
|
|
|
|
|
}
|
2025-12-17 12:50:01 +07:00
|
|
|
|
|
|
|
|
&-file-info {
|
|
|
|
|
text-align: left;
|
2025-12-24 15:41:06 +07:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2025-12-17 12:50:01 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uploaded-image {
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
max-height: calc(4px * 40);
|
|
|
|
|
margin-inline: auto;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-confirm {
|
2025-12-27 13:47:51 +07:00
|
|
|
background: linear-gradient(45deg, v.$p-color 50%, v.$s-color 100%);
|
|
|
|
|
color: v.$white;
|
2025-12-17 12:50:01 +07:00
|
|
|
border: none;
|
|
|
|
|
padding: 5px 15px;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
transition: 0.3s;
|
|
|
|
|
min-width: 160px;
|
|
|
|
|
transform: translateY(0px);
|
|
|
|
|
box-shadow: none;
|
2025-12-24 21:36:59 +07:00
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-12-17 12:50:01 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-cancel {
|
2025-12-27 13:47:51 +07:00
|
|
|
background: v.$white;
|
|
|
|
|
color: v.$p-color;
|
|
|
|
|
border: 2px solid v.$p-color;
|
2025-12-17 12:50:01 +07:00
|
|
|
padding: 5px 15px;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
transition: 0.3s;
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn:hover {
|
|
|
|
|
transform: translateY(-2px);
|
2025-12-27 13:47:51 +07:00
|
|
|
box-shadow: 0 8px 25px v.$shadow-1;
|
2025-12-17 12:50:01 +07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-18 17:21:18 +07:00
|
|
|
.page-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 20px;
|
2025-12-17 12:50:01 +07:00
|
|
|
}
|