Skip to content

Commit

Permalink
fix: ORA dark theme compatibility updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudSheraz authored and hinakhadim committed Dec 5, 2024
1 parent 5891123 commit 8d1d86b
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions tutorindigo/templates/indigo/lms/static/sass/xblock/_xblock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@
h1, h2, h3, h4, h5, h6 {
color: $text-color-d;
}
.openassessment .openassessment__steps .openassessment__steps__step .step__header .step__title .step__counter:before {
.openassessment .openassessment__steps .openassessment__steps__step .step__header .step__title {
.step__counter:before, .step__label {
color: $text-color-d;
}
}
.openassessment .openassessment__steps__step .step__instruction,
.openassessment .submission__answer__part__prompt__copy {
Expand All @@ -145,7 +147,7 @@
color: $btn-color-d !important;
}
.openassessment .openassessment__steps__step.is--unavailable .step__counter:before,
.openassessment .openassessment__steps__step.is--unavailable .step__label,
.openassessment .openassessment__steps__step.is--unavailable .step,
.openassessment .openassessment__steps__step.is--unavailable .step__deadline {
color:$text-color-d;
}
Expand All @@ -157,6 +159,14 @@
.openassessment .step--self-assessment .self-assessment__assessment .response__submission__label, .openassessment .step--peer-assessment .peer-assessment__assessment .response__submission__label, .openassessment .step--response .response__submission__actions .response__submission__label, .openassessment .step--response .response__submission__content .response__submission__label {
color: $text-color-d;
}

.openassessment .step--student-training .student-training__assessment .question__answers,
.openassessment .step--self-assessment .self-assessment__assessment .question__answers {
.wrapper--input .answer__label, .answer__tip, .answer__points, .answer__points__label {
color: $text-color-d;
}
}

.openassessment .openassessment__steps__step {
background: none;
}
Expand All @@ -167,7 +177,12 @@
background: none;
border-color: $primary-d;
}

.openassessment .submission__answer__part__text__value {
color: $text-color-d;
}
.openassessment .submission__answer__part__text__value:not(textarea){
background: none;
}

.xmodule_display.xmodule_ProblemBlock div.problem .question-description {
color: $text-color-primary;
Expand Down

0 comments on commit 8d1d86b

Please sign in to comment.