chore: ui for designating survivor for shared vault & warning when no survivor (#2544)

This commit is contained in:
Aman Harwara
2023-09-29 16:38:38 +05:30
committed by GitHub
parent 7c8816e229
commit 79c5da6c5b
8 changed files with 162 additions and 15 deletions

View File

@@ -116,21 +116,32 @@
}
@mixin DimmedBackground($color, $opacity) {
content: '';
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background-color: $color;
opacity: $opacity;
position: relative;
z-index: 1;
&::after {
content: '';
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background-color: $color;
opacity: $opacity;
z-index: -1;
pointer-events: none;
}
}
.bg-warning-faded::after {
.bg-warning-faded {
@include DimmedBackground(var(--sn-stylekit-warning-color), 0.08);
}
.bg-info-faded::after {
.bg-danger-faded {
@include DimmedBackground(var(--sn-stylekit-danger-color), 0.08);
}
.bg-info-faded {
@include DimmedBackground(var(--sn-stylekit-info-color), 0.08);
}