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

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

Issue 2256963002: Settings People: Prevent long profile names from clobbering buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/people_page/people_page.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/shared_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
2 <link rel="import" href="/settings_vars_css.html"> 2 <link rel="import" href="/settings_vars_css.html">
3 3
4 <!-- Common styles for Material Design settings. --> 4 <!-- Common styles for Material Design settings. -->
5 <dom-module id="settings-shared"> 5 <dom-module id="settings-shared">
6 <template> 6 <template>
7 <style include="cr-shared-style"> 7 <style include="cr-shared-style">
8 h2 { 8 h2 {
9 align-items: center; 9 align-items: center;
10 display: flex; 10 display: flex;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 * Here is an example with and without a secondary action box: 304 * Here is an example with and without a secondary action box:
305 * 305 *
306 * +-------------------------------------------------------+ 306 * +-------------------------------------------------------+
307 * | Main action area .settings-box | .secondary-action | 307 * | Main action area .settings-box | .secondary-action |
308 * +-------------------------------------------------------+ 308 * +-------------------------------------------------------+
309 * | Another setting-box without a secondary-action | 309 * | Another setting-box without a secondary-action |
310 * +-------------------------------------------------------+ */ 310 * +-------------------------------------------------------+ */
311 .settings-box .secondary-action { 311 .settings-box .secondary-action {
312 -webkit-border-start: var(--settings-separator-line); 312 -webkit-border-start: var(--settings-separator-line);
313 -webkit-padding-start: 20px; 313 -webkit-padding-start: 20px;
314 flex-shrink: 0;
314 } 315 }
315 316
316 .settings-box paper-item iron-icon { 317 .settings-box paper-item iron-icon {
317 /* Same padding as paper-icon-button. */ 318 /* Same padding as paper-icon-button. */
318 padding: 8px; 319 padding: 8px;
319 } 320 }
320 321
321 /* Helper for a list frame to automatically avoid the separator line. */ 322 /* Helper for a list frame to automatically avoid the separator line. */
322 .vertical-list > *:not(:first-of-type) { 323 .vertical-list > *:not(:first-of-type) {
323 border-top: var(--settings-separator-line); 324 border-top: var(--settings-separator-line);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 content: ''; 366 content: '';
366 height: 10px; 367 height: 10px;
367 position: absolute; 368 position: absolute;
368 right: -5px; 369 right: -5px;
369 top: 10px; 370 top: 10px;
370 width: 10px; 371 width: 10px;
371 } 372 }
372 </style> 373 </style>
373 </template> 374 </template>
374 </dom-module> 375 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698