mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
c7a80f9228
Texts that need individual wrapping so they won't overflow the history item: - long file name - long label name - long tooltip text - long user email --------- Co-authored-by: Ilkin Ismailov <ilkin.ismailov@overleaf.com> GitOrigin-RevId: 3f75c4173dd59524de1148b22bcbc1d856c021eb
52 lines
855 B
Text
52 lines
855 B
Text
.badge-new {
|
|
@size: 24px;
|
|
@padding: 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
height: @size;
|
|
min-height: @size;
|
|
padding: 0 @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;
|
|
}
|
|
|
|
&-comment {
|
|
flex: 1;
|
|
}
|
|
|
|
&-close {
|
|
.reset-button;
|
|
width: @size;
|
|
margin-left: 4px;
|
|
font-size: 20px;
|
|
height: @size;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: -@padding;
|
|
|
|
&: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;
|
|
}
|
|
}
|
|
}
|