• 25-01-2025, 13:02:02
    #1
    Merhaba,

    woocommerce gelişim serilerime kaldığım yerden devam ediyorum, bir önce ki konularım :

    https://www.r10.net/wordpress-woocom...ek-kodlar.html
    https://www.r10.net/wordpress-woocom...-gosterme.html
    https://www.r10.net/wordpress-woocom...enliyoruz.html

    yapacağımız işlem woocommerce genel class sınıfları ile yapılmıştır mantık olarak hepsinde çalışır fakat uyumluluk olarak woodmart ile %100 uyumludur.

    .rating-stars {
      font-size: 20px;
      color: #f4c542;  
      cursor: pointer;
      display: inline-flex;
      gap: 5px;
    }
    
    .rating-stars .star {
      transition: transform 0.3s ease, color 0.3s ease;
    }
    
    
    .rating-stars .star:hover,
    .rating-stars .star.active {
      color: #ffab00; 
      transform: scale(1.1);  
    }
    
    
    .rating-stars .star.active {
      color: #ffab00;  /* Yıldız aktifse altın rengi */
    }
    
    
    .comment-form textarea {
      width: 100%;
      padding: 15px;
      border-radius: 8px;
      border: 1px solid #ddd;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      font-size: 16px;
      background-color: #fafafa;
      transition: all 0.3s ease;
    }
    
    .comment-form textarea:focus {
      border-color: #007bff;
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    }
    
    .comment-form button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    
    .comment-form button:hover {
      background-color: #0056b3;
    }
    
    
    .comment-meta {
      font-size: 14px;
      color: #666;
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    
    .comment-meta .comment-author {
      font-weight: bold;
      color: #333;
    }
    
    .comment-meta .comment-date {
      font-style: italic;
      color: #888;
    }
    
    .comment-body {
      font-size: 16px;
      line-height: 1.6;
      color: #333;
    }
    /* Yorum Listelemesi */
    .comments-area {
      margin-top: 30px;
      font-family: Arial, sans-serif;
    }
    
    .comment {
      padding: 20px;
      border-bottom: 1px solid #f1f1f1;
      margin-bottom: 20px;
      transition: background-color 0.3s ease;
    }
    
    .comment:hover {
      background-color: #f9f9f9;
    }
    
    .comment .comment-body {
      margin-top: 10px;
    }
    
    
    .review-success {
      background-color: #28a745;
      color: white;
      padding: 15px;
      border-radius: 8px;
      margin-top: 20px;
      text-align: center;
      font-size: 16px;
    }
    
    .review-success p {
      margin: 0;
    }
    
    
    #pros {
      background-color: #e8f5e9;  
      border: 2px solid #4caf50;  
      color: #388e3c;  
      border-radius: 12px;  
      padding: 20px;
      font-size: 16px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: background-color 0.3s ease, transform 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  
    }
    
    #pros:hover {
      background-color: #c8e6c9;  
      transform: translateY(-5px);  
    }
    
    #pros i {
      color: #4caf50; 
      font-size: 24px; 
    }
    
    
    #cons {
      background-color: #fbe9e7;  
      border: 2px solid #e57373;  
      color: #d32f2f;  
      border-radius: 12px;  
      padding: 20px;
      font-size: 16px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: background-color 0.3s ease, transform 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  
    }
    
    #cons:hover {
      background-color: #f8d7da; 
      transform: translateY(-5px);  
    }
    
    #cons i {
      color: #e57373;  
      font-size: 24px;  
    }
    
    
    .wd-rating-summary-cont {
      background-color: #ffffff; 
      padding: 25px;
      border-radius: 12px; 
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); 
      font-family: 'Helvetica Neue', sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 100%; 
      max-width: none; 
    }
    
    
    .wd-rating-summary-cont .star-rating {
      font-size: 24px;
      color: #FFD700; 
      margin-bottom: 15px;
    }
    
    
    .wd-rating-summary-cont .wd-rating-text {
      font-size: 18px;
      font-weight: 600; 
      color: #333;
      margin-top: 8px;
      letter-spacing: 0.5px; 
    }
    
    
    .wd-rating-summary-cont .review-count {
      font-size: 14px;
      color: #999; /* Gri renk */
      margin-top: 10px;
      letter-spacing: 0.5px;
    }
    
    
    .wd-rating-summary-cont:hover {
      transform: translateY(-8px); 
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); 
      transition: all 0.3s ease;
    }
    
    
    .wd-rating-summary-cont .star-rating:hover {
      color: #FFCC00; 
    }
    Olumlu yönü ve Olumsuz yönü alanlarını kendiniz woodmart dil dosyasından değiştirebilirsiniz bu alanlarda bu arada hareket efekti vardır bilginize.


    GÖRÜNÜM :





    MOBİL GÖRÜNÜM :



  • 25-01-2025, 13:15:04
    #2
    Teşekkürler sık kullanılanlara ekledim