win32 theme: Add rudimentary titlebar support

This commit is contained in:
Benjamin Otte 2016-02-19 09:02:21 +01:00
parent eda348d2b5
commit f3d67cc2ac

View File

@ -340,3 +340,84 @@ row:selected:focus {
row:selected:hover {
background-image: -gtk-win32-theme-part(listview, 6, 12);
}
/* Titlebar */
window .titlebar {
background: -gtk-win32-theme-part(window, 1, 1);
}
window:backdrop .titlebar {
background: -gtk-win32-theme-part(window, 1, 2);
}
window .titlebar:disabled {
background: -gtk-win32-theme-part(window, 1, 3);
}
.titlebar button.close {
background-image: -gtk-win32-theme-part(window, 18, 1);
color: transparent;
}
.titlebar button.close:hover {
background-image: -gtk-win32-theme-part(window, 18, 2);
}
.titlebar button.close:active {
background-image: -gtk-win32-theme-part(window, 18, 3);
}
.titlebar button.close:disabled {
background-image: -gtk-win32-theme-part(window, 18, 4);
}
.titlebar button.minimize {
background-image: -gtk-win32-theme-part(window, 15, 1);
color: transparent;
}
.titlebar button.minimize:hover {
background-image: -gtk-win32-theme-part(window, 15, 2);
}
.titlebar button.minimize:active {
background-image: -gtk-win32-theme-part(window, 15, 3);
}
.titlebar button.minimize:disabled {
background-image: -gtk-win32-theme-part(window, 15, 4);
}
.titlebar button.maximize {
background-image: -gtk-win32-theme-part(window, 17, 1);
color: transparent;
}
.titlebar button.maximize:hover {
background-image: -gtk-win32-theme-part(window, 17, 2);
}
.titlebar button.maximize:active {
background-image: -gtk-win32-theme-part(window, 17, 3);
}
.titlebar button.maximize:disabled {
background-image: -gtk-win32-theme-part(window, 17, 4);
}
.maximized .titlebar button.maximize {
background-image: -gtk-win32-theme-part(window, 21, 1);
}
.maximized .titlebar button.maximize:hover {
background-image: -gtk-win32-theme-part(window, 21, 2);
}
.maximized .titlebar button.maximize:active {
background-image: -gtk-win32-theme-part(window, 21, 3);
}
.maximized .titlebar button.maximize:disabled {
background-image: -gtk-win32-theme-part(window, 21, 4);
}