Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Rate Us Page Appearance Issue in Light Mode #402

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,6 @@ h3 {
border: solid 2px purple;
max-height: 24.625em;
overflow: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}

Expand Down Expand Up @@ -1974,6 +1973,66 @@ section.image {
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}

.light-mode .rateus-modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5); /* White background with transparency */
}

.light-mode .rateus-container {
max-width: 600px;
margin: 100px auto; /* Position the container a bit lower */
padding: 20px;
background-color: #f0ffff;
border-radius: 10px;
text-align: center;
}

.light-mode .rating-slider {
margin: 20px 0;
position: relative;
width: 80%;
margin-left: auto;
margin-right: auto;
}

.light-mode .rating-slider input[type="range"] {
width: 100%;
height: 15px;
background: linear-gradient(90deg, #ffcc00 60%, #ccc 60%);
border-radius: 10px;
outline: none;
opacity: 0.9;
-webkit-transition: opacity .15s ease-in-out;
transition: opacity .15s ease-in-out;
}

.light-mode .rating-slider input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
background: #ffcc00;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}

.light-mode .rating-slider input[type="range"]::-moz-range-thumb {
width: 25px;
height: 25px;
background: #ffcc00;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}

textarea {
width: 100%;
padding: 10px;
Expand Down
Loading