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

Unified Diff: chrome/browser/resources/md_user_manager/user_manager_dialog.html

Issue 2957943003: MD User manager: Migrate from PaperDialogBehavior to cr-dialog. (Closed)
Patch Set: Restore color. Created 3 years, 6 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
Index: chrome/browser/resources/md_user_manager/user_manager_dialog.html
diff --git a/chrome/browser/resources/md_user_manager/user_manager_dialog.html b/chrome/browser/resources/md_user_manager/user_manager_dialog.html
deleted file mode 100644
index ee48a852f63f6bcc19d635eb46802c2dd505b66a..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/md_user_manager/user_manager_dialog.html
+++ /dev/null
@@ -1,71 +0,0 @@
-<link rel="import" href="/shared_styles.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/iron-flex-layout/iron-flex-layout-classes.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/paper-dialog-behavior.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/paper-dialog-shared-styles.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
-
-<dom-module id="user-manager-dialog">
- <template>
- <style include="shared-styles paper-dialog-shared-styles iron-flex iron-flex-alignment iron-positioning">
- :host {
- border-radius: 2px;
- width: 512px;
- }
-
- :host > ::content > *,
- :host > ::content > *:first-child,
- :host > ::content > *:last-child {
- /* Overrides paper-dialog-shared-styles. */
- margin: 0;
- padding: 0;
- }
-
- #title-bar {
- align-items: center;
- border-bottom: var(--user-manager-separator-line);
- min-height: 52px;
- @apply(--user-manager-dialog-title-bar);
- }
-
- #close {
- --paper-icon-button: {
- height: 40px;
- padding: 10px;
- width: 40px;
- };
- -webkit-margin-end: 6px;
- -webkit-margin-start: auto;
- flex-shrink: 0;
- }
-
- :host ::content .title {
- -webkit-margin-end: 10px;
- -webkit-margin-start: 16px;
- font-size: 16px;
- }
-
- :host ::content .body > * {
- padding: 0 16px;
- }
-
- :host ::content .body > .no-padding {
- padding: 0;
- }
-
- :host ::content .footer {
- margin-top: 20px;
- padding: 16px;
- }
- </style>
- <div id="title-bar" class="horizontal justified layout">
- <content select=".title"></content>
- <paper-icon-button icon="cr:close" id="close" dialog-dismiss>
- </paper-icon-button>
- </div>
- <content select=".body"></content>
- <content select=".footer"></content>
- </template>
- <script src="user_manager_dialog.js"></script>
-</dom-module>

Powered by Google App Engine
This is Rietveld 408576698