mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-10 19:26:03 +02:00
Skip colors
This commit is contained in:
@@ -58,7 +58,7 @@ svg .learning rect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
svg .skipped rect {
|
svg .skipped rect {
|
||||||
fill: #ff665a !important;
|
fill: #ff6e6e !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg .learning rect[fill='rgb(51,51,51)'] + text,
|
svg .learning rect[fill='rgb(51,51,51)'] + text,
|
||||||
|
@@ -133,17 +133,6 @@ export function TopicProgressButton(props: TopicProgressButtonProps) {
|
|||||||
Done
|
Done
|
||||||
</button>
|
</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 && (
|
{allowMarkingLearning && (
|
||||||
<button
|
<button
|
||||||
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
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
|
In Progress
|
||||||
</button>
|
</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 && (
|
{allowMarkingSkipped && (
|
||||||
<button
|
<button
|
||||||
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
class="px-3 py-1.5 text-left text-sm text-gray-800 hover:bg-gray-100"
|
||||||
|
Reference in New Issue
Block a user