mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 07:24:56 +01:00
a7179a6b88
* added snap-update folder * addded update route, snap update component, updated permissions connect components * added actions and selectors * updated permissions selectors and updated permissions connect container to have update snap logic * updated translations, added selector, updated request object * updated translations, added update snap permission list component * more fixes * added CSS, redid some HTML * lint fixes * Add missing grantPermissions action * updated button padding * fixes * removed prop type * fix Update & Install wrapping * made changes for forthcoming snap controller PR * removed ununsed imports * updated css * re-added padding rule and removed unused translation messages * addressed comments * add subtext for new permissions * lint fix * removed unused translations * some more changes * fix e2e tests * lint fix * added in delay for e2e tests * Revert "added in delay for e2e tests" This reverts commit 095962a2c0c9de0b0b343d3134bb0787044dd8ce. * fixed routing logic Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
48 lines
835 B
SCSS
48 lines
835 B
SCSS
.update-snap-permission-list {
|
|
width: 100%;
|
|
|
|
.approved-permission,
|
|
.new-permission,
|
|
.revoked-permission {
|
|
@include H6;
|
|
|
|
width: 100%;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--color-border-default);
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
color: var(--color-text-default);
|
|
|
|
i {
|
|
display: block;
|
|
padding: 16px;
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.approved-permission {
|
|
color: var(--color-success-default);
|
|
}
|
|
|
|
.revoked-permission {
|
|
color: var(--color-error-alternative);
|
|
}
|
|
|
|
.new-permission {
|
|
color: var(--color-info-default);
|
|
}
|
|
|
|
.permission-description {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.permission-description-subtext {
|
|
@include H7;
|
|
}
|
|
}
|