UNPKG

chrome-devtools-frontend

Version:
133 lines (109 loc) 3.02 kB
/* * Copyright 2016 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ :host { padding: 0; margin: 0; overflow-y: auto; } .tree-outline { padding: 0; } .tree-outline ol { padding: 0; } .tree-outline li { height: 16px; } li.search-result { cursor: pointer; font-size: 12px; margin-top: 8px; padding: 2px 0 2px 4px; word-wrap: normal; white-space: pre; } li.search-result:hover { background-color: rgb(121 121 121 / 10%); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ } li.search-result .search-result-file-name { color: #222; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ flex: 1 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } li.search-result .search-result-matches-count { color: #888; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ margin: 0 8px; } li.search-result.expanded .search-result-matches-count { display: none; } li.show-more-matches { color: #222; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ cursor: pointer; margin: 8px 0 0 -4px; } li.show-more-matches:hover { text-decoration: underline; } li.search-match { margin: 2px 0; word-wrap: normal; white-space: pre; } li.search-match::before { display: none; } li.search-match .search-match-line-number { color: rgb(128 128 128); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ text-align: right; vertical-align: top; word-break: normal; padding: 2px 4px 2px 6px; margin-right: 5px; } li.search-match:hover { background-color: var(--item-hover-color); } li.search-match .highlighted-match { background-color: #f1ea00; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ } :host-context(.-theme-with-dark-background) li.search-match .highlighted-match { background-color: hsl(133deg 100% 30%) !important; } .tree-outline .devtools-link { text-decoration: none; display: block; flex: auto; } li.search-match .search-match-content { color: #000; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ } ol.children.expanded { padding-bottom: 4px; } .search-match-link { overflow: hidden; text-overflow: ellipsis; margin-left: 9px; } .search-result-qualifier { color: #aaa; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ } .search-result-dash { color: #aaa; /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */ margin: 0 4px; }