mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Changing brand-white to currentColor
This commit is contained in:
parent
dfdaaee7d8
commit
278f0d4ab9
@ -7,10 +7,11 @@
|
||||
|
||||
.icon {
|
||||
display: inline-block;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
fill: currentColor;
|
||||
margin-right: calc(var(--spacer) / 8);
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-top: -0.25em;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.minimal {
|
||||
|
@ -16,5 +16,5 @@
|
||||
display: inline-block;
|
||||
margin-bottom: -0.1em;
|
||||
margin-left: calc(var(--spacer) / 6);
|
||||
fill: var(--brand-white);
|
||||
fill: currentColor;
|
||||
}
|
||||
|
@ -85,7 +85,8 @@ export default function Actions({
|
||||
) : !isSupportedOceanNetwork ? (
|
||||
<Tooltip content={<AvailableNetworks />}>
|
||||
<Button type="submit" style="primary" disabled>
|
||||
Unsupported Network <Info className={styles.infoIcon} />
|
||||
Unsupported Network
|
||||
<Info className={styles.infoIcon} />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
) : (
|
||||
|
@ -6,12 +6,6 @@
|
||||
color: var(--brand-alert-red);
|
||||
margin-left: calc(var(--spacer) / 3);
|
||||
}
|
||||
.network svg {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-top: -0.25em;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
width: 0.5em;
|
||||
@ -22,12 +16,3 @@
|
||||
height: 0.5em;
|
||||
fill: var(--brand-alert-red);
|
||||
}
|
||||
.errorIcon {
|
||||
width: 0.85em;
|
||||
height: 0.85em;
|
||||
cursor: help;
|
||||
display: inline-block;
|
||||
margin-bottom: -0.1em;
|
||||
margin-left: calc(var(--spacer) / 6);
|
||||
color: var(--brand-alert-red);
|
||||
}
|
||||
|
@ -25,19 +25,12 @@ export default function Title({
|
||||
isSupportedOceanNetwork ? styles.network : styles.wrongNetwork
|
||||
}
|
||||
/>
|
||||
{isSupportedOceanNetwork ? (
|
||||
<Tooltip
|
||||
content={<AvailableNetworks />}
|
||||
className={styles.tooltip}
|
||||
className={
|
||||
isSupportedOceanNetwork ? styles.tooltip : styles.errorIcon
|
||||
}
|
||||
/>
|
||||
) : (
|
||||
<Tooltip
|
||||
content={<AvailableNetworks />}
|
||||
className={styles.errorTooltip}
|
||||
>
|
||||
<Info className={styles.errorIcon} />
|
||||
</Tooltip>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user