summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 01:14:05 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 01:14:05 +0000
commite479cbc1f26dc1a9b250b90affb29653fed2aa46 (patch)
tree89f52a3db5c08c7411dfbab045a8fb8fe1c2ab16 /chrome/browser/resources
parent9d95dc6fe14f8cae2e38c5fb1a43d6e4217a8557 (diff)
downloadchromium_src-e479cbc1f26dc1a9b250b90affb29653fed2aa46.zip
chromium_src-e479cbc1f26dc1a9b250b90affb29653fed2aa46.tar.gz
chromium_src-e479cbc1f26dc1a9b250b90affb29653fed2aa46.tar.bz2
Make themes in the incognito NTP which are bottom-aligned attach to the bottom of the screen, rather than the bottom of the text box.
BUG= http://crbug.com/21543 TEST= Install "Folders" theme. Open incognito window. Observe that NTP background looks the same as it doesn in normal mode. Review URL: http://codereview.chromium.org/202056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/new_incognito_tab_theme.css16
1 files changed, 9 insertions, 7 deletions
diff --git a/chrome/browser/resources/new_incognito_tab_theme.css b/chrome/browser/resources/new_incognito_tab_theme.css
index d4e7f9e..d960795 100644
--- a/chrome/browser/resources/new_incognito_tab_theme.css
+++ b/chrome/browser/resources/new_incognito_tab_theme.css
@@ -1,11 +1,13 @@
html {
- background-image:url(chrome://theme/theme_ntp_background?$1);
- background-color:$2;
- background-position:$3;
- background-repeat:$5;
- overflow:hidden;
+ background-image: url(chrome://theme/theme_ntp_background?$1);
+ background-color: $2;
+ background-position: $3;
+ background-repeat: $5;
+ height: 100%;
+ overflow: auto;
+ background-attachment: fixed;
}
html[bookmarkbarattached='true'] {
- background-position:$4;
-} \ No newline at end of file
+ background-position: $4;
+}