fix(viewer): remove Automa symbol background panels
This commit is contained in:
parent
217bbc8456
commit
889184e834
4 changed files with 9 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gaia-project/old-ui",
|
||||
"version": "1.2.9",
|
||||
"version": "1.2.10",
|
||||
"scripts": {
|
||||
"serve": "vite --port 5193",
|
||||
"build": "vite build",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gaia-project/viewer",
|
||||
"version": "5.22.9",
|
||||
"version": "5.22.10",
|
||||
"description": "Functions to visualize the map and boards for gaia project inside html canvas",
|
||||
"contributors": [
|
||||
"coyotte508",
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
v-b-tooltip.nofade="tooltipConfig"
|
||||
@click.stop
|
||||
>
|
||||
<path class="symbol-hit-area pass-background" d="M0 102H60V125Q60 130 55 130H5Q0 130 0 125Z" />
|
||||
<rect class="symbol-hit-area" y="102" width="60" height="28" />
|
||||
<path class="symbol-art" aria-hidden="true" d="M20 116l6 6 14-16" fill="none" stroke="#333" stroke-width="3" />
|
||||
</g>
|
||||
</template>
|
||||
|
|
@ -192,7 +192,7 @@ export default class AutomaDecisionCard extends Vue {
|
|||
pointer-events: none;
|
||||
}
|
||||
.automa-action-card:hover .card-outline,
|
||||
.automa-action-card:focus-visible .card-outline {
|
||||
.automa-action-card:focus-within .card-outline {
|
||||
stroke: #2878aa;
|
||||
stroke-width: 2;
|
||||
}
|
||||
|
|
@ -208,13 +208,6 @@ export default class AutomaDecisionCard extends Vue {
|
|||
.symbol-hit-area {
|
||||
fill: transparent;
|
||||
}
|
||||
.active .pass-background {
|
||||
fill: #e3eff6;
|
||||
}
|
||||
.decision-symbol:hover .symbol-hit-area,
|
||||
.decision-symbol:focus-visible .symbol-hit-area {
|
||||
stroke: #2878aa;
|
||||
}
|
||||
.card-number {
|
||||
text-anchor: middle;
|
||||
fill: #333;
|
||||
|
|
|
|||
|
|
@ -35,8 +35,7 @@
|
|||
v-b-tooltip.nofade="tooltipConfig"
|
||||
@click.stop
|
||||
>
|
||||
<path v-if="symbol === 'numbered'" class="symbol-highlight" d="M-30-13H30V9Q30 14 25 14H-25Q-30 14-30 9Z" />
|
||||
<rect v-else class="symbol-highlight" x="-30" y="-13" width="60" height="26" />
|
||||
<rect class="symbol-hit-area" x="-30" :y="usage.pass ? -20 : -13" width="60" :height="usage.pass ? 40 : 26" />
|
||||
<g class="symbol-art" aria-hidden="true">
|
||||
<template v-if="symbol === 'scoring'">
|
||||
<rect
|
||||
|
|
@ -147,8 +146,8 @@ export default class AutomaSupportCard extends Vue {
|
|||
.heading-hit-area {
|
||||
fill: #e3eff6;
|
||||
}
|
||||
.behavior-heading:hover .heading-hit-area,
|
||||
.behavior-heading:focus-visible .heading-hit-area {
|
||||
.automa-support-card:hover .card-outline,
|
||||
.automa-support-card:focus-within .card-outline {
|
||||
stroke: #2878aa;
|
||||
}
|
||||
.symbol-art {
|
||||
|
|
@ -170,21 +169,12 @@ export default class AutomaSupportCard extends Vue {
|
|||
.support-symbol .symbol-art {
|
||||
opacity: 0.45;
|
||||
}
|
||||
.support-symbol.active .symbol-art,
|
||||
.support-symbol:hover .symbol-art,
|
||||
.support-symbol:focus .symbol-art {
|
||||
.support-symbol.active .symbol-art {
|
||||
opacity: 1;
|
||||
}
|
||||
.symbol-highlight {
|
||||
.symbol-hit-area {
|
||||
fill: transparent;
|
||||
}
|
||||
.active .symbol-highlight {
|
||||
fill: #e3eff6;
|
||||
}
|
||||
.support-symbol:hover .symbol-highlight,
|
||||
.support-symbol:focus-visible .symbol-highlight {
|
||||
stroke: #2878aa;
|
||||
}
|
||||
.selection-arrow {
|
||||
fill: none;
|
||||
stroke: #222;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue