OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 :host { |
| 8 padding: 0; |
| 9 margin: 0; |
| 10 } |
| 11 |
| 12 .tree-outline { |
| 13 padding: 0; |
| 14 } |
| 15 |
| 16 .tree-outline ol { |
| 17 padding: 0; |
| 18 } |
| 19 |
| 20 li.search-result { |
| 21 font-size: 11px; |
| 22 padding: 2px 0 2px 4px; |
| 23 word-wrap: normal; |
| 24 white-space: pre; |
| 25 cursor: pointer; |
| 26 } |
| 27 |
| 28 li.search-result:hover { |
| 29 background-color: rgba(121, 121, 121, 0.1); |
| 30 } |
| 31 |
| 32 li.search-result .search-result-file-name { |
| 33 font-weight: bold; |
| 34 color: #222; |
| 35 } |
| 36 |
| 37 li.search-result .search-result-matches-count { |
| 38 margin-left: 5px; |
| 39 color: #222; |
| 40 } |
| 41 |
| 42 li.show-more-matches { |
| 43 padding: 4px 0; |
| 44 color: #222; |
| 45 cursor: pointer; |
| 46 font-size: 11px; |
| 47 margin-left: 20px; |
| 48 } |
| 49 |
| 50 li.show-more-matches:hover { |
| 51 text-decoration: underline; |
| 52 } |
| 53 |
| 54 li.search-match { |
| 55 word-wrap: normal; |
| 56 white-space: pre; |
| 57 min-height: 12px; |
| 58 } |
| 59 |
| 60 li.search-match::before { |
| 61 display: none; |
| 62 } |
| 63 |
| 64 li.search-match .search-match-line-number { |
| 65 color: rgb(128, 128, 128); |
| 66 text-align: right; |
| 67 vertical-align: top; |
| 68 word-break: normal; |
| 69 padding-right: 4px; |
| 70 padding-left: 6px; |
| 71 margin-right: 5px; |
| 72 border-right: 1px solid #BBB; |
| 73 } |
| 74 |
| 75 li.search-match:not(:hover) .search-match-line-number { |
| 76 background-color: #F0F0F0; |
| 77 } |
| 78 |
| 79 li.search-match:hover { |
| 80 background-color: rgba(56, 121, 217, 0.1); |
| 81 } |
| 82 |
| 83 li.search-match .highlighted-match { |
| 84 background-color: #F1EA00; |
| 85 } |
| 86 |
| 87 :host-context(.-theme-with-dark-background) li.search-match .highlighted-match { |
| 88 background-color: hsl(133, 100%, 30%) !important; |
| 89 } |
| 90 |
| 91 .tree-outline a { |
| 92 text-decoration: none; |
| 93 display: block; |
| 94 } |
| 95 |
| 96 li.search-match .search-match-content { |
| 97 color: #000; |
| 98 } |
OLD | NEW |