-
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.
Updated styling of the submissions details page for students, added a…
… submission summary and card that presents the feedback and content of the submission
- Loading branch information
1 parent
0f95425
commit 9c29319
Showing
6 changed files
with
255 additions
and
50 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
124 changes: 124 additions & 0 deletions
124
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,124 @@ | ||
@import 'variables'; | ||
|
||
.scores { | ||
padding: 20px; | ||
} | ||
|
||
.submissionsLayout { | ||
display: flex; | ||
gap: 20px; | ||
} | ||
|
||
.submissionsContainer { | ||
flex: 1; | ||
max-width: 250px; | ||
border-right: 1px solid lightgray; | ||
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: center; | ||
} | ||
|
||
.assignmentTable th { | ||
background-color: $background; | ||
font-weight: bold; | ||
} | ||
|
||
.assignmentTable tr:nth-child(even) { | ||
background-color: $background; | ||
} | ||
|
Oops, something went wrong.