mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-18 06:38:34 +01:00
Skip colors
This commit is contained in:
parent
fd349f2da8
commit
4a049b2a7a
@ -58,7 +58,7 @@ svg .learning rect {
|
||||
}
|
||||
|
||||
svg .skipped rect {
|
||||
fill: #ff665a !important;
|
||||
fill: #ff6e6e !important;
|
||||
}
|
||||
|
||||
svg .learning rect[fill='rgb(51,51,51)'] + text,
|
||||
|
@ -133,17 +133,6 @@ export function TopicProgressButton(props: TopicProgressButtonProps) {
|
||||
Done
|
||||
</button>
|
||||
)}
|
||||
{allowMarkingPending && (
|
||||
<button
|
||||
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
||||
onClick={() => handleUpdateResourceProgress('pending')}
|
||||
>
|
||||
<span
|
||||
class={`mr-2 inline-block h-2 w-2 rounded-full ${statusColors['pending']}`}
|
||||
></span>
|
||||
Pending
|
||||
</button>
|
||||
)}
|
||||
{allowMarkingLearning && (
|
||||
<button
|
||||
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
||||
@ -155,6 +144,17 @@ export function TopicProgressButton(props: TopicProgressButtonProps) {
|
||||
In Progress
|
||||
</button>
|
||||
)}
|
||||
{allowMarkingPending && (
|
||||
<button
|
||||
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
||||
onClick={() => handleUpdateResourceProgress('pending')}
|
||||
>
|
||||
<span
|
||||
class={`mr-2 inline-block h-2 w-2 rounded-full ${statusColors['pending']}`}
|
||||
></span>
|
||||
Pending
|
||||
</button>
|
||||
)}
|
||||
{allowMarkingSkipped && (
|
||||
<button
|
||||
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
||||
|
Loading…
x
Reference in New Issue
Block a user