1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

dark-mode-icon-disconnect-icon (#14151)

This commit is contained in:
George Marshall 2022-03-23 10:48:15 -07:00 committed by GitHub
parent 90fc9cad8b
commit 00e64eb6c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 19 deletions

View File

@ -1,3 +0,0 @@
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.9717 11.5576C13.6494 10.5858 14.0469 9.40401 14.0469 8.12939C14.0469 4.81569 11.3606 2.12939 8.04688 2.12939C6.77226 2.12939 5.59048 2.52684 4.61869 3.20457L6.70652 5.2924C7.09817 5.10496 7.53683 5 8 5C9.65685 5 11 6.34315 11 8C11 8.46317 10.895 8.90183 10.7076 9.29348L12.9717 11.5576ZM12.9987 14.413L14.142 15.5563C14.5325 15.9468 15.1657 15.9468 15.5562 15.5563C15.9468 15.1658 15.9468 14.5326 15.5562 14.1421L14.4026 12.9885C15.434 11.6415 16.0469 9.957 16.0469 8.12939C16.0469 3.71112 12.4652 0.129395 8.04688 0.129395C6.21927 0.129395 4.5348 0.742241 3.18776 1.77364L2.1212 0.707079C1.73067 0.316555 1.09751 0.316555 0.706986 0.707079C0.316461 1.0976 0.316461 1.73077 0.706986 2.12129L1.76322 3.17753C0.688345 4.53962 0.046875 6.25959 0.046875 8.12939C0.046875 12.5477 3.6286 16.1294 8.04688 16.1294C9.91667 16.1294 11.6367 15.4879 12.9987 14.413ZM11.5713 12.9857C10.5818 13.7051 9.36389 14.1294 8.04688 14.1294C4.73317 14.1294 2.04688 11.4431 2.04688 8.12939C2.04688 6.81238 2.47121 5.59447 3.19062 4.60493L5.29234 6.70665C5.10494 7.09827 5 7.53688 5 8C5 9.65685 6.34315 11 8 11C8.46312 11 8.90173 10.8951 9.29335 10.7077L11.5713 12.9857Z" fill="#6A737D"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -104,10 +104,7 @@ export default class ConnectedAccountsList extends PureComponent {
onShowOptions={this.showAccountOptions.bind(null, address)} onShowOptions={this.showAccountOptions.bind(null, address)}
show={accountWithOptionsShown === address} show={accountWithOptionsShown === address}
> >
<MenuItem <MenuItem iconClassName="fa fa-ban" onClick={this.disconnectAccount}>
iconClassName="disconnect-icon"
onClick={this.disconnectAccount}
>
{t('disconnectThisAccount')} {t('disconnectThisAccount')}
</MenuItem> </MenuItem>
</ConnectedAccountsListOptions> </ConnectedAccountsListOptions>

View File

@ -45,16 +45,4 @@
grid-row: 1 / span 2; grid-row: 1 / span 2;
color: var(--color-icon-default); color: var(--color-icon-default);
} }
.disconnect-icon {
&::before {
content: "";
background-image: url(/images/icons/disconnect.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
padding: 8px;
display: flex;
}
}
} }