2023-04-12 08:34:56 +00:00
|
|
|
.badge-new {
|
2023-04-14 08:07:29 +00:00
|
|
|
@size: 24px;
|
2023-04-12 08:34:56 +00:00
|
|
|
@padding: 4px;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
2023-04-14 08:07:29 +00:00
|
|
|
height: @size;
|
2023-05-25 16:48:04 +00:00
|
|
|
min-height: @size;
|
|
|
|
padding: 0 @padding;
|
2023-04-12 08:34:56 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
color: @ol-blue-gray-6;
|
|
|
|
background-color: @neutral-20;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @neutral-30;
|
|
|
|
}
|
|
|
|
|
2023-04-14 08:07:29 +00:00
|
|
|
&-prepend {
|
|
|
|
margin-right: 2px;
|
2023-04-12 08:34:56 +00:00
|
|
|
}
|
|
|
|
|
2023-05-25 16:48:04 +00:00
|
|
|
&-comment {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2023-04-12 08:34:56 +00:00
|
|
|
&-close {
|
|
|
|
.reset-button;
|
2023-04-14 08:07:29 +00:00
|
|
|
width: @size;
|
2023-04-12 08:34:56 +00:00
|
|
|
margin-left: 4px;
|
2023-04-26 07:52:25 +00:00
|
|
|
font-size: 20px;
|
2023-05-25 16:48:04 +00:00
|
|
|
height: @size;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-right: -@padding;
|
2023-04-12 08:34:56 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @neutral-40;
|
|
|
|
}
|
|
|
|
}
|
2023-04-14 08:07:29 +00:00
|
|
|
|
|
|
|
&-sm {
|
|
|
|
@size-sm: 20px;
|
|
|
|
height: @size-sm;
|
|
|
|
font-size: @font-size-extra-small;
|
|
|
|
.badge-new-close {
|
|
|
|
width: @size-sm;
|
|
|
|
font-size: @size-sm;
|
|
|
|
}
|
|
|
|
}
|
2023-04-12 08:34:56 +00:00
|
|
|
}
|