File: /home/salamatk/www/wp-content/plugins/woodmart-plus/assets/css/feedback-page.css
body.feedbackpage-myaccount p {
margin: 0;
}
.white_card.feedback_page{
display: flex;
flex-direction: column;
gap: 1rem;
border-radius: 1rem;
padding: 1.5rem;
background-color: white;
box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1);
}
.feedback_page .card_header {
display: flex;
align-items: center;
gap: 0.5rem;
background-color: #f2f2f2 !important;
border-radius: 10px;
padding: 8px;
}
.feedback_page .card_header .title {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--black-0);
font-size: 0.9rem;
}
.feedback_page .card_header hr {
flex-grow: 1;
}
.empty-feedback-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 40px 20px;
grid-column: 1 / -1;
background-color: #f9f9f9;
border-radius: 15px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
min-height: 300px;
}
.empty-feedback-icon {
margin-bottom: 20px;
color: #d85454;
animation: float 3s ease-in-out infinite;
}
.empty-feedback-state h3 {
font-size: 18px;
color: #333;
margin-bottom: 10px;
font-weight: bold;
}
.empty-feedback-state p {
color: #777;
max-width: 400px;
line-height: 1.6;
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0px);
}
}
.feather-empty-box .feedback-circle {
opacity: 0.2;
animation: pulse 2s infinite;
}
.feather-empty-box .feedback-check {
stroke-dasharray: 15;
stroke-dashoffset: 15;
animation: draw 3s ease-in-out infinite;
}
@keyframes pulse {
0% {
opacity: 0.2;
}
50% {
opacity: 0.5;
}
100% {
opacity: 0.2;
}
}
@keyframes draw {
50% {
stroke-dashoffset: 0;
}
100% {
stroke-dashoffset: 15;
}
}
.items {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 15px;
}
.product_items {
border: 1px solid #f0f0f0;
padding: 10px;
border-radius: 13px;
}
.product_items .product_title {
font-size: 14px;
margin: 11px 0;
}
body.feedbackpage-myaccount button.btn_send_review {
width: 100%;
border-radius: 10px;
border: 1px solid var(--main-color,#8224e3);
background-color: var(--main-color,#8224e3);
}
.feedback-tabs {
margin-top: 20px;
}
.tab-header {
display: flex;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 20px;
}
.tab-btn {
padding: 10px 20px;
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.3s ease;
font-weight: bold;
}
.tab-btn.active {
border-bottom: 2px solid var(--main-color,#8224e3);
color: var(--main-color,#8224e3);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.product_feedback_info {
display: flex;
justify-content: space-between;
font-size: 12px;
margin-top: 10px;
color: #666;
}
.feedback-status {
padding: 2px 8px;
border-radius: 4px;
background-color: #f0f0f0;
}
.popup-overlay.show,
.popup-feedback.show {
opacity: 1;
visibility: visible;
}
.popup-overlay {
z-index: 1102;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.7);
inset: 0;
position: fixed;
opacity: 0;
visibility: hidden;
transition: all 0.45s cubic-bezier(0.19, 1, 0.22, 1);
cursor: pointer;
}
.popup-feedback {
width: 500px;
height: 485px;
position: fixed;
z-index: 1110;
/* overflow: hidden; */
opacity: 0;
visibility: hidden;
background-color: rgb(255, 255, 255);
border-radius: 8px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.popup-feedback .feedback-popup-close {
position: absolute;
left: -5%;
top: -5%;
transform: translate(-50%, -50%);
/* border: 1px solid red; */
z-index: 1110;
}
.product_show {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.popup-feedback .feedback-popup-close i {
color: #ffff;
font-size: 22px;
}
.popup-content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
flex-direction: column;
}
.product_detial {
display: flex;
justify-content: space-between;
align-items: center;
}
.product_detial .img_product {
width: 80px;
height: auto !important;
}
.product_detial .product_title {
font-size: 14px;
margin-right: 10px;
}
.notic-feedback span {
padding: 12px;
display: block;
margin-top: 14px;
border-radius: 3px;
}
.feedback-success span {
background: #a6e0a6;
}
.feedback-error span {
background: #ef4545;
color: #ffff;
}
button.button_loader {
pointer-events: none;
}
.btn_feedback {
background-color: var(--main-color,#8224e3) !important;
border-radius: 7px;
color: #fff;
position: relative;
}
.lds-ring-feedback,
.lds-ring-feedback div {
box-sizing: border-box;
}
.lds-ring-feedback {
display: none;
position: relative;
width: 80px;
height: 80px;
position: absolute;
left: auto;
right: 50%;
bottom: 0;
top: 50%;
transform: translate(50px, -50px);
}
.lds-ring-feedback div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid currentColor;
border-radius: 50%;
animation: lds-ring-feedback 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: currentColor transparent transparent transparent;
}
.lds-ring-feedback div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring-feedback div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring-feedback div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring-feedback {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.lds-ellipsis-feedback,
.lds-ellipsis-feedback div {
box-sizing: border-box;
}
.lds-ellipsis-feedback {
display: none;
position: absolute;
width: 80px;
height: 80px;
}
.lds-ellipsis-feedback div {
position: absolute;
top: 33.33333px;
width: 13.33333px;
height: 13.33333px;
border-radius: 50%;
background: currentColor;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis-feedback div:nth-child(1) {
left: 8px;
animation: lds-ellipsis-feedback1 0.6s infinite;
}
.lds-ellipsis-feedback div:nth-child(2) {
left: 8px;
animation: lds-ellipsis-feedback2 0.6s infinite;
}
.lds-ellipsis-feedback div:nth-child(3) {
left: 32px;
animation: lds-ellipsis-feedback2 0.6s infinite;
}
.lds-ellipsis-feedback div:nth-child(4) {
left: 56px;
animation: lds-ellipsis-feedback3 0.6s infinite;
}
.product_items img {
width: 100%;
height: auto;
}
@keyframes lds-ellipsis-feedback1 {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@keyframes lds-ellipsis-feedback3 {
0% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}
@keyframes lds-ellipsis-feedback2 {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(24px, 0);
}
}
/* Feedback item styling */
.product_items.feedback-item {
display: flex;
flex-direction: column;
padding: 15px;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.2s, box-shadow 0.2s;
}
.product_items.feedback-item:hover {
transform: translateY(-3px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Product details section */
.product_items .details {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #f0f0f0;
}
.product_items .product_image {
width: 60px;
height: 60px;
border-radius: 8px;
overflow: hidden;
border: 1px solid #eee;
display: flex;
align-items: center;
justify-content: center;
}
.product_items .product_image img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.product_items .title_product {
flex: 1;
margin-right: 15px;
}
.product_items .title_product a {
color: #333;
font-weight: 600;
font-size: 14px;
text-decoration: none;
transition: color 0.2s;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.product_items .title_product a:hover {
color: #d85454;
}
/* Rating and date section */
.product_items .product_body {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #f0f0f0;
}
.product_items .rating_user_added {
display: flex;
align-items: center;
}
.product_items .rating_user_added .star-icon {
margin-left: 2px;
}
.product_items .date_user_added_rating {
font-size: 12px;
color: #888;
background-color: #f9f9f9;
padding: 4px 8px;
border-radius: 4px;
}
/* Comment section */
.product_footer.user_comment {
padding-top: 5px;
}
.comment-container {
position: relative;
}
.comment-text {
margin: 0;
font-size: 13px;
line-height: 1.6;
color: #555;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
transition: all 0.3s ease;
}
.comment-text.expanded {
-webkit-line-clamp: unset;
max-height: 300px;
overflow-y: auto;
}
body.feedbackpage-myaccount .read-more-btn {
background: none;
border: none;
color: var(--main-color,#8224e3);
font-size: 12px;
cursor: pointer;
padding: 2px 5px;
margin-top: 5px;
font-weight: bold;
transition: all 0.2s ease;
display: inline-block;
}
body.feedbackpage-myaccount .read-more-btn:hover {
text-decoration: underline;
color: var(--red-5);
}
.product_footer .no-comment {
color: #999;
font-style: italic;
margin: 0;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.items {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 576px) {
.items {
grid-template-columns: 1fr;
}
.product_items .details {
flex-direction: column;
align-items: flex-start;
}
.product_items .product_image {
margin-bottom: 10px;
}
.product_items .title_product {
margin-right: 0;
}
}
/* No Feedback Item Styling */
.product_items.no-feedback-item {
display: flex;
flex-direction: column;
padding: 15px;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.2s, box-shadow 0.2s;
height: 100%;
}
.product_items.no-feedback-item:hover {
transform: translateY(-3px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Header section with product title and image */
.header_product_items {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #f0f0f0;
}
.header_product_items .title {
flex: 1;
margin-right: 15px;
}
.header_product_items .title a {
color: #333;
font-weight: 600;
font-size: 14px;
text-decoration: none;
transition: color 0.2s;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.header_product_items .title a:hover {
color: var(--red-5);
}
.header_product_items .product_image {
width: 60px;
height: 60px;
border-radius: 8px;
overflow: hidden;
border: 1px solid #eee;
display: flex;
align-items: center;
justify-content: center;
}
.header_product_items .product_image img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
/* Footer section with button */
.footer_product_items {
margin-top: auto;
padding-top: 10px;
}
body.feedbackpage-myaccount .btn_send_review {
width: 100%;
padding: 10px 15px;
border: none;
border-radius: 8px;
background-color: #f9f9f9;
color: white;
font-weight: 600;
font-size: 13px;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
body.feedbackpage-myaccount .btn_send_review:hover {
background-color: var(--red-5,#8224e39c);
color: white;
}
.btn_send_review svg {
margin-left: 8px;
transition: transform 0.2s;
}
.btn_send_review:hover svg {
transform: rotate(72deg);
stroke: white;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.items {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 576px) {
.items {
grid-template-columns: 1fr;
}
.header_product_items {
flex-direction: column-reverse;
align-items: flex-start;
}
.header_product_items .product_image {
margin-bottom: 10px;
align-self: center;
width: 80px;
height: 80px;
}
.header_product_items .title {
margin-left: 0;
text-align: center;
width: 100%;
}
}
.feedback-popup-container {
padding: 20px;
max-width: 100%;
font-family: inherit;
}
.product-feedback-header {
display: flex;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}
.product-feedback-image {
width: 80px;
height: 80px;
overflow: hidden;
border-radius: 8px;
margin-left: 15px;
border: 1px solid #eee;
display: flex;
align-items: center;
justify-content: center;
}
.product-feedback-image img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.product-feedback-info {
flex: 1;
}
.product-feedback-title {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
}
.product-feedback-title a {
color: #333;
text-decoration: none;
transition: color 0.2s;
}
.product-feedback-title a:hover {
color: #d85454;
}
.product-feedback-subtitle {
margin: 0;
color: #777;
font-size: 13px;
}
.product-feedback-rating{
display: flex;
align-items: center;
justify-content: space-around;
}
.product-feedback-rating,
.product-feedback-comment {
margin-bottom: 25px;
}
.rating-title,
.comment-title {
font-size: 15px;
margin: 0 0 12px 0;
font-weight: 600;
color: #333;
}
.star-rating-feedback-container {
display: flex;
align-items: center;
}
.star-rating-feedback {
display: flex !important;
flex-direction: row-reverse;
justify-content: flex-end;
}
.star-rating-feedback input {
display: none;
}
.star-rating-feedback label {
cursor: pointer;
width: 30px;
height: 30px;
margin-left: 5px;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.star-rating-feedback label .star-icon {
stroke: #ccc;
fill: transparent;
transition: all 0.2s ease;
}
.star-rating-feedback input:checked ~ label .star-icon,
.star-rating-feedback label:hover .star-icon,
.star-rating-feedback label:hover ~ label .star-icon {
stroke: #FFB900;
fill: #FFB900;
}
.rating-value-display {
margin-right: 15px;
font-size: 14px;
color: #666;
display: flex;
align-items: baseline;
}
.rating-number {
font-size: 18px;
font-weight: bold;
color: #333;
margin-left: 5px;
}
.comment-textarea-container {
position: relative;
}
.product-feedback-comment textarea {
width: 100%;
min-height: 120px !important;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 8px;
resize: vertical;
font-family: inherit;
font-size: 14px;
transition: border-color 0.2s;
}
.product-feedback-comment textarea:focus {
border-color: #d85454;
outline: none;
}
.product-feedback-submit {
text-align: left;
}
body.feedbackpage-myaccount .btn_feedback {
background-color: #d85454;
color: white;
border: none;
border-radius: 8px;
padding: 10px 25px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
position: relative;
transition: background-color 0.2s;
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
height: 42px;
}
.btn_feedback:hover {
background-color: #c04545;
}
.btn_feedback span {
position: relative;
z-index: 2;
}
/* Keep the existing loader styles */
.star-rating-feedback:before {
content: none !important;
display: none !important;
}