-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Responsive catalog with dashboard
- Loading branch information
Showing
50 changed files
with
1,215 additions
and
591 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default function Account() { | ||
return ( | ||
<div> | ||
<h1>Grades</h1> | ||
</div> | ||
); | ||
} |
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,7 +1,70 @@ | ||
.root { | ||
flex: 1 1 0; | ||
display: flex; | ||
flex-grow: 1; | ||
overflow: clip; | ||
height: 0; | ||
position: relative; | ||
min-height: 0; | ||
|
||
.view { | ||
flex-grow: 1; | ||
overflow: auto; | ||
} | ||
|
||
.panel { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.header { | ||
padding: 12px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-bottom: 1px solid var(--border-color); | ||
background-color: var(--foreground-color); | ||
|
||
.title { | ||
font-size: 14px; | ||
font-weight: 500; | ||
color: var(--heading-color); | ||
line-height: 1; | ||
} | ||
} | ||
|
||
.body { | ||
flex: 1 1 0; | ||
min-height: 0; | ||
} | ||
} | ||
|
||
@media (width > 992px) { | ||
display: flex; | ||
|
||
&:not(.expanded) .panel { | ||
display: none; | ||
} | ||
|
||
.panel { | ||
border-right: 1px solid var(--border-color); | ||
} | ||
|
||
.panel .header { | ||
display: none; | ||
} | ||
|
||
.view { | ||
flex-grow: 1; | ||
} | ||
} | ||
|
||
@media (width <= 992px) { | ||
.panel { | ||
flex-grow: 1; | ||
} | ||
|
||
&.open .panel { | ||
display: none; | ||
} | ||
|
||
&:not(.open) .view { | ||
display: none; | ||
} | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
frontend/src/app/Catalog/Class/Enrollment/Enrollment.module.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.root { | ||
padding: 24px; | ||
padding: 24px 0; | ||
flex-grow: 1; | ||
display: flex; | ||
flex-direction: column; | ||
|
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
Oops, something went wrong.