Files
web2mcp/browser-extension/content.css
empty b1d9f2c518 feat: 添加 LLM Content Extractor 浏览器扩展
- 支持框选区域提取网页内容
- 支持整页内容提取
- 输出格式:Markdown/JSON/XML
- 自动复制到剪贴板
2025-12-03 16:44:03 +08:00

77 lines
1.5 KiB
CSS

.llm-extractor-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.3);
cursor: crosshair;
z-index: 999998;
}
.llm-extractor-selection {
position: fixed;
border: 2px dashed #667eea;
background: rgba(102, 126, 234, 0.1);
z-index: 999999;
pointer-events: none;
}
.llm-extractor-hint {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 12px 24px;
border-radius: 8px;
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
z-index: 1000000;
animation: slideDown 0.3s ease-out;
}
.llm-extractor-notification {
position: fixed;
bottom: 20px;
right: 20px;
background: #333;
color: white;
padding: 12px 20px;
border-radius: 8px;
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
z-index: 1000000;
animation: slideUp 0.3s ease-out;
}
.llm-extractor-notification.fade-out {
opacity: 0;
transition: opacity 0.3s ease-out;
}
@keyframes slideDown {
from {
transform: translateX(-50%) translateY(-20px);
opacity: 0;
}
to {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
}
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}