Dieser Commit ist enthalten in:
Ursprung
9ee0fd5448
Commit
36c2695c8c
@ -150,32 +150,32 @@
|
|||||||
<div class="w-full flex justify-center mt-4">
|
<div class="w-full flex justify-center mt-4">
|
||||||
<ul class="inline-flex">
|
<ul class="inline-flex">
|
||||||
<li>
|
<li>
|
||||||
<button on:click={() => page = 0} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-r-none">
|
<button on:click={() => page = 0} class="btn btn-neutral h-8 px-3 text-sm flex items-center !m-0 !rounded-r-none">
|
||||||
<span class="sr-only">Next</span>
|
<span class="sr-only">Next</span>
|
||||||
<ChevronDoubleLeftOutline class="w-3 h-3" />
|
<ChevronDoubleLeftOutline class="w-3 h-3" />
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button on:click={previous} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-none">
|
<button on:click={previous} class="btn btn-neutral h-8 px-3 text-sm flex items-center !m-0 !rounded-none">
|
||||||
<span class="sr-only">Previous</span>
|
<span class="sr-only">Previous</span>
|
||||||
<ChevronLeftOutline class="w-3 h-3" />
|
<ChevronLeftOutline class="w-3 h-3" />
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
{#each pages as p}
|
{#each pages as p}
|
||||||
<li>
|
<li>
|
||||||
<button on:click={() => page = p.i} class="btn h-8 px-3 text-sm flex items-center !m-0 !rounded-none" class:btn-gray={!p.active}>
|
<button on:click={() => page = p.i} class="btn h-8 px-3 text-sm flex items-center !m-0 !rounded-none" class:btn-neutral={!p.active}>
|
||||||
<span>{p.name}</span>
|
<span>{p.name}</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
{/each}
|
{/each}
|
||||||
<li>
|
<li>
|
||||||
<button on:click={next} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-none">
|
<button on:click={next} class="btn btn-neutral h-8 px-3 text-sm flex items-center !m-0 !rounded-none">
|
||||||
<span class="sr-only">Next</span>
|
<span class="sr-only">Next</span>
|
||||||
<ChevronRightOutline class="w-3 h-3" />
|
<ChevronRightOutline class="w-3 h-3" />
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button on:click={() => page = maxPage - 1} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-l-none">
|
<button on:click={() => page = maxPage - 1} class="btn btn-neutral h-8 px-3 text-sm flex items-center !m-0 !rounded-l-none">
|
||||||
<span class="sr-only">Next</span>
|
<span class="sr-only">Next</span>
|
||||||
<ChevronDoubleRightOutline class="w-3 h-3" />
|
<ChevronDoubleRightOutline class="w-3 h-3" />
|
||||||
</button>
|
</button>
|
||||||
|
@ -53,6 +53,10 @@
|
|||||||
@apply bg-gray-800 text-white;
|
@apply bg-gray-800 text-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-neutral {
|
||||||
|
@apply bg-neutral-800 text-white;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-text {
|
.btn-text {
|
||||||
@apply bg-transparent underline text-white;
|
@apply bg-transparent underline text-white;
|
||||||
@apply hover:bg-transparent hover:outline hover:outline-1;
|
@apply hover:bg-transparent hover:outline hover:outline-1;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren