2024-04-19 08:30:23 -04:00
|
|
|
.badge {
|
|
|
|
display: inline-flex;
|
2024-05-27 08:46:48 -04:00
|
|
|
align-items: stretch;
|
|
|
|
max-width: 100%;
|
2024-04-19 08:30:23 -04:00
|
|
|
line-height: var(--line-height-01);
|
2024-05-27 08:46:48 -04:00
|
|
|
padding: 0 var(--bs-badge-padding-x);
|
2024-04-19 08:30:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-prepend {
|
|
|
|
margin-left: calc($spacing-01 / -2);
|
|
|
|
margin-right: $spacing-01;
|
2024-05-27 08:46:48 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-04-19 08:30:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-close {
|
2024-04-30 04:12:42 -04:00
|
|
|
@include reset-button;
|
2024-04-19 08:30:23 -04:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-05-27 08:46:48 -04:00
|
|
|
flex-shrink: 0;
|
2024-04-19 08:30:23 -04:00
|
|
|
|
2024-05-27 08:46:48 -04:00
|
|
|
padding: 0 $spacing-02;
|
|
|
|
margin: 0 (-$spacing-02) 0 $spacing-02;
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
border-bottom-right-radius: inherit;
|
2024-04-19 08:30:23 -04:00
|
|
|
color: inherit;
|
2024-05-27 08:46:48 -04:00
|
|
|
user-select: none;
|
2024-04-19 08:30:23 -04:00
|
|
|
|
|
|
|
.badge-close-icon {
|
|
|
|
font-size: $font-size-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--neutral-40);
|
|
|
|
}
|
|
|
|
}
|
2024-05-27 08:46:48 -04:00
|
|
|
|
|
|
|
.badge-content {
|
|
|
|
@include text-truncate;
|
|
|
|
padding: var(--bs-badge-padding-y) 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-tag {
|
|
|
|
@include body-sm;
|
|
|
|
color: $dark;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--neutral-30) !important;
|
|
|
|
}
|
|
|
|
}
|