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

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

Issue 2675493002: MD Settings: Touch up cr-dialog footers (Closed)
Patch Set: fix shit up Created 3 years, 10 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/reset_page/reset_profile_dialog.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-icon-button/paper -icon-button.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/default-th eme.html">
5 6
6 <dom-module id="cr-dialog"> 7 <dom-module id="cr-dialog">
7 <template> 8 <template>
8 <style> 9 <style>
9 :host { 10 :host {
10 border: 0; 11 border: 0;
11 border-radius: 2px; 12 border-radius: 2px;
12 bottom: 0; 13 bottom: 0;
13 box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.12), 14 box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.12),
14 0px 16px 16px rgba(0, 0, 0, 0.24); 15 0px 16px 16px rgba(0, 0, 0, 0.24);
15 color: inherit; 16 color: inherit;
16 padding: 0; 17 padding: 0;
17 top: 0; 18 top: 0;
18 width: 512px; 19 width: 512px;
19 } 20 }
20 21
21 :host::backdrop { 22 :host::backdrop {
22 background-color: rgba(0, 0, 0, 0.6); 23 background-color: rgba(0, 0, 0, 0.6);
23 bottom: 0; 24 bottom: 0;
24 left: 0; 25 left: 0;
25 position: fixed; 26 position: fixed;
26 right: 0; 27 right: 0;
27 top: 0; 28 top: 0;
28 } 29 }
29 30
30 .title-container { 31 .title-container {
31 align-items: center; 32 align-items: center;
32 /* TODO(dbeam): should this be a --settings-separator-line? */ 33 border-bottom: 1px solid var(--divider-color);
33 border-bottom: 1px solid rgba(0, 0, 0, 0.14);
34 display: flex; 34 display: flex;
35 min-height: 52px; 35 min-height: 52px;
36 } 36 }
37 37
38 :host ::content .title { 38 :host ::content .title {
39 font-size: 123.07%; /* (16px / 13px) * 100 */ 39 font-size: 123.07%; /* (16px / 13px) * 100 */
40 } 40 }
41 41
42 #close { 42 #close {
43 --paper-icon-button: { 43 --paper-icon-button: {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 margin-bottom: 12px; 77 margin-bottom: 12px;
78 margin-top: 12px; 78 margin-top: 12px;
79 } 79 }
80 80
81 :host ::content .button-container .cancel-button { 81 :host ::content .button-container .cancel-button {
82 -webkit-margin-end: 8px; 82 -webkit-margin-end: 8px;
83 color: var(--paper-grey-600); 83 color: var(--paper-grey-600);
84 } 84 }
85 85
86 :host ::content .footer { 86 :host ::content .footer {
87 background-color: var(--paper-grey-200);
88 border-bottom-left-radius: inherit; 87 border-bottom-left-radius: inherit;
89 border-bottom-right-radius: inherit; 88 border-bottom-right-radius: inherit;
90 margin: 0; 89 margin: 0;
91 padding: 12px 20px; 90 padding: 12px 20px;
92 } 91 }
92
93 :host ::content .border-top-divider {
94 border-top: 1px solid var(--divider-color);
95 }
93 </style> 96 </style>
94 <div class="title-container"> 97 <div class="title-container">
95 <content select=".title"></content> 98 <content select=".title"></content>
96 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" 99 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"
97 aria-label$="[[closeText]]"> 100 aria-label$="[[closeText]]">
98 </paper-icon-button> 101 </paper-icon-button>
99 </div> 102 </div>
100 <div class="body-container"> 103 <div class="body-container">
101 <content select=".body"></content> 104 <content select=".body"></content>
102 </div> 105 </div>
103 <content select=".button-container"></content> 106 <content select=".button-container"></content>
104 <content select=".footer"></content> 107 <content select=".footer"></content>
105 </template> 108 </template>
106 <script src="cr_dialog.js"></script> 109 <script src="cr_dialog.js"></script>
107 </dom-module> 110 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/reset_page/reset_profile_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698