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

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: nits 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..c82d0bc42bd03abd2af0f22f5cda5a3595c4bbb4 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%;
}
@@ -41,18 +41,43 @@ a.colored-link {
margin: 24px 16px 4px 16px;
}
+/* Some properties below can be overridden in landscape orientation. */
#heading {
font-size: 24px;
letter-spacing: 1px;
margin-top: 0;
text-align: center;
}
-
#header-image {
- display: block;
height: 100px;
margin: 0 auto 24px auto;
}
+.portrait {
+ display: block;
+}
+.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;
« 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