[ui] slight color change

feat/vaults
Tomáš Mládek 2021-12-11 21:37:12 +01:00
parent 1e990e07a7
commit 1d62f952bf
1 changed files with 12 additions and 6 deletions

View File

@ -192,7 +192,9 @@
{#if showAttribute}
<td class:formatted={Boolean(formatAttribute(entry.attribute))}>
<Ellipsis value={formatAttribute(entry.attribute) || entry.attribute} />
<Ellipsis
value={formatAttribute(entry.attribute) || entry.attribute}
/>
</td>
{/if}
@ -218,7 +220,10 @@
formatValue(entry.value.c, entry.attribute)
)}
>
<Ellipsis value={formatValue(entry.value.c, entry.attribute) || entry.value.c} />
<Ellipsis
value={formatValue(entry.value.c, entry.attribute) ||
entry.value.c}
/>
</div>
{/if}
</text-input>
@ -273,12 +278,13 @@
border-spacing: 0.5em 0;
tr {
$active-color: hsl(22, 70%, 40%);
&.left-active {
td:first-child {
background: linear-gradient(
90deg,
rgba(255, 166, 0, 1) 0%,
rgba(0, 0, 0, 0) 100%
$active-color 0%,
transparent 100%
);
}
}
@ -287,8 +293,8 @@
td:last-child {
background: linear-gradient(
90deg,
rgba(255, 166, 0, 0) 0%,
rgba(255, 166, 0, 1) 100%
transparent 0%,
$active-color 100%
);
}
}