overleaf/services/web/frontend/stylesheets/components/badge.less
ilkin-overleaf 0895e33235 Merge pull request #12773 from overleaf/ii-history-react-changes-list-dropdown
[web] Actions dropdown history migration

GitOrigin-RevId: 6b7055501c5eb1529b1794db92bb9f5f3faa6648
2023-04-26 08:05:24 +00:00

43 lines
708 B
Text

.badge-new {
@size: 24px;
@padding: 4px;
display: inline-flex;
align-items: center;
overflow: hidden;
height: @size;
padding: @padding;
white-space: nowrap;
color: @ol-blue-gray-6;
background-color: @neutral-20;
border-radius: 4px;
&:hover {
background-color: @neutral-30;
}
&-prepend {
margin-right: 2px;
}
&-close {
.reset-button;
width: @size;
margin-left: 4px;
margin-right: -@padding;
font-size: 20px;
&:hover {
background-color: @neutral-40;
}
}
&-sm {
@size-sm: 20px;
height: @size-sm;
font-size: @font-size-extra-small;
.badge-new-close {
width: @size-sm;
font-size: @size-sm;
}
}
}