OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 border: 1px solid transparent; | 78 border: 1px solid transparent; |
79 padding-right: 0; | 79 padding-right: 0; |
80 white-space: nowrap; | 80 white-space: nowrap; |
81 display: flex; | 81 display: flex; |
82 } | 82 } |
83 | 83 |
84 .suggest-box .suggest-box-content-item.secondary { | 84 .suggest-box .suggest-box-content-item.secondary { |
85 background-color: #f9f9f9; | 85 background-color: #f9f9f9; |
86 } | 86 } |
87 | 87 |
88 .suggestion-text { | 88 .suggestion-title { |
89 overflow: hidden; | 89 overflow: hidden; |
90 text-overflow: ellipsis; | 90 text-overflow: ellipsis; |
91 } | 91 } |
92 | 92 |
| 93 .suggestion-subtitle { |
| 94 flex: auto; |
| 95 text-align: right; |
| 96 color: #999; |
| 97 margin-right: 3px; |
| 98 } |
| 99 |
93 .suggestion-icon { | 100 .suggestion-icon { |
94 user-select: none; | 101 user-select: none; |
95 align-self: center; | 102 align-self: center; |
96 flex-shrink: 0; | 103 flex-shrink: 0; |
97 } | 104 } |
98 | 105 |
99 .suggest-box .suggest-box-content-item .query { | 106 .suggest-box .suggest-box-content-item .query { |
100 font-weight: bold; | 107 font-weight: bold; |
101 } | 108 } |
102 | 109 |
103 .suggest-box .suggest-box-content-item .spacer { | 110 .suggest-box .suggest-box-content-item .spacer { |
104 display: inline-block; | 111 display: inline-block; |
105 width: 20px; | 112 width: 20px; |
106 } | 113 } |
107 | 114 |
108 .suggest-box .suggest-box-content-item.selected { | 115 .suggest-box .suggest-box-content-item.selected { |
109 background-color: rgb(56, 121, 217); | 116 background-color: rgb(56, 121, 217); |
| 117 } |
| 118 |
| 119 .suggest-box .suggest-box-content-item.selected > span { |
110 color: #FFF; | 120 color: #FFF; |
111 } | 121 } |
112 | 122 |
113 .suggest-box .suggest-box-content-item:hover:not(.selected) { | 123 .suggest-box .suggest-box-content-item:hover:not(.selected) { |
114 background-color: rgba(56, 121, 217, 0.1); | 124 background-color: rgba(56, 121, 217, 0.1); |
115 } | 125 } |
116 | 126 |
117 .suggest-box .details-popup { | 127 .suggest-box .details-popup { |
118 padding: 17px; | 128 padding: 17px; |
119 pointer-events: auto; | 129 pointer-events: auto; |
120 margin-left: 3px; | 130 margin-left: 3px; |
121 max-width: 750px; | 131 max-width: 750px; |
122 word-wrap: normal; | 132 word-wrap: normal; |
123 } | 133 } |
124 | 134 |
125 .suggest-box .details-popup .description { | 135 .suggest-box .details-popup .description { |
126 margin-top: 22px; | 136 margin-top: 22px; |
127 color: #808080; | 137 color: #808080; |
128 } | 138 } |
OLD | NEW |