GTK3: Improve decoration round corners

This commit is contained in:
Daniel Ruiz de Alegría 2021-10-14 12:34:49 +02:00
parent c31bd40a39
commit 4cb943413f
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C

View File

@ -551,8 +551,12 @@ placessidebar {
*********************/ *********************/
decoration { decoration {
$_border_width: 1px; $_border_width: 1px;
border-radius: $window_radius+$_border_width $window_radius+$_border_width $button_radius+$_border_width $button_radius+$_border_width; $_top_window_radius: $window_radius+$_border_width;
$_bottom_window_radius: min($button_radius+$_border_width, 6px);
border-radius: $_top_window_radius $_top_window_radius $_bottom_window_radius $_bottom_window_radius;
border: $_border_width solid $base_color; border: $_border_width solid $base_color;
border-bottom-width: 2px;
background: $bg_color;
box-shadow: 0 2px 8px 0 transparentize(black, 0.6), box-shadow: 0 2px 8px 0 transparentize(black, 0.6),
0 0 0 1px $_wm_border; 0 0 0 1px $_wm_border;