mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-07-31 22:40:19 +02:00
Skip colors
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user