Files
shater/panel/src/pages/Routing.css
T
omar 08d5d6ccb8 feat: node health belongs to groups; delete the options that never existed
Two threads, both from the same question: does this setting do what it says?

## Health is per-group, because a dial path is per-group

Overview reported "119 up / 179 untested" over all nodes, and Nodes showed a
per-row ping. Both measured the wrong object. A group with an egress binding does
not dial the base node outbound at all — generate materialises per-member copies
(group-<name>-m<i>-<member>) and the group balances over those. So a node can be
alive direct and dead through the tunnel a group is bound to, and the panel said
"up". The same node in two groups with different egresses is two states that were
being collapsed into one number.

No new prober was needed: the engine already keeps a process-wide
urltest.HistoryStorage keyed by outbound tag, groups already probe their own
members into it, and stats already reads it — we simply projected it onto base
tags only. The copy tag carries the member NAME, so recovery needs no change to
generate. GET /api/groups/health now reports alive/dead/untested per group, with
an opt-in member list; the same summaries ride /api/stats so Overview needs no
extra poll.

Presentation is "alive / tested" with the untested remainder as a quiet aside,
never folded into dead: groups probe lazily and only while in use, so on a fresh
boot with a 376-node subscription almost everything is legitimately unmeasured,
and calling that "down" would scream catastrophe exactly when nothing is wrong.

Three things this exposed, all fixed here:

- TestAllNodes enumerated only om.Outbounds(), which by design excludes
  endpoints. Every WireGuard/AmneziaWG node read "untested" forever no matter how
  often the button was pressed — on a product whose driving requirement is AWG.
- Our ProbeFailDelay sentinel is gone from the engine's history entirely. It was
  safe for least_test (slowest wins last) but round_robin's pool planner treats
  any entry as alive, so a dead node could occupy the single slot of a failover
  group — pinning failover to a corpse, which is the one thing it exists to
  prevent. Failures now live in an engine-side overlay, invalidated by timestamp
  against any later success; the engine's history holds measurements only.
- Writers now measure with the probe URL of the group that owns the tag. A manual
  run used the global URL and overwrote a group's own measurement, leaving
  least_test comparing latencies to different servers. Where one tag is claimed by
  two groups with different URLs the ambiguity is inherent to the engine's keying,
  so we use the neutral global URL and say so rather than picking a silent winner.

A scheduled sweep (engine/sweep.go, on by default) fills what nobody probes:
24 measurements per 10s tick, 12 in flight, skipping anything fresher than 5
minutes — ~5 min per full cycle on the production config. The freshness gate is
load-bearing beyond cost: testNodes skips a member whose history is younger than
the group's interval, so a sweep that kept refreshing would starve a failover
group's own 30s check. It is a layer under group-local probing, never a
replacement.

## Options that did not exist are deleted, not decorated

Audited every enumerated choice the panel offers against what this fork actually
implements (constant/, option/, protocol/group/, dns/), and split the results into
works / synonym / fiction. Fictions are removed outright — pre-release, so no
legacy path is kept for values nobody has.

Deleted: Group.Strategy random and leastload (both silently became least_test);
Egress.Type proxy and block (emitted no outbound at all — every binding dangled
and the traffic left over the plain WAN with the real IP); alert event node_down
(no emitter anywhere); Globals.DNSMode, Inbound.Sniff, Profile.ProbeURL/ProbeMode,
Node.XUDPConcurrency/XUDPProxyUDP443, Egress.Target.

Repaired instead of removed, because the engine could do them all along:
LogLevel "none" (asked for silence, got default verbosity — now LogOptions.Disabled);
Subscription.Format (the hint was stored, badge-rendered and ignored — the sniffing
parser always ran); Ruleset.Format (never read; the extension decided);
Group.Strategy failover (urltest + round_robin + pool 1 / tolerance 0 is exactly
"first working node in order" — verified through box.New with a sensitivity control).

Relabelled where the words lied: Single promised "first up" but a selector never
checks liveness; inbound "http" opens Mixed and answers SOCKS5 on the same port.

An unresolvable egress binding no longer fails open. It resolves to block, so the
bound traffic stops visibly instead of leaving with the real IP. Refusing the
config was the alternative and is worse: a dead engine under a closed kill-switch
blackholes the whole LAN over one mistyped name.

Also: Egress.Port no longer defaults to 1080 for every type. The parser invented
it, render persisted it, and the new "port is ignored" warning then fired on a
correctly written config — a warning on a healthy install is how a findings list
gets ignored.

## Geo data is no longer hardwired to one publisher

sing-geoip publishes country codes and nothing else — 238 files, all two-letter.
So "route Netflix around the tunnel" meant loading geoip-us: 159,125 prefixes and
~20 MB of kernel memory for something the netflix list does in 108 prefixes and
~14 KB. Provider selection is now a chain (generate/geosource.go): country codes
still resolve to SagerNet byte-identically, everything else to Loyalsoldier, and
metacubex adds AS<number> routing. Third-party .srs was verified to load with our
own reader (v1/v2 against our v5 ceiling) before any of this was built.

The ruleset preflight reads four header bytes over a ranged GET instead of HEAD,
so a rule-set whose format version we cannot parse degrades like an unreachable
one — that case would otherwise abort engine start, which is how the LAN goes down.
2026-07-21 14:52:24 +03:00

828 lines
17 KiB
CSS

/* Routing rules — a "signal bus" the packet descends until the first match
* diverts it. Every rule is a plate clamped to a vertical rail; the rail is the
* signature element and encodes the first-match, top-to-bottom order truthfully.
* Inherits the Faceplate tokens; orange stays an accent only. */
.rt-intro {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: calc(var(--u, 8px) * 2);
flex-wrap: wrap;
margin-bottom: calc(var(--u, 8px) * 2.5);
}
.rt-lead {
margin: 0;
max-width: 52ch;
font-family: var(--font-sans);
font-size: 13px;
line-height: 1.6;
color: var(--dim);
}
.rt-lead strong {
color: var(--ink);
font-weight: 600;
}
.rt-count {
font-size: 24px;
font-weight: 600;
color: var(--accent);
line-height: 1;
white-space: nowrap;
}
.rt-count small {
font-size: 11px;
font-weight: 400;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--faint);
}
/* ---- save → apply banner (mirrors Overview's save-vs-apply split) ---- */
.rt-savebar {
display: flex;
align-items: center;
justify-content: space-between;
gap: calc(var(--u, 8px) * 1.5);
flex-wrap: wrap;
margin-bottom: calc(var(--u, 8px) * 2.5);
padding: 12px 14px;
border: 1px solid var(--accent-soft);
border-radius: 8px;
background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
}
.rt-savebar-msg {
font-family: var(--font-mono);
font-size: 12px;
letter-spacing: 0.03em;
color: var(--ink);
}
/* ---- empty state ---- */
.rt-empty {
padding: calc(var(--u, 8px) * 4) 0 calc(var(--u, 8px) * 3);
text-align: center;
}
.rt-empty p {
margin: 0;
font-family: var(--font-mono);
font-size: 13px;
color: var(--ink);
}
.rt-empty-sub {
margin-top: 6px !important;
font-size: 11.5px !important;
color: var(--faint) !important;
}
/* ---- the bus ---- */
.rt-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.rt-rule {
display: grid;
grid-template-columns: 44px 1fr auto auto;
align-items: stretch;
gap: calc(var(--u, 8px) * 1.75);
padding: 12px 14px 12px 6px;
border: 1px solid var(--groove);
border-radius: 8px;
background: linear-gradient(180deg, var(--raised), color-mix(in srgb, var(--raised) 82%, var(--panel)));
box-shadow: 0 1px 0 var(--edge) inset, 0 1px 2px -1px var(--shadow);
}
.rt-rule.off {
opacity: 0.62;
background: var(--panel);
box-shadow: none;
}
.rt-rule.final {
border-style: dashed;
border-color: var(--accent-soft);
}
/* ---- rail: order chip + reorder steppers ---- */
.rt-rail {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 3px;
}
/* the descending bus line behind the chip */
.rt-rail::before {
content: '';
position: absolute;
top: -11px;
bottom: -11px;
width: 2px;
background: var(--groove);
z-index: 0;
}
.rt-list .rt-rule:first-child .rt-rail::before {
top: 50%;
}
.rt-list .rt-rule:last-child .rt-rail::before {
bottom: 50%;
}
.rt-ord {
position: relative;
z-index: 1;
min-width: 30px;
padding: 3px 4px;
border: 1px solid var(--edge);
border-radius: 6px;
background: var(--sink);
box-shadow: 0 1px 1px var(--shadow) inset;
text-align: center;
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
font-size: 13px;
font-weight: 600;
color: var(--ink);
}
.rt-ord.final {
color: var(--accent);
border-color: var(--accent-soft);
}
.rt-step {
z-index: 1;
width: 22px;
height: 15px;
padding: 0;
border: 1px solid var(--groove);
border-radius: 4px;
background: var(--raised);
color: var(--faint);
font-size: 8px;
line-height: 1;
cursor: pointer;
transition: color 0.12s, border-color 0.12s;
}
.rt-step:hover:not(:disabled) {
color: var(--accent);
border-color: var(--accent);
}
.rt-step:disabled {
opacity: 0.3;
cursor: not-allowed;
}
/* ---- body: name + matchers ---- */
.rt-body {
display: flex;
flex-direction: column;
justify-content: center;
gap: 7px;
min-width: 0;
}
.rt-head {
display: flex;
align-items: baseline;
gap: 10px;
flex-wrap: wrap;
}
.rt-name {
font-family: var(--font-mono);
font-size: 13.5px;
font-weight: 600;
color: var(--ink);
word-break: break-word;
}
.rt-rule.off .rt-name {
color: var(--dim);
}
.rt-badge {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--accent);
}
.rt-match {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.rt-chip {
display: inline-flex;
align-items: baseline;
gap: 5px;
padding: 2px 7px;
border: 1px solid var(--groove);
border-radius: 5px;
background: color-mix(in srgb, var(--sink) 55%, transparent);
font-size: 11px;
max-width: 100%;
}
.rt-chip b {
font-family: var(--font-mono);
font-weight: 400;
font-size: 9px;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--faint);
}
.rt-chip .mono {
font-size: 11px;
color: var(--ink);
overflow-wrap: anywhere;
}
.rt-chip.sched b {
color: var(--amber);
}
/* A matcher the engine can't evaluate — the rule is live but can never fire. */
.rt-chip-warn {
font-family: var(--font-sans);
font-size: 10.5px;
font-style: italic;
color: var(--amber);
}
.rt-nomatch {
font-family: var(--font-sans);
font-size: 11.5px;
font-style: italic;
color: var(--faint);
}
/* ---- target chip (styled like the artifact's group:auto mono chips) ---- */
.rt-target {
display: inline-flex;
align-items: center;
gap: 6px;
align-self: center;
padding: 5px 10px;
border: 1px solid var(--groove);
border-radius: 6px;
background: var(--sink);
white-space: nowrap;
}
.rt-target .mono {
font-size: 12px;
font-weight: 600;
}
.rt-arrow {
color: var(--faint);
font-size: 12px;
}
.rt-target.proxy {
border-color: var(--accent-soft);
}
.rt-target.proxy .mono {
color: var(--accent);
}
.rt-target.block {
border-color: color-mix(in srgb, var(--crit) 45%, var(--groove));
}
.rt-target.block .mono {
color: var(--crit);
}
.rt-target.direct .mono {
color: var(--dim);
}
/* ---- controls: toggle + delete ---- */
.rt-controls {
display: flex;
align-items: center;
gap: 12px;
align-self: center;
}
.rt-del {
width: 24px;
height: 24px;
padding: 0;
border: 1px solid var(--groove);
border-radius: 5px;
background: var(--raised);
color: var(--faint);
font-size: 11px;
line-height: 1;
cursor: pointer;
transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.rt-del:hover:not(:disabled) {
color: var(--crit);
border-color: var(--crit);
}
.rt-del:disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* ---- add-a-rule plate ---- */
.rt-add {
margin-top: calc(var(--u, 8px) * 3.5);
padding: calc(var(--u, 8px) * 2);
border: 1px solid var(--groove);
border-radius: 10px;
background: linear-gradient(180deg, var(--raised), color-mix(in srgb, var(--raised) 78%, var(--panel)));
box-shadow: 0 1px 0 var(--edge) inset;
}
.rt-add-hd {
display: flex;
align-items: baseline;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px solid var(--groove);
}
.rt-add-title {
font-family: var(--font-mono);
font-size: 11px;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--ink);
}
.rt-add-sub {
font-family: var(--font-sans);
font-size: 12px;
color: var(--faint);
}
.rt-fields {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
}
.rt-field {
display: flex;
flex-direction: column;
gap: 5px;
min-width: 0;
}
.rt-field-wide {
grid-column: span 2;
}
.rt-flabel {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--faint);
}
.rt-input {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--groove);
border-radius: 6px;
background: var(--sink);
color: var(--ink);
font-size: 12.5px;
box-shadow: 0 1px 1px var(--shadow) inset;
transition: border-color 0.12s;
}
.rt-input:focus-visible {
border-color: var(--accent);
}
.rt-input::placeholder {
color: var(--faint);
}
select.rt-input {
cursor: pointer;
appearance: none;
-webkit-appearance: none;
}
/* ---- schedule controls (Phase 7) ---- */
.rt-sched {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid var(--groove);
}
.rt-sched-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.rt-sched-toggle input {
accent-color: var(--accent);
cursor: pointer;
}
.rt-sched-body {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 12px;
}
.rt-sched-days {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.rt-day {
padding: 5px 9px;
border: 1px solid var(--groove);
border-radius: 5px;
background: var(--sink);
color: var(--faint);
font-family: var(--font-mono);
font-size: 11px;
cursor: pointer;
transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.rt-day:hover {
color: var(--ink);
border-color: var(--accent-soft);
}
.rt-day.on {
color: var(--accent);
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.rt-sched-times {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.rt-sched-times .rt-field {
max-width: 140px;
}
.rt-sched-hint {
margin: 0;
font-family: var(--font-sans);
font-size: 11px;
color: var(--faint);
}
.rt-add-foot {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
margin-top: 16px;
}
.rt-add-error {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--crit);
}
/* ---- inline rule editor: the add plate, dropped into a list row in place ---- */
.rt-edit-item {
list-style: none;
}
/* Reuse the .rt-add plate skin, but it's inline in the bus (no top margin) and
* accented so it reads as the row currently being edited. */
.rt-add.rt-edit-form {
margin-top: 0;
border-color: var(--accent);
box-shadow: 0 1px 0 var(--edge) inset, 0 0 0 1px var(--accent-soft);
}
.rt-edit-warn {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--amber);
}
/* ---- dst_ruleset picker (inside the add-rule plate) ---- */
.rt-rsel {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid var(--groove);
}
.rt-rsel-opts {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
}
.rt-rsel-opt {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 9px;
border: 1px solid var(--groove);
border-radius: 5px;
background: var(--sink);
color: var(--dim);
font-size: 11.5px;
cursor: pointer;
transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.rt-rsel-opt:hover {
color: var(--ink);
border-color: var(--accent-soft);
}
.rt-rsel-opt.on {
color: var(--accent);
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.rt-rsel-opt input {
accent-color: var(--accent);
cursor: pointer;
}
.rt-rsel-hint {
margin: 8px 0 0;
font-family: var(--font-sans);
font-size: 11px;
color: var(--faint);
}
/* textarea shares the input skin but grows vertically for a list of entries */
.rt-textarea {
min-height: 84px;
resize: vertical;
line-height: 1.5;
white-space: pre;
overflow-wrap: normal;
}
/* ---- rulesets: the match-source lists ---- */
.rt-rulesets {
margin-top: calc(var(--u, 8px) * 4);
padding-top: calc(var(--u, 8px) * 3);
border-top: 1px dashed var(--groove);
}
.rt-rs-hd {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.rt-rs-title {
font-family: var(--font-mono);
font-size: 11px;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--ink);
}
.rt-rs-count {
font-size: 11px;
color: var(--faint);
}
.rt-rs-lead {
margin: 8px 0 0;
max-width: 60ch;
font-family: var(--font-sans);
font-size: 12.5px;
line-height: 1.55;
color: var(--dim);
}
.rt-rs-lead strong {
color: var(--ink);
font-family: var(--font-mono);
font-size: 11.5px;
}
/* the add/edit plate reuses .rt-add; keep its top margin tighter here */
.rt-rs-form {
margin-top: 16px;
}
.rt-rs-entries {
margin-top: 12px;
}
.rt-rs-empty {
margin-top: 14px;
padding: calc(var(--u, 8px) * 3) 0;
text-align: center;
}
.rt-rs-empty p {
margin: 0;
font-family: var(--font-mono);
font-size: 12.5px;
color: var(--faint);
}
.rt-rs-list {
list-style: none;
margin: 16px 0 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.rt-rs-row {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: calc(var(--u, 8px) * 1.5);
padding: 10px 12px;
border: 1px solid var(--groove);
border-radius: 8px;
background: linear-gradient(180deg, var(--raised), color-mix(in srgb, var(--raised) 82%, var(--panel)));
box-shadow: 0 1px 0 var(--edge) inset;
}
.rt-rs-row.editing {
border-color: var(--accent);
}
.rt-rs-main {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.rt-rs-l1 {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 8px;
}
.rt-rs-name {
font-family: var(--font-mono);
font-size: 13px;
font-weight: 600;
color: var(--ink);
word-break: break-word;
}
.rt-rs-badge {
padding: 1px 6px;
border: 1px solid var(--groove);
border-radius: 4px;
background: color-mix(in srgb, var(--sink) 55%, transparent);
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--faint);
}
.rt-rs-badge.ip {
color: var(--accent);
border-color: var(--accent-soft);
}
.rt-rs-badge.warn {
color: var(--amber);
border-color: color-mix(in srgb, var(--amber) 45%, var(--groove));
}
.rt-rs-l2 {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
font-size: 11.5px;
}
.rt-rs-detail {
color: var(--ink);
overflow-wrap: anywhere;
}
.rt-rs-masked {
font-family: var(--font-sans);
font-size: 10px;
font-style: italic;
color: var(--faint);
}
.rt-rs-use {
font-family: var(--font-sans);
font-size: 10.5px;
color: var(--faint);
}
.rt-rs-use[data-on='y'] {
color: var(--accent);
}
/* ---- remote-list freshness: last update + cadence + refresh (feedback #9) ---- */
.rt-rs-sync {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
margin-top: 1px;
}
.rt-rs-fresh {
font-family: var(--font-mono);
font-size: 11px;
color: var(--dim);
}
.rt-rs-fresh[data-never='y'] {
color: var(--amber);
}
.rt-rs-every,
.rt-rs-rules {
font-family: var(--font-mono);
font-size: 10.5px;
letter-spacing: 0.02em;
color: var(--faint);
}
.rt-rs-every::before {
content: '↻ ';
}
.rt-rs-update {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border: 1px solid var(--accent-soft);
border-radius: 5px;
background: var(--raised);
color: var(--accent);
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: var(--track-label);
text-transform: uppercase;
cursor: pointer;
transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.rt-rs-update:hover:not(:disabled) {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.rt-rs-update:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.rt-rs-update:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.rt-rs-spin {
width: 10px;
height: 10px;
border: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
border-top-color: var(--accent);
border-radius: 50%;
animation: rt-rs-spin 0.7s linear infinite;
}
@keyframes rt-rs-spin {
to {
transform: rotate(360deg);
}
}
.rt-rs-actions {
display: flex;
align-items: center;
gap: 8px;
}
.rt-rs-edit {
padding: 4px 10px;
border: 1px solid var(--groove);
border-radius: 5px;
background: var(--raised);
color: var(--dim);
font-family: var(--font-mono);
font-size: 11px;
cursor: pointer;
transition: color 0.12s, border-color 0.12s;
}
.rt-rs-edit:hover:not(:disabled) {
color: var(--accent);
border-color: var(--accent);
}
.rt-rs-edit:disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* ---- responsive: collapse the plate into a stack on narrow screens ---- */
@media (max-width: 620px) {
.rt-rule {
grid-template-columns: 40px 1fr;
grid-template-areas:
'rail body'
'rail target'
'rail controls';
row-gap: 10px;
}
.rt-rail {
grid-area: rail;
}
.rt-body {
grid-area: body;
}
.rt-target {
grid-area: target;
align-self: start;
justify-self: start;
}
.rt-controls {
grid-area: controls;
justify-content: flex-start;
align-self: start;
}
.rt-field-wide {
grid-column: auto;
}
.rt-rs-row {
grid-template-columns: 1fr;
row-gap: 10px;
}
.rt-rs-actions {
justify-content: flex-start;
}
}
/* ---- reduced motion: drop the hover/focus transitions ---- */
@media (prefers-reduced-motion: reduce) {
.rt-rsel-opt,
.rt-rs-edit,
.rt-rs-update {
transition: none;
}
/* No spin under reduced motion — the static ring + "Updating…" label carry it. */
.rt-rs-spin {
animation: none;
border-top-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
}