/** * ModelSync Panel Styles */ /* Panel overlay */ .modelsync-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 9998; } /* Main panel */ .modelsync-panel { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; } .modelsync-content { background: #1e1e1e; border-radius: 8px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); width: 90%; max-width: 1000px; max-height: 85vh; display: flex; flex-direction: column; color: #e0e0e0; position: relative; z-index: 10000; } /* Header */ .modelsync-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #333; } .modelsync-header h2 { margin: 0; font-size: 1.25rem; font-weight: 600; } .modelsync-close { background: none; border: none; color: #888; font-size: 1.5rem; cursor: pointer; padding: 0; line-height: 1; } .modelsync-close:hover { color: #fff; } /* Tabs */ .modelsync-tabs { display: flex; gap: 0; padding: 0 20px; border-bottom: 1px solid #333; } .modelsync-tab { background: none; border: none; color: #888; padding: 12px 16px; cursor: pointer; font-size: 0.9rem; border-bottom: 2px solid transparent; margin-bottom: -1px; } .modelsync-tab:hover { color: #ccc; } .modelsync-tab.active { color: #fff; border-bottom-color: #4a9eff; } /* Body */ .modelsync-body { flex: 1; overflow: auto; padding: 20px; } .modelsync-tab-content.hidden { display: none; } /* Toolbar */ .modelsync-toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; } .modelsync-search { flex: 1; min-width: 200px; padding: 8px 12px; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #e0e0e0; } .modelsync-search:focus { outline: none; border-color: #4a9eff; } .modelsync-filter { padding: 8px 12px; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #e0e0e0; } /* Buttons */ .modelsync-btn { padding: 8px 16px; background: #333; border: 1px solid #444; border-radius: 4px; color: #e0e0e0; cursor: pointer; font-size: 0.9rem; transition: background 0.2s; } .modelsync-btn:hover { background: #444; } .modelsync-btn.primary { background: #4a9eff; border-color: #4a9eff; color: #fff; } .modelsync-btn.primary:hover { background: #3a8eef; } .modelsync-btn.small { padding: 4px 10px; font-size: 0.8rem; } .modelsync-menu-btn { margin-top: 8px; } /* Table */ .modelsync-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } .modelsync-table th, .modelsync-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #333; } .modelsync-table th { background: #252525; font-weight: 600; color: #aaa; } .modelsync-table tr:hover { background: #252525; } .modelsync-table td:first-child { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Badges */ .modelsync-badge { display: inline-block; padding: 3px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 500; } .modelsync-badge.current { background: #2e7d32; color: #fff; } .modelsync-badge.update { background: #f57c00; color: #fff; } .modelsync-badge.unknown { background: #555; color: #ccc; } /* Target cards */ .modelsync-targets { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; } .modelsync-target-card { background: #252525; border-radius: 6px; padding: 16px; border: 1px solid #333; } .modelsync-target-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .modelsync-target-details { font-size: 0.85rem; color: #aaa; margin-bottom: 12px; } .modelsync-target-details p { margin: 4px 0; } .modelsync-target-actions { display: flex; gap: 8px; } /* Settings */ .modelsync-settings-form { max-width: 500px; } .modelsync-setting { margin-bottom: 20px; } .modelsync-setting label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 4px; } .modelsync-setting input[type="number"] { width: 100px; padding: 8px; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #e0e0e0; } .modelsync-setting input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; } .modelsync-hint { color: #888; font-size: 0.8rem; margin: 4px 0 0 26px; } /* Empty state */ .modelsync-empty { text-align: center; color: #888; padding: 40px 20px; } /* Footer */ .modelsync-footer { padding: 12px 20px; border-top: 1px solid #333; font-size: 0.85rem; color: #888; } .modelsync-status { color: #aaa; } /* Scrollbar styling */ .modelsync-body::-webkit-scrollbar { width: 8px; } .modelsync-body::-webkit-scrollbar-track { background: #1e1e1e; } .modelsync-body::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; } .modelsync-body::-webkit-scrollbar-thumb:hover { background: #555; }