1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/ui/components/app/connected-accounts-permissions/index.scss
Ashis Kumar Pradhan 512fdcae56
Replaced with new checkbox in ConnectedAccountsPermissions (#20228)
* Replaced with new checkbox in ConnectedAccountsPermissions

* removed a typo

* fixed linting issue

* Small updates to styles

---------

Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-08-01 14:17:19 -07:00

55 lines
916 B
SCSS

.connected-accounts-permissions {
@include H7;
display: flex;
flex-direction: column;
color: var(--color-text-alternative);
strong {
font-weight: bold;
}
p + p {
padding-top: 8px;
}
&__header {
@include H6;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
cursor: pointer;
color: var(--color-text-default);
button {
font-size: $font-size-paragraph;
background: none;
padding: 0;
margin-left: 8px;
color: var(--color-icon-default);
}
}
&__list {
padding-top: 8px;
}
&__list-item {
display: flex;
}
&__list-container {
max-height: 0;
overflow: hidden;
height: auto;
transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
&--expanded {
// arbitrarily set hard coded value for effect to work
max-height: 100px;
}
}
}