HighContrast: Correctly select window decoration

We need

    .window-classes decoration

but within the decoration parent selector, we were doing
&.window-classes, which gave us

    decoration.window classes

We need to fix this by selecting on .window-classes &

https://bugzilla.gnome.org/show_bug.cgi?id=788496
This commit is contained in:
Daniel Boles 2017-10-05 00:24:26 +01:00 committed by Daniel Boles
parent 512a33fee1
commit b0e18d676e
3 changed files with 22 additions and 20 deletions

View File

@ -3267,21 +3267,23 @@ decoration {
0 3px 9px 1px transparent,
0 0 0 1px $_wm_border_backdrop;
}
&.tiled {
.tiled & {
border-radius: 0;
}
&.csd {
&.popup {
border-radius: 0;
box-shadow: 0 1px 2px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border,0.1);
}
&.tooltip {
border-radius: 5px;
box-shadow: none;
}
.csd.popup & {
border-radius: 0;
box-shadow: 0 1px 2px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border,0.1);
}
&.solid-csd {
.tooltip & {
border-radius: 5px;
box-shadow: none;
}
.solid-csd & {
border-radius: 0;
margin: 4px;
background-color: $backdrop_bg_color;

View File

@ -1467,13 +1467,13 @@ decoration { border-radius: 7px 7px 0 0; border-width: 0px; box-shadow: 0 3px 9p
decoration:backdrop { box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
decoration.tiled { border-radius: 0; }
.tiled decoration { border-radius: 0; }
decoration.csd.popup { border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
.csd.popup decoration { border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
decoration.csd.tooltip { border-radius: 5px; box-shadow: none; }
.tooltip decoration { border-radius: 5px; box-shadow: none; }
decoration.solid-csd { border-radius: 0; margin: 4px; background-color: #000; border: solid 1px #737373; box-shadow: none; }
.solid-csd decoration { border-radius: 0; margin: 4px; background-color: #000; border: solid 1px #737373; box-shadow: none; }
/********************** Touch Copy & Paste * */
cursor-handle { background-color: #000; background-image: none; -gtk-icon-source: none; box-shadow: none; outline-style: none; outline-color: transparent; border: 2px solid #fff; }

View File

@ -1473,13 +1473,13 @@ decoration { border-radius: 7px 7px 0 0; border-width: 0px; box-shadow: 0 3px 9p
decoration:backdrop { box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
decoration.tiled { border-radius: 0; }
.tiled decoration { border-radius: 0; }
decoration.csd.popup { border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
.csd.popup decoration { border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
decoration.csd.tooltip { border-radius: 5px; box-shadow: none; }
.tooltip decoration { border-radius: 5px; box-shadow: none; }
decoration.solid-csd { border-radius: 0; margin: 4px; background-color: #fff; border: solid 1px #8d8d8d; box-shadow: none; }
.solid-csd decoration { border-radius: 0; margin: 4px; background-color: #fff; border: solid 1px #8d8d8d; box-shadow: none; }
/********************** Touch Copy & Paste * */
cursor-handle { background-color: #fff; background-image: none; -gtk-icon-source: none; box-shadow: none; outline-style: none; outline-color: transparent; border: 2px solid #000; }