mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-30 22:01:44 +02:00
* refactor and simplify * fix user pool transaction section * split up fetching and data manipulation * restore refetch after add/remove, rename all the things * more naming and logging * new state structure unifying multiple data structures * another response failsafe * naming
61 lines
1.3 KiB
CSS
61 lines
1.3 KiB
CSS
.actions {
|
|
composes: container from './Pool/index.module.css';
|
|
border-top: 1px solid var(--border-color);
|
|
margin-top: calc(var(--spacer) / 1.5);
|
|
padding: calc(var(--spacer) / 1.5);
|
|
background: var(--background-highlight);
|
|
margin-bottom: -2rem;
|
|
}
|
|
|
|
.actions [class*='rdt_Pagination'] {
|
|
margin-bottom: -1rem;
|
|
}
|
|
|
|
.title {
|
|
composes: title from './Pool/index.module.css';
|
|
margin-bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.title:hover .toggle {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.title + div {
|
|
margin-top: calc(var(--spacer) / 3);
|
|
}
|
|
|
|
.toggle {
|
|
color: var(--color-secondary);
|
|
}
|
|
|
|
.toggle svg {
|
|
display: inline-block;
|
|
width: var(--font-size-mini);
|
|
height: var(--font-size-mini);
|
|
fill: currentColor;
|
|
transition: 0.2s ease-out;
|
|
}
|
|
|
|
.open .toggle svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.actions [class*='Table-module--table'] {
|
|
/*
|
|
react-data-table-component sets a default width: 100%
|
|
which often leads to unneccessary overflows. Following lines make
|
|
sure table always spans between edges of container, without any overflow
|
|
when enough space is available. But it also destroys overflow table on narrow
|
|
viewports.
|
|
*/
|
|
width: 100%;
|
|
}
|
|
|
|
.actions [class*='TableCell'] {
|
|
width: 140px;
|
|
}
|