mirror of https://github.com/hashicorp/consul
41 lines
716 B
SCSS
41 lines
716 B
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
%with-glyph-icon {
|
|
font-weight: var(--typo-weight-normal);
|
|
background-color: var(--token-color-surface-strong);
|
|
visibility: visible;
|
|
padding: 0 4px;
|
|
}
|
|
%as-pseudo {
|
|
content: '';
|
|
}
|
|
%led-icon {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
%led-icon::after,
|
|
%led-icon::before {
|
|
content: '';
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100%;
|
|
}
|
|
%led-icon::before {
|
|
border: 1px solid currentColor;
|
|
opacity: 0.5;
|
|
}
|
|
%led-icon::after {
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: calc(100% - 4px);
|
|
height: calc(100% - 4px);
|
|
background-color: currentColor;
|
|
}
|