1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

spacing, styling, sizing

This commit is contained in:
Matthias Kretschmann 2022-01-12 15:42:12 +00:00
parent 5f50379f63
commit 0b97994a9e
2 changed files with 18 additions and 7 deletions

View File

@ -1,29 +1,40 @@
.feedback { .feedback {
padding: 0;
margin: 0 auto;
max-width: 40rem;
} }
.feedback li { .feedback li {
display: inline-block; display: block;
padding-bottom: var(--spacer);
margin-bottom: var(--spacer); margin-bottom: var(--spacer);
counter-increment: list-number; counter-increment: list-number;
border-bottom: 1px solid var(--border-color);
}
.feedback li:last-child {
border-bottom: none;
} }
/* inject the numbers */ /* inject the numbers */
.feedback li:before { .feedback li:before {
position: relative;
content: counter(list-number); content: counter(list-number);
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 2rem; width: 1.4rem;
height: 2rem; height: 1.4rem;
border-radius: 50%; border-radius: 50%;
border: 2px solid var(--border-color); border: 2px solid var(--border-color);
margin-right: calc(var(--spacer) / 4); margin-right: calc(var(--spacer) / 4);
font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold);
font-size: var(--font-size-small);
top: -0.15rem;
} }
.feedback .active:before { .feedback .active:before {
color: var(--background-content); color: var(--background-content);
border-color: var(--brand-purple); border-color: var(--brand-purple);
border-top-color: var(--brand-violet); border-top-color: var(--brand-violet);
animation: loader 0.6s linear infinite; animation: loader 0.6s linear infinite;
@ -46,11 +57,11 @@
.title { .title {
font-size: var(--font-size-large); font-size: var(--font-size-large);
display: inline-block; display: inline-block;
margin-bottom: 0; margin-bottom: calc(var(--spacer) / 4);
} }
.description { .description {
margin-left: calc(var(--spacer) * 1.3); margin-left: var(--spacer);
color: var(--color-secondary); color: var(--color-secondary);
margin-bottom: 0; margin-bottom: 0;
} }

View File

@ -8,7 +8,7 @@
color: var(--color-secondary); color: var(--color-secondary);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius); border-radius: var(--border-radius);
padding: calc(var(--spacer) / 12) calc(var(--spacer) / 4); padding: calc(var(--spacer) / 16) calc(var(--spacer) / 4);
} }
a.txHash { a.txHash {