الگو:نظرات مشتری: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(یک نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<html lang="fa" dir="rtl">
<html lang="fa" dir="rtl">
<head>
<head>
خط ۱۸: خط ۱۷:
             font-family: 'IRANSans', Tahoma, sans-serif;
             font-family: 'IRANSans', Tahoma, sans-serif;
             background-color: #fcfcfc;
             background-color: #fcfcfc;
             padding: 20px;
             padding: 10px;
            margin: 0;
             color: #333;
             color: #333;
         }
         }


         .comments-section {
         .comments-section {
             max-width: 900px;
            width: 100%;
             max-width: 1000px;
             margin: 0 auto;
             margin: 0 auto;
             background: #fff;
             background: #fff;
             border-radius: 12px;
             border-radius: 12px;
             padding: 25px;
            /* پدینگ داینامیک برای ریسپانسیو بودن */
             padding: clamp(15px, 3vw, 25px);
             box-shadow: 0 2px 15px rgba(0,0,0,0.04);
             box-shadow: 0 2px 15px rgba(0,0,0,0.04);
            box-sizing: border-box;
         }
         }


         .header-title {
         .header-title {
             font-size: 1.3rem;
             font-size: clamp(1.1rem, 4vw, 1.3rem);
             font-weight: bold;
             font-weight: bold;
             margin-bottom: 20px;
             margin-bottom: 20px;
خط ۴۸: خط ۵۱:
         }
         }


         /* چیدمان نام و تاریخ در راست، پیشنهاد و ستاره در چپ */
         /* چیدمان منعطف */
         .meta-container {
         .meta-container {
             display: flex;
             display: flex;
خط ۵۴: خط ۵۷:
             align-items: center;
             align-items: center;
             flex-wrap: wrap;
             flex-wrap: wrap;
            gap: 15px;
             margin-bottom: 15px;
             margin-bottom: 15px;
            gap: 10px;
         }
         }


خط ۷۴: خط ۷۷:
             display: flex;
             display: flex;
             align-items: center;
             align-items: center;
             gap: 12px;
             gap: 10px;
         }
         }


خط ۸۲: خط ۸۵:
             padding: 4px 12px;
             padding: 4px 12px;
             border-radius: 20px;
             border-radius: 20px;
             font-size: 0.75rem;
             font-size: 0.70rem;
            white-space: nowrap;
         }
         }


         .stars-box {
         .stars-box {
             font-size: 0.9rem;
             font-size: 0.85rem;
             display: flex;
             display: flex;
             align-items: center;
             align-items: center;
خط ۹۴: خط ۹۸:
         .stars-gold {
         .stars-gold {
             color: var(--star-color);
             color: var(--star-color);
            letter-spacing: 1px;
         }
         }


         .comment-content h4 {
         .comment-content h4 {
             margin: 0 0 10px 0;
             margin: 0 0 8px 0;
             font-size: 1.05rem;
             font-size: 1rem;
         }
         }


خط ۱۰۵: خط ۱۰۸:
             font-size: 0.9rem;
             font-size: 0.9rem;
             color: #666;
             color: #666;
             line-height: 1.8;
             line-height: 1.7;
             margin-bottom: 15px;
             margin-bottom: 15px;
            word-wrap: break-word;
         }
         }


        /* پاسخ مدیریت */
         .admin-reply {
         .admin-reply {
             background-color: #fafafa;
             background-color: #fafafa;
             border-right: 4px solid #ff7900;
             border-right: 4px solid #ff7900;
             padding: 12px 15px;
             padding: 10px 15px;
             margin-top: 10px;
             margin-top: 10px;
             font-size: 0.85rem;
             font-size: 0.85rem;
خط ۱۲۶: خط ۱۲۹:
         }
         }


        /* دکمه‌های لایک و دیس لایک در سمت چپ بدون عدد */
         .action-area {
         .action-area {
             display: flex;
             display: flex;
             justify-content: flex-start; /* لایک‌ها در سمت چپ قرار می‌گیرند */
             justify-content: flex-start;
             margin-top: 15px;
             margin-top: 15px;
         }
         }
خط ۱۴۱: خط ۱۴۳:
             background: none;
             background: none;
             border: 1px solid #eee;
             border: 1px solid #eee;
             padding: 5px 15px;
             padding: 8px 16px; /* بزرگتر برای لمس راحت‌تر */
             border-radius: 8px;
             border-radius: 8px;
             cursor: pointer;
             cursor: pointer;
             color: #ccc;
             color: #ccc;
             transition: 0.3s;
             transition: 0.3s;
             font-size: 1.1rem;
             font-size: 1rem;
         }
         }


خط ۱۵۴: خط ۱۵۶:
         }
         }


         /* ریسپانسیو برای موبایل */
         /* شکستن چیدمان در موبایل های کوچک */
         @media (max-width: 600px) {
         @media (max-width: 550px) {
             .meta-container {
             .meta-container {
                 flex-direction: column-reverse;
                 flex-direction: column;
                 align-items: flex-start;
                 align-items: flex-start;
                gap: 10px;
             }
             }
             .rating-side {
             .rating-side {
                 width: 100%;
                 width: 100%;
                 justify-content: space-between;
                 justify-content: space-between;
                margin-bottom: 5px;
             }
             }
         }
         }