Commit f3d67cc2 authored by Benjamin Otte's avatar Benjamin Otte

win32 theme: Add rudimentary titlebar support

parent eda348d2
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment