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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/contextual_search/promo.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. 3 found in the LICENSE file.
4 */ 4 */
5 @font-face { 5 @font-face {
6 font-family: 'Roboto2'; 6 font-family: 'Roboto2';
7 font-weight: 400; 7 font-weight: 400;
8 src: local('Roboto'), local('Roboto2-Regular'), 8 src: local('Roboto'), local('Roboto2-Regular'),
9 url(/roboto.woff2) format('woff2'), url(/roboto.woff) format('woff'); 9 url(/roboto.woff2) format('woff2'), url(/roboto.woff) format('woff');
10 } 10 }
11 11
12 body { 12 body {
13 color: #414141; 13 color: #414141;
14 font-family: 'Roboto2', sans-serif; 14 font-family: 'Roboto2', sans-serif;
15 margin: 0; 15 margin: 0;
16 } 16 }
17 17
18 a { 18 a {
19 text-decoration: none; 19 text-decoration: none;
20 } 20 }
21 21
22 a.colored-link { 22 a.colored-link {
23 color: rgb(66, 133, 244); 23 color: rgb(66, 133, 244);
24 } 24 }
25 25
26 #button-container { 26 #button-container {
27 text-align: right; 27 text-align: end;
28 width: 100%; 28 width: 100%;
29 } 29 }
30 30
31 #container.hide { 31 #container.hide {
32 -webkit-transform: scale(0.95); 32 -webkit-transform: scale(0.95);
33 -webkit-transition-duration: 218ms; 33 -webkit-transition-duration: 218ms;
34 -webkit-transition-property: opacity, -webkit-transform; 34 -webkit-transition-property: opacity, -webkit-transform;
35 opacity: 0; 35 opacity: 0;
36 } 36 }
37 37
38 #description { 38 #description {
39 font-size: 16px; 39 font-size: 16px;
40 line-height: 1.4em; 40 line-height: 1.4em;
41 margin: 24px 16px 4px 16px; 41 margin: 24px 16px 4px 16px;
42 } 42 }
43 43
44 /* Some properties below can be overridden in landscape orientation. */
44 #heading { 45 #heading {
45 font-size: 24px; 46 font-size: 24px;
46 letter-spacing: 1px; 47 letter-spacing: 1px;
47 margin-top: 0; 48 margin-top: 0;
48 text-align: center; 49 text-align: center;
49 } 50 }
50
51 #header-image { 51 #header-image {
52 display: block;
53 height: 100px; 52 height: 100px;
54 margin: 0 auto 24px auto; 53 margin: 0 auto 24px auto;
55 } 54 }
55 .portrait {
56 display: block;
57 }
58 .landscape {
59 display: none;
60 }
61
62 /* Landscape */
63 @media screen and (orientation:landscape) {
64 #heading {
65 padding-top: 16px;
66 }
67 #header-image {
68 margin: 0 24px;
69 }
70 .portrait {
71 display: none;
72 }
73 .landscape {
74 display: block;
75 float: left;
76 }
77 html[dir='rtl'] .landscape {
78 float: right;
79 }
80 }
56 81
57 .label { 82 .label {
58 display: inline-block; 83 display: inline-block;
59 font-size: 14px; 84 font-size: 14px;
60 margin: 14px 0; 85 margin: 14px 0;
61 /* We use a slightly different top-bottom padding because Roboto has a 86 /* We use a slightly different top-bottom padding because Roboto has a
62 rendering bug which makes an extra padding to be rendered at the bottom of 87 rendering bug which makes an extra padding to be rendered at the bottom of
63 text. */ 88 text. */
64 padding: 17px 14px 13px 14px; 89 padding: 17px 14px 13px 14px;
65 white-space: nowrap; 90 white-space: nowrap;
(...skipping 10 matching lines...) Expand all
76 margin-right: 24px; 101 margin-right: 24px;
77 } 102 }
78 103
79 #optin-label a { 104 #optin-label a {
80 color: white; 105 color: white;
81 } 106 }
82 107
83 #optout-label a { 108 #optout-label a {
84 color: rgb(66, 133, 244); 109 color: rgb(66, 133, 244);
85 } 110 }
OLDNEW
« 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