CLASSROOMIO-T-62: Dark Mode Bug Fix
CLASSROOMIO-T-62: Remove fill CLASSROOMIO-T-62: Dark Mode Bug Fix Co-authored-by: Rotimi Best <[email protected]> Co-authored-by: Tunji Adeyemi <[email protected]> Merge-request: CLASSROOMIO-MR-27 Merged-by: Best Admin <[email protected]>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
7f994b5c8f
commit
534ea3725c
@@ -230,6 +230,7 @@
|
||||
value="toggle"
|
||||
onClick={() => (show = !show)}
|
||||
size={$isMobile ? 'large' : 'small'}
|
||||
color="text-black"
|
||||
toolTipProps={$isMobile
|
||||
? {}
|
||||
: {
|
||||
@@ -239,9 +240,9 @@
|
||||
}}
|
||||
>
|
||||
{#if show}
|
||||
<ChevronLeft16 class="carbon-icon" />
|
||||
<ChevronLeft16 />
|
||||
{:else}
|
||||
<ChevronRight16 class="carbon-icon" />
|
||||
<ChevronRight16 />
|
||||
{/if}
|
||||
</IconButton>
|
||||
</div>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
value="toggle"
|
||||
onClick={() => (show = !show)}
|
||||
size={$isMobile ? 'large' : 'small'}
|
||||
color="text-black"
|
||||
toolTipProps={$isMobile
|
||||
? {}
|
||||
: {
|
||||
@@ -30,9 +31,9 @@
|
||||
}}
|
||||
>
|
||||
{#if show}
|
||||
<ChevronLeft16 class="carbon-icon" />
|
||||
<ChevronLeft16 />
|
||||
{:else}
|
||||
<ChevronRight16 class="carbon-icon" />
|
||||
<ChevronRight16 />
|
||||
{/if}
|
||||
</IconButton>
|
||||
</div>
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
{#each $lessons as lesson (lesson.id)}
|
||||
<div
|
||||
bind:this={ref}
|
||||
class="group relative m-auto rounded-md border-2 border-gray-100 py-3 px-5 mb-4 flex items-center hover:shadow-md shadow-xl transition delay-150 duration-300 ease-in-out"
|
||||
class="group relative m-auto rounded-md border-2 border-gray-100 py-3 px-5 mb-4 flex items-center hover:shadow-md shadow-xl transition delay-150 duration-300 ease-in-out dark:bg-gray-700"
|
||||
>
|
||||
<!-- Complete or Not complete icon -->
|
||||
<div class="absolute -left-6 -top-6 success">
|
||||
@@ -211,7 +211,7 @@
|
||||
href={isStudent && !lesson.is_complete
|
||||
? $page.path
|
||||
: '/courses/' + $course.id + '/lessons/' + lesson.id}
|
||||
class="hover:underline text-black {isStudent &&
|
||||
class="dark:text-white hover:underline text-black {isStudent &&
|
||||
!lesson.is_complete
|
||||
? 'cursor-not-allowed'
|
||||
: ''}"
|
||||
@@ -320,6 +320,5 @@
|
||||
}
|
||||
.group {
|
||||
min-height: 170px;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
label="Filter by"
|
||||
bind:value={filterBy}
|
||||
options={ROLES}
|
||||
className="flex items-center"
|
||||
className="flex items-center dark:text-black"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user