2024-11-06 10:53:32 -05:00
|
|
|
.ol-cm-math-tooltip-container {
|
|
|
|
position: relative;
|
2024-07-24 09:38:42 -04:00
|
|
|
border-radius: 4px;
|
|
|
|
max-height: 400px;
|
|
|
|
max-width: 800px;
|
2024-11-06 10:53:32 -05:00
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ol-cm-math-tooltip {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
2024-07-24 09:38:42 -04:00
|
|
|
overflow: auto;
|
|
|
|
padding: 8px;
|
2024-11-06 10:53:32 -05:00
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-tooltip-options-toggle {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
background-color: transparent;
|
|
|
|
color: black !important;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-preview-tooltip-menu {
|
|
|
|
top: 28px;
|
|
|
|
right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
.math-preview-tooltip-option {
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
gap: 16px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-preview-tooltip-option-content {
|
2024-08-19 09:16:44 -04:00
|
|
|
display: flex;
|
2024-11-06 10:53:32 -05:00
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-preview-tooltip-option-label {
|
|
|
|
color: @content-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-preview-tooltip-option-description {
|
|
|
|
color: @content-secondary;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-preview-tooltip-option-shortcut {
|
|
|
|
color: @content-secondary;
|
2024-07-24 09:38:42 -04:00
|
|
|
}
|