Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Color "safe" badge differently
Alexis Sellier committed 4 years ago
commit 36196ed7fc80b962c68ccb0fca407b543397cc81
parent 8f9efa51be07ababb5649b1bbb166f0bba09d74f
2 files changed +7 -1
modified public/index.css
@@ -22,6 +22,8 @@
	--color-tertiary-1: #214047;
	--color-tertiary-2: #2c326d;
	--color-tertiary-6: #e3e3ff;
+
	--color-yellow: #ffff99;
+
	--color-yellow-background: #ffff9911;
	--color-positive: #53db53;
	--color-positive-1: #21402f;
	--color-positive-2: #2c6837;
@@ -262,6 +264,10 @@ input.wide {
	color: var(--color-tertiary);
	background: var(--color-tertiary-background);
}
+
.badge.safe {
+
	color: var(--color-yellow);
+
	background: var(--color-yellow-background);
+
}

span.small {
	font-size: 0.75rem;
modified src/Address.svelte
@@ -55,7 +55,7 @@
    <span class="badge">org</span>
  {:else if addressType === AddressType.Safe}
    <a href={safeLink(address, config)} target="_blank">{addressLabel}</a>
-
    <span class="badge">safe</span>
+
    <span class="badge safe">safe</span>
  {:else}
    <a href={explorerLink(address, config)} target="_blank">{addressLabel}</a>
    {#if addressType === AddressType.Contract}