-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge pull request #157 from makeopensource/task-86-update_for_studen…
…t's_submissions_page Task 86 update for student's submissions page
Showing
6 changed files
with
310 additions
and
39 deletions.
There are no files selected for viewing
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
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
141 changes: 141 additions & 0 deletions
141
devU-client/src/components/pages/submissions/submissionDetailPage.scss
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 |
---|---|---|
@@ -0,0 +1,141 @@ | ||
@import 'variables'; | ||
|
||
.heading { | ||
text-align: center; | ||
margin-left:250px; | ||
|
||
} | ||
.scores { | ||
padding: 20px; | ||
} | ||
|
||
.submissionsLayout { | ||
display: flex; | ||
gap: 50px; | ||
} | ||
|
||
.submissionsContainer { | ||
flex: 1; | ||
max-width: 250px; | ||
padding-right: 10px; | ||
overflow-y: auto; | ||
} | ||
|
||
.submissionCard { | ||
margin-bottom: 15px; | ||
cursor: pointer; | ||
} | ||
|
||
.submissionContent { | ||
flex: 2; | ||
max-height: 800px; | ||
overflow-y: auto; | ||
padding: 0 20px; | ||
background-color: $background; | ||
border: 1px solid #ddd; | ||
color: $text-color; | ||
border-radius: 30px; | ||
padding:30px; | ||
} | ||
|
||
pre { | ||
color: $text-color; | ||
white-space: pre-wrap; | ||
word-wrap: break-word; | ||
font-size: 12px; | ||
} | ||
|
||
.feedbackContainer{ | ||
background-color: $background; | ||
|
||
} | ||
|
||
.scoreDisplay { | ||
|
||
color:$text-color; | ||
|
||
} | ||
|
||
.content_title{ | ||
display: inline-block; | ||
padding: 5px 10px; | ||
background-color: $secondary; | ||
color: $text-color; | ||
border-radius: 5px; | ||
font-size: 1rem; | ||
font-weight: bold; | ||
text-align: left; | ||
margin-bottom: 10px; | ||
margin-top:30px; | ||
} | ||
|
||
.scrollableContent { | ||
max-height: 350px; | ||
overflow-y: auto; | ||
border: 1px solid $background; | ||
padding: 10px; | ||
background-color: $background; | ||
border-radius: 5px; | ||
border: 2px solid $text-color; | ||
padding:0px; | ||
} | ||
p{ | ||
text-align: left; | ||
margin-left: 10px; | ||
} | ||
|
||
.scrollableContent::-webkit-scrollbar { | ||
width: 12px; /* Width of the scrollbar */ | ||
} | ||
|
||
.scrollableContent::-webkit-scrollbar-thumb { | ||
background-color: $purple; | ||
border-radius: 10px; | ||
} | ||
|
||
.scrollableContent::-webkit-scrollbar-track { | ||
background-color: #f0f0f0; | ||
} | ||
|
||
.problemAnswerContainer { | ||
margin-top: 10px; | ||
max-height: 400px; | ||
overflow-y: auto; | ||
padding: 10px; | ||
background-color: $background; | ||
border-radius: 5px; | ||
} | ||
|
||
.assignmentTable { | ||
width: 100%; | ||
border-collapse: collapse; | ||
} | ||
|
||
.assignmentTable th, .assignmentTable td { | ||
|
||
padding: 8px; | ||
text-align: left; | ||
} | ||
|
||
.assignmentTable th { | ||
background-color: $background; | ||
font-weight: bold; | ||
} | ||
|
||
.assignmentTable tr:nth-child(even) { | ||
background-color: $background; | ||
} | ||
|
||
.sub_list{ | ||
text-align: center; | ||
|
||
} | ||
@media (max-width: 768px) { | ||
.submissionsContainer { | ||
display:none; | ||
} | ||
.heading { | ||
margin:10px; | ||
} | ||
|
||
} |
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