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

Unified 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: Nit. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_animated_pages.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 41fadea97b594a8399d9c377a2c879aca49a45d9..4499b7aeee941c0efce72515662fccbaabf49e19 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -343,6 +343,36 @@
height: 16px;
width: 16px;
}
+
+ .search-bubble {
+ pointer-events: none;
+ position: absolute;
+ }
+
+ .search-bubble-innards {
+ align-items: center;
+ background-color: var(--paper-yellow-500);
+ border-radius: 2px;
+ display: flex;
+ height: 28px;
+ padding: 0 16px;
+ }
+
+ /* Provides the arrow which points at the anchor element. */
+ .search-bubble-innards::after {
+ -webkit-transform: rotate(-45deg);
+ background-color: var(--paper-yellow-500);
+ content: '';
+ height: 10px;
+ position: absolute;
+ right: -5px;
+ top: 10px;
+ width: 10px;
+ }
+
+ .search-highlight-hit {
+ background-color: var(--paper-yellow-500);
+ }
</style>
</template>
</dom-module>
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_animated_pages.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698