mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
96 lines
1.8 KiB
CSS
96 lines
1.8 KiB
CSS
.suggestion-body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
overflow: hidden;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
user-select: none;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.suggestion-tooltip {
|
|
background: rgba(30, 30, 30, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
margin: 4px;
|
|
max-width: 400px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
|
|
0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.suggestion-text {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
margin: 0 0 8px 0;
|
|
word-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.suggestion-hint {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-size: 11px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.suggestion-key {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 3px;
|
|
padding: 1px 5px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.suggestion-separator {
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.suggestion-error {
|
|
border-color: rgba(255, 80, 80, 0.3);
|
|
}
|
|
|
|
.suggestion-error-text {
|
|
color: rgba(255, 120, 120, 0.9);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.suggestion-loading {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.suggestion-dot {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
animation: suggestion-pulse 1.2s infinite ease-in-out;
|
|
}
|
|
|
|
.suggestion-dot:nth-child(2) {
|
|
animation-delay: 0.15s;
|
|
}
|
|
|
|
.suggestion-dot:nth-child(3) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
@keyframes suggestion-pulse {
|
|
0%, 80%, 100% {
|
|
opacity: 0.3;
|
|
transform: scale(0.8);
|
|
}
|
|
40% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|