Files
CK-X/app/public/css/feedback.css
2025-04-02 10:39:59 +05:30

101 lines
1.8 KiB
CSS

.feedback-prompt {
background-color: #f8f9fa;
border-left: 4px solid #5F7FFF;
border-radius: 4px;
padding: 12px 15px;
margin: 20px 0;
font-size: 15px;
text-align: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.feedback-prompt:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
transform: translateY(-2px);
}
.feedback-prompt a {
color: #5F7FFF;
font-weight: 500;
text-decoration: none;
}
.feedback-prompt a:hover {
text-decoration: underline;
}
/* Toast notification styles */
.toast-notification {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9999;
max-width: 300px;
background: white;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
overflow: hidden;
animation: slideIn 0.5s ease forwards;
}
@keyframes slideIn {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
from { transform: translateX(0); opacity: 1; }
to { transform: translateX(100%); opacity: 0; }
}
.toast-content {
padding: 15px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.toast-icon {
color: #5F7FFF;
font-size: 24px;
margin-right: 12px;
}
.toast-message {
flex: 1;
min-width: 150px;
}
.toast-message p {
margin: 0;
font-size: 14px;
line-height: 1.4;
}
.toast-button {
display: inline-block;
margin-top: 10px;
padding: 5px 12px;
background: #5F7FFF;
color: white;
border-radius: 4px;
font-size: 14px;
text-decoration: none;
transition: background 0.3s;
}
.toast-button:hover {
background: #4967e6;
}
.toast-close {
position: absolute;
top: 8px;
right: 8px;
background: none;
border: none;
font-size: 18px;
cursor: pointer;
color: #666;
}