tests: show off translucent gradients
Right now border color is leaking through. Demonstrate that. https://bugzilla.gnome.org/show_bug.cgi?id=640465
This commit is contained in:
parent
ce91d85bc0
commit
7d77802ba1
@ -84,7 +84,7 @@ box.add(framedGradients);
|
|||||||
|
|
||||||
function addGradientCase(direction, borderWidth, borderRadius, extra) {
|
function addGradientCase(direction, borderWidth, borderRadius, extra) {
|
||||||
let gradientBox = new St.BoxLayout({ style_class: 'background-gradient',
|
let gradientBox = new St.BoxLayout({ style_class: 'background-gradient',
|
||||||
style: 'border: ' + borderWidth + 'px solid #8b8b8b;'
|
style: 'border: ' + borderWidth + 'px solid #8b0000;'
|
||||||
+ 'border-radius: ' + borderRadius + 'px;'
|
+ 'border-radius: ' + borderRadius + 'px;'
|
||||||
+ 'background-gradient-direction: ' + direction + ';'
|
+ 'background-gradient-direction: ' + direction + ';'
|
||||||
+ 'width: 32px;'
|
+ 'width: 32px;'
|
||||||
|
@ -38,8 +38,8 @@ stage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.background-gradient {
|
.background-gradient {
|
||||||
background-gradient-start: #88ff88;
|
background-gradient-start: rgba(127, 255, 127, .6);
|
||||||
background-gradient-end: #8888ff;
|
background-gradient-end: rgba(127, 127, 255, .6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-image-with-background-gradient {
|
.border-image-with-background-gradient {
|
||||||
|
Loading…
Reference in New Issue
Block a user