make the window thumbnails bigger

Adjust the layout of the overview and window thumbnails to make them
bigger. Also, make the background shade darker to compensate for the
increased thumbnail density.

https://bugzilla.gnome.org/show_bug.cgi?id=689876
This commit is contained in:
csoriano89 2012-12-08 02:37:30 +01:00 committed by Allan Day
parent 429f9e1d15
commit 468a855f04
2 changed files with 6 additions and 6 deletions

View File

@ -613,7 +613,7 @@ StScrollBar StButton#vhandle:active {
/* Overview */
#overview {
spacing: 40px;
spacing: 24px;
}
#overview-group {
@ -706,8 +706,8 @@ StScrollBar StButton#vhandle:active {
}
.window-picker {
-horizontal-spacing: 40px;
-vertical-spacing: 40px;
-horizontal-spacing: 32px;
-vertical-spacing: 32px;
}
/* Dash */

View File

@ -30,9 +30,9 @@ const GLSL_DIM_EFFECT_CODE = '\
vec2 dist = cogl_tex_coord_in[0].xy - vec2(0.5, 0.5); \
float elipse_radius = 0.5; \
/* from https://bugzilla.gnome.org/show_bug.cgi?id=669798: \
the alpha on the gradient goes from 165 at its darkest to 98 at its most transparent. */ \
float y = 165.0 / 255.0; \
float x = 98.0 / 255.0; \
the alpha on the gradient goes from 250 at its darkest to 180 at its most transparent. */ \
float y = 250.0 / 255.0; \
float x = 180.0 / 255.0; \
/* interpolate darkening value, based on distance from screen center */ \
float val = min(length(dist), elipse_radius); \
float a = mix(x, y, val / elipse_radius); \