gnome-shell/tests/testcommon/test.css
Jasper St. Pierre e7289378b7 st-scroll-view: Make the fade effect and offset themable
Theme authors now have the power (and responsibility) of creating fade
effects with the new CSS length property '-st-fade-offset'. A value of
0 disables the effect.

This new CSS approach replaces the current programmatic toggle of
the 'vfade' property. A new CSS style class name 'vfade' is used as
a replacement for the old property.

https://bugzilla.gnome.org/show_bug.cgi?id=651813
2011-06-04 15:43:49 -04:00

74 lines
1.1 KiB
CSS

@import "../../data/theme/gnome-shell.css";
stage {
font: 16pt serif;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
.bold {
font-weight: bold;
}
.italic {
font-style: italic;
}
.big {
font-size: 150%;
}
.monospace {
font-family: monospace;
}
.border-image {
border: 15px;
border-image: url('border-image.png') 16;
}
.background-gradient {
background-gradient-start: rgba(127, 255, 127, .6);
background-gradient-end: rgba(127, 127, 255, .6);
}
.border-image-with-background-gradient {
border: 15px black solid;
border-image: url('border-image.png') 16;
background-gradient-start: #88ff88;
background-gradient-end: #8888ff;
}
.background-image {
background-image: url('face-plain.png');
background-color: white;
}
.push-button {
background: #eeddbb;
border: 1px solid black;
border-radius: 8px;
padding: 5px;
}
.push-button:hover {
background: #ffeecc;
}
.push-button:active {
background: #ccbb99;
}
.vfade {
-st-fade-offset: 68px;
}