~bigbes/lethe

ref: 13113b8c4674cd767c94798875471f64b11e656d lethe/web/src/styles/settings.css -rw-r--r-- 4.1 KiB
13113b8c — Eugene Blikh web: AuthGate consolidates three "not authenticated" cards a month ago
                                                                                
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/* Settings route */

/* Two-column shell: narrow sidebar + main panel */
.settings-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.settings-panel {
  padding: 16px 20px;
  overflow: auto;
  min-height: 0;
}

/* ── Section rail (vertical nav) ────────────────────────────────────────────── */

.section-rail {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule-2);
  padding: 8px 0;
  overflow: auto;
}

.section-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 80ms;
  border-left: 2px solid transparent;
  user-select: none;
}

.section-row:hover:not(.disabled) {
  background: var(--paper-2);
  color: var(--ink);
}

.section-row.active {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-weight: 500;
}

.section-row.disabled {
  opacity: 0.5;
  cursor: default;
}

.section-row-tag {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--ink-3);
  margin-left: auto;
}

/* ── Saved searches section ──────────────────────────────────────────────────── */

.saved-searches-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saved-searches-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule-2);
}

/* Inline add/edit form: inputs + button on one line */
.saved-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.saved-search-input {
  padding: 4px 8px;
  font-size: 12px;
  font-family: var(--sans);
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper-4);
  color: var(--ink);
  outline: none;
  min-width: 120px;
}

.saved-search-input:focus {
  border-color: var(--accent);
}

.saved-search-input-mono {
  font-family: var(--mono);
  min-width: 200px;
}

.saved-search-btn {
  padding: 3px 10px;
  font-size: 11px;
  font-family: var(--mono);
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 80ms;
  white-space: nowrap;
}

.saved-search-btn:hover:not(:disabled) {
  background: var(--paper-2);
  color: var(--ink);
}

.saved-search-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.saved-search-btn-danger {
  border-color: var(--err);
  color: var(--err);
}

.saved-search-btn-danger:hover:not(:disabled) {
  background: var(--err-bg);
}

.saved-search-error {
  font-size: 11px;
  color: var(--err);
  font-family: var(--mono);
}

/* Table */
.saved-searches-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  overflow: hidden;
}

.saved-searches-thead {
  display: grid;
  grid-template-columns: 180px 1fr 90px 120px;
  padding: 5px 10px;
  background: var(--paper-3);
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--rule-2);
}

.saved-searches-row {
  display: grid;
  grid-template-columns: 180px 1fr 90px 120px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--rule-2);
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink);
}

.saved-searches-row:last-child {
  border-bottom: none;
}

.saved-searches-row:hover {
  background: var(--paper-2);
}

.saved-searches-row-editing {
  display: block;
  padding: 6px 10px;
}

.saved-searches-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-searches-query {
  font-family: var(--mono);
  font-size: 11px;
}

.saved-searches-updated {
  font-size: 11px;
  color: var(--ink-3);
}

.saved-searches-actions {
  display: flex;
  gap: 4px;
  overflow: visible;
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--ink-3);
}