Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
Gtk-3.20&3.22&4.0: [LibreOffice] Unblock '.csd' style-class for XWayland
Browse files Browse the repository at this point in the history
Some pieces of hackish styling still keep blocking CSDs for safety.
  • Loading branch information
tista500 committed Jul 17, 2017
1 parent 1969448 commit 52cbb02
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gtk/sass/3.20/_3rd-party.scss
Expand Up @@ -3417,6 +3417,7 @@ window#MyControlCenter > frame > box.horizontal {
// ****************/

window.background:not(.csd):not(.solid-csd) {
// FIXME: still keep blocing CSDs.
// reserved area at the most-right side of GtkMenuBar
> grid.horizontal > grid.horizontal {
background-color: $inverted_dark_color;
Expand All @@ -3429,7 +3430,9 @@ window.background:not(.csd):not(.solid-csd) {
&:disabled { color: $insensitive_inverted_fg_color; }
}
}
}

window.background:not(.solid-csd) {
// for 'Notebookbar' toolbar
> notebook:not(.frame) {
border: 0 none transparent; // unset borders
Expand Down
3 changes: 3 additions & 0 deletions gtk/sass/3.22/_3rd-party.scss
Expand Up @@ -3356,6 +3356,7 @@ MsdOsdWindow {
// ****************/

window.background:not(.csd):not(.solid-csd) {
// FIXME: still keep blocing CSDs.
// reserved area at the most-right side of GtkMenuBar
> grid.horizontal > grid.horizontal {
background-color: $inverted_dark_color;
Expand All @@ -3368,7 +3369,9 @@ window.background:not(.csd):not(.solid-csd) {
&:disabled { color: $insensitive_inverted_fg_color; }
}
}
}

window.background:not(.solid-csd) {
// for 'Notebookbar' toolbar
> notebook:not(.frame) {
border: 0 none transparent; // unset borders
Expand Down
3 changes: 3 additions & 0 deletions gtk/sass/4.0/_3rd-party.scss
Expand Up @@ -3226,6 +3226,7 @@ MsdOsdWindow {
// ****************/

window.background:not(.csd):not(.solid-csd) {
// FIXME: still keep blocing CSDs.
// reserved area at the most-right side of GtkMenuBar
> grid.horizontal > grid.horizontal {
background-color: $inverted_dark_color;
Expand All @@ -3238,7 +3239,9 @@ window.background:not(.csd):not(.solid-csd) {
&:disabled { color: $insensitive_inverted_fg_color; }
}
}
}

window.background:not(.solid-csd) {
// for 'Notebookbar' toolbar
> notebook:not(.frame) {
border: 0 none transparent; // unset borders
Expand Down

0 comments on commit 52cbb02

Please sign in to comment.