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

Side by Side Diff: ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html

Issue 2103233002: Visual polishing of the MD Clear Browsing Data dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Visual polishing done. Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/settings/settings_root_css.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.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/paper-dialog-behavior/p aper-dialog-behavior.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-shared-styles.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-shared-styles.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
7 7
8 <dom-module id="cr-dialog"> 8 <dom-module id="cr-dialog">
9 <template> 9 <template>
10 <style include="paper-dialog-shared-styles"> 10 <style include="paper-dialog-shared-styles">
11 :host { 11 :host {
12 border-radius: 2px; 12 border-radius: 2px;
13 } 13 }
14 14
15 :host ::content > * { 15 :host ::content > * {
16 /* Overrides paper-dialog-shared-styles. */ 16 /* Overrides paper-dialog-shared-styles. */
17 -webkit-padding-end: 0; 17 -webkit-padding-end: 0;
18 -webkit-padding-start: 0; 18 -webkit-padding-start: 0;
19 margin-bottom: 0; 19 margin-bottom: 0;
20 margin-top: 0; 20 margin-top: 0;
21 } 21 }
22 22
23 .title-container { 23 .title-container {
24 align-items: center; 24 align-items: center;
25 /* TODO(dbeam): should this be a --settings-separator-line? */ 25 /* TODO(dbeam): should this be a --settings-separator-line? */
Dan Beam 2016/06/28 20:40:25 this TODO was written when this code lived in: chr
msramek 2016/06/29 11:32:22 Acknowledged.
26 border-bottom: 1px solid rgba(0, 0, 0, 0.14); 26 border-bottom: var(--settings-dialog-title-border);
Dan Beam 2016/06/28 20:39:44 this should not reference settings
msramek 2016/06/29 11:32:22 Makes sense. I'll just use the exact color for now
27 display: flex; 27 display: flex;
28 min-height: 52px; 28 min-height: 52px;
29 } 29 }
30 30
31 :host ::content .title { 31 :host ::content .title {
32 font-size: 114.28%; /* (16px / 14px) * 100 */ 32 font-size: 114.28%; /* (16px / 14px) * 100 */
33 } 33 }
34 34
35 #close { 35 #close {
36 --paper-icon-button: { 36 --paper-icon-button: {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 </paper-icon-button> 97 </paper-icon-button>
98 </div> 98 </div>
99 <div class="body-container"> 99 <div class="body-container">
100 <content select=".body"></content> 100 <content select=".body"></content>
101 </div> 101 </div>
102 <content select=".button-container"></content> 102 <content select=".button-container"></content>
103 <content select=".footer"></content> 103 <content select=".footer"></content>
104 </template> 104 </template>
105 <script src="cr_dialog.js"></script> 105 <script src="cr_dialog.js"></script>
106 </dom-module> 106 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_root_css.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698