1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 /* Container for the elements that make up the search bubble. */
11 top: -1000px; /* Minor hack: position off-screen by default. */
12 /* Create a z-context for search-bubble-innards, its after and before. */
16 /* Contains the text content of the bubble. */
17 .search-bubble-innards {
18 background: linear-gradient
(rgba
(255, 248, 172, 0.9),
19 rgba
(255, 243, 128, 0.9));
24 text-overflow: ellipsis
;
28 /* Provides the border around the bubble (has to be behind ::after). */
29 .search-bubble-innards::before {
30 border: 1px solid rgb
(220, 198, 72);
41 /* Provides the arrow which points at the anchor element. */
42 .search-bubble-innards::after {
43 -webkit-transform: rotate
(45deg);
44 background: linear-gradient
(-45deg, rgb
(251, 255, 181),
45 rgb
(255, 248, 172) 50%,
46 rgba
(255, 248, 172, 0));
47 border: 1px solid rgb
(220, 198, 72);
48 border-bottom-color: transparent
;
49 border-right-color: transparent
;
59 .search-bubble-wrapper {