Chromium Code Reviews| 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; |
|
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
|
| + 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> |