:root {
--bg-primary: #ffffff;
--bg-secondary: #f8fafc;
--bg-tertiary: #f1f5f9;
--text-primary: #000000;
--text-secondary: #475569;
--accent: #4f46e5;
--accent-hover: #4338ca;
--success: #16a34a;
--error: #dc2626;
--border-color: #cbd5e1;
}
:root, window {
background-color: var(--bg-primary) !important;
color: var(--text-primary) !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
margin: 0;
padding: 20px;
height: 100vh;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
.container {
display: flex;
flex-direction: column;
height: 100%;
gap: 16px;
}
h2 {
margin: 0 0 4px 0;
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
}
.subtitle {
margin: 0 0 16px 0;
font-size: 13px;
color: var(--text-secondary);
}
/* Screen layout */
.screen {
display: none;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.screen.active {
display: flex;
}
/* Folder selection styles */
.folder-list {
flex: 1;
border: 1px solid var(--border-color);
border-radius: 8px;
background-color: var(--bg-secondary);
overflow-y: auto;
padding: 8px;
}
.folder-item {
display: flex;
align-items: center;
padding: 8px 12px;
border-radius: 6px;
cursor: pointer;
margin-bottom: 4px;
transition: all 0.2s;
font-size: 13px;
}
.folder-item:hover {
background-color: var(--bg-tertiary);
}
.folder-item.selected {
background-color: var(--accent);
color: #ffffff !important;
}
.folder-tree,
.folder-branch {
list-style: none;
padding: 0;
margin: 0;
}
.folder-branch {
margin-left: 12px;
padding-left: 12px;
border-left: 1px solid var(--border-color);
}
.folder-node {
position: relative;
}
.folder-branch > .folder-node::before {
content: "";
position: absolute;
left: -12px;
top: 17px;
width: 12px;
height: 1px;
background-color: var(--border-color);
}
.folder-icon {
margin-right: 8px;
font-size: 16px;
}
/* Progress tracker styles */
.progress-card {
border: 1px solid var(--border-color);
border-radius: 8px;
background-color: var(--bg-secondary);
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.progress-bar-container {
background-color: var(--bg-tertiary);
height: 8px;
border-radius: 4px;
overflow: hidden;
width: 100%;
}
.progress-bar {
background: linear-gradient(90deg, #4f46e5 0%, #818cf8 100%);
height: 100%;
width: 0%;
border-radius: 4px;
transition: width 0.3s ease;
}
.progress-status {
display: flex;
justify-content: space-between;
font-size: 13px;
font-weight: 500;
}
.item-list {
flex: 1;
border: 1px solid var(--border-color);
border-radius: 8px;
background-color: var(--bg-secondary);
overflow-y: auto;
padding: 8px;
display: flex;
flex-direction: column;
gap: 6px;
}
.sync-item-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-radius: 6px;
background-color: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.05);
font-size: 13px;
}
.sync-item-info {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
overflow: hidden;
padding-right: 12px;
}
.sync-item-title {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text-primary);
}
.sync-item-detail {
font-size: 11px;
color: var(--text-secondary);
}
.sync-item-status {
font-weight: 600;
font-size: 12px;
padding: 4px 8px;
border-radius: 4px;
text-transform: uppercase;
}
.status-pending {
background-color: rgba(0, 0, 0, 0.04);
color: var(--text-secondary);
}
.status-syncing {
background-color: rgba(79, 70, 229, 0.08);
color: #4f46e5;
}
.status-success {
background-color: rgba(16, 185, 129, 0.15);
color: var(--success);
}
.status-error {
background-color: rgba(239, 68, 68, 0.15);
color: var(--error);
}
/* Buttons block */
.button-group {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 8px;
}
.btn {
padding: 10px 20px;
border-radius: 6px;
font-weight: 600;
font-size: 13px;
cursor: pointer;
border: none;
transition: all 0.2s;
}
.btn-primary {
background-color: var(--accent);
color: #ffffff;
}
.btn-primary:hover {
background-color: var(--accent-hover);
}
.btn-secondary {
background-color: var(--bg-tertiary);
color: var(--text-primary);
}
.btn-secondary:hover {
background-color: var(--border-color);
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Scrollbars */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 3px;
}
Sync to Research OS
Select the destination folder in Research OS for the selected items.
Loading folders from Research OS...
Cancel
Sync Now
Syncing Papers
Please wait while items are being securely uploaded to Research OS.
Initializing...
0%
Sync Status List
Detailed Error Logs
Close