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

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

Issue 2202723004: MD Settings: Highlight sub-page search hits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@search_no_results_attempt_test
Patch Set: Nits. 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 --paper-slider-knob-start-color: var(--google-blue-700); 336 --paper-slider-knob-start-color: var(--google-blue-700);
337 --paper-slider-pin-start-color: var(--google-blue-700); 337 --paper-slider-pin-start-color: var(--google-blue-700);
338 } 338 }
339 339
340 .favicon-image { 340 .favicon-image {
341 background-repeat: no-repeat; 341 background-repeat: no-repeat;
342 background-size: contain; 342 background-size: contain;
343 height: 16px; 343 height: 16px;
344 width: 16px; 344 width: 16px;
345 } 345 }
346
347 .search-bubble {
348 pointer-events: none;
349 position: absolute;
350 }
351
352 .search-bubble-innards {
353 align-items: center;
354 background-color: var(--paper-yellow-500);
355 border-radius: 2px;
356 display: flex;
357 height: 28px;
Dan Beam 2016/08/05 00:07:59 what if the font-size changes? does 28px still wo
dpapad 2016/08/05 01:33:35 It works (at least for Latin characters), see http
358 padding: 0 16px;
359 }
360
361 /* Provides the arrow which points at the anchor element. */
362 .search-bubble-innards::after {
363 -webkit-transform: rotate(-45deg);
364 background-color: var(--paper-yellow-500);
365 content: '';
366 height: 10px;
367 position: absolute;
368 right: -5px;
369 top: 10px;
370 width: 10px;
371 }
372
373 .search-highlight-hit {
374 background-color: var(--paper-yellow-500);
375 }
346 </style> 376 </style>
347 </template> 377 </template>
348 </dom-module> 378 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698