chromium/chrome/browser/resources/nearby_internals/shared_style.css

/* Copyright 2023 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style
 * #import=chrome://resources/ash/common/cr_elements/cr_shared_style.css.js
 * #include=cr-shared-style
 * #css_wrapper_metadata_end */

:host {
  cursor: default;
  font-family: monospace;
  font-size: 12px;
  --standard-border: 1px solid black;
}

.internals-button {
  background-color: rgb(0, 134, 179);
  color: white;
  font-family: Roboto;
  margin: 5px;
}

.flex {
  flex: 1;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: scroll;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: row;
}

header {
  min-height: 50px;
  font-size: 24px;
  background-color: #069BDE;
  display: flex;
  padding: 0 20px;
  color: #f4f4f4;
  text-align: center;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.hidden {
  display: none;
}

cr-button {
  height: 35px;
  padding: 5px;
  width: 150px;
}

#buttons {
  margin-top: 5px;
  display: flex;
  flex-direction: row-reverse;
}

#executeButton {
  margin-bottom: 0px;
  padding-bottom: 6px;
}

/** CSS for controls panel */
#controls {
  width: 40%;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 550px;
  overflow-x: scroll;
}

.logo {
  font-size: 30px;
  margin-right: 12px;
}

.controls-panel {
  padding: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-width: 500px;
  overflow-x: scroll;
}

.control {
  margin: 5px;
  padding: 20px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2),
              0 3px 10px 0 rgba(0, 0, 0, 0.2),
              4px 4px 6px 0 rgba(0, 0, 0, 0.5)
}

.control-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

#actions {
  display: flex;
  flex-direction: row;
}

np-object:last-child {
  border-bottom: var(--standard-border);
}

np-object {
  border-inline-end: var(--standard-border);
  border-inline-start: var(--standard-border);
  border-top: var(--standard-border);
}

/** CSS for logs panel */
#logsPanel {
  width: 60%;
  height: 100%;
  overflow: scroll;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,0.12);
  min-width: 450px;
}

#devicesSection {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 6px;
  white-space: pre-wrap;
}

.select-div {
  padding: 6px;
  width: 30%;
  display: flex;
  flex-direction: column;
}

#logType, #logFilters {
  width: 50%;
  display: flex;
  flex-direction: column;
}

#logControlSplit {
  display: flex;
  flex-direction: row;
}

label {
  width: 80%;
}

input {
  width: 10%;
}

#logSearch {
  margin-left: 5px;
  width: 75%;
}

#logSearchLabel {
  width: 15%;
}

#filterApplyDiv {
  display: flex;
  flex-direction: row-reverse;
}

log-object {
  border-inline-end: var(--standard-border);
  border-inline-start: var(--standard-border);
  border-top: var(--standard-border);
}

log-object:last-child {
  border-bottom: var(--standard-border);
}