mirror of https://github.com/hashicorp/consul
28 lines
396 B
SCSS
28 lines
396 B
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
%pill {
|
|
display: inline-flex;
|
|
position: relative;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
}
|
|
%pill::before {
|
|
margin-right: 4px;
|
|
}
|
|
%pill-200 {
|
|
@extend %pill;
|
|
padding: 0 8px;
|
|
--icon-size: icon-200;
|
|
}
|
|
%pill-500 {
|
|
@extend %pill;
|
|
padding: 1px 5px;
|
|
}
|
|
%pill-700 {
|
|
@extend %pill;
|
|
padding: 4px 8px;
|
|
}
|