From 68b943d8eab5197425444f4e1b27bf3efa5fbf1b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 15 Mar 2010 13:55:08 -0400 Subject: [PATCH] [MessageTray] remove bottom rounded corners https://bugzilla.gnome.org/show_bug.cgi?id=610726 --- data/theme/gnome-shell.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 84de40e51..4dc3a2e71 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -662,8 +662,14 @@ StTooltip { #notification { font-size: 16px; - border-radius: 5px; - background: rgba(0,0,0,0.9); + border-radius: 5px 5px 0px 0px; + /* FIXME: currently StWidget can only draw non-uniform corners + * if the background is a gradient. So, we draw a gradient + * from black to black... + */ + background-gradient-direction: vertical; + background-gradient-start: rgba(0,0,0,0.9); + background-gradient-end: rgba(0,0,0,0.9); color: white; padding: 2px 10px 10px 10px; spacing-rows: 5px;