1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/src/components/Publish/Pricing/Price.module.css
EnzoVezzaro 6c7a474136
Free pricing: added confirm checkbox (#1086)
* added confirm checkbox and connect logic to wizard

* add 'accessDetails' to displayed asset

* restore initial state

* adding 'freeAgreement' option to constants

* moved checkbox for free item aggreament

* improvement on amountDataToken validation

* change Field component with Input and improve UI

* change `onChange` property with `useField` hook

* switch back to Formik Field

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-02-18 11:55:46 +00:00

73 lines
1.2 KiB
CSS

.form {
position: relative;
}
.form *,
.form label {
margin-bottom: 0;
}
.price {
background: var(--background-highlight);
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
}
.grid {
display: grid;
gap: calc(var(--spacer) / 2);
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
padding: calc(var(--spacer) / 2);
max-width: 30rem;
margin-left: auto;
margin-right: auto;
align-items: center;
}
.fixed label {
display: none;
}
.datatoken {
color: var(--color-secondary);
font-size: var(--font-size-small);
font-weight: var(--font-weight-bold);
}
.datatoken h4 {
font-size: var(--font-size-base);
color: var(--color-secondary);
margin: 0;
}
.datatoken strong {
color: var(--font-color-text);
}
.firstPrice {
font-size: var(--font-size-small);
color: var(--color-secondary);
text-align: center;
padding-top: calc(var(--spacer) / 3);
padding-bottom: calc(var(--spacer) / 3);
border-top: 1px solid var(--border-color);
}
.firstPrice div {
display: inline-block;
}
.conversion strong {
color: var(--color-secondary);
}
.free {
text-align: left;
margin: calc(var(--spacer) / 2);
font-size: var(--font-size-base);
}
.free [class*='FormInput_field'] {
margin: 0;
}