mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
7e5ac3a58d
If a side of the box is 0px wide, make the corners owned by the adjacent sides. This avoids spilling over of unwanted colors from the 0-width side into the corner. New test for this case is included.
34 lines
395 B
CSS
34 lines
395 B
CSS
* {
|
|
all: unset;
|
|
}
|
|
|
|
.background {
|
|
background-color: khaki;
|
|
color: purple;
|
|
}
|
|
|
|
.button {
|
|
border-radius: 10px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.top {
|
|
border-top: 5px solid khaki;
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.right {
|
|
border-right: 5px solid khaki;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.bottom {
|
|
border-bottom: 5px solid khaki;
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.left {
|
|
border-left: 5px solid khaki;
|
|
padding-left: 0px;
|
|
}
|