summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/local_ntp/local_ntp.css
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/local_ntp/local_ntp.css')
-rw-r--r--chromium/chrome/browser/resources/local_ntp/local_ntp.css18
1 files changed, 15 insertions, 3 deletions
diff --git a/chromium/chrome/browser/resources/local_ntp/local_ntp.css b/chromium/chrome/browser/resources/local_ntp/local_ntp.css
index d6896c2c359..cdc6ae41bca 100644
--- a/chromium/chrome/browser/resources/local_ntp/local_ntp.css
+++ b/chromium/chrome/browser/resources/local_ntp/local_ntp.css
@@ -36,7 +36,9 @@ body.fakebox-disable #fakebox > input {
}
#logo {
- background-image: url(images/2x/google_logo.png);
+ background-image: -webkit-image-set(
+ url('images/google_logo.png') 1x,
+ url('images/google_logo.png@2x') 2x);
background-repeat: no-repeat;
background-size: 269px 95px;
height: 95px;
@@ -46,7 +48,7 @@ body.fakebox-disable #fakebox > input {
}
body.alternate-logo #logo {
- background-image: url(images/2x/white_google_logo.png);
+ background-image: url(images/white_google_logo.png);
}
#fakebox {
@@ -62,6 +64,7 @@ body.alternate-logo #logo {
font-size: 18px;
height: 36px;
max-width: 620px;
+ position: relative;
/* #fakebox width (here and below) should be 2px less than #mv-tiles
to account for its border. */
width: 298px;
@@ -78,11 +81,20 @@ body.fakebox-focused #fakebox {
#fakebox > input {
bottom: 0;
+ box-sizing: border-box;
left: 0;
+ margin: 0;
opacity: 0;
+ padding-left: 8px;
position: absolute;
- right: 0;
top: 0;
+ width: 100%;
+}
+
+body.rtl #fakebox > input {
+ padding-left: 0;
+ padding-right: 8px;
+ right: 0;
}
#cursor {