From 39a24b9a6d696aa6a60b8075ab0058514a455b94 Mon Sep 17 00:00:00 2001 From: Discardi Nicola Date: Tue, 4 May 2010 06:24:37 +0200 Subject: [PATCH] [dash] Make the style for places and recent items similar to apps Change the style rules so that the style for places and recent items matches the style for applications in a couple of aspects: * Use a gradient on hover * Use consistent padding and spacing https://bugzilla.gnome.org/show_bug.cgi?id=610393 --- data/theme/gnome-shell.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 77f23e23a..dc2fec147 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -500,6 +500,9 @@ StTooltip { .app-well-app:hover { border: 1px solid #666666; + background-gradient-direction: vertical; + background-gradient-start: rgba(61,61,61,0.8); + background-gradient-end: rgba(24,24,24,0.2); } .app-well-app:active { @@ -540,33 +543,43 @@ StTooltip { } .places-item-box { - spacing: 4px; + spacing: 2px; } .places-item { border-radius: 4px; padding: 2px; border: 1px solid #181818; + padding-left: 4px; + padding-right: 4px; } .places-item:hover { border: 1px solid #666666; + background-gradient-direction: vertical; + background-gradient-start: rgba(61,61,61,0.8); + background-gradient-end: rgba(24,24,24,0.2); } /* Recent items */ .recent-docs-item-box { - spacing: 4px; + spacing: 2px; } .recent-docs-item { border-radius: 4px; padding: 2px; border: 1px solid #181818; + padding-left: 4px; + padding-right: 4px; } .recent-docs-item:hover { border: 1px solid #666666; + background-gradient-direction: vertical; + background-gradient-start: rgba(61,61,61,0.8); + background-gradient-end: rgba(24,24,24,0.2); } /* LookingGlass */