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

77 lines
1.3 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);
}
&.zerovalue {
stroke: url(#gradient0);
stroke-linecap: round;
}
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);
}
&.zerovalue {
stroke: #1bd8f4;
}
}
}
.line:hover, .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
}
&.zerovalue {
stroke: white;
}
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);
}
}
.connector:hover {
&.input {
fill: url(#input-hover-connector-gradient);
}
&.output {
fill: url(#output-hover-connector-gradient);
}
}
.marker-target {
stroke: none;
fill: transparent;
cursor: pointer;
}
}