2020-07-23 12:26:08 +02:00
|
|
|
.tabList {
|
|
|
|
text-align: center;
|
2020-10-30 21:28:20 +01:00
|
|
|
border-bottom: 1px solid var(--border-color);
|
Account metadata header (#776)
* get all neded data for the header from 3box, aqua and subgraph
* fix tvl display error
* WIP metadata header styling
* added more styling for the header
* make page title optional so we can remove it on account page
* stroke change for svg images and default values
* more styling added to the header
* fixed linter
* added ocean balance to tvl
* update styling for statistcs
* fixed eror for go to my account from another account page
* updated styling for mobile use
* wip show more on explorer links and description
* properly display read more for explorer links and description
* replaced show more with 3box redirect on description
* change accounts default picture and check links length before display element
* use optional on links
* grid cleanup, new number unit, split up stats
* rename all the things, more profile header styling
* visual hierarchy, improve image loading experience
* layout flow & visual tweaks
* more description
* replaced account route with profile when accesing a profile by the eth address
* use account id from url if exists when fetching data
* bump @oceanprotocol/art to v3.2.0
* styling, fallbacks, edge case fixes
* clean up Publisher atom, link to profile page
* fixed issue when switching to my profile from another profile
* output accountId, make it copyable, remove stats icons
* render tweaks, markup cleanup
* add 3box reference
* mobile tabs spacing tweaks
* text flow and spacing tweaks
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-01 13:56:34 +02:00
|
|
|
padding: calc(var(--spacer) / 2);
|
2022-02-17 17:03:27 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2020-07-23 12:26:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab {
|
|
|
|
display: inline-block;
|
2022-05-23 13:29:37 +02:00
|
|
|
padding: calc(var(--spacer) / 8) var(--spacer);
|
2020-07-23 12:26:08 +02:00
|
|
|
font-weight: var(--font-weight-bold);
|
2020-07-23 13:00:06 +02:00
|
|
|
font-size: var(--font-size-small);
|
2020-07-23 12:26:08 +02:00
|
|
|
text-transform: uppercase;
|
2020-10-30 21:28:20 +01:00
|
|
|
color: var(--color-secondary);
|
2021-02-22 16:37:50 +01:00
|
|
|
background-color: var(--background-body);
|
2020-11-16 16:21:15 +01:00
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
margin-right: -1px;
|
2022-02-17 17:03:27 +01:00
|
|
|
min-width: 90px;
|
2020-11-16 16:21:15 +01:00
|
|
|
}
|
|
|
|
|
2022-05-23 13:29:37 +02:00
|
|
|
.tab,
|
|
|
|
.tab label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-11-16 16:21:15 +01:00
|
|
|
.tab:first-child {
|
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab:last-child {
|
|
|
|
border-top-right-radius: var(--border-radius);
|
|
|
|
border-bottom-right-radius: var(--border-radius);
|
2020-07-23 12:26:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab[aria-selected='true'] {
|
2021-02-22 16:37:50 +01:00
|
|
|
background-color: var(--font-color-heading);
|
2020-10-30 21:28:20 +01:00
|
|
|
color: var(--background-body);
|
2020-11-16 16:21:15 +01:00
|
|
|
border-color: var(--font-color-heading);
|
2020-07-23 12:26:08 +02:00
|
|
|
}
|
|
|
|
|
2021-11-23 13:53:09 +01:00
|
|
|
.tab[aria-disabled='true'] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2022-02-10 15:37:34 +01:00
|
|
|
.tab > div {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-07-23 12:26:08 +02:00
|
|
|
.tabContent {
|
Account metadata header (#776)
* get all neded data for the header from 3box, aqua and subgraph
* fix tvl display error
* WIP metadata header styling
* added more styling for the header
* make page title optional so we can remove it on account page
* stroke change for svg images and default values
* more styling added to the header
* fixed linter
* added ocean balance to tvl
* update styling for statistcs
* fixed eror for go to my account from another account page
* updated styling for mobile use
* wip show more on explorer links and description
* properly display read more for explorer links and description
* replaced show more with 3box redirect on description
* change accounts default picture and check links length before display element
* use optional on links
* grid cleanup, new number unit, split up stats
* rename all the things, more profile header styling
* visual hierarchy, improve image loading experience
* layout flow & visual tweaks
* more description
* replaced account route with profile when accesing a profile by the eth address
* use account id from url if exists when fetching data
* bump @oceanprotocol/art to v3.2.0
* styling, fallbacks, edge case fixes
* clean up Publisher atom, link to profile page
* fixed issue when switching to my profile from another profile
* output accountId, make it copyable, remove stats icons
* render tweaks, markup cleanup
* add 3box reference
* mobile tabs spacing tweaks
* text flow and spacing tweaks
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-01 13:56:34 +02:00
|
|
|
padding: calc(var(--spacer) / 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.tabContent {
|
|
|
|
padding: var(--spacer);
|
|
|
|
}
|
2020-07-23 12:26:08 +02:00
|
|
|
}
|
2022-05-23 13:29:37 +02:00
|
|
|
|
|
|
|
.radio {
|
|
|
|
composes: radio from '../../FormInput/InputRadio.module.css';
|
|
|
|
}
|