pokedex-web / frontend /src /components /FeedbackWidget.module.css
gpimentel's picture
feat: enhance image upload validation and feedback storage for model improvement
960a6a9
Raw
History Blame Contribute Delete
3.23 kB
.feedbackContainer {
margin-top: 1.5rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.03);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.voteButtons {
display: flex;
align-items: center;
gap: 1rem;
}
.prompt {
color: rgba(255, 255, 255, 0.8);
font-size: 0.95rem;
font-weight: 500;
}
.voteBtn {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.9); /* Símbolo branco por padrão (não preto) */
width: 44px;
height: 44px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.voteBtn svg {
stroke: currentColor;
}
.likeBtn:hover {
background: var(--accent-primary); /* Azul idêntico ao do botão de exit */
border-color: var(--accent-primary);
color: #fff; /* Símbolo branco sólido no hover */
transform: scale(1.1);
}
.dislikeBtn:hover {
background: #ff4d4f; /* Vermelho idêntico ao retry do OOD */
border-color: #ff4d4f;
color: #fff; /* Símbolo branco sólido no hover */
transform: scale(1.1);
}
.voteBtn:active {
transform: scale(0.95);
}
.successMessage {
display: flex;
align-items: center;
gap: 0.5rem;
color: #52E028;
font-weight: 600;
animation: fadeIn 0.4s ease;
padding: 1rem;
}
.checkIcon {
background: rgba(82, 224, 40, 0.2);
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.loadingMessage {
color: rgba(255, 255, 255, 0.6);
font-style: italic;
font-size: 0.9rem;
}
.errorText {
color: #ff4d4f;
font-size: 0.85rem;
margin-left: 0.5rem;
}
.dislikeMenu {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
animation: slideDown 0.3s ease forwards;
}
.optionsGrid {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
margin: 1rem 0;
width: 100%;
}
.optionBtn {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #fff;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.2s ease;
}
.optionBtn:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.3);
}
.noneBtn {
border-color: rgba(255, 77, 79, 0.3);
color: #ff4d4f;
}
.noneBtn:hover {
background: rgba(255, 77, 79, 0.1);
border-color: rgba(255, 77, 79, 0.5);
}
.cancelBtn {
background: none;
border: none;
color: rgba(255, 255, 255, 0.5);
font-size: 0.85rem;
text-decoration: underline;
cursor: pointer;
}
.cancelBtn:hover {
color: rgba(255, 255, 255, 0.8);
}
.privacyNotice {
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.3);
text-align: center;
margin-top: 0.75rem;
line-height: 1.3;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(5px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}