|
|
|
|
@ -250,7 +250,7 @@
|
|
|
|
|
<span class="group-badge" title="Grupo">{groupLabel}</span>
|
|
|
|
|
{#if completed}
|
|
|
|
|
<button
|
|
|
|
|
class="btn primary"
|
|
|
|
|
class="btn primary primary-action"
|
|
|
|
|
aria-label="Deshacer completar"
|
|
|
|
|
title="Deshacer completar"
|
|
|
|
|
on:click|preventDefault={doUncomplete}
|
|
|
|
|
@ -281,14 +281,14 @@
|
|
|
|
|
{#if !completed}
|
|
|
|
|
{#if !isAssigned}
|
|
|
|
|
<button
|
|
|
|
|
class="icon-btn"
|
|
|
|
|
class="icon-btn secondary-action"
|
|
|
|
|
aria-label="Reclamar"
|
|
|
|
|
on:click|preventDefault={doClaim}
|
|
|
|
|
disabled={busy}>Reclamar</button
|
|
|
|
|
>
|
|
|
|
|
{:else}
|
|
|
|
|
<button
|
|
|
|
|
class="icon-btn"
|
|
|
|
|
class="icon-btn secondary-action"
|
|
|
|
|
aria-label="Soltar"
|
|
|
|
|
title="Soltar"
|
|
|
|
|
on:click|preventDefault={doUnassign}
|
|
|
|
|
@ -296,7 +296,7 @@
|
|
|
|
|
>
|
|
|
|
|
{/if}
|
|
|
|
|
<button
|
|
|
|
|
class="btn primary"
|
|
|
|
|
class="btn primary primary-action"
|
|
|
|
|
aria-label="Completar"
|
|
|
|
|
title="Completar"
|
|
|
|
|
on:click|preventDefault={doComplete}
|
|
|
|
|
@ -307,7 +307,7 @@
|
|
|
|
|
|
|
|
|
|
{#if !editingText}
|
|
|
|
|
<button
|
|
|
|
|
class="icon-btn"
|
|
|
|
|
class="icon-btn secondary-action"
|
|
|
|
|
aria-label="Editar texto"
|
|
|
|
|
title="Editar texto"
|
|
|
|
|
on:click|preventDefault={toggleEditText}
|
|
|
|
|
@ -317,12 +317,12 @@
|
|
|
|
|
>
|
|
|
|
|
{:else}
|
|
|
|
|
<button
|
|
|
|
|
class="btn primary"
|
|
|
|
|
class="btn primary secondary-action"
|
|
|
|
|
on:click|preventDefault={saveText}
|
|
|
|
|
disabled={busy}>Guardar</button
|
|
|
|
|
>
|
|
|
|
|
<button
|
|
|
|
|
class="btn ghost"
|
|
|
|
|
class="btn ghost secondary-action"
|
|
|
|
|
on:click|preventDefault={cancelText}
|
|
|
|
|
disabled={busy}>Cancelar</button
|
|
|
|
|
>
|
|
|
|
|
@ -330,7 +330,7 @@
|
|
|
|
|
|
|
|
|
|
{#if !editing}
|
|
|
|
|
<button
|
|
|
|
|
class="icon-btn"
|
|
|
|
|
class="icon-btn secondary-action"
|
|
|
|
|
aria-label="Editar fecha"
|
|
|
|
|
title="Editar fecha"
|
|
|
|
|
on:click|preventDefault={toggleEdit}
|
|
|
|
|
@ -339,17 +339,17 @@
|
|
|
|
|
{:else}
|
|
|
|
|
<input class="date" type="date" bind:value={dateValue} />
|
|
|
|
|
<button
|
|
|
|
|
class="btn primary"
|
|
|
|
|
class="btn primary secondary-action"
|
|
|
|
|
on:click|preventDefault={saveDate}
|
|
|
|
|
disabled={busy}>Guardar</button
|
|
|
|
|
>
|
|
|
|
|
<button
|
|
|
|
|
class="btn danger"
|
|
|
|
|
class="btn danger secondary-action"
|
|
|
|
|
on:click|preventDefault={clearDate}
|
|
|
|
|
disabled={busy}>Quitar</button
|
|
|
|
|
>
|
|
|
|
|
<button
|
|
|
|
|
class="btn ghost"
|
|
|
|
|
class="btn ghost secondary-action"
|
|
|
|
|
on:click|preventDefault={toggleEdit}
|
|
|
|
|
disabled={busy}>Cancelar</button
|
|
|
|
|
>
|
|
|
|
|
@ -455,11 +455,14 @@
|
|
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
|
justify-self: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-content: space-between;
|
|
|
|
|
grid-column: 2/3;
|
|
|
|
|
grid-row: 3/4;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
.btn {
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
@ -503,6 +506,17 @@
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.actions {
|
|
|
|
|
justify-self: stretch;
|
|
|
|
|
}
|
|
|
|
|
.actions .primary-action {
|
|
|
|
|
flex: 1 1 100%;
|
|
|
|
|
}
|
|
|
|
|
.actions .secondary-action {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
|
.task {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|