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

Side by Side Diff: chrome/browser/resources/settings/printing_page/cups_add_printer_dialog_util.html

Issue 2795763003: MD Settings: adjust dialog style and scroll border visual (Closed)
Patch Set: modify cups dialog button to align by flexbox Created 3 years, 8 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
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 2 <link rel="import" href="chrome://resources/cr_elements/icons.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
9 <link rel="import" href="cups_printers_browser_proxy.html"> 9 <link rel="import" href="cups_printers_browser_proxy.html">
10 <link rel="import" href="../settings_shared_css.html"> 10 <link rel="import" href="../settings_shared_css.html">
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 <dom-module id="add-printer-dialog"> 99 <dom-module id="add-printer-dialog">
100 <template> 100 <template>
101 <style include="settings-shared"> 101 <style include="settings-shared">
102 #dialog .body { 102 #dialog .body {
103 -webkit-padding-end: 0; 103 -webkit-padding-end: 0;
104 -webkit-padding-start: 0; 104 -webkit-padding-start: 0;
105 height: 350px; 105 height: 350px;
106 } 106 }
107 107
108 #dialog .button-container { 108 #dialog .button-container {
109 border-top: 1px solid rgba(0, 0, 0, 0.14); 109 border-top: 1px solid var(--paper-grey-300);
110 margin-top: 0;
111 padding-top: 10px;
112 }
113
114 #dialog .button-container ::content paper-button {
115 font-size: 107.69%; /* 14px / 13px */
116 font-weight: bold;
117 } 110 }
118 </style> 111 </style>
119 112
120 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> 113 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
121 <div class="title"> 114 <div class="title">
122 <content select=".dialog-title"></content> 115 <content select=".dialog-title"></content>
123 </div> 116 </div>
124 <div class="body"> 117 <div class="body">
125 <content select=".dialog-body"></content> 118 <content select=".dialog-body"></content>
126 </div> 119 </div>
127 <div class="button-container"> 120 <div class="button-container">
128 <content select=".dialog-buttons"></content> 121 <content select=".dialog-buttons"></content>
129 </div> 122 </div>
130 </dialog> 123 </dialog>
131 </template> 124 </template>
132 <script src="cups_add_printer_dialog_util.js"></script> 125 <script src="cups_add_printer_dialog_util.js"></script>
133 </dom-module> 126 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698