Kraft102's picture
fix: sql.js Docker/Alpine compatibility layer for PatternMemory and FailureMemory
5a81b95
/* WidgeTDC Browser Extension Styles */
.widgetdc-floating-button {
background: white;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
padding: 8px;
display: flex;
gap: 8px;
animation: fadeIn 0.2s ease-out;
}
.widgetdc-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: transform 0.2s, box-shadow 0.2s;
}
.widgetdc-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}
.widgetdc-sidebar {
position: fixed;
right: 0;
top: 0;
width: 400px;
height: 100vh;
background: white;
box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
z-index: 999999;
display: flex;
flex-direction: column;
animation: slideIn 0.3s ease-out;
}
.widgetdc-sidebar-header {
padding: 20px;
border-bottom: 1px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.widgetdc-sidebar-header h3 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
.widgetdc-close {
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.2s;
}
.widgetdc-close:hover {
background: rgba(255, 255, 255, 0.2);
}
.widgetdc-sidebar-content {
flex: 1;
overflow-y: auto;
padding: 20px;
}
.widgetdc-result {
padding: 16px;
border: 1px solid #e0e0e0;
border-radius: 8px;
margin-bottom: 12px;
transition: box-shadow 0.2s;
}
.widgetdc-result:hover {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.widgetdc-result h5 {
margin: 0 0 8px 0;
font-size: 16px;
color: #333;
}
.widgetdc-result p {
margin: 0 0 8px 0;
font-size: 14px;
color: #666;
line-height: 1.5;
}
.widgetdc-result small {
color: #999;
font-size: 12px;
}
.widgetdc-answer {
background: #f5f5f5;
padding: 16px;
border-radius: 8px;
border-left: 4px solid #667eea;
font-size: 14px;
line-height: 1.6;
color: #333;
}
.widgetdc-notification {
position: fixed;
bottom: 20px;
right: 20px;
background: #4caf50;
color: white;
padding: 16px 24px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 1000000;
animation: slideUp 0.3s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes slideIn {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
@keyframes slideUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}