Files
python-tdd/src/static_src/scss/_wallet-tokens.scss

62 lines
1.1 KiB
SCSS
Raw Normal View History

.token-tooltip {
display: none;
width: 16rem;
max-width: 16rem;
white-space: normal;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(6px);
border: 0.1rem solid rgba(var(--secUser), 0.5);
color: rgba(var(--secUser), 1);
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
z-index: 10;
font-size: 0.875rem;
h4 {
font-size: 0.95rem;
margin: 0 0 0.3rem 0;
color: rgba(var(--terUser), 1);
}
p {
margin: 0 0 0.2rem 0;
&.expiry {
color: rgba(var(--priRd), 1);
}
}
small {
display: block;
font-size: 0.6rem;
opacity: 0.6;
}
}
.token {
position: relative;
display: inline-block;
cursor: help;
color: rgba(var(--terUser), 1);
.token-tooltip {
position: absolute;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
}
&:hover .token-tooltip {
display: block;
}
}
@media (max-width: 768px) {
.token .token-tooltip {
width: 13rem;
max-width: 90vw;
left: 0;
transform: none;
}
}