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

Unified Diff: chrome/browser/resources/settings/settings_ui/settings_ui.html

Issue 2465433002: Create implementation of the side panel using a dialog. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: chrome/browser/resources/settings/settings_ui/settings_ui.html
diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.html b/chrome/browser/resources/settings/settings_ui/settings_ui.html
index 7f24d2f4c1cf42cf8eba8bec0be2d6322116a9e6..57592acee885fdb036f35ac85c5f8e3febabe386 100644
--- a/chrome/browser/resources/settings/settings_ui/settings_ui.html
+++ b/chrome/browser/resources/settings/settings_ui/settings_ui.html
@@ -1,7 +1,7 @@
+<link rel="import" href="chrome://resources/cr_elements/cr_drawer/cr_drawer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.html">
<link rel="import" href="chrome://resources/cr_elements/icons.html">
<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/app-layout/app-drawer/app-drawer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-header-panel/paper-header-panel.html">
<link rel="import" href="/direction_delegate.html">
@@ -51,11 +51,11 @@
width: 100%;
}
- app-drawer {
+ cr-drawer {
z-index: 2;
}
- app-drawer .drawer-header {
+ cr-drawer .drawer-header {
align-items: center;
display: flex;
font-size: 123.08%; /* go to 16px from 13px */
@@ -75,12 +75,12 @@
--iron-icon-fill-color: white;
}
- app-drawer .drawer-header {
+ cr-drawer .drawer-header {
-webkit-padding-start: 24px;
border-bottom: var(--settings-separator-line);
}
- app-drawer .drawer-content {
+ cr-drawer .drawer-content {
height: calc(100% - 56px);
overflow: auto;
}
@@ -95,7 +95,7 @@
on-search-changed="onSearchChanged_"
show-menu>
</cr-toolbar>
- <app-drawer swipe-open>
+ <cr-drawer id="drawer" swipe-open>
<div class="drawer-header">$i18n{settings}</div>
<div class="drawer-content">
<template is="dom-if" id="drawerTemplate">
@@ -105,7 +105,7 @@
</settings-menu>
</template>
</div>
- </app-drawer>
+ </cr-drawer>
<paper-header-panel id="headerPanel" mode="waterfall">
<settings-main id="main" prefs="{{prefs}}"
toolbar-spinner-active="{{toolbarSpinnerActive_}}"

Powered by Google App Engine
This is Rietveld 408576698