From 699ab0da64a44444bc99108592004d1354f5f89f Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Thu, 23 Apr 2009 23:19:14 +0000 Subject: Add transparency support to RenderWidgetHostView. This is used to make the background behind toolstrips 'shine through' them. It isn't possible to make them really transparent due to cleartype (cleartype must know the pixels behind the text to work), so instead we paint the background we want behind the transparent webview. Review URL: http://codereview.chromium.org/88076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14378 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/extensions_toolstrip.css | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'chrome/browser/resources') diff --git a/chrome/browser/resources/extensions_toolstrip.css b/chrome/browser/resources/extensions_toolstrip.css index 921f97f..b709856 100755 --- a/chrome/browser/resources/extensions_toolstrip.css +++ b/chrome/browser/resources/extensions_toolstrip.css @@ -1,16 +1,13 @@ body { + display:-webkit-box; + -webkit-box-align:center; + white-space:nowrap; overflow: hidden; margin: 0; - padding: 0; + padding:0 6px; font: menu; - text-shadow: #FFFFFF 1px 1px 0px; color: #062D75; -} - -#main { - background: -webkit-gradient(linear, left top, left bottom, from(rgb(222, 234, 248)), to(rgb(237, 244, 252))); - padding-top: 3px; - height: 21px; - overflow: hidden; - white-space: nowrap; + text-shadow: #FFFFFF 1px 1px 0px; + -webkit-user-select:none; + cursor:default; } -- cgit v1.1