hold notif to copy (#224)

This commit is contained in:
end-4
2024-02-02 19:23:05 +07:00
parent fdea1dd8fb
commit b6b061b172
2 changed files with 74 additions and 32 deletions
+27 -5
View File
@@ -28,6 +28,18 @@ $notif_surface: $t_background;
padding-right: $rounding_small + 0.545rem;
}
.notif-clicked-low {
background-color: mix($l_l_t_surfaceVariant, $t_onSurfaceVariant, 85%);
}
.notif-clicked-normal {
background-color: mix($l_l_t_surfaceVariant, $t_onSurfaceVariant, 85%);
}
.notif-clicked-critical {
background-color: mix($secondaryContainer, $onSecondaryContainer, 95%);
}
.popup-notif-low {
@include notif-rounding;
min-width: 30.682rem;
@@ -55,6 +67,18 @@ $notif_surface: $t_background;
padding-right: $rounding_small + 0.545rem;
}
.popup-notif-clicked-low {
background-color: mix($notif_surface, $onBackground, 94%);
}
.popup-notif-clicked-normal {
background-color: mix($notif_surface, $onBackground, 94%);
}
.popup-notif-clicked-critical {
background-color: mix($secondaryContainer, $onSecondaryContainer, 96%);
}
.notif-body-low {
color: mix($onSurfaceVariant, $surfaceVariant, 67%);
}
@@ -138,10 +162,8 @@ $notif_surface: $t_background;
.osd-notif {
@include notif-rounding;
background-color: transparentize(
$background,
$transparentize_surface_amount_subtract_surface
);
background-color: transparentize($background,
$transparentize_surface_amount_subtract_surface );
min-width: 30.682rem;
}
@@ -217,4 +239,4 @@ $notif_surface: $t_background;
.notif-action-critical:active {
background-color: mix($t_onSecondaryContainer, $t_secondaryContainer, 23%);
}
}