2023-08-29 21:20:36 +09:00
|
|
|
.fee-graph {
|
|
|
|
height: 100%;
|
2023-08-30 16:49:54 +09:00
|
|
|
min-width: 120px;
|
|
|
|
width: 120px;
|
|
|
|
max-height: 90vh;
|
2023-08-29 21:20:36 +09:00
|
|
|
margin-left: 4em;
|
|
|
|
margin-right: 1.5em;
|
|
|
|
padding-bottom: 63px;
|
|
|
|
|
|
|
|
.column {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
background: #181b2d;
|
|
|
|
|
|
|
|
.bar {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
display: flex;
|
2023-08-30 16:49:54 +09:00
|
|
|
flex-direction: column;
|
2023-08-29 21:20:36 +09:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.fill {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
opacity: 0.75;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fee {
|
2023-08-30 16:49:54 +09:00
|
|
|
font-size: 0.9em;
|
2023-08-29 21:20:36 +09:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2023-08-30 16:49:54 +09:00
|
|
|
.spacer {
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
flex-grow: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2023-08-29 21:20:36 +09:00
|
|
|
.line {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
left: -4.5em;
|
|
|
|
border-top: dashed white 1.5px;
|
|
|
|
|
|
|
|
.fee-rate {
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0.2em;
|
|
|
|
font-size: 0.8em;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
margin-right: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rate .symbol {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.tx {
|
|
|
|
.fill {
|
2023-08-30 16:49:54 +09:00
|
|
|
background: #3bcc49;
|
2023-08-29 21:20:36 +09:00
|
|
|
}
|
|
|
|
.line {
|
|
|
|
.fee-rate {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fee {
|
2023-08-30 16:49:54 +09:00
|
|
|
position: absolute;
|
2023-08-29 21:20:36 +09:00
|
|
|
opacity: 1;
|
|
|
|
z-index: 11;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.target {
|
|
|
|
.fill {
|
2023-08-30 16:49:54 +09:00
|
|
|
background: #653b9c;
|
2023-08-29 21:20:36 +09:00
|
|
|
}
|
|
|
|
.fee {
|
2023-08-30 16:49:54 +09:00
|
|
|
position: absolute;
|
2023-08-29 21:20:36 +09:00
|
|
|
opacity: 1;
|
|
|
|
z-index: 11;
|
|
|
|
}
|
|
|
|
.line .fee-rate {
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.max {
|
|
|
|
cursor: pointer;
|
|
|
|
.line .fee-rate {
|
|
|
|
.label {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
&.active, &:hover {
|
|
|
|
.fill {
|
2023-08-30 16:49:54 +09:00
|
|
|
background: #105fb0;
|
2023-08-29 21:20:36 +09:00
|
|
|
}
|
|
|
|
.line {
|
|
|
|
.fee-rate .label {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.fill {
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
.line {
|
|
|
|
z-index: 11;
|
|
|
|
}
|
|
|
|
.fee {
|
|
|
|
opacity: 1;
|
|
|
|
z-index: 12;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover > .bar:not(:hover) {
|
|
|
|
&.target, &.max {
|
|
|
|
.fee {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.line .fee-rate .label {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-08-30 16:49:54 +09:00
|
|
|
&.max {
|
|
|
|
.fill {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
2023-08-29 21:20:36 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|