mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
f6757e0c0c
This is mostly search and replace ala GtkButton => button GtkWindow => window .button => button or removing style properties that aren't used anymore like -GtkButton-default-border: 0
50 lines
621 B
CSS
50 lines
621 B
CSS
* {
|
|
background-image: none;
|
|
}
|
|
|
|
button:nth-child(even) {
|
|
background-color: yellow;
|
|
}
|
|
|
|
button:nth-child(odd) {
|
|
background-color: red;
|
|
}
|
|
|
|
button:nth-child(first) {
|
|
background-color: purple;
|
|
}
|
|
|
|
button:nth-child(last):nth-child(even) {
|
|
background-color: lime;
|
|
}
|
|
|
|
button:nth-child(last):nth-child(odd) {
|
|
background-color: purple;
|
|
}
|
|
|
|
button:nth-child(last):nth-child(first) {
|
|
background-color: blue;
|
|
}
|
|
|
|
/* for reference */
|
|
|
|
#red {
|
|
background-color: red;
|
|
}
|
|
|
|
#lime {
|
|
background-color: lime;
|
|
}
|
|
|
|
#purple {
|
|
background-color: purple;
|
|
}
|
|
|
|
#yellow {
|
|
background-color: yellow;
|
|
}
|
|
|
|
#blue {
|
|
background-color: blue;
|
|
}
|