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

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

Issue 2133793003: Unify iron-dropdown CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 4 years, 5 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/on_startup_page/startup_url_entry.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_root_css.html"> 2 <link rel="import" href="/settings_root_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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 paper-dropdown-menu .dropdown-item.iron-selected { 49 paper-dropdown-menu .dropdown-item.iron-selected {
50 font-weight: bold; 50 font-weight: bold;
51 } 51 }
52 52
53 paper-dropdown-menu .dropdown-item:focus { 53 paper-dropdown-menu .dropdown-item:focus {
54 background-color: var(--paper-grey-300); 54 background-color: var(--paper-grey-300);
55 outline: none; 55 outline: none;
56 } 56 }
57 57
58 iron-dropdown .dropdown-content {
59 background-color: white;
60 box-shadow: 0 2px 6px var(--paper-grey-500);
61 }
62
63 iron-dropdown .dropdown-content > * {
Dan Beam 2016/07/09 00:12:05 i think paper-item is better than "> *" here becau
stevenjb 2016/07/11 18:00:54 I thought the plan was to move away from paper-ite
64 @apply(--settings-actionable);
65 }
66
67 iron-dropdown .dropdown-content > :hover {
68 background-color: var(--settings-hover-color);
69 }
70
58 span ~ a { 71 span ~ a {
59 -webkit-margin-start: 4px; 72 -webkit-margin-start: 4px;
60 } 73 }
61 74
62 [is='action-link'], 75 [is='action-link'],
63 [is='action-link']:active, 76 [is='action-link']:active,
64 [is='action-link']:hover, 77 [is='action-link']:hover,
65 [is='action-link']:visited, 78 [is='action-link']:visited,
66 paper-button.primary-button, 79 paper-button.primary-button,
67 paper-button.tertiary-button { 80 paper-button.tertiary-button {
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 334
322 .favicon-image { 335 .favicon-image {
323 background-repeat: no-repeat; 336 background-repeat: no-repeat;
324 background-size: contain; 337 background-size: contain;
325 height: 16px; 338 height: 16px;
326 width: 16px; 339 width: 16px;
327 } 340 }
328 </style> 341 </style>
329 </template> 342 </template>
330 </dom-module> 343 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/on_startup_page/startup_url_entry.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698