Commit 2167f8b2 authored by dschuyler's avatar dschuyler Committed by Commit bot

[MD settings] small change to privacy page to better match UI mocks

This CL changes the buttons from being side-by-side (old style)
to being vertically listed (new mocks).

BUG=517564

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

Cr-Commit-Position: refs/heads/master@{#361403}
parent f2ffd5e5
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */ * found in the LICENSE file. */
paper-item {
--paper-item-min-height: 24px;
}
.privacy-buttons { .privacy-buttons {
margin-top: 25px; margin-top: 25px;
} }
\ No newline at end of file
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html"> <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item-body.html">
<link rel="import" href="chrome://md-settings/certificate_manager_page/certificate_manager_page.html"> <link rel="import" href="chrome://md-settings/certificate_manager_page/certificate_manager_page.html">
<link rel="import" href="chrome://md-settings/clear_browsing_data_page/clear_browsing_data_page.html"> <link rel="import" href="chrome://md-settings/clear_browsing_data_page/clear_browsing_data_page.html">
<link rel="import" href="chrome://md-settings/controls/settings_checkbox.html"> <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html">
...@@ -68,18 +69,23 @@ ...@@ -68,18 +69,23 @@
</settings-checkbox> </settings-checkbox>
</if> </if>
</div> </div>
<div class="settings-box end-justified"> <div class="settings-box" on-tap="onManageCertificatesTap_">
<paper-button <paper-item>
on-tap="onManageCertificatesTap_" <paper-item-body>
i18n-content="manageCertificates"> <div i18n-content="manageCertificates"></div>
</paper-button> </paper-item-body>
<paper-button </paper-item>
on-tap="onSiteSettingsTap_" </div>
i18n-content="siteSettings"> <div class="settings-box" on-tap="onSiteSettingsTap_">
</paper-button> <paper-item>
<paper-button <paper-item-body>
on-tap="onClearBrowsingDataTap_" <div i18n-content="siteSettings"></div>
raised i18n-content="clearBrowsingData"> </paper-item-body>
</paper-item>
</div>
<div class="settings-box">
<paper-button on-tap="onClearBrowsingDataTap_"
i18n-content="clearBrowsingData">
</paper-button> </paper-button>
</div> </div>
</neon-animatable> </neon-animatable>
......
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