-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
88 lines (88 loc) · 5.49 KB
/
Copy pathindex.css
File metadata and controls
88 lines (88 loc) · 5.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.lansync-container {
padding: 20px;
max-width: 800px;
margin: 0 auto;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.lansync-header h2 { margin: 0 0 8px; color: var(--b3-theme-primary); }
.lansync-header .subtitle { margin: 0 0 24px; color: var(--b3-theme-on-surface-light); font-size: 14px; }
.lansync-section { background: var(--b3-theme-background-light); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; border: 1px solid var(--b3-theme-surface-light); }
.lansync-section h3 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.vip-section { background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.05)); border-left: 4px solid #ffc107; }
.vip-status { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vip-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.vip-badge.active { background: #ffc107; color: #000; }
.vip-badge.inactive { background: #9e9e9e; color: white; }
.trial-expired-warning { color: #f44336; font-weight: bold; }
.trial-hint { color: #2196f3; }
.warning { color: #f44336; }
.devices-list { min-height: 100px; }
.device-items { list-style: none; margin: 0; padding: 0; }
.device-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; margin: 8px 0; background: var(--b3-theme-background); border-radius: 8px; border: 1px solid var(--b3-theme-surface-light); cursor: pointer; transition: all 0.2s; }
.device-item:hover { background: var(--b3-theme-surface-hover); border-color: var(--b3-theme-primary-light); }
.device-item.active { border-color: var(--b3-theme-primary); background: var(--b3-theme-primary-hover-light); }
.device-info { display: flex; flex-direction: column; gap: 4px; }
.device-name { font-weight: 600; }
.device-addr { font-size: 12px; font-family: monospace; }
.device-actions-mini { display: flex; gap: 8px; }
.btn-icon { background: transparent; border: none; font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.btn-icon:hover { background: var(--b3-theme-surface-hover); }
.empty-state { text-align: center; padding: 40px; color: var(--b3-theme-on-surface-light); }
.current-device-info { display: flex; flex-direction: column; gap: 12px; }
.device-selector select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--b3-theme-surface-light); background: var(--b3-theme-background); font-size: 14px; }
.device-actions { display: flex; gap: 12px; }
.status-indicator { padding: 8px 12px; border-radius: 8px; font-size: 13px; text-align: center; }
.status-idle { background: var(--b3-theme-surface); }
.status-connected { background: rgba(76, 175, 80, 0.2); color: #4caf50; }
.status-error { background: rgba(244, 67, 54, 0.2); color: #f44336; }
.status-testing, .status-syncing { background: rgba(33, 150, 243, 0.2); color: #2196f3; }
.status-inactive { background: var(--b3-theme-surface); color: var(--b3-theme-on-surface-light); }
.settings-options { display: flex; flex-direction: column; gap: 12px; }
.settings-options label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sync-direction { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.lansync-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--b3-theme-surface-light); margin-top: 8px; }
.version { font-size: 12px; color: var(--b3-theme-on-surface-light); }
.btn { padding: 8px 16px; border-radius: 8px; border: none; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: var(--b3-theme-primary); color: white; }
.btn-primary:hover { background: var(--b3-theme-primary-dark); }
.btn-secondary { background: var(--b3-theme-surface); border: 1px solid var(--b3-theme-surface-light); }
.btn-success { background: #4caf50; color: white; }
.btn-save { background: var(--b3-theme-primary); color: white; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
.modal-content { background: var(--b3-theme-background); border-radius: 16px; width: 90%; max-width: 480px; }
.modal-header { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--b3-theme-surface-light); }
.modal-body { padding: 20px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--b3-theme-surface-light); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--b3-theme-surface-light); background: var(--b3-theme-background); box-sizing: border-box; }
.form-group small { display: block; margin-top: 4px; font-size: 12px; color: var(--b3-theme-on-surface-light); }
.vip-disabled {
opacity: 0.6;
cursor: not-allowed;
}
.vip-disabled input {
pointer-events: none;
}
.sync-dir-group {
margin-bottom: 16px;
}
.sync-dir-group strong {
display: block;
margin-bottom: 8px;
font-size: 14px;
}
.sync-dir-group label {
display: block;
margin-left: 12px;
margin-bottom: 6px;
font-size: 13px;
}
.dir-note {
font-size: 12px;
color: var(--b3-theme-on-surface-light);
margin-bottom: 8px;
margin-left: 0;
}