Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: chrome/browser/resources/contextual_search/promo.css

Issue 626513002: [Search] Modify the First-run experience in Landscape mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rtl Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/contextual_search/promo.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/contextual_search/promo.css
diff --git a/chrome/browser/resources/contextual_search/promo.css b/chrome/browser/resources/contextual_search/promo.css
index 309f4761d249b3c159d8f2d2a6657f5edc9971f3..8e0d5ee3666ba72bdf10c3aefa2f37141612359e 100644
--- a/chrome/browser/resources/contextual_search/promo.css
+++ b/chrome/browser/resources/contextual_search/promo.css
@@ -24,7 +24,7 @@ a.colored-link {
}
#button-container {
- text-align: right;
+ text-align: end;
width: 100%;
}
@@ -49,11 +49,38 @@ a.colored-link {
}
#header-image {
- display: block;
height: 100px;
margin: 0 auto 24px auto;
}
+.portrait {
+ display: block;
+}
+
huangs 2014/10/02 18:29:33 NIT: Remove spaces between #heading, #header-image
Mathieu 2014/10/02 18:40:09 Done.
+.landscape {
+ display: none;
+}
+
+/* Landscape */
+@media screen and (orientation:landscape) {
+ #heading {
+ padding-top: 16px;
+ }
+ #header-image {
+ margin: 0 24px;
+ }
+ .portrait {
+ display: none;
+ }
+ .landscape {
+ display: block;
+ float: left;
+ }
+ html[dir='rtl'] .landscape {
+ float: right;
+ }
+}
+
.label {
display: inline-block;
font-size: 14px;
« no previous file with comments | « no previous file | chrome/browser/resources/contextual_search/promo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698