Update content-moderation.css

This commit is contained in:
ErikrafT 2025-05-08 18:08:16 -03:00 committed by GitHub
parent 2fd86b4064
commit 065fbad655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 130 additions and 0 deletions

View File

@ -208,3 +208,133 @@
flex-direction: column;
}
}
.frame-warning-dialog {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.warning-content {
background: #1a1a1a;
padding: 2rem;
border-radius: 1rem;
max-width: 600px;
width: 90%;
text-align: center;
color: #e3e3e3;
}
.warning-icon {
margin-bottom: 1rem;
}
.warning-icon svg {
width: 64px;
height: 64px;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
.media-container {
position: relative;
margin: 2rem 0;
border-radius: 0.5rem;
overflow: hidden;
}
.blurred-preview {
width: 100%;
max-height: 300px;
object-fit: contain;
transition: filter 0.3s ease;
}
.warning-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.5);
}
.unblur-btn {
background: rgba(255, 255, 255, 0.2);
border: 2px solid #fff;
color: #fff;
padding: 0.5rem 1rem;
border-radius: 2rem;
cursor: pointer;
transition: all 0.3s ease;
}
.unblur-btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.05);
}
.button-group {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.button-group button {
padding: 0.8rem 1.5rem;
border: none;
border-radius: 0.5rem;
cursor: pointer;
transition: all 0.3s ease;
font-weight: bold;
}
.button-group .accept {
background: #4CAF50;
color: white;
}
.button-group .block {
background: #f44336;
color: white;
}
.button-group .cancel {
background: #666;
color: white;
}
.button-group button:hover {
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 600px) {
.warning-content {
padding: 1rem;
}
.button-group {
flex-direction: column;
}
.button-group button {
width: 100%;
}
}