chore: ui for designating survivor for shared vault & warning when no survivor (#2544)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user