diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 23:19:14 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 23:19:14 +0000 |
commit | 699ab0da64a44444bc99108592004d1354f5f89f (patch) | |
tree | 05dd618d341567e26dc303b56baac155e5fe2d1a /chrome/browser/resources | |
parent | b547fd44ca39e90e6416da8a5ffc040fa9d2446c (diff) | |
download | chromium_src-699ab0da64a44444bc99108592004d1354f5f89f.zip chromium_src-699ab0da64a44444bc99108592004d1354f5f89f.tar.gz chromium_src-699ab0da64a44444bc99108592004d1354f5f89f.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/resources')
-rwxr-xr-x | chrome/browser/resources/extensions_toolstrip.css | 17 |
1 files changed, 7 insertions, 10 deletions
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; } |