]> Pileus Git - ~andy/gtk/blob - demos/gtk-demo/fancy.css
gtk-demo: Add a simple example for theming
[~andy/gtk] / demos / gtk-demo / fancy.css
1 GtkButton#fancy {
2   font-weight: bold;
3   background-image: linear-gradient(135deg, yellow, blue);
4   border-radius: 20px;
5   color: white;
6 }
7
8 GtkButton#fancy:hover {
9   font-weight: bold;
10   background-image: linear-gradient(135deg, blue, yellow);
11   border-radius: 20px;
12   color: white;
13 }
14
15 GtkButton#fancy:active {
16   font-weight: bold;
17   background-image: linear-gradient(yellow, yellow);
18   border-radius: 20px;
19   color: black;
20 }
21
22 GtkButton#fancy * {
23   color: inherit;
24 }