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

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

Issue 2249873007: Settings: Introduce selectable styling and apply to search engines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test 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
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 text-align: start; 60 text-align: start;
61 width: 100%; 61 width: 100%;
62 } 62 }
63 63
64 paper-dropdown-menu .dropdown-item.iron-selected { 64 paper-dropdown-menu .dropdown-item.iron-selected {
65 font-weight: bold; 65 font-weight: bold;
66 } 66 }
67 67
68 iron-dropdown .dropdown-item:focus, 68 iron-dropdown .dropdown-item:focus,
69 paper-dropdown-menu .dropdown-item:focus { 69 paper-dropdown-menu .dropdown-item:focus {
70 background-color: var(--cr-focused-item-color); 70 @apply(--cr-selectable-focus);
71 outline: none;
72 } 71 }
73 72
74 iron-dropdown .dropdown-content { 73 iron-dropdown .dropdown-content {
75 background-color: white; 74 background-color: white;
76 box-shadow: 0 2px 6px var(--paper-grey-500); 75 box-shadow: 0 2px 6px var(--paper-grey-500);
77 } 76 }
78 77
79 iron-dropdown .dropdown-content .dropdown-item, 78 iron-dropdown .dropdown-content .dropdown-item,
80 iron-dropdown .dropdown-content paper-item { 79 iron-dropdown .dropdown-content paper-item {
81 @apply(--settings-actionable); 80 @apply(--settings-actionable);
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 content: ''; 364 content: '';
366 height: 10px; 365 height: 10px;
367 position: absolute; 366 position: absolute;
368 right: -5px; 367 right: -5px;
369 top: 10px; 368 top: 10px;
370 width: 10px; 369 width: 10px;
371 } 370 }
372 </style> 371 </style>
373 </template> 372 </template>
374 </dom-module> 373 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698