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

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2071543003: MD WebUI: Extract settings-dialog into shared cr-dialog element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ) from comment Created 4 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
1 <link rel="import" href="/settings_root_css.html"> 2 <link rel="import" href="/settings_root_css.html">
2 3
3 <!-- Common styles for Material Design settings. --> 4 <!-- Common styles for Material Design settings. -->
4 <dom-module id="settings-shared"> 5 <dom-module id="settings-shared">
5 <template> 6 <template>
6 <style> 7 <style include="cr-shared-style">
7 h2 { 8 h2 {
8 align-items: center; 9 align-items: center;
9 display: flex; 10 display: flex;
10 font-size: 100%; 11 font-size: 100%;
11 font-weight: 500; 12 font-weight: 500;
12 margin: 0; 13 margin: 0;
13 min-height: var(--settings-row-min-height); 14 min-height: var(--settings-row-min-height);
14 } 15 }
15 16
16 iron-icon[icon='cr:check'], 17 iron-icon[icon='cr:check'],
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 .text-elide { 121 .text-elide {
121 overflow: hidden; 122 overflow: hidden;
122 text-overflow: ellipsis; 123 text-overflow: ellipsis;
123 white-space: nowrap; 124 white-space: nowrap;
124 } 125 }
125 126
126 .button-strip { 127 .button-strip {
127 text-align: end; 128 text-align: end;
128 } 129 }
129 130
130 .action-button {
131 background: var(--google-blue-500);
132 color: white;
133 --paper-button-flat-keyboard-focus: {
134 background-color: rgb(58, 117, 215); /* 88% of --google-blue-500) */
135 };
136 }
137
138 .action-button[disabled] {
139 opacity: .25; /* TODO(dbeam): check this value with bettes. */
140 }
141
142 .cancel-button {
143 --paper-button-flat-keyboard-focus: {
144 background-color: rgba(0, 0, 0, .12);
145 };
146 }
147
148 .action-button,
149 .cancel-button {
150 font-weight: 500;
151 }
152
153 /* 131 /*
154 * A list-frame is an outer container for list-items. It is intended to be 132 * A list-frame is an outer container for list-items. It is intended to be
155 * outside of a settings-box. A list-frame is likely to follow a 133 * outside of a settings-box. A list-frame is likely to follow a
156 * settings box. 134 * settings box.
157 */ 135 */
158 .list-frame { 136 .list-frame {
159 -webkit-padding-end: 20px; 137 -webkit-padding-end: 20px;
160 -webkit-padding-start: 56px; 138 -webkit-padding-start: 56px;
161 align-items: center; 139 align-items: center;
162 display: block; 140 display: block;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 285
308 .favicon-image { 286 .favicon-image {
309 background-repeat: no-repeat; 287 background-repeat: no-repeat;
310 background-size: contain; 288 background-size: contain;
311 height: 16px; 289 height: 16px;
312 width: 16px; 290 width: 16px;
313 } 291 }
314 </style> 292 </style>
315 </template> 293 </template>
316 </dom-module> 294 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698