mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
9070c457d6
Cover the rounded corners so that they cause no visible difference in the end result.
52 lines
878 B
Plaintext
52 lines
878 B
Plaintext
transform {
|
|
child: transform {
|
|
child: rounded-clip {
|
|
child: container {
|
|
repeat {
|
|
bounds: 0 0 159 34;
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 10 10;
|
|
color: rgb(168,168,168);
|
|
}
|
|
color {
|
|
bounds: 10 0 10 10;
|
|
color: rgb(84,84,84);
|
|
}
|
|
color {
|
|
bounds: 0 10 10 10;
|
|
color: rgb(84,84,84);
|
|
}
|
|
color {
|
|
bounds: 10 10 10 10;
|
|
color: rgb(168,168,168);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
clip: 0 0 159 34 / 6;
|
|
}
|
|
transform: scale(4, 4);
|
|
}
|
|
transform: translate(6, 20);
|
|
}
|
|
|
|
/* cover the rounded corners */
|
|
color {
|
|
color: red;
|
|
bounds: 6 20 25 25;
|
|
}
|
|
color {
|
|
color: red;
|
|
bounds: 617 20 25 25;
|
|
}
|
|
color {
|
|
color: red;
|
|
bounds: 6 131 25 25;
|
|
}
|
|
color {
|
|
color: red;
|
|
bounds: 617 131 25 25;
|
|
}
|
|
|