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

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

Issue 2211663002: [MD settings] apply dropdown settings to iron-dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: symetric padding 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 23 matching lines...) Expand all
34 paper-dropdown-menu { 34 paper-dropdown-menu {
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 iron-dropdown .dropdown-content,
44 paper-dropdown-menu paper-listbox { 45 paper-dropdown-menu paper-listbox {
45 min-width: 128px; 46 min-width: 128px;
46 padding: 8px 0; 47 padding: 8px 0;
47 } 48 }
48 49
49 iron-dropdown .dropdown-item, 50 iron-dropdown .dropdown-item,
50 paper-dropdown-menu .dropdown-item { 51 paper-dropdown-menu .dropdown-item {
51 -webkit-padding-start: 24px;
52 align-items: center; 52 align-items: center;
53 background: none; 53 background: none;
54 border: none; 54 border: none;
55 color: var(--paper-grey-800); 55 color: var(--paper-grey-800);
56 display: flex; 56 display: flex;
57 font: inherit; 57 font: inherit;
58 min-height: 32px; 58 min-height: 32px;
59 padding: 0 24px;
59 text-align: start; 60 text-align: start;
60 width: 100%; 61 width: 100%;
61 } 62 }
62 63
63 paper-dropdown-menu .dropdown-item.iron-selected { 64 paper-dropdown-menu .dropdown-item.iron-selected {
64 font-weight: bold; 65 font-weight: bold;
65 } 66 }
66 67
67 iron-dropdown .dropdown-item:focus, 68 iron-dropdown .dropdown-item:focus,
68 paper-dropdown-menu .dropdown-item:focus { 69 paper-dropdown-menu .dropdown-item:focus {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 339
339 .favicon-image { 340 .favicon-image {
340 background-repeat: no-repeat; 341 background-repeat: no-repeat;
341 background-size: contain; 342 background-size: contain;
342 height: 16px; 343 height: 16px;
343 width: 16px; 344 width: 16px;
344 } 345 }
345 </style> 346 </style>
346 </template> 347 </template>
347 </dom-module> 348 </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