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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 .suggest-box-top-spacer { | 52 .suggest-box-top-spacer { |
53 flex: auto; | 53 flex: auto; |
54 } | 54 } |
55 | 55 |
56 :host(.under-anchor) .suggest-box-top-spacer, | 56 :host(.under-anchor) .suggest-box-top-spacer, |
57 :host(:not(.under-anchor)) .suggest-box-bottom-spacer { | 57 :host(:not(.under-anchor)) .suggest-box-bottom-spacer { |
58 flex: 0 0 auto; | 58 flex: 0 0 auto; |
59 } | 59 } |
60 | 60 |
| 61 .suggest-box-container { |
| 62 display: flex; |
| 63 flex-direction: row; |
| 64 } |
| 65 |
61 .suggest-box { | 66 .suggest-box { |
62 background-color: #FFFFFF; | 67 background-color: #FFFFFF; |
63 border: 1px solid rgb(66%, 66%, 66%); | 68 border: 1px solid rgb(66%, 66%, 66%); |
64 pointer-events: auto; | 69 pointer-events: auto; |
65 margin-left: -3px; | 70 margin-left: -3px; |
66 overflow-x: hidden; | 71 overflow-x: hidden; |
67 overflow-y: auto; | 72 overflow-y: auto; |
68 display: flex; | 73 display: flex; |
69 flex-direction: column; | 74 flex-direction: column; |
70 flex: 0 0 auto; | 75 flex: 0 0 auto; |
(...skipping 24 matching lines...) Expand all Loading... |
95 width: 20px; | 100 width: 20px; |
96 } | 101 } |
97 | 102 |
98 .suggest-box .suggest-box-content-item.selected { | 103 .suggest-box .suggest-box-content-item.selected { |
99 background-color: rgba(56, 121, 217, 0.1); | 104 background-color: rgba(56, 121, 217, 0.1); |
100 } | 105 } |
101 | 106 |
102 .suggest-box .suggest-box-content-item:hover:not(.selected) { | 107 .suggest-box .suggest-box-content-item:hover:not(.selected) { |
103 border: 1px solid rgb(204, 204, 204); | 108 border: 1px solid rgb(204, 204, 204); |
104 } | 109 } |
| 110 |
| 111 .details-popup { |
| 112 background-color: #FFFFFF; |
| 113 border: 1px solid rgb(66%, 66%, 66%); |
| 114 padding: 17px; |
| 115 pointer-events: auto; |
| 116 margin-left: 3px; |
| 117 max-width: 750px; |
| 118 overflow-x: hidden; |
| 119 overflow-y: auto; |
| 120 display: flex; |
| 121 flex-direction: column; |
| 122 flex: 0 0 auto; |
| 123 border-radius: 5px 5px 5px 0; |
| 124 word-wrap: normal; |
| 125 } |
| 126 |
| 127 .details-popup .description { |
| 128 margin-top: 22px; |
| 129 color: #808080; |
| 130 } |
| 131 |
| 132 .details-fade-in { |
| 133 animation: details-fade-in 0.5s linear 0s 1 forwards; |
| 134 } |
| 135 |
| 136 @keyframes details-fade-in { |
| 137 from { |
| 138 opacity: 0; |
| 139 } |
| 140 to { |
| 141 opacity: 1; |
| 142 } |
| 143 } |
OLD | NEW |