overleaf/services/web/frontend/stylesheets/modules/galileo.less
Tim Down 7288ef0370 Merge pull request #9381 from overleaf/td-galileo-panel-cite
Display citations and regular prediction in panel when cursor is in a /cite command

GitOrigin-RevId: 42598c2f5231dd5cee8639b13cb6433c83c6e0b3
2022-08-26 08:03:49 +00:00

70 lines
1.3 KiB
Text

.galileo {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
min-height: 220px;
background-color: @galileo-bg;
color: @galileo-color;
.galileo-header {
display: flex;
background-color: @galileo-header-background;
:first-child {
flex: 1;
}
.galileo-close-button {
background: transparent;
color: @galileo-color;
padding-left: @padding-sm;
padding-right: @padding-sm;
margin-left: @margin-xs;
font-size: 24px;
font-weight: bold;
line-height: 1;
}
}
.galileo-font-lucida {
font-family: @editor-font-lucida;
}
.galileo-font-monaco {
font-family: @editor-font-monaco;
}
.galileo-body {
padding: 5px;
overflow-y: auto;
.galileo-suggestions {
h2 {
font-size: 120%;
font-weight: normal;
padding: 0;
margin: 5px 0;
color: inherit;
}
.galileo-suggestion-body {
background-color: @content-alt-bg-color;
color: black;
display: flex;
align-items: flex-start;
gap: 5px;
padding: 5px;
margin-bottom: 5px;
:first-child {
flex: 1;
}
.galileo-suggestion-text {
white-space: break-spaces;
}
}
}
}
}