forked from openedx/brand-openedx
-
Notifications
You must be signed in to change notification settings - Fork 0
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
141982e
commit 9c86429
Showing
12 changed files
with
676 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,29 @@ | ||
|
||
|
||
|
||
body.indigo-dark-theme{ | ||
|
||
@import "../themes/dark/variables"; | ||
|
||
@import "./header"; | ||
@import "./footer"; | ||
@import "./login"; | ||
@import "./progress"; | ||
@import "./tour"; | ||
@import "./learning"; | ||
@import "./discussion"; | ||
@import "./account"; | ||
@import "./profile"; | ||
@import "./dates"; | ||
@import "../themes/dark/utilities"; | ||
@import "../themes/dark/extras"; | ||
|
||
color: $text-color !important; | ||
background: $body-bg !important; | ||
* { | ||
accent-color: $primary; | ||
} | ||
} | ||
|
||
|
||
|
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,83 @@ | ||
// theme toggle button | ||
|
||
.theme-toggle-button{ | ||
position: relative; | ||
width: 40px; | ||
height: 40px; | ||
} | ||
|
||
#darkmode { | ||
cursor: pointer; | ||
width: 20px; | ||
height: 20px; | ||
position: absolute; | ||
margin: auto !important; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
transform: scale(1.5); | ||
} | ||
|
||
.darkmode_icon { | ||
position: absolute; | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 10px; | ||
background: $warning-400; | ||
transform-origin: center center; | ||
transition: transform 0.75s ease-in-out, $page-color-transition; | ||
|
||
&::after { | ||
position: absolute; | ||
content: ''; | ||
width: 16px; | ||
height: 16px; | ||
left: 6px; | ||
bottom: 4px; | ||
border-radius: 10px; | ||
background: $body-bg; | ||
transform-origin: center center; | ||
transition: transform 0.2s ease, left 0.25s ease, bottom 0.25s ease, $page-color-transition; | ||
} | ||
|
||
.ray { | ||
position: absolute; | ||
left: 7px; | ||
top: 7px; | ||
width: 6px; | ||
height: 6px; | ||
border-radius: 6px; | ||
background: transparent; | ||
transform-origin: center; | ||
transition: transform 0.5s ease-in-out, $page-color-transition; | ||
|
||
&:nth-child(1) { | ||
transform: rotate(45deg) translateX(0); | ||
} | ||
&:nth-child(2) { | ||
transform: rotate(90deg) translateX(0); | ||
} | ||
&:nth-child(3) { | ||
transform: rotate(135deg) translateX(0); | ||
} | ||
&:nth-child(4) { | ||
transform: rotate(180deg) translateX(0); | ||
} | ||
&:nth-child(5) { | ||
transform: rotate(225deg) translateX(0); | ||
} | ||
&:nth-child(6) { | ||
transform: rotate(270deg) translateX(0); | ||
} | ||
&:nth-child(7) { | ||
transform: rotate(315deg) translateX(0); | ||
} | ||
&:nth-child(8) { | ||
transform: rotate(360deg) translateX(0); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -469,5 +469,5 @@ html { | |
@import "./extras"; | ||
|
||
|
||
|
||
|
||
// Including dark theme | ||
@import "./dark"; |
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 was deleted.
Oops, something went wrong.
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,95 @@ | ||
// learning MFE | ||
|
||
.donut-chart-text { | ||
fill: $primary-500; | ||
} | ||
|
||
.donut-ring, .donut-segment, .donut-hole { | ||
&.locked-stroke { | ||
stroke: $primary-500; | ||
} | ||
} | ||
|
||
.grade-bar { | ||
.grade-bar__divider { | ||
fill: $primary-500; | ||
} | ||
|
||
.grade-bar--passing { | ||
fill: $primary-500; | ||
} | ||
|
||
.grade-bar--current-passing { | ||
fill: $success-500; | ||
} | ||
} | ||
|
||
#minimum-grade-tooltip { | ||
.arrow::after { | ||
border-bottom-color: $primary-500; | ||
} | ||
} | ||
|
||
#passing-grade-tooltip { | ||
.arrow::after { | ||
border-top-color: $success-500; | ||
} | ||
|
||
background: $success-500; | ||
} | ||
|
||
.modal { | ||
button { | ||
@extend .btn-primary; | ||
} | ||
} | ||
|
||
.lock-paywall-container svg { | ||
color: $primary-700; | ||
} | ||
|
||
.upsell-warning { | ||
background-color: $danger-100; | ||
} | ||
|
||
.sequence-navigation { | ||
.btn{ | ||
&.complete { | ||
color: $success; | ||
} | ||
} | ||
} | ||
|
||
.sequence-navigation { | ||
.sequence-navigation-dropdown { | ||
.dropdown-menu .btn { | ||
&.active { | ||
.unit-icon { | ||
color: $primary-500; | ||
} | ||
|
||
&:after { | ||
background: $primary; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.icon-hover { | ||
&:hover { | ||
color: $primary-500 !important; | ||
|
||
} | ||
} | ||
|
||
|
||
.nav-underline-tabs { | ||
&:hover, | ||
&:focus, | ||
&.active { | ||
color: $primary-500; | ||
border-bottom-color: $primary-500; | ||
} | ||
} | ||
|
Oops, something went wrong.