Update content-moderation.css

This commit is contained in:
ErikrafT 2025-05-07 17:36:41 -03:00 committed by GitHub
parent 93b45c37e0
commit 0793dc5326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 151 additions and 84 deletions

View File

@ -4,140 +4,207 @@
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background: rgba(0, 0, 0, 0.95); background: rgba(0, 0, 0, 0.95);
border-radius: 12px; padding: 2rem;
padding: 24px; border-radius: 1rem;
box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
z-index: 9999; z-index: 9999;
max-width: 90%; max-width: 90%;
width: 400px; width: 500px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px);
backdrop-filter: blur(8px); border: 1px solid rgba(255, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.1);
} }
.content-moderation-warning .warning-icon { .warning-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.warning-icon {
width: 64px; width: 64px;
height: 64px; height: 64px;
margin: 0 auto 16px; margin-bottom: 1rem;
display: block;
filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.3));
animation: pulse 2s infinite; animation: pulse 2s infinite;
} }
.content-moderation-warning .warning-title { /* Estilos específicos para cada tipo de conteúdo */
color: #ff4444; .warning-icon[data-type="explicit"] {
font-size: 24px; filter: drop-shadow(0 0 8px rgba(255, 221, 0, 0.4));
}
.warning-icon[data-type="spam"] {
filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4));
}
.warning-icon[data-type="offensive"] {
filter: drop-shadow(0 0 8px rgba(255, 221, 0, 0.4));
}
.warning-title {
font-size: 1.5rem;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
margin-bottom: 16px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
} }
.content-moderation-warning .warning-message { /* Títulos específicos para cada tipo */
color: #ffffff; .warning-title[data-type="explicit"] {
font-size: 16px; color: #ffdd00;
text-shadow: 0 0 8px rgba(255, 221, 0, 0.3);
}
.warning-title[data-type="spam"] {
color: #ff0000;
text-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}
.warning-title[data-type="offensive"] {
color: #ffdd00;
text-shadow: 0 0 8px rgba(255, 221, 0, 0.3);
}
.warning-message {
color: #fff;
text-align: center; text-align: center;
margin-bottom: 24px; margin-bottom: 1rem;
line-height: 1.5;
} }
.content-moderation-warning .warning-buttons { .warning-preview {
width: 100%;
max-height: 300px;
overflow: hidden;
border-radius: 0.5rem;
margin: 1rem 0;
position: relative;
}
.warning-preview.blurred {
filter: blur(20px);
}
.warning-preview img,
.warning-preview video {
width: 100%;
height: 100%;
object-fit: contain;
}
.warning-notice {
padding: 1rem;
border-radius: 0.5rem;
margin: 1rem 0;
text-align: center;
}
/* Avisos específicos para cada tipo */
.warning-notice[data-type="explicit"] {
background: rgba(255, 221, 0, 0.1);
}
.warning-notice[data-type="spam"] {
background: rgba(255, 0, 0, 0.1);
}
.warning-notice[data-type="offensive"] {
background: rgba(255, 221, 0, 0.1);
}
.warning-notice p {
margin: 0;
font-size: 0.9rem;
}
/* Texto do aviso específico para cada tipo */
.warning-notice[data-type="explicit"] p {
color: #ffdd00;
}
.warning-notice[data-type="spam"] p {
color: #ff0000;
}
.warning-notice[data-type="offensive"] p {
color: #ffdd00;
}
.warning-buttons {
display: flex; display: flex;
gap: 12px; gap: 1rem;
flex-wrap: wrap;
justify-content: center; justify-content: center;
margin-top: 1rem;
} }
.content-moderation-warning .warning-button { .warning-button {
padding: 12px 24px; padding: 0.8rem 1.5rem;
border-radius: 8px; border: none;
font-size: 16px; border-radius: 0.5rem;
font-weight: 600; font-weight: bold;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
border: none; min-width: 150px;
outline: none;
} }
.content-moderation-warning .warning-button.view { .warning-button.show {
background: #4CAF50; background: #4CAF50;
color: white; color: white;
} }
.content-moderation-warning .warning-button.view:hover { .warning-button.close {
background: #45a049; background: #666;
transform: translateY(-2px);
}
.content-moderation-warning .warning-button.reject {
background: #f44336;
color: white; color: white;
} }
.content-moderation-warning .warning-button.reject:hover { .warning-button.block {
background: #da190b; background: #ffdd00;
color: #000;
}
.warning-button:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
} }
.blurred-content { .warning-button.show:hover {
filter: blur(20px); background: #45a049;
transition: filter 0.3s ease;
position: relative;
} }
.blurred-content .warning-overlay { .warning-button.close:hover {
position: absolute; background: #555;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.7);
z-index: 1000;
backdrop-filter: blur(4px);
} }
.blurred-content .warning-overlay .warning-icon { .warning-button.block:hover {
width: 48px; background: #ffd700;
height: 48px;
margin-bottom: 12px;
filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.3));
animation: pulse 2s infinite;
} }
.blurred-content .warning-overlay .warning-text {
color: #ffffff;
font-size: 14px;
text-align: center;
padding: 0 16px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
/* Animações */
@keyframes pulse { @keyframes pulse {
0% { transform: scale(1); } 0% {
50% { transform: scale(1.05); } transform: scale(1);
100% { transform: scale(1); } }
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
} }
/* Responsividade */ @media (max-width: 600px) {
@media (max-width: 480px) {
.content-moderation-warning { .content-moderation-warning {
width: 95%; width: 95%;
padding: 16px; padding: 1rem;
} }
.content-moderation-warning .warning-title { .warning-title {
font-size: 20px; font-size: 1.2rem;
} }
.content-moderation-warning .warning-message { .warning-button {
font-size: 14px; width: 100%;
min-width: unset;
} }
.content-moderation-warning .warning-button { .warning-buttons {
padding: 10px 20px; flex-direction: column;
font-size: 14px;
} }
} }