1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/src/components/Profile/Header/NumberUnit.module.css
mihaisc 67621f5639
Various veOCEAN features (#1743)
* change top message, fixes, allocations

* lock ocean tooltip

* asset stats tweaks

* front page allocations refactor

* wording, run empty table messages through markdown

* footer stats tweaks

* profile tinkering

* fix allocations in table

* Tweak lock action logic

* fix allocation 0

* sort by allocation

* search ordering fixes

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-17 15:56:03 +01:00

56 lines
934 B
CSS

.number,
.number * {
font-weight: var(--font-weight-bold);
font-size: var(--font-size-h4);
color: var(--font-color-heading);
margin-left: 0;
}
.number {
white-space: nowrap;
display: inline-flex;
align-items: baseline;
line-height: 1;
}
.number.small,
.number.small * {
font-size: var(--font-size-h5);
}
.label {
display: block;
}
.number svg {
width: var(--font-size-large);
height: var(--font-size-large);
margin-right: calc(var(--spacer) / 4);
stroke: currentColor;
}
.unit {
font-size: var(--font-size-small);
color: var(--color-secondary);
}
.unit a {
color: var(--color-secondary);
display: block;
padding: 0.5rem 1rem;
border: 0.1rem solid transparent;
border-radius: 0.2rem;
}
.unit a:hover,
.unit a:focus {
background: var(--brand-white);
border: 0.1rem solid var(--brand-pink);
}
.tooltip svg {
width: 0.8em !important;
height: 0.8em !important;
margin-left: 0;
}