style.css

 avatar
denisbauer
css
12 days ago
1.8 kB
0
Indexable
/* ---- Downvote message ----------- */
.downvote-message {
  display: none;
  border: 0px;
  text-align: center;
  animation: slideFade 0.5s ease;
}

@keyframes slideFade {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUpFadeOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-20px);
    opacity: 0;
  }
}
#feedback-form {
  animation-fill-mode: forwards;
}
#submit-feedback {
  background-color: #7c8ef1;
  color: #fff;
  border-radius: 20px;
  font-size: 18px; /* Increase the font size */
  padding: 12px 24px; /* Add more padding */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#submit-feedback {
  background-color: #7c8ef1;
  color: #fff;
  border-radius: 20px;
  font-size: 18px; /* Increase the font size */
  padding: 12px 24px; /* Add more padding */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#submit-feedback:hover {
  background-color: #f0907e;
}
/* Modify the text field style */
#feedback-form textarea {
  width: 100%; /* Set the width of the textarea to 100% */
  height: 150px; /* Set the height of the textarea */
  border-radius: 5px; /* Add rounded corners */
  padding: 8px; /* Add some padding inside the textarea */
  resize: vertical; /* Allow resizing the textarea only vertically */
  box-sizing: border-box; /* Make sure the padding and border are included in the total width and height */
  background-color: rgba(255, 255, 255, 0.7) !important; /* White background with 30% transparency */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle drop shadow */
}
/* Remove the border for the div containing the feedback form */
.downvote-message {
  border: none; /* Remove the border */
}
Leave a Comment