Refine toast styles
This commit is contained in:
parent
5284497d4d
commit
3a722bb70f
1 changed files with 6 additions and 4 deletions
|
@ -2,11 +2,14 @@
|
||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
.Toast {
|
.Toast {
|
||||||
|
$border-radius-px: 8px;
|
||||||
|
|
||||||
@include font-body-2;
|
@include font-body-2;
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 4px;
|
border-radius: $border-radius-px;
|
||||||
bottom: 62px;
|
bottom: 62px;
|
||||||
|
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05), 0px 4px 12px rgba(0, 0, 0, 0.3);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
@ -19,13 +22,10 @@
|
||||||
@include light-theme {
|
@include light-theme {
|
||||||
background-color: $color-gray-80;
|
background-color: $color-gray-80;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
box-shadow: 0 4px 16px 0 $color-black-alpha-20,
|
|
||||||
0 0 0 0.5px $color-black-alpha-05;
|
|
||||||
}
|
}
|
||||||
@include dark-theme {
|
@include dark-theme {
|
||||||
background-color: $color-gray-75;
|
background-color: $color-gray-75;
|
||||||
color: $color-gray-05;
|
color: $color-gray-05;
|
||||||
box-shadow: 0 4px 16px 0 $color-white-alpha-20;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
|
@ -34,6 +34,8 @@
|
||||||
|
|
||||||
&__button {
|
&__button {
|
||||||
@include font-body-2-bold;
|
@include font-body-2-bold;
|
||||||
|
border-top-right-radius: $border-radius-px;
|
||||||
|
border-bottom-right-radius: $border-radius-px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue