CSD titlebutton icon fix

This should fix the titlebutton symbolic icons as well as remove the double layer effect. The previous method that was used for our CSD titlebuttons was more of a hack since we didn't have the symbolic icons for it.
This commit is contained in:
EMH-Mark-I 2020-06-12 23:05:03 -05:00
parent ef3d28bc7d
commit 3129ab4107
8 changed files with 18 additions and 15 deletions

View File

@ -1 +0,0 @@
./window-maximise.png

View File

@ -0,0 +1 @@
window-maximize.png

View File

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 205 B

View File

@ -0,0 +1 @@
window-minimize.png

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -29,7 +29,7 @@ button.titlebutton {
.titlebutton.close,
.titlebutton.maximize,
.titlebutton.minimize {
color: transparent;
color: @bg_dark;
border: none;
box-shadow: none;
padding: 0px;
@ -37,39 +37,41 @@ button.titlebutton {
background-color: transparent;
min-width: 18px;
min-height: 18px;
-gtk-icon-shadow: none; }
background-image: url("buttons/window_button_normal.png");
-gtk-icon-shadow: none;
-gtk-icon-style: requested; }
.titlebutton.minimize {
background-image: url("buttons/minimize_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.titlebutton.minimize:backdrop {
background-image: url("buttons/minimize_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.titlebutton.minimize:checked,
.titlebutton.minimize:active {
background-image: url("buttons/minimize_pressed.png"); }
background-image: url("buttons/window_button_pressed.png"); }
.titlebutton.maximize {
background-image: url("buttons/maximize_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.titlebutton.maximize:backdrop {
background-image: url("buttons/maximize_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.titlebutton.maximize:checked,
.titlebutton.maximize:active {
background-image: url("buttons/maximize_pressed.png"); }
background-image: url("buttons/window_button_pressed.png"); }
.maximized .titlebutton.maximize {
background-image: url("buttons/restore_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.maximized .titlebutton.maximize:backdrop {
background-image: url("buttons/restore_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.maximized .titlebutton.maximize:checked,
.maximized .titlebutton.maximize:active {
background-image: url("buttons/restore_pressed.png"); }
background-image: url("buttons/window_button_pressed.png"); }
.titlebutton.close {
background-image: url("buttons/close_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.titlebutton.close:backdrop {
background-image: url("buttons/close_normal.png"); }
background-image: url("buttons/window_button_normal.png"); }
.titlebutton.close:checked,
.titlebutton.close:active {
background-image: url("buttons/close_pressed.png"); }
background-image: url("buttons/window_button_pressed.png"); }
/* Groups these buttons together */
.titlebutton.minimize {