win32 theme: Fix unfocused window buttons

This commit is contained in:
Jaime Velasco Juan 2016-10-21 12:35:07 +01:00 committed by Luca Bacci
parent bfe7a57b76
commit 2f30e12de7
No known key found for this signature in database
GPG Key ID: 8E3C8D989C98883D

View File

@ -183,9 +183,18 @@ decoration:disabled {
margin: -3px;
}
.titlebar .close image,
.titlebar .maximize image,
.titlebar .minimize image {
color: transparent;
}
.titlebar button.close {
background-image: -gtk-win32-theme-part(window, 18, 1);
color: transparent;
}
.titlebar button.close:backdrop {
background-image: -gtk-win32-theme-part(window, 18, 5);
}
.titlebar button.close:hover {
@ -202,7 +211,10 @@ decoration:disabled {
.titlebar button.minimize {
background-image: -gtk-win32-theme-part(window, 15, 1);
color: transparent;
}
.titlebar button.minimize:backdrop {
background-image: -gtk-win32-theme-part(window, 15, 5);
}
.titlebar button.minimize:hover {
@ -219,7 +231,10 @@ decoration:disabled {
.titlebar button.maximize {
background-image: -gtk-win32-theme-part(window, 17, 1);
color: transparent;
}
.titlebar button.maximize:backdrop {
background-image: -gtk-win32-theme-part(window, 17, 5);
}
.titlebar button.maximize:hover {
@ -238,6 +253,10 @@ decoration:disabled {
background-image: -gtk-win32-theme-part(window, 21, 1);
}
.maximized .titlebar button.maximize:backdrop {
background-image: -gtk-win32-theme-part(window, 21, 5);
}
.maximized .titlebar button.maximize:hover {
background-image: -gtk-win32-theme-part(window, 21, 2);
}