1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Dark Mode: Home Notifications (#14095)

This commit is contained in:
David Walsh 2022-03-22 12:46:15 -05:00 committed by GitHub
parent 0d72c2f878
commit 09efa19d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,9 @@
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: space-between; justify-content: space-between;
background: rgba(36, 41, 46, 0.9); background: var(--color-background-default);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border: 1px solid var(--color-border-muted);
border-radius: 8px; border-radius: 8px;
min-height: 116px; min-height: 116px;
padding: 16px; padding: 16px;
@ -25,21 +26,21 @@
&__text { &__text {
@include H7; @include H7;
color: var(--white); color: var(--color-text-default);
} }
&__text-link { &__text-link {
@include H7; @include H7;
color: var(--primary-blue); color: var(--color-primary-default);
cursor: pointer; cursor: pointer;
} }
.fa-info-circle { .fa-info-circle {
color: #6a737d; color: var(--color-icon-default);
} }
& &__checkbox-wrapper { &__checkbox-wrapper {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
@ -49,18 +50,18 @@
} }
} }
& &__checkbox { &__checkbox {
height: 13px; height: 13px;
width: 13px; width: 13px;
font-size: 16px; font-size: 16px;
cursor: pointer; cursor: pointer;
} }
& &__checkbox-label { &__checkbox-label {
@include H7; @include H7;
color: var(--white); color: var(--color-text-default);
margin-left: 10px; margin-left: 8px;
margin-top: 1px; margin-top: 1px;
user-select: none; user-select: none;
-moz-user-select: none; -moz-user-select: none;
@ -68,57 +69,20 @@
cursor: pointer; cursor: pointer;
} }
& &__ignore-button { &__ignore-button.button {
border-color: #6a737d; width: auto;
box-sizing: border-box; padding: 8px 16px;
color: var(--white);
background-color: inherit;
height: 34px;
width: 155px;
padding: 0;
@media screen and (max-width: $break-small) {
width: 135px;
}
&:hover {
border-color: #6a737d;
background-color: #6a737d;
}
&:active {
background-color: #141618;
}
} }
& &__accept-button { &__accept-button.button {
border-color: #6a737d; width: auto;
box-sizing: border-box; padding: 8px 16px;
color: var(--white);
background-color: inherit;
height: 34px;
width: 155px;
padding: 0;
margin-left: 4px;
@media screen and (max-width: $break-small) {
width: 135px;
}
&:hover {
border-color: #6a737d;
background-color: #6a737d;
}
&:active {
background-color: #141618;
}
} }
&__buttons { &__buttons {
display: flex; display: flex;
width: 100%; width: 100%;
padding-top: 10px; padding-top: 8px;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
flex-direction: row-reverse; flex-direction: row-reverse;
@ -126,6 +90,6 @@
&__tooltip-wrapper { &__tooltip-wrapper {
display: flex; display: flex;
margin-left: 10px; margin-left: 8px;
} }
} }