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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 pointer-events: auto; | 68 pointer-events: auto; |
69 margin-left: -3px; | 69 margin-left: -3px; |
70 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), | 70 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), |
71 0 2px 4px rgba(0, 0, 0, 0.2), | 71 0 2px 4px rgba(0, 0, 0, 0.2), |
72 0 2px 6px rgba(0, 0, 0, 0.1); | 72 0 2px 6px rgba(0, 0, 0, 0.1); |
73 } | 73 } |
74 | 74 |
75 .suggest-box .suggest-box-content-item { | 75 .suggest-box .suggest-box-content-item { |
76 padding: 1px; | 76 padding: 1px; |
77 margin: 0; | 77 margin: 0; |
78 overflow: hidden; | |
79 text-overflow: ellipsis; | |
80 border: 1px solid transparent; | 78 border: 1px solid transparent; |
81 padding-right: 0; | 79 padding-right: 0; |
82 white-space: nowrap; | 80 white-space: nowrap; |
83 display: flex; | 81 display: flex; |
84 } | 82 } |
85 | 83 |
86 .suggest-box .suggest-box-content-item.secondary { | 84 .suggest-box .suggest-box-content-item.secondary { |
87 background-color: #f9f9f9; | 85 background-color: #f9f9f9; |
88 } | 86 } |
89 | 87 |
| 88 .suggestion-text { |
| 89 overflow: hidden; |
| 90 text-overflow: ellipsis; |
| 91 } |
| 92 |
90 .suggestion-icon { | 93 .suggestion-icon { |
91 user-select: none; | 94 user-select: none; |
92 align-self: center; | 95 align-self: center; |
| 96 flex-shrink: 0; |
93 } | 97 } |
94 | 98 |
95 .suggest-box .suggest-box-content-item .query { | 99 .suggest-box .suggest-box-content-item .query { |
96 font-weight: bold; | 100 font-weight: bold; |
97 } | 101 } |
98 | 102 |
99 .suggest-box .suggest-box-content-item .spacer { | 103 .suggest-box .suggest-box-content-item .spacer { |
100 display: inline-block; | 104 display: inline-block; |
101 width: 20px; | 105 width: 20px; |
102 } | 106 } |
(...skipping 12 matching lines...) Expand all Loading... |
115 pointer-events: auto; | 119 pointer-events: auto; |
116 margin-left: 3px; | 120 margin-left: 3px; |
117 max-width: 750px; | 121 max-width: 750px; |
118 word-wrap: normal; | 122 word-wrap: normal; |
119 } | 123 } |
120 | 124 |
121 .suggest-box .details-popup .description { | 125 .suggest-box .details-popup .description { |
122 margin-top: 22px; | 126 margin-top: 22px; |
123 color: #808080; | 127 color: #808080; |
124 } | 128 } |
OLD | NEW |