1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-15 12:54:06 +00:00

CSS: renamed .btn to .button

This commit is contained in:
2023-06-27 17:21:54 +02:00
parent 685ea78376
commit 0e4c5d474b
25 changed files with 68 additions and 68 deletions

View File

@ -53,7 +53,7 @@
margin-bottom: -1.85rem;
}
.blankstate :global(.btn) {
.blankstate :global(.button) {
font-size: 1.35rem;
padding: 1rem;
}

View File

@ -136,10 +136,10 @@
</div>
<div slot="footer" class="footer">
<button class="btn secondary" type="button" on:click={() => value = new Date()}>
<button class="button secondary" type="button" on:click={() => value = new Date()}>
<Icon name="o" /> Set to now
</button>
<button class="btn" type="button" on:click={() => show = false}>
<button class="button" type="button" on:click={() => show = false}>
<Icon name="check" /> OK
</button>
</div>

View File

@ -35,7 +35,7 @@
<!-- {#if actions?.length}
<div class="actions">
{#each actions as action}
<button class="btn" on:click={action.fn} disabled={action.disabled}>
<button class="button" on:click={action.fn} disabled={action.disabled}>
{#if action.icon}<Icon name={action.icon} />{/if}
{action.label || ''}
</button>

View File

@ -14,7 +14,7 @@
margin-right: 2px;
}
:global(.btn) svg {
:global(.button) svg {
height: 13px;
width: auto;
vertical-align: bottom;

View File

@ -48,7 +48,7 @@
{#if title}
<header>
<div class="title">{title}</div>
<button class="btn close" on:click={close} title="close" type="button">
<button class="button close" on:click={close} title="close" type="button">
<Icon name="x" />
</button>
</header>

View File

@ -42,16 +42,16 @@
<svelte:fragment slot="footer">
{#if saveable}
<button class="btn" on:click={save} disabled={invalid}>
<button class="button" on:click={save} disabled={invalid}>
<Icon name="save" /> Save
</button>
{/if}
<button class="btn secondary" on:click={close}>
<button class="button secondary" on:click={close}>
<Icon name="x" /> Close
</button>
<button class="btn secondary" on:click={copy}>
<button class="button secondary" on:click={copy}>
<Icon name={copySucceeded ? 'check' : 'clipboard'} /> Copy
</button>