chromium/content/browser/resources/traces_internals/tracing_scenarios_config.css


/* Copyright 2024 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-lit
 * #import=//resources/cr_elements/cr_shared_vars.css.js
 * #scheme=relative
 * #css_wrapper_metadata_end */

:host {
  padding: 8px 12px;
}

:host h1 {
  color: var(--cr-primary-text-color);
}

:host h2 {
  color: var(--cr-primary-text-color);
}

:host h3 {
  color: var(--cr-secondary-text-color);
}

.label {
  font-size: 1.2em;
  color: var(--cr-primary-text-color);
}

.config-row {
  padding: 4px 0;
}

.action-panel {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.config-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 15px;
  margin-bottom: 20px;
}

.loading-spinner {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
}

.spinner {
  --spinner-size: 20px;
  mask-image: url(chrome://resources/images/throbber_small.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: var(--google-blue-500);
  mask-size: var(--spinner-size) var(--spinner-size);
  height: var(--spinner-size);
  width: var(--spinner-size);
}

@media (prefers-color-scheme: dark) {
  .spinner {
    background-color: var(--google-blue-300);
  }
}