forked from openedx/brand-openedx
-
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: Design course outline page (#4)
- Loading branch information
Showing
9 changed files
with
177 additions
and
14 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,35 @@ | ||
footer.footer { | ||
border-top: 0 !important; | ||
padding: 1rem; | ||
background: transparent; | ||
color: $footer-text-color; | ||
|
||
.copyright { | ||
font-size: 1.25rem; | ||
font-weight: $font-weight-semi-bold; | ||
padding: 1rem 0; | ||
|
||
@media (min-width: map-get($grid-breakpoints, "md")) { | ||
padding: 0; | ||
} | ||
} | ||
|
||
.container-fluid { | ||
@media (max-width: (-1 + map-get($grid-breakpoints, "md"))) { | ||
flex-direction: column; | ||
} | ||
|
||
&:first-child { | ||
background: $white; | ||
max-width: 1660px; | ||
padding: 1rem; | ||
border-radius: $default-radius; | ||
border: 1px solid $gray-light; | ||
min-height: 120px; | ||
|
||
@media (min-width: map-get($grid-breakpoints, "md")) { | ||
padding: 1rem 2.5rem; | ||
} | ||
} | ||
} | ||
} |
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,61 @@ | ||
.learning-header { | ||
min-width: 0; | ||
padding: $spacer $spacer 0; | ||
|
||
.drop-icon { | ||
width: 40px; | ||
display: inline-block; | ||
vertical-align: middle; | ||
} | ||
|
||
.dropdown-toggle { | ||
font-size: 1.5rem; | ||
|
||
&:after { | ||
height: 0; | ||
width: 0; | ||
border-color: $gray-light transparent; | ||
|
||
[dir="rtl"] & { | ||
transform: rotate(0); | ||
border-width: 12px 6px 0; | ||
} | ||
|
||
[dir="ltr"] & { | ||
transform: rotate(0); | ||
border-width: 12px 6px 0; | ||
} | ||
} | ||
} | ||
|
||
.course-title-lockup { | ||
|
||
@media only screen and (min-width: 769px) { | ||
padding: .5rem; | ||
} | ||
|
||
span { | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
line-height: 1.375rem; | ||
} | ||
|
||
.course-title { | ||
@media only screen and (min-width: 1024px) { | ||
font-size: 1.5rem; | ||
} | ||
} | ||
} | ||
|
||
.container-xl { | ||
max-width: 1660px; | ||
background: $white; | ||
min-height: 120px; | ||
border-radius: $default-radius; | ||
border: 1px solid $gray-light; | ||
@media only screen and (min-width: 1024px) { | ||
padding: 1rem 2.25rem; | ||
} | ||
} | ||
} |
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,2 +1,8 @@ | ||
// Use this file to define style overrides for @edx/paragon | ||
// This file is included after all Paragon styles, but should generally avoid using private mixins in Paragon. | ||
@import './header'; | ||
@import './footer'; | ||
|
||
.dropdown { | ||
font-weight: $font-weight-semi-bold; | ||
} |
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