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: Adjust feedback form styles for dark mode compatibility and resolved conflicts #431

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
135 changes: 134 additions & 1 deletion assets/css/darkmode.css
Original file line number Diff line number Diff line change
Expand Up @@ -1637,4 +1637,137 @@ body.nav-active { overflow: hidden; }
transform: translateY(-5px);
}
}


/* Dark mode feedback section styles */
/* Dark Mode */
/* Dark mode feedback section styles */
.feedback-Section {
position: fixed;
bottom: 20px;
right: 20px;
background-color: rgba(0, 0, 0, 0.5);
padding: 15px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
.feedback-button {
position: fixed;
right: 20px;
bottom: 20px;
background-color: hsl(357, 100%, 60%);
color: white;
padding: 15px;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
z-index: 1000;
max-width: 100%;
box-sizing: border-box;
}

.feedback-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 1000;
}

.feedbackPopUp {
position: fixed;
transform: translate(120%);
transition: all 1s ease-in-out;
right: 20px;
bottom: 20px;
background-color: hsl(357, 100%, 60%);
color: white;
padding: 15px;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
z-index: 1000;
max-width: 100%;
box-sizing: border-box;
}

.emojis {
font-size: 30px;
margin: 20px 0;
display: flex;
align-items: center;
justify-content: space-evenly;
}

.emoji {
cursor: pointer;
margin: 0 10px;
transition: transform 0.2s;
}

.emoji:hover {
transform: scale(1.2);
}

.emoji.selected {
border: 1px solid black; /* Highlight selected emoji */
border-radius: 5px;
}

.modal-content {
background-color: #333;
color: white;
box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
padding: 20px;
border-radius: 5px;
width: 300px;
text-align: center;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: rgb(239, 10, 10);
text-decoration: none;
cursor: pointer;
}

.buttons {
display: flex;
align-items: center;
justify-content: space-between;
}

button {
background-color: #4caf50;
color: white;
border: none;
padding: 10px;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}

input[type="email"],
textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #444;
border-radius: 4px;
}
.PopUpDisplay {
transition: all 1.5s ease-in-out;
transform: translate(0);
}
36 changes: 20 additions & 16 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -507,11 +507,15 @@ body.nav-active {
#Feedback
\*-----------------------------------*/

.feedback-Section{
display: flex;
flex-direction: column;
border:1px solid black;
padding: 3rem;
.feedback-Section {
position: fixed;
bottom: 20px;
right: 20px;
background-color: rgba(0, 0, 0, 0.5);
padding: 15px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

.feedback-button {
Expand All @@ -523,7 +527,7 @@ body.nav-active {
padding: 15px;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

Expand All @@ -534,7 +538,7 @@ body.nav-active {
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 1000;
Expand All @@ -546,7 +550,7 @@ body.nav-active {
border-radius: 5px;
width: 300px;
text-align: center;
box-shadow: 0 4px 16px rgba(0,0,0,0.2);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.close {
Expand All @@ -558,7 +562,7 @@ body.nav-active {

.close:hover,
.close:focus {
color: black;
color: rgb(239, 10, 10);
text-decoration: none;
cursor: pointer;
}
Expand Down Expand Up @@ -586,14 +590,14 @@ body.nav-active {
border-radius: 5px;
}


.buttons{
.buttons {
display: flex;
align-items: center;
justify-content: space-between;
}

textarea, input[type="email"] {
textarea,
input[type="email"] {
width: 100%;
padding: 10px;
margin: 10px 0;
Expand All @@ -602,7 +606,7 @@ textarea, input[type="email"] {
}

button {
background-color: #4CAF50;
background-color: #4caf50;
color: white;
border: none;
padding: 10px;
Expand All @@ -614,7 +618,7 @@ button:hover {
background-color: #45a049;
}

.feedbackPopUp{
.feedbackPopUp {
position: fixed;
transform: translate(120%);
transition: all 1s ease-in-out;
Expand All @@ -625,11 +629,11 @@ button:hover {
padding: 15px;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

.PopUpDisplay{
.PopUpDisplay {
transition: all 1.5s ease-in-out;
transform: translate(0);
}
Expand Down