Commit 09cf0975 authored by mathp's avatar mathp Committed by Commit bot

[Search] Adjust buttons in the first run experience.

Pure HTML/CSS changes. No tests affected.

BUG=413337,416228

Review URL: https://codereview.chromium.org/612823005

Cr-Commit-Position: refs/heads/master@{#297270}
parent 665bf309
......@@ -1225,7 +1225,7 @@ Signing in anyway will merge Chromium information like bookmarks, history, and o
Search with one touch
</message>
<message name="IDS_CONTEXTUAL_SEARCH_PROMO_DESCRIPTION_1" desc="Part 1 of the description of the Contextual Search feature. Combined with FEATURE_NAME and DESCRIPTION_2 below, the whole should be a paragraph describing the feature. This line can be empty if it makes sense to start the sentence with FEATURE_NAME.">
Learn about topics on websites without leaving your browser.
Learn about topics on websites without leaving your tab.
</message>
<message name="IDS_CONTEXTUAL_SEARCH_PROMO_FEATURE_NAME" desc="Name of the Contextual Search feature. See explanation in DESCRIPTION_1.">
Tap to Search
......
......@@ -1150,7 +1150,7 @@ Signing in anyway will merge Chrome information like bookmarks, history, and oth
Search with one touch
</message>
<message name="IDS_CONTEXTUAL_SEARCH_PROMO_DESCRIPTION_1" desc="Part 1 of the description of the Contextual Search feature. Combined with FEATURE_NAME and DESCRIPTION_2 below, the whole should be a paragraph describing the feature. This line can be empty if it makes sense to start the sentence with FEATURE_NAME.">
Learn about topics on websites without leaving your browser.
Learn about topics on websites without leaving your tab.
</message>
<message name="IDS_CONTEXTUAL_SEARCH_PROMO_FEATURE_NAME" desc="Name of the Contextual Search feature. See explanation in DESCRIPTION_1.">
Tap to Search
......
......@@ -16,26 +16,13 @@ body {
}
a {
color: #414141;
text-decoration: none;
}
.colored {
a.colored-link {
color: rgb(66, 133, 244);
}
.label {
display: inline-block;
font-size: 14px;
font-weight: bold;
padding: 28px;
white-space: nowrap;
}
.label a {
text-transform: uppercase;
}
#button-container {
text-align: right;
width: 100%;
......@@ -66,3 +53,33 @@ a {
height: 100px;
margin: 0 auto 24px auto;
}
.label {
display: inline-block;
font-size: 14px;
margin: 14px 0;
/* We use a slightly different top-bottom padding because Roboto has a
rendering bug which makes an extra padding to be rendered at the bottom of
text. */
padding: 17px 14px 13px 14px;
white-space: nowrap;
}
.label a {
text-transform: uppercase;
}
#optin-label {
background: rgb(66, 133, 244);
background-clip: padding-box;
border-radius: 3px;
margin-right: 24px;
}
#optin-label a {
color: white;
}
#optout-label a {
color: rgb(66, 133, 244);
}
......@@ -17,12 +17,12 @@
<p i18n-content="heading" id="heading"></p>
<p id="description">
<span i18n-content="description-1"></span>
<a class="colored" href="#learn-more" i18n-content="feature-name"></a>
<a class="colored-link" href="#learn-more" i18n-content="feature-name"></a>
<span i18n-content="description-2"></span>
</p>
<div id="button-container">
<span class="label"><a href="#optout" i18n-content="optOut"></a></span>
<span id="optin-label" class="label"><a class="colored" href="#optin" i18n-content="optIn"></a></span>
<span id="optout-label" class="label"><a href="#optout" i18n-content="optOut"></a></span>
<span id="optin-label" class="label"><a href="#optin" i18n-content="optIn"></a></span>
</div>
</div>
</body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment