mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-03 14:44:27 +01:00
c59e2b4d44
* Add tooltips to show info about a permission * Make Tooltip component in scope regardless of build type * Add descriptions * Add translation variables and fix tooltip * Use new icons * Add missing description after rebase * Fix build issues * Fix icons * Fix translation * Add missing description * Fix Ethereum icon * Update coverage
63 lines
1.1 KiB
SCSS
63 lines
1.1 KiB
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;
|
|
}
|
|
|
|
.permission {
|
|
&__tooltip-icon {
|
|
margin-left: auto !important;
|
|
padding-left: 16px;
|
|
|
|
i {
|
|
color: var(--color-icon-muted);
|
|
}
|
|
|
|
&__warning i {
|
|
color: var(--color-warning-default);
|
|
}
|
|
}
|
|
}
|
|
}
|