mempool/frontend/src/app/components/tx-bowtie-graph/tx-bowtie-graph.component.scss

58 lines
1.0 KiB
SCSS
Raw Normal View History

2022-08-22 19:12:04 +00:00
.bowtie {
.line {
fill: none;
2022-08-24 18:54:11 +00:00
&.input {
stroke: url(#input-gradient);
}
&.output {
stroke: url(#output-gradient);
}
&.fee {
stroke: url(#fee-gradient);
}
2022-09-17 01:20:08 +00:00
&.highlight {
z-index: 8;
cursor: pointer;
&.input {
stroke: url(#input-highlight-gradient);
}
&.output {
stroke: url(#output-highlight-gradient);
}
}
}
.line:hover, .connector:hover + .marker-target + .line, .marker-target:hover + .line {
z-index: 10;
cursor: pointer;
&.input {
stroke: url(#input-hover-gradient);
}
&.output {
stroke: url(#output-hover-gradient);
}
&.fee {
stroke: url(#fee-hover-gradient);
2022-09-17 01:20:08 +00:00
}
2022-08-22 19:12:04 +00:00
}
.connector {
stroke: none;
opacity: 0.75;
cursor: pointer;
&.input {
fill: url(#input-connector-gradient);
}
&.output {
fill: url(#output-connector-gradient);
}
}
.marker-target {
stroke: none;
fill: transparent;
cursor: pointer;
}
}