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:
Ray Strode 2011-01-24 16:11:40 -05:00
parent ce91d85bc0
commit 7d77802ba1
2 changed files with 3 additions and 3 deletions

View File

@ -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;'

View File

@ -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 {