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

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

Issue 2207773002: [MD settings] layout of paper dropdown menu list to better match mocks (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 | « no previous file | 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 24 matching lines...) Expand all
35 --iron-icon-fill-color: var(--paper-grey-600); 35 --iron-icon-fill-color: var(--paper-grey-600);
36 --paper-font-subhead: { 36 --paper-font-subhead: {
37 font-size: inherit; 37 font-size: inherit;
38 }; 38 };
39 --paper-input-container-underline: { 39 --paper-input-container-underline: {
40 background: var(--paper-grey-300); 40 background: var(--paper-grey-300);
41 }; 41 };
42 } 42 }
43 43
44 paper-dropdown-menu paper-listbox { 44 paper-dropdown-menu paper-listbox {
45 padding: 0; 45 min-width: 128px;
46 padding: 8px 0;
46 } 47 }
47 48
48 iron-dropdown .dropdown-item, 49 iron-dropdown .dropdown-item,
49 paper-dropdown-menu .dropdown-item { 50 paper-dropdown-menu .dropdown-item {
51 -webkit-padding-start: 24px;
50 align-items: center; 52 align-items: center;
51 background: none; 53 background: none;
52 border: none; 54 border: none;
53 color: var(--paper-grey-800); 55 color: var(--paper-grey-800);
54 display: flex; 56 display: flex;
55 font: inherit; 57 font: inherit;
56 min-height: 48px; 58 min-height: 32px;
57 padding: 0 16px;
58 text-align: start; 59 text-align: start;
59 width: 100%; 60 width: 100%;
60 } 61 }
61 62
62 paper-dropdown-menu .dropdown-item.iron-selected { 63 paper-dropdown-menu .dropdown-item.iron-selected {
63 font-weight: bold; 64 font-weight: bold;
64 } 65 }
65 66
66 iron-dropdown .dropdown-item:focus, 67 iron-dropdown .dropdown-item:focus,
67 paper-dropdown-menu .dropdown-item:focus { 68 paper-dropdown-menu .dropdown-item:focus {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 338
338 .favicon-image { 339 .favicon-image {
339 background-repeat: no-repeat; 340 background-repeat: no-repeat;
340 background-size: contain; 341 background-size: contain;
341 height: 16px; 342 height: 16px;
342 width: 16px; 343 width: 16px;
343 } 344 }
344 </style> 345 </style>
345 </template> 346 </template>
346 </dom-module> 347 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698