// Copyright 2023 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.
// IMPORTANT: this file is auto generated. Please do not edit this file.
/* istanbul ignore file */
const styles = new CSSStyleSheet();
styles.replaceSync(
`/*
 * Copyright (c) 2014 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.
 */

.websocket-frame-view {
  --override-icon-color-when-row-selected: #fff;
  --override-send-row-background-color: rgb(226 247 218);
  --override-error-row-background-color: rgb(255 237 237);

  user-select: text;
}

.-theme-with-dark-background .websocket-frame-view,
:host-context(.-theme-with-dark-background) .websocket-frame-view {
  --override-icon-color-when-row-selected: #000;
  --override-send-row-background-color: rgb(16 37 8);
  --override-error-row-background-color: rgb(18 0 0);
}

.websocket-frame-view .data-grid {
  flex: auto;
  border: none;
}

.websocket-frame-view .data-grid .data {
  background-image: none;
}

.websocket-frame-view-td {
  border-bottom: 1px solid var(--sys-color-divider);
}

.websocket-frame-view .data-grid td,
.websocket-frame-view .data-grid th {
  border-left-color: 1px solid var(--sys-color-divider);
}

.websocket-frame-view-row-send td:first-child::before {
  content: "\\2B06";
  color: var(--color-green);
  padding-right: 4px;
}

.websocket-frame-view-row-receive td:first-child::before {
  content: "\\2B07";
  color: var(--color-red);
  padding-right: 4px;
}

.data-grid:focus .websocket-frame-view-row-send.selected td:first-child::before,
.data-grid:focus .websocket-frame-view-row-receive.selected td:first-child::before {
  color: var(--override-icon-color-when-row-selected);
}

.websocket-frame-view-row-send {
  background-color: var(--override-send-row-background-color);
}

.websocket-frame-view-row-error {
  background-color: var(--override-error-row-background-color);
  color: var(--color-accent-red);
}

.websocket-frame-view .toolbar {
  border-bottom: var(--legacy-divider-border);
}

/*# sourceURL=webSocketFrameView.css */
`);
export default styles;
