mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +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
53 lines
626 B
CSS
53 lines
626 B
CSS
@import "reset-to-defaults.css";
|
|
|
|
button {
|
|
background-image: url("green-20x20.png");
|
|
background-repeat: no-repeat;
|
|
background-color: red;
|
|
}
|
|
|
|
button#ref {
|
|
background-image: none;
|
|
background-color: lime;
|
|
}
|
|
|
|
window#ref {
|
|
background-color: red;
|
|
}
|
|
|
|
#a {
|
|
background-position: 50% 50%;
|
|
}
|
|
|
|
#b {
|
|
background-position: 0% 50%;
|
|
}
|
|
|
|
#c {
|
|
background-position: 0% 100%;
|
|
}
|
|
|
|
#d {
|
|
background-position: bottom right;
|
|
}
|
|
|
|
#e {
|
|
background-position: right top;
|
|
}
|
|
|
|
#f {
|
|
background-position: right;
|
|
}
|
|
|
|
#g {
|
|
background-position: 10px 10px;
|
|
}
|
|
|
|
#h {
|
|
background-position: -10px 10px;
|
|
}
|
|
|
|
#i {
|
|
background-position: 20px 20px;
|
|
}
|