mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
Switch Seed and Clone buttons
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
</style>
|
||||
|
||||
<Popover popoverPositionTop="2.5rem" popoverPositionRight="0">
|
||||
<Button slot="toggle" let:toggle on:click={toggle} variant="secondary">
|
||||
<Button slot="toggle" let:toggle on:click={toggle} variant="outline">
|
||||
Clone
|
||||
<Icon name="download" />
|
||||
</Button>
|
||||
|
||||
@@ -33,14 +33,19 @@
|
||||
.counter {
|
||||
font-weight: var(--font-weight-regular);
|
||||
border-radius: var(--border-radius-tiny);
|
||||
background-color: var(--color-fill-ghost);
|
||||
color: var(--color-foreground-dim);
|
||||
background-color: var(--color-fill-secondary-counter);
|
||||
border: 1px solid var(--color-border-secondary-counter);
|
||||
color: var(--color-foreground-match-background);
|
||||
padding: 0 0.25rem;
|
||||
}
|
||||
.seeding {
|
||||
background-color: var(--color-fill-counter-emphasized);
|
||||
color: var(--color-foreground-emphasized);
|
||||
}
|
||||
.disabled {
|
||||
background-color: var(--color-fill-ghost-hover);
|
||||
color: var(--color-foreground-dim);
|
||||
}
|
||||
</style>
|
||||
|
||||
<Popover popoverPositionTop="2.5rem" popoverPositionRight="0">
|
||||
@@ -62,6 +67,7 @@
|
||||
<span
|
||||
class="counter"
|
||||
class:seeding
|
||||
class:disabled
|
||||
style:font-weight="var(--font-weight-regular)">
|
||||
{seedCount}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user