mirror of
https://github.com/sailor-sh/CK-X.git
synced 2026-05-25 09:52:53 +00:00
194 lines
3.3 KiB
CSS
194 lines
3.3 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;
|
|
}
|
|
|
|
/* Feedback modal styles */
|
|
.feedback-form {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.rating-container {
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.star-rating {
|
|
display: inline-flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: center;
|
|
}
|
|
|
|
.star-rating input {
|
|
display: none;
|
|
}
|
|
|
|
.star-rating label {
|
|
cursor: pointer;
|
|
font-size: 30px;
|
|
color: #ddd;
|
|
margin: 0 5px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.star-rating label:hover,
|
|
.star-rating label:hover ~ label,
|
|
.star-rating input:checked ~ label {
|
|
color: #ffb33e;
|
|
}
|
|
|
|
.feedback-text {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.feedback-text label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.feedback-text textarea {
|
|
width: 100%;
|
|
padding: 5px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
resize: vertical;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.testimonial-option {
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.testimonial-option input[type="checkbox"] {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.form-field {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-field label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-field input {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
#testimonialFields {
|
|
padding: 10px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 4px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.form-field label .required {
|
|
color: #e74c3c;
|
|
margin-left: 3px;
|
|
} |