OLD | NEW |
---|---|
1 .search-hidden { | 1 .search-hidden { |
2 display: none; | 2 display: none; |
3 } | 3 } |
4 | 4 |
5 .search-highlighted { | 5 .search-highlighted { |
6 background-color: #fff29f; | 6 background-color: rgba(255, 240, 120, 0.9); |
7 } | 7 } |
8 | |
9 .search-bubble { | |
10 position: absolute; | |
arv (Not doing code reviews)
2011/01/21 23:19:31
Alphabetical order please
csilv
2011/01/24 19:17:34
Done.
| |
11 top: 0; | |
12 left: -1000px; /* minor hack: position off-screen by default */ | |
arv (Not doing code reviews)
2011/01/21 23:19:31
Use top instead since left is not good when using
csilv
2011/01/24 19:17:34
You asked me to change this from top to left previ
| |
13 width: 100px; | |
14 margin: 12px 0 0; | |
15 padding: 4px 10px; | |
16 background-color: rgba(255, 240, 120, 0.8); | |
17 border-radius: 6px; | |
18 box-shadow: 0 2px 2px #888; | |
19 -webkit-box-shadow: 0 2px 2px #888; | |
20 text-align: center; | |
21 pointer-events: none; | |
22 } | |
23 | |
24 .search-bubble:after { | |
25 content: ""; | |
26 position: absolute; | |
27 top: -10px; | |
28 left: 50px; | |
arv (Not doing code reviews)
2011/01/21 23:19:31
rtl?
csilv
2011/01/24 19:17:34
The pointer is centered in the bubble, so this sho
| |
29 border-width: 0 10px 10px; | |
30 border-style: solid; | |
31 border-color: rgba(255, 240, 120, 0.9) transparent; | |
32 } | |
OLD | NEW |