chrome-devtools-frontend
Version:
Chrome DevTools UI
87 lines (71 loc) • 1.7 kB
CSS
/*
* Copyright 2021 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 {
flex: auto;
display: flex;
min-height: 20px;
}
.view {
overflow: hidden;
text-overflow: ellipsis;
box-sizing: border-box;
background: var(--color-background);
outline: none;
}
.row {
display: flex;
height: 20px;
align-items: center;
}
.cell {
text-align: center;
border: 1px solid transparent;
border-radius: 2px;
}
.cell.selected {
border-color: var(--color-syntax-3);
color: var(--color-syntax-3);
background-color: var(--legacy-item-selection-bg-color);
}
.byte-cell {
min-width: 21px;
color: var(--color-text-primary);
}
.byte-group-margin {
margin-left: var(--byte-group-margin);
}
.text-cell {
min-width: 14px;
color: var(--color-syntax-3);
}
.address {
color: var(--color-text-disabled);
}
.address.selected {
font-weight: bold;
color: var(--color-text-primary);
}
.divider {
width: 1px;
height: inherit;
background-color: var(--color-details-hairline);
margin: 0 4px;
}
.highlight-area {
background-color: var(--color-background-elevation-2);
}
.cell.focused-area {
background-color: var(--color-primary-variant);
color: var(--color-button-primary-text);
}
.cell.focused-area.selected {
background: rgb(1 74 195); /* stylelint-disable-line plugin/use_theme_colors */
border-color: var(--color-button-outline-focus);
}
:host-context(.-theme-with-dark-background) .cell.focused-area.selected {
background: rgb(192 216 255); /* stylelint-disable-line plugin/use_theme_colors */
border-color: var(--color-button-outline-focus);
}