Gtk-4: Fix no visual separation between windows

This commit is contained in:
EliverLara
2021-12-05 14:13:51 -06:00
parent cbdc4ce8f3
commit 1ec6016bf9
3 changed files with 19 additions and 19 deletions

View File

@@ -4383,32 +4383,32 @@ treeview.view header button, treeview.view header button:hover, treeview.view he
/********************** /**********************
* Window Decorations * * Window Decorations *
*********************/ *********************/
decoration { decoration, window {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
border-width: 0px; border-width: 0px;
border-width: 0px; border-width: 0px;
box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.6); box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.6);
margin: 10px; } margin: 10px; }
decoration:backdrop { decoration:backdrop, window:backdrop {
box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.4); box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.4);
transition: 200ms ease-out; } transition: 200ms ease-out; }
.maximized decoration, .fullscreen decoration, .tiled decoration { .maximized decoration, .fullscreen decoration, .tiled decoration, .maximized window, .fullscreen window, .tiled window {
border-radius: 0; } border-radius: 0; }
.popup decoration { .popup decoration, .popup window {
box-shadow: none; } box-shadow: none; }
.ssd decoration { .ssd decoration, .ssd window {
box-shadow: none; } box-shadow: none; }
.csd.popup decoration { .csd.popup decoration, .csd.popup window {
border-radius: 7px; border-radius: 7px;
box-shadow: 0 4px 8px rgba(12, 14, 21, 0.8); box-shadow: 0 4px 8px rgba(12, 14, 21, 0.8);
border: 1px solid rgba(12, 14, 21, 0.8); } border: 1px solid rgba(12, 14, 21, 0.8); }
tooltip.csd decoration { tooltip.csd decoration, tooltip.csd window {
border-radius: 5px; border-radius: 5px;
box-shadow: none; } box-shadow: none; }
messagedialog.csd decoration { messagedialog.csd decoration, messagedialog.csd window {
border-radius: 7px; border-radius: 7px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(12, 14, 21, 0.6); } box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(12, 14, 21, 0.6); }
.solid-csd decoration { .solid-csd decoration, .solid-csd window {
border-radius: 0; border-radius: 0;
margin: 0px; margin: 0px;
background-color: #161925; background-color: #161925;

View File

@@ -4383,32 +4383,32 @@ treeview.view header button, treeview.view header button:hover, treeview.view he
/********************** /**********************
* Window Decorations * * Window Decorations *
*********************/ *********************/
decoration { decoration, window {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
border-width: 0px; border-width: 0px;
border-width: 0px; border-width: 0px;
box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.6); box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.6);
margin: 10px; } margin: 10px; }
decoration:backdrop { decoration:backdrop, window:backdrop {
box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.4); box-shadow: 0 4px 10px 2px rgba(12, 14, 21, 0.4);
transition: 200ms ease-out; } transition: 200ms ease-out; }
.maximized decoration, .fullscreen decoration, .tiled decoration { .maximized decoration, .fullscreen decoration, .tiled decoration, .maximized window, .fullscreen window, .tiled window {
border-radius: 0; } border-radius: 0; }
.popup decoration { .popup decoration, .popup window {
box-shadow: none; } box-shadow: none; }
.ssd decoration { .ssd decoration, .ssd window {
box-shadow: none; } box-shadow: none; }
.csd.popup decoration { .csd.popup decoration, .csd.popup window {
border-radius: 7px; border-radius: 7px;
box-shadow: 0 4px 8px rgba(12, 14, 21, 0.8); box-shadow: 0 4px 8px rgba(12, 14, 21, 0.8);
border: 1px solid rgba(12, 14, 21, 0.8); } border: 1px solid rgba(12, 14, 21, 0.8); }
tooltip.csd decoration { tooltip.csd decoration, tooltip.csd window {
border-radius: 5px; border-radius: 5px;
box-shadow: none; } box-shadow: none; }
messagedialog.csd decoration { messagedialog.csd decoration, messagedialog.csd window {
border-radius: 7px; border-radius: 7px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(12, 14, 21, 0.6); } box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(12, 14, 21, 0.6); }
.solid-csd decoration { .solid-csd decoration, .solid-csd window {
border-radius: 0; border-radius: 0;
margin: 0px; margin: 0px;
background-color: #161925; background-color: #161925;

View File

@@ -1,7 +1,7 @@
/********************** /**********************
* Window Decorations * * Window Decorations *
*********************/ *********************/
decoration { decoration, window {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
// lamefun trick to get rounded borders regardless of CSD use // lamefun trick to get rounded borders regardless of CSD use