2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2019-06-14 17:27:37 +00:00
|
|
|
%pill {
|
|
|
|
display: inline-flex;
|
|
|
|
position: relative;
|
2020-09-22 17:20:44 +00:00
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
2020-09-22 17:20:44 +00:00
|
|
|
%pill::before {
|
2019-12-12 09:25:39 +00:00
|
|
|
margin-right: 4px;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
2020-09-22 17:20:44 +00:00
|
|
|
%pill-200 {
|
2020-09-18 10:14:06 +00:00
|
|
|
@extend %pill;
|
2020-05-05 16:29:51 +00:00
|
|
|
padding: 0 8px;
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-size: icon-200;
|
2020-05-05 16:29:51 +00:00
|
|
|
}
|
2020-09-22 17:20:44 +00:00
|
|
|
%pill-500 {
|
|
|
|
@extend %pill;
|
|
|
|
padding: 1px 5px;
|
2020-05-05 16:29:51 +00:00
|
|
|
}
|
2020-09-22 17:20:44 +00:00
|
|
|
%pill-700 {
|
|
|
|
@extend %pill;
|
|
|
|
padding: 4px 8px;
|
2020-08-28 13:21:03 +00:00
|
|
|
}
|