mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
navigation success style
This commit is contained in:
parent
d67529409c
commit
2007d0c3ca
@ -63,12 +63,15 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.current {
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
.current:before {
|
||||
.current::before {
|
||||
color: var(--brand-white);
|
||||
background: var(--brand-black);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.navigation .success::before {
|
||||
content: '✓';
|
||||
color: var(--brand-white);
|
||||
background: var(--brand-alert-green);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { FormikContextType, useFormikContext } from 'formik'
|
||||
import React, { FormEvent, ReactElement } from 'react'
|
||||
import React, { ReactElement } from 'react'
|
||||
import { FormPublishData } from '../_types'
|
||||
import { wizardSteps } from '../_constants'
|
||||
import styles from './index.module.css'
|
||||
@ -19,6 +19,7 @@ export default function Navigation(): ReactElement {
|
||||
<li
|
||||
key={step.title}
|
||||
onClick={() => handleStepClick(step.step)}
|
||||
// TODO: add success class
|
||||
className={values.step === step.step ? styles.current : null}
|
||||
>
|
||||
{step.title}
|
||||
|
Loading…
Reference in New Issue
Block a user