blob: 74d4bf42bba54b4f880e250685ec326b76f9ed11 [file] [log] [blame]
/* Copyright 2022 The Fuchsia Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
@import '@vscode/codicons/dist/codicon.css';
:root {
--log-list-buffer: calc(100vh - 50px);
--log-control-height: 24px;
}
body {
display: flex;
flex-direction: column;
}
th {
background-color: var(--vscode-editor-background);
border-bottom: 2px solid var(--vscode-panel-border);
padding-bottom: 5px;
position: sticky;
top: 0;
}
td,
th {
overflow: clip;
text-align: left;
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
}
.msg-cell:hover {
background: var(--vscode-list-hoverBackground);
text-overflow: clip;
white-space: normal;
}
#log-list-container {
height: var(--log-list-buffer);
overflow: scroll;
width: 100%;
}
#log-list {
table-layout: fixed;
width: 100%;
word-wrap: normal;
}
.log-entry[data-severity="warn"] {
color: var(--vscode-list-warningForeground);
}
.log-entry[data-severity="error"] {
color: var(--vscode-list-errorForeground);
}
#log-action-container {
display: flex;
height: var(--log-action-container-height);
margin-block-start: 0;
margin-block-end: 0;
padding-bottom: var(--input-margin-vertical);
width: 100%;
}
#log-control {
flex-grow: 5;
}
input#search {
height: var(--log-action-height);
margin-bottom: var(--input-margin-vertical);
}
#clear {
background: none;
border: none;
color: var(--vscode-icon-foreground);
height: var(--log-action-height);
padding: var(--input-padding-vertical) var(--input-padding-horizontal);
text-align: center;
}
#clear:hover {
background: var(--vscode-toolbar-hoverBackground);
border-radius: 5px;
cursor: pointer;
}
.column-resize {
cursor: col-resize;
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 5px;
}
.column-resize:hover,
.resizing {
border-right: 2px solid var(--vscode-editor-foreground);
}