overleaf-cep/services/web/frontend/stylesheets/components/badge.less
ilkin-overleaf 4a927e45a6 Merge pull request #23117 from overleaf/ii-flexible-group-licensing-subscription-page
[web] Subscription page for flexible licensing

GitOrigin-RevId: 8f2fab1fc01e27063d716a86add66b1b9a72cbe6
2025-02-05 09:05:54 +00:00

56 lines
1 KiB
Text

.badge-tag-bs3 {
@size: 24px;
@padding: 4px;
display: inline-flex;
align-items: center;
height: @size;
max-width: 100%;
min-height: @size;
white-space: nowrap;
color: @ol-blue-gray-6;
background-color: @neutral-20;
border-radius: 4px;
&:hover {
background-color: @neutral-30;
}
&-content-wrapper {
display: flex;
align-items: center;
overflow: hidden;
padding-left: @padding;
padding-right: @padding;
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
}
&-prepend {
margin-right: 2px;
display: flex;
}
&-close {
.reset-button;
width: @size;
font-size: 20px;
height: @size;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
padding: 0 @padding;
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
color: inherit;
&:hover {
background-color: @neutral-40;
}
}
&-content {
.text-overflow();
}
}