2025-01-04 10:24:21 +00:00
|
|
|
.cm-cursor-overlay {
|
2025-01-05 12:18:21 +00:00
|
|
|
left: -1%;
|
|
|
|
|
top: -2.2rem;
|
|
|
|
|
width: 102%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
align-items: center;
|
|
|
|
|
background: var(--background-secondary) !important;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
font-size: var(--font-interface-theme);
|
|
|
|
|
border: 1px solid var(--background-modifier-border) !important;
|
|
|
|
|
user-select: none;
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
visibility: visible;
|
2025-01-04 10:24:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cm-cursor-overlay-inner {
|
2025-01-05 12:18:21 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2025-01-04 10:24:21 +00:00
|
|
|
|
2025-01-05 12:18:21 +00:00
|
|
|
overflow: hidden;
|
2024-10-27 18:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cm-tooltip-editor {
|
2025-01-05 12:18:21 +00:00
|
|
|
display: flex;
|
|
|
|
|
padding: 1px 0 1px 10px;
|
|
|
|
|
height: var(--line-height);
|
|
|
|
|
width: auto;
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
align-items: center;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
border: 1px solid var(--background-modifier-border-focus);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
flex: 1 0 0;
|
|
|
|
|
transition: flex-basis 0.3s ease;
|
2024-10-27 18:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
2025-01-04 10:24:21 +00:00
|
|
|
.cm-cursor-overlay .cm-editor {
|
2025-01-05 12:18:21 +00:00
|
|
|
user-select: text;
|
|
|
|
|
}
|
2025-01-04 10:24:21 +00:00
|
|
|
|
2025-01-05 12:18:21 +00:00
|
|
|
/* Button Styles */
|
2025-01-04 10:24:21 +00:00
|
|
|
.submit-button {
|
2025-01-05 12:18:21 +00:00
|
|
|
height: var(--line-height);
|
2025-01-04 10:24:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tooltip-button {
|
2025-01-05 12:18:21 +00:00
|
|
|
height: var(--line-height);
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
border: 1px solid var(--background-modifier-border-focus);
|
|
|
|
|
box-shadow: none !important;
|
2025-01-04 10:24:21 +00:00
|
|
|
}
|
|
|
|
|
|
2024-10-30 23:27:22 +00:00
|
|
|
/* Loader Animation */
|
2024-10-27 18:33:35 +00:00
|
|
|
.loader {
|
2025-01-05 12:18:21 +00:00
|
|
|
width: 5px;
|
|
|
|
|
aspect-ratio: 1;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
background: var(--background-primary);
|
|
|
|
|
animation: l5 1s infinite linear alternate;
|
|
|
|
|
margin: 0 20px 0 26px;
|
2024-10-27 18:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes l5 {
|
2025-01-05 12:18:21 +00:00
|
|
|
0%,
|
|
|
|
|
33% {
|
|
|
|
|
box-shadow: 10px 0 var(--text-accent), -10px 0 var(--text-faint);
|
|
|
|
|
background: var(--text-accent);
|
|
|
|
|
}
|
|
|
|
|
66%,
|
|
|
|
|
100% {
|
|
|
|
|
box-shadow: 10px 0 var(--text-faint), -10px 0 var(--text-accent);
|
|
|
|
|
background: var(--text-faint);
|
|
|
|
|
}
|
2024-10-27 18:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
2025-01-04 10:24:21 +00:00
|
|
|
.cm-change-widget {
|
2025-01-05 12:18:21 +00:00
|
|
|
padding: 0px 4px;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
background-color: var(--background-primary-alt);
|
2024-10-30 23:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
2025-01-04 10:24:21 +00:00
|
|
|
.cm-change-added {
|
2025-01-05 12:18:21 +00:00
|
|
|
background-color: rgba(var(--color-green-rgb), 0.2);
|
2024-10-30 23:27:22 +00:00
|
|
|
}
|
|
|
|
|
|
2025-01-04 10:24:21 +00:00
|
|
|
.cm-change-removed {
|
2025-01-05 12:18:21 +00:00
|
|
|
background-color: rgba(var(--color-red-rgb), 0.2);
|
2025-01-04 20:26:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.primary-action {
|
2025-01-05 12:18:21 +00:00
|
|
|
background-color: var(--interactive-accent) !important;
|
|
|
|
|
color: var(--text-on-accent) !important;
|
2025-01-04 20:26:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tooltip-button:hover {
|
2025-01-05 12:18:21 +00:00
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|