forked from CSI-KJSCE/appointment_to_examiner
130 lines
1.8 KiB
CSS
130 lines
1.8 KiB
CSS
/* CourseForm.css */
|
|
.form-container {
|
|
max-width: 600px;
|
|
margin: 50px auto;
|
|
padding: 20px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 10px;
|
|
background-color: #f9f9f9;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
label {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
color: #555;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
input[type="text"] {
|
|
padding: 10px;
|
|
font-size: 1rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background-color: #fff;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
input[type="text"]:focus {
|
|
border-color: #007bff;
|
|
outline: none;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 15px;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
background-color: #007bff;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
button:active {
|
|
background-color: #003d7a;
|
|
}
|
|
|
|
button[type="submit"] {
|
|
align-self: center;
|
|
width: 50%;
|
|
}
|
|
|
|
.suggestions {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 1px solid #ccc;
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
background: #fff;
|
|
position: absolute;
|
|
width: 100%;
|
|
z-index: 10;
|
|
}
|
|
|
|
.suggestions li {
|
|
padding: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.suggestions li:hover {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.error-message {
|
|
color: red;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.error input {
|
|
border-color: red;
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
.form-container {
|
|
margin: 20px;
|
|
padding: 15px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
button[type="submit"] {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.remove-faculty-btn {
|
|
padding: 0px 0px;
|
|
background: none;
|
|
border: none;
|
|
color: red;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.remove-faculty-btn:hover {
|
|
color: darkred;
|
|
} |