forked from vacaramin/Virtual-Horizon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef63091
commit f32345f
Showing
4 changed files
with
97 additions
and
185 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
frontend/src/Components/StudentDashboard/ContentArea/Subjects/Classroom/Quizzess/Quizzes.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
215 changes: 59 additions & 156 deletions
215
frontend/src/Components/StudentDashboard/ContentArea/Tutor/Tutor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,157 +1,60 @@ | ||
.tutor-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 40px; | ||
background-color: #f2f2f2; | ||
border-radius: 8px; | ||
text-align: center; | ||
width: 80%; | ||
margin: 0 auto; | ||
} | ||
|
||
.tutor-buttons { | ||
display: flex; | ||
justify-content: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.tutor-buttons button { | ||
margin-right: 10px; | ||
padding: 8px 16px; | ||
font-size: 16px; | ||
border-radius: 8px; | ||
border: none; | ||
background-color: #f7cb46; | ||
color: #fff; | ||
cursor: pointer; | ||
} | ||
|
||
.tutor-buttons button.active { | ||
background-color: #243047; | ||
} | ||
|
||
.available-tutors { | ||
text-align: center; | ||
} | ||
|
||
.available-tutors h2 { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.available-tutors ul { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.available-tutors li { | ||
padding: 8px; | ||
margin-bottom: 5px; | ||
background-color: #e1e1e1; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
} | ||
|
||
.available-tutors li:hover { | ||
background-color: #d1d1d1; | ||
} | ||
|
||
.selected-tutor { | ||
margin-top: 20px; | ||
} | ||
|
||
.selected-tutor h3 { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.become-tutor-form { | ||
text-align: center; | ||
} | ||
|
||
.become-tutor-form h2 { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.become-tutor-form form { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.become-tutor-form label { | ||
margin-bottom: 5px; | ||
} | ||
|
||
.become-tutor-form input { | ||
padding: 8px; | ||
margin-bottom: 10px; | ||
border-radius: 8px; | ||
border: 1px solid #e1e1e1; | ||
} | ||
|
||
.become-tutor-form button { | ||
padding: 8px 16px; | ||
font-size: 16px; | ||
border-radius: 8px; | ||
border: none; | ||
background-color: #f7cb46; | ||
color: #fff; | ||
cursor: pointer; | ||
} | ||
|
||
.become-tutor-form button[type='submit'] { | ||
background-color: #243047; | ||
} | ||
.confirm-tutor-button { | ||
margin-top: 10px; | ||
} | ||
|
||
.confirm-tutor-button button { | ||
padding: 8px 16px; | ||
font-size: 16px; | ||
border-radius: 8px; | ||
border: none; | ||
background-color: #f7cb46; | ||
color: #fff; | ||
cursor: pointer; | ||
} | ||
|
||
.confirm-tutor-button button:hover { | ||
background-color: #243047; | ||
} | ||
.card { | ||
border: 1px solid #5e4949; | ||
border-radius: 8px; | ||
padding: 20px; | ||
width: 300px; | ||
height: 150px; | ||
position: relative; | ||
margin: 10px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
cursor: pointer; | ||
margin: 10px; | ||
|
||
|
||
/* CSS for the AvailableTutor component */ | ||
.card { | ||
border: 1px solid #ccc; | ||
border-radius: 8px; | ||
padding: 20px; | ||
width: 300px; | ||
margin: 10px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.top-part { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.profile-pic img { | ||
width: 60px; | ||
height: 60px; | ||
border-radius: 50%; | ||
object-fit: cover; | ||
margin-right: 10px; | ||
} | ||
|
||
.bottom-part { | ||
margin-top: 20px; | ||
} | ||
|
||
.course-description { | ||
font-size: 14px; | ||
} | ||
|
||
/* now small the space between cards */ | ||
margin-bottom: 50px; | ||
margin-top: 10px; | ||
|
||
} | ||
|
||
.cards-container { | ||
display: flex; | ||
flex-wrap: wrap; /* Allow cards to wrap to the next line if there isn't enough space */ | ||
justify-content: space-between; /* Distribute cards evenly */ | ||
} | ||
|
||
|
||
.card:hover { | ||
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.top-part { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.profile-pic img { | ||
width: 60px; | ||
height: 60px; | ||
border-radius: 50%; | ||
object-fit: cover; | ||
margin-right: 10px; | ||
} | ||
|
||
.bottom-part { | ||
margin-top: 20px; | ||
} | ||
|
||
h4 { | ||
margin: 0; | ||
font-size: 18px; | ||
} | ||
|
||
h3 { | ||
margin: 5px 0; | ||
font-size: 16px; | ||
} | ||
|
||
.course-description { | ||
font-size: 14px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters