blob: 02d64db895ba7ececfb65d8a01f9d63d1b534bd4 (
plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
.avatar {
border: 1px solid var(--color-text);
}
/* Nostr Feed Styles */
.nostr-empty-state {
display: flex;
align-items: center;
justify-content: center;
min-height: 400px;
padding: 40px 20px;
}
.empty-content {
text-align: center;
max-width: 400px;
}
.empty-content h3 {
margin: 20px 0 10px 0;
color: var(--color-text);
font-size: 24px;
}
.empty-content p {
color: var(--color-text-secondary);
line-height: 1.5;
margin-bottom: 30px;
}
.resync-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(--color-primary);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
font-weight: 500;
transition: opacity 0.2s ease;
}
.resync-btn:hover:not(:disabled) {
opacity: 0.9;
}
.resync-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.nostr-feed {
width: 100%;
}
.nostr-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
background: var(--color-surface);
border-radius: 8px;
margin-bottom: 16px;
border: 1px solid var(--color-border);
}
.feed-info {
display: flex;
align-items: center;
gap: 12px;
}
.feed-info h4 {
margin: 0;
color: var(--color-text);
font-size: 18px;
}
.post-count {
color: var(--color-text-secondary);
font-size: 14px;
background: var(--color-background);
padding: 4px 8px;
border-radius: 4px;
border: 1px solid var(--color-border);
}
.resync-btn-small {
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
background: var(--color-background);
border: 1px solid var(--color-border);
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
color: var(--color-text);
}
.resync-btn-small:hover:not(:disabled) {
background: var(--color-surface-hover);
border-color: var(--color-primary);
}
.resync-btn-small:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.btn-spinner,
.btn-spinner-small {
width: 16px;
height: 16px;
animation: spin 1s linear infinite;
}
.btn-spinner-small {
width: 14px;
height: 14px;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
|