Files
brk/website_next/wallets/wallet/history/style.css
T
2026-06-22 16:42:14 +02:00

125 lines
2.6 KiB
CSS

main.wallets {
.activity {
display: grid;
gap: 1.25rem;
:is(h2, h3, p) {
margin: 0;
}
h2 {
color: var(--white);
font-size: var(--font-size-lg);
font-weight: 400;
line-height: var(--line-height-lg);
}
h3 {
color: var(--gray);
font-size: var(--font-size-xs);
font-weight: 400;
line-height: var(--line-height-xs);
text-transform: uppercase;
}
> section {
display: grid;
gap: 0.5rem;
> ol {
display: grid;
gap: 0.25rem;
margin: 0;
padding: 0;
list-style: none;
> li {
border-bottom: 1px solid color-mix(
in oklch,
var(--gray) 18%,
transparent
);
> details {
&[open] {
display: grid;
gap: 0.75rem;
}
> summary {
display: grid;
gap: 0.25rem;
padding: 0.875rem 0;
list-style: none;
cursor: pointer;
&::marker,
&::-webkit-details-marker {
display: none;
content: "";
}
> header {
display: flex;
gap: 1rem;
align-items: baseline;
justify-content: space-between;
min-width: 0;
strong {
color: var(--white);
font-weight: 500;
}
> span {
color: var(--white);
white-space: nowrap;
&.positive {
color: var(--green);
}
&.negative {
color: var(--red);
}
}
}
> p {
min-width: 0;
color: var(--gray);
font-size: var(--font-size-sm);
line-height: var(--line-height-sm);
code {
color: inherit;
font-family: inherit;
}
}
}
> section {
display: grid;
gap: 1rem;
code {
overflow-wrap: anywhere;
color: var(--white);
font-family: inherit;
}
> ul {
display: grid;
gap: 0.75rem;
margin: 0;
padding: 0;
list-style: none;
}
}
}
}
}
}
}
}