mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 18:19:53 +00:00
5fb9df1640
* Adding explicit MPL license for sub-package This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. * Adding explicit MPL license for sub-package This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. * Updating the license from MPL to Business Source License Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at <Blog URL>, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl. * add missing license headers * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
105 lines
2.2 KiB
SCSS
105 lines
2.2 KiB
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
#metrics-container .sparkline-wrapper {
|
|
svg path {
|
|
stroke-width: 0;
|
|
}
|
|
|
|
.tooltip {
|
|
@extend %body-200-regular;
|
|
padding: 0 0 10px;
|
|
border: 1px solid var(--token-color-palette-neutral-300);
|
|
background: #fff;
|
|
border-radius: 2px;
|
|
box-sizing: border-box;
|
|
box-shadow: var(--token-elevation-higher-box-shadow);
|
|
|
|
.sparkline-time {
|
|
@extend %body-200-semibold;
|
|
padding: 8px 10px;
|
|
color: #000;
|
|
border-bottom: 1px solid var(--token-color-surface-interactive-active);
|
|
margin-bottom: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.sparkline-tt-legend,
|
|
.sparkline-tt-sum {
|
|
border: 0;
|
|
padding: 3px 10px 0 10px;
|
|
}
|
|
|
|
.sparkline-tt-sum {
|
|
border-top: 1px solid var(--token-color-surface-interactive-active);
|
|
margin-top: 4px;
|
|
padding: 8px 10px 0 10px;
|
|
}
|
|
|
|
.sparkline-tt-legend-color {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 2px;
|
|
margin: 0 5px 0 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.sparkline-tt-legend-value,
|
|
.sparkline-tt-sum-value {
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
div.tooltip:before {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 12px;
|
|
left: 15px;
|
|
bottom: -7px;
|
|
border: 1px solid var(--token-color-palette-neutral-300);
|
|
border-top: 0;
|
|
border-left: 0;
|
|
background: #fff;
|
|
transform: rotate(45deg);
|
|
}
|
|
}
|
|
|
|
// Key modal
|
|
.sparkline-key {
|
|
h3::before {
|
|
@extend %with-info-circle-fill-mask, %as-pseudo;
|
|
margin: 2px 3px 0 0;
|
|
font-size: var(--token-typography-body-200-font-size);
|
|
}
|
|
|
|
h3 {
|
|
@extend %display-300-semibold;
|
|
color: var(--token-color-foreground-strong);
|
|
}
|
|
|
|
.sparkline-key-content {
|
|
dt {
|
|
font-weight: var(--token-typography-font-weight-semibold);
|
|
}
|
|
dd {
|
|
color: var(--token-color-foreground-faint);
|
|
}
|
|
}
|
|
}
|
|
|
|
.sparkline-key-link {
|
|
color: var(--token-color-foreground-faint);
|
|
}
|
|
.sparkline-key-link:hover {
|
|
color: var(--token-color-foreground-action);
|
|
}
|
|
#metrics-container:hover .sparkline-key-link::before {
|
|
@extend %with-info-circle-fill-mask, %as-pseudo;
|
|
margin: 1px 3px 0 0;
|
|
font-size: 12px;
|
|
}
|