Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix thick black border on CSD windows when not using composition #208

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Theme/Chicago95/gtk-3.0/assets/window_decoration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions Theme/Chicago95/gtk-3.0/gtk-window.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
Make sure that all changes made here are part of the GtkWindow.
*/

/* A large border area for the window client decoration is recommended so that it provides easier interactivity when the user is resizing their application windows from a border edge with the cursor.
* The border image contains a 8px surrounding transparency with an additional non-transparent 2px for the border. This gives the illusion of a 2px border image instead of the full 10px. */
/* A large border area for the window client decoration is recommended so that it provides easier interactivity when the user is resizing their application windows from a border edge with the cursor. */
window decoration,
dialog > decoration {
padding: 2px; /* Padding is required so that there is some space between the window decoration border and any internal components. */
border: 10px solid @border_dark;
padding: 3px; /* Padding is required so that there is some space between the window decoration border and any internal components. */
border: 2px solid @border_dark;
background-color: @bg_color;
border-image: url("assets/window_decoration.png");
border-image-slice: 10 10 10 10;
border-image-slice: 2 2 2 2;
box-shadow: none; }

/* Server-side decoration (SSD) */
Expand Down