.btn-report {
display: block;
text-align: center;
padding: 10px 0;
color: #999;
transition: all 0.3s;
cursor: pointer;
}
.btn-report:hover {
color: #ff6b6b;
background: rgba(255, 107, 107, 0.1);
}
.btn-report i {
display: block;
font-size: 20px;
margin-bottom: 5px;
}
.btn-report text {
font-size: 12px;
display: block;
} .knn-comment-report .knn-report-btn {
color: #ff6b6b;
font-size: 13px;
cursor: pointer;
transition: all 0.3s;
padding: 5px 10px;
border-radius: 4px;
}
.knn-comment-report .knn-report-btn:hover {
background: #ffe0e0;
color: #ff4757;
}
.knn-comment-report {
display: inline-block;
margin-left: 10px;
} .knn-report-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99999;
align-items: center;
justify-content: center;
}
.knn-report-modal.active {
display: flex;
}
.knn-report-dialog {
background: #fff;
border-radius: 12px;
width: 90%;
max-width: 500px;
max-height: 80vh;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
animation: slideUp 0.3s ease;
position: relative;
z-index: 100000;
pointer-events: auto;
}
@keyframes slideUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.knn-report-header {
padding: 20px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
}
.knn-report-header h3 {
margin: 0;
font-size: 18px;
color: #333;
}
.knn-report-close {
background: none;
border: none;
font-size: 24px;
color: #999;
cursor: pointer;
line-height: 1;
padding: 0;
width: 30px;
height: 30px;
}
.knn-report-close:hover {
color: #333;
}
.knn-report-body {
padding: 20px;
max-height: calc(80vh - 150px);
overflow-y: auto;
}
.knn-report-types {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-bottom: 20px;
}
.knn-report-type-item {
border: 2px solid #eee;
border-radius: 8px;
padding: 15px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
position: relative;
z-index: 1;
pointer-events: auto;
user-select: none;
}
.knn-report-type-item:hover {
border-color: #ddd;
background: #f8f9fa;
}
.knn-report-type-item.active {
border-color: #ff6b6b;
background: #ffe0e0;
color: #ff4757;
}
.knn-report-type-item i {
font-size: 24px;
margin-bottom: 8px;
display: block;
}
.knn-report-textarea {
width: 100%;
min-height: 100px;
border: 1px solid #ddd;
border-radius: 8px;
padding: 12px;
font-size: 14px;
resize: vertical;
font-family: inherit;
}
.knn-report-textarea:focus {
outline: none;
border-color: #ff6b6b;
}
.knn-report-footer {
padding: 15px 20px;
border-top: 1px solid #eee;
text-align: right;
}
.knn-report-submit {
background: linear-gradient(135deg, #ff6b6b, #ff4757);
color: #fff;
border: none;
padding: 10px 30px;
border-radius: 20px;
font-size: 14px;
cursor: pointer;
transition: all 0.3s;
position: relative;
z-index: 1;
pointer-events: auto;
user-select: none;
}
.knn-report-submit:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}
.knn-report-submit:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
} .knn-banned-list {
background: #fff;
border-radius: 12px;
padding: 30px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.banned-header {
text-align: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid #ff6b6b;
}
.banned-header h2 {
color: #333;
font-size: 24px;
margin-bottom: 10px;
}
.banned-header i {
color: #ff6b6b;
margin-right: 10px;
}
.banned-items {
display: grid;
gap: 15px;
}
.banned-item {
display: flex;
align-items: flex-start;
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #ff6b6b;
transition: all 0.3s;
}
.banned-item:hover {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transform: translateX(5px);
}
.banned-icon {
flex-shrink: 0;
width: 50px;
height: 50px;
background: #ff6b6b;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 20px;
margin-right: 15px;
}
.banned-info {
flex: 1;
}
.banned-type {
font-weight: bold;
color: #333;
margin-bottom: 8px;
font-size: 14px;
}
.banned-reason {
color: #666;
line-height: 1.6;
margin-bottom: 8px;
}
.banned-reason strong {
color: #ff6b6b;
}
.banned-time {
font-size: 12px;
} @media (max-width: 768px) {
.knn-report-types {
grid-template-columns: 1fr;
}
.knn-report-dialog {
width: 95%;
}
.banned-item {
flex-direction: column;
align-items: center;
text-align: center;
}
.banned-icon {
margin-right: 0;
margin-bottom: 15px;
}
} body.dark-theme .knn-report-dialog,
body.dark-theme .knn-banned-list {
background: #1e1e1e;
}
body.dark-theme .knn-report-header,
body.dark-theme .knn-report-footer {
border-color: #333;
}
body.dark-theme .knn-report-header h3,
body.dark-theme .banned-header h2,
body.dark-theme .banned-type {
color: #fff;
}
body.dark-theme .knn-report-type-item {
border-color: #333;
background: #2a2a2a;
}
body.dark-theme .knn-report-type-item:hover {
border-color: #444;
background: #333;
}
body.dark-theme .knn-report-textarea {
background: #2a2a2a;
border-color: #333;
color: #fff;
}
body.dark-theme .banned-item {
background: #2a2a2a;
} .el-notification {
top: 80px !important;
}