OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 .search-hidden { | 5 .search-hidden { |
6 display: none !important; | 6 display: none !important; |
7 } | 7 } |
8 | 8 |
9 .search-highlighted { | 9 .search-highlighted { |
10 background-color: rgba(255, 240, 120, 0.9); | 10 background-color: rgba(255, 240, 120, 0.9); |
(...skipping 13 matching lines...) Expand all Loading... |
24 /* Contains the text content of the bubble. */ | 24 /* Contains the text content of the bubble. */ |
25 .search-bubble-innards { | 25 .search-bubble-innards { |
26 background: -webkit-linear-gradient(rgba(255, 248, 172, 0.9), | 26 background: -webkit-linear-gradient(rgba(255, 248, 172, 0.9), |
27 rgba(255, 243, 128, 0.9)); | 27 rgba(255, 243, 128, 0.9)); |
28 border-radius: 2px; | 28 border-radius: 2px; |
29 padding: 4px 10px; | 29 padding: 4px 10px; |
30 text-align: center; | 30 text-align: center; |
31 width: 100px; | 31 width: 100px; |
32 } | 32 } |
33 | 33 |
34 /* Provides the border around the bubble (has to be behind :after). */ | 34 /* Provides the border around the bubble (has to be behind ::after). */ |
35 .search-bubble-innards::before { | 35 .search-bubble-innards::before { |
36 border: 1px solid rgb(220, 198, 72); | 36 border: 1px solid rgb(220, 198, 72); |
37 border-radius: 2px; | 37 border-radius: 2px; |
38 bottom: -1px; | 38 bottom: -1px; |
39 content: ''; | 39 content: ''; |
40 left: -1px; | 40 left: -1px; |
41 position: absolute; | 41 position: absolute; |
42 right: -1px; | 42 right: -1px; |
43 top: -1px; | 43 top: -1px; |
44 z-index: -2; | 44 z-index: -2; |
(...skipping 20 matching lines...) Expand all Loading... |
65 | 65 |
66 .search-bubble-wrapper { | 66 .search-bubble-wrapper { |
67 position: relative; | 67 position: relative; |
68 } | 68 } |
69 | 69 |
70 /* #mainview is here to win specificity. :( */ | 70 /* #mainview is here to win specificity. :( */ |
71 #mainview #searchPage.page, | 71 #mainview #searchPage.page, |
72 #mainview #searchBox.page { | 72 #mainview #searchBox.page { |
73 padding-bottom: 0; | 73 padding-bottom: 0; |
74 } | 74 } |
OLD | NEW |