@fiduswriter/frontend 0.1.72 → 0.1.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/css/login.css +268 -0
  2. package/css/show_profile.css +111 -40
  3. package/dist/app/index.d.ts.map +1 -1
  4. package/dist/app/index.js +1 -0
  5. package/dist/app/index.js.map +1 -1
  6. package/dist/common/user_util.d.ts +8 -1
  7. package/dist/common/user_util.d.ts.map +1 -1
  8. package/dist/common/user_util.js +24 -0
  9. package/dist/common/user_util.js.map +1 -1
  10. package/dist/css/fwtoolkit/data_table.css +31 -6
  11. package/dist/css/fwtoolkit/dialog.css +51 -0
  12. package/dist/css/fwtoolkit/fwtoolkit.css +157 -26
  13. package/dist/css/fwtoolkit/inline_tools.css +5 -8
  14. package/dist/css/fwtoolkit/overview_menu.css +70 -12
  15. package/dist/css/login.css +268 -0
  16. package/dist/css/manifest.json +1 -0
  17. package/dist/css/show_profile.css +111 -40
  18. package/dist/feedback/index.d.ts.map +1 -1
  19. package/dist/feedback/index.js +6 -1
  20. package/dist/feedback/index.js.map +1 -1
  21. package/dist/menu/index.d.ts.map +1 -1
  22. package/dist/menu/index.js +16 -2
  23. package/dist/menu/index.js.map +1 -1
  24. package/dist/user/auth/login.d.ts +14 -0
  25. package/dist/user/auth/login.d.ts.map +1 -1
  26. package/dist/user/auth/login.js +253 -131
  27. package/dist/user/auth/login.js.map +1 -1
  28. package/dist/user/profile/dialog.d.ts +72 -0
  29. package/dist/user/profile/dialog.d.ts.map +1 -0
  30. package/dist/user/profile/dialog.js +436 -0
  31. package/dist/user/profile/dialog.js.map +1 -0
  32. package/dist/user/profile/dialogs.d.ts +6 -6
  33. package/dist/user/profile/dialogs.d.ts.map +1 -1
  34. package/dist/user/profile/dialogs.js +29 -14
  35. package/dist/user/profile/dialogs.js.map +1 -1
  36. package/dist/user/profile/index.d.ts +12 -14
  37. package/dist/user/profile/index.d.ts.map +1 -1
  38. package/dist/user/profile/index.js +35 -236
  39. package/dist/user/profile/index.js.map +1 -1
  40. package/dist/user/profile/templates.d.ts +14 -1
  41. package/dist/user/profile/templates.d.ts.map +1 -1
  42. package/dist/user/profile/templates.js +178 -191
  43. package/dist/user/profile/templates.js.map +1 -1
  44. package/package.json +3 -2
  45. package/src/app/index.ts +1 -0
  46. package/src/common/user_util.ts +26 -1
  47. package/src/feedback/index.ts +8 -1
  48. package/src/menu/index.ts +19 -2
  49. package/src/user/auth/login.ts +338 -153
  50. package/src/user/profile/dialog.ts +609 -0
  51. package/src/user/profile/dialogs.ts +51 -14
  52. package/src/user/profile/index.ts +37 -334
  53. package/src/user/profile/templates.ts +222 -223
@@ -33,6 +33,27 @@ table.fw-data-table tbody tr {
33
33
  transition: background-color var(--fw-motion-fast) var(--fw-motion-ease);
34
34
  }
35
35
 
36
+ table.fw-data-table tbody tr,
37
+ table.fw-data-table thead tr {
38
+ position: relative;
39
+ }
40
+
41
+ /* Partial border between body rows, inset 12px from left and right */
42
+ table.fw-data-table tbody tr::after,
43
+ div.datatable-headercontainer table.fw-data-table thead tr::after {
44
+ content: "";
45
+ position: absolute;
46
+ bottom: 0;
47
+ left: var(--fw-radius-card);
48
+ right: var(--fw-radius-card);
49
+ height: 1px;
50
+ background-color: var(--fw-border);
51
+ }
52
+
53
+ div.datatable-headercontainer table.fw-data-table thead tr::after {
54
+ bottom: -18px;
55
+ }
56
+
36
57
  /* Prevent the search/top bar from overflowing a padded parent */
37
58
  .datatable-top,
38
59
  .datatable-container,
@@ -152,6 +173,10 @@ table.datatable-table thead {
152
173
  color: var(--fw-text-primary);
153
174
  }
154
175
 
176
+ div.datatable-headercontainer table.fw-data-table {
177
+ margin-bottom: 18px;
178
+ }
179
+
155
180
  /* simple-datatables wraps header text in a <button> - reset it to plain text */
156
181
  .datatable-table th button,
157
182
  .datatable-pagination-list button {
@@ -177,12 +202,11 @@ table.datatable-table thead {
177
202
  (Font Awesome arrow-up-short-wide / arrow-up-wide-short) on the active
178
203
  column. The active green uses --fw-brand-active because the raw brand
179
204
  green only reaches 2.1:1 on white, below the 3:1 minimum for
180
- non-text indicators. */
205
+ non-text indicators. The button stays inline-block: with a flex
206
+ container, innerText reports each header label on its own line. */
181
207
  .datatable-sorter,
182
208
  .datatable-filter {
183
- display: inline-flex;
184
- align-items: center;
185
- gap: 6px;
209
+ display: inline-block;
186
210
  height: 100%;
187
211
  width: 100%;
188
212
  }
@@ -190,7 +214,9 @@ table.datatable-table thead {
190
214
  .datatable-sorter::after,
191
215
  .datatable-filter::after {
192
216
  content: "";
193
- flex: none;
217
+ display: inline-block;
218
+ vertical-align: middle;
219
+ margin-left: 6px;
194
220
  width: 9px;
195
221
  height: 16px;
196
222
  background-color: var(--fw-text-secondary);
@@ -241,7 +267,6 @@ table.fw-data-table th,
241
267
  table.datatable-table th {
242
268
  padding: 12px;
243
269
  vertical-align: middle;
244
- border-bottom: solid 2px var(--fw-border-strong);
245
270
  text-align: left;
246
271
  white-space: nowrap;
247
272
  }
@@ -287,6 +287,57 @@
287
287
  background-color: var(--fw-brand-tint);
288
288
  }
289
289
 
290
+ /* Design 5: dialogs that contain tabs keep their action buttons in the
291
+ title bar row instead of at the bottom of the dialog. */
292
+ .fw-dialog.fw-dialog-buttons-top .fw-dialog-titlebar {
293
+ display: flex;
294
+ align-items: center;
295
+ gap: 12px;
296
+ }
297
+
298
+ .fw-dialog.fw-dialog-buttons-top .fw-dialog-title {
299
+ flex: 1 1 auto;
300
+ min-width: 0;
301
+ overflow: hidden;
302
+ text-overflow: ellipsis;
303
+ white-space: nowrap;
304
+ }
305
+
306
+ .fw-dialog .fw-dialog-buttonpane.fw-dialog-buttonpane-top {
307
+ flex: 0 0 auto;
308
+ margin-left: auto;
309
+ padding-top: 0;
310
+ cursor: default;
311
+ }
312
+
313
+ .fw-dialog-buttonpane-top .fw-dialog-buttonset {
314
+ display: flex;
315
+ align-items: center;
316
+ justify-content: flex-end;
317
+ gap: 12px;
318
+ }
319
+
320
+ .fw-dialog-buttonpane-top .fw-dialog-buttonset .fw-button {
321
+ margin-left: 0;
322
+ min-height: 40px;
323
+ height: 40px;
324
+ padding: 0 18px;
325
+ font-size: var(--fw-font-size-md);
326
+ }
327
+
328
+ /* Text-link style action, e.g. "Delete account" next to the title. */
329
+ .fw-dialog-buttonset .fw-button.fw-dialog-button-link {
330
+ background: none;
331
+ border-color: transparent;
332
+ color: var(--fw-brand);
333
+ }
334
+
335
+ .fw-dialog-buttonset .fw-button.fw-dialog-button-link:hover {
336
+ background-color: transparent;
337
+ color: var(--fw-brand-tint-2);
338
+ text-decoration: underline;
339
+ }
340
+
290
341
  @media (prefers-reduced-motion: no-preference) {
291
342
  .fw-dialog {
292
343
  animation: fw-dialog-in var(--fw-motion-base) var(--fw-motion-ease);
@@ -1950,6 +1950,27 @@ table.fw-data-table tbody tr {
1950
1950
  transition: background-color var(--fw-motion-fast) var(--fw-motion-ease);
1951
1951
  }
1952
1952
 
1953
+ table.fw-data-table tbody tr,
1954
+ table.fw-data-table thead tr {
1955
+ position: relative;
1956
+ }
1957
+
1958
+ /* Partial border between body rows, inset 12px from left and right */
1959
+ table.fw-data-table tbody tr::after,
1960
+ div.datatable-headercontainer table.fw-data-table thead tr::after {
1961
+ content: "";
1962
+ position: absolute;
1963
+ bottom: 0;
1964
+ left: var(--fw-radius-card);
1965
+ right: var(--fw-radius-card);
1966
+ height: 1px;
1967
+ background-color: var(--fw-border);
1968
+ }
1969
+
1970
+ div.datatable-headercontainer table.fw-data-table thead tr::after {
1971
+ bottom: -18px;
1972
+ }
1973
+
1953
1974
  /* Prevent the search/top bar from overflowing a padded parent */
1954
1975
  .datatable-top,
1955
1976
  .datatable-container,
@@ -2069,6 +2090,10 @@ table.datatable-table thead {
2069
2090
  color: var(--fw-text-primary);
2070
2091
  }
2071
2092
 
2093
+ div.datatable-headercontainer table.fw-data-table {
2094
+ margin-bottom: 18px;
2095
+ }
2096
+
2072
2097
  /* simple-datatables wraps header text in a <button> - reset it to plain text */
2073
2098
  .datatable-table th button,
2074
2099
  .datatable-pagination-list button {
@@ -2094,12 +2119,11 @@ table.datatable-table thead {
2094
2119
  (Font Awesome arrow-up-short-wide / arrow-up-wide-short) on the active
2095
2120
  column. The active green uses --fw-brand-active because the raw brand
2096
2121
  green only reaches 2.1:1 on white, below the 3:1 minimum for
2097
- non-text indicators. */
2122
+ non-text indicators. The button stays inline-block: with a flex
2123
+ container, innerText reports each header label on its own line. */
2098
2124
  .datatable-sorter,
2099
2125
  .datatable-filter {
2100
- display: inline-flex;
2101
- align-items: center;
2102
- gap: 6px;
2126
+ display: inline-block;
2103
2127
  height: 100%;
2104
2128
  width: 100%;
2105
2129
  }
@@ -2107,7 +2131,9 @@ table.datatable-table thead {
2107
2131
  .datatable-sorter::after,
2108
2132
  .datatable-filter::after {
2109
2133
  content: "";
2110
- flex: none;
2134
+ display: inline-block;
2135
+ vertical-align: middle;
2136
+ margin-left: 6px;
2111
2137
  width: 9px;
2112
2138
  height: 16px;
2113
2139
  background-color: var(--fw-text-secondary);
@@ -2158,7 +2184,6 @@ table.fw-data-table th,
2158
2184
  table.datatable-table th {
2159
2185
  padding: 12px;
2160
2186
  vertical-align: middle;
2161
- border-bottom: solid 2px var(--fw-border-strong);
2162
2187
  text-align: left;
2163
2188
  white-space: nowrap;
2164
2189
  }
@@ -3320,6 +3345,57 @@ th:has(> .dt-bulk) {
3320
3345
  background-color: var(--fw-brand-tint);
3321
3346
  }
3322
3347
 
3348
+ /* Design 5: dialogs that contain tabs keep their action buttons in the
3349
+ title bar row instead of at the bottom of the dialog. */
3350
+ .fw-dialog.fw-dialog-buttons-top .fw-dialog-titlebar {
3351
+ display: flex;
3352
+ align-items: center;
3353
+ gap: 12px;
3354
+ }
3355
+
3356
+ .fw-dialog.fw-dialog-buttons-top .fw-dialog-title {
3357
+ flex: 1 1 auto;
3358
+ min-width: 0;
3359
+ overflow: hidden;
3360
+ text-overflow: ellipsis;
3361
+ white-space: nowrap;
3362
+ }
3363
+
3364
+ .fw-dialog .fw-dialog-buttonpane.fw-dialog-buttonpane-top {
3365
+ flex: 0 0 auto;
3366
+ margin-left: auto;
3367
+ padding-top: 0;
3368
+ cursor: default;
3369
+ }
3370
+
3371
+ .fw-dialog-buttonpane-top .fw-dialog-buttonset {
3372
+ display: flex;
3373
+ align-items: center;
3374
+ justify-content: flex-end;
3375
+ gap: 12px;
3376
+ }
3377
+
3378
+ .fw-dialog-buttonpane-top .fw-dialog-buttonset .fw-button {
3379
+ margin-left: 0;
3380
+ min-height: 40px;
3381
+ height: 40px;
3382
+ padding: 0 18px;
3383
+ font-size: var(--fw-font-size-md);
3384
+ }
3385
+
3386
+ /* Text-link style action, e.g. "Delete account" next to the title. */
3387
+ .fw-dialog-buttonset .fw-button.fw-dialog-button-link {
3388
+ background: none;
3389
+ border-color: transparent;
3390
+ color: var(--fw-brand);
3391
+ }
3392
+
3393
+ .fw-dialog-buttonset .fw-button.fw-dialog-button-link:hover {
3394
+ background-color: transparent;
3395
+ color: var(--fw-brand-tint-2);
3396
+ text-decoration: underline;
3397
+ }
3398
+
3323
3399
  @media (prefers-reduced-motion: no-preference) {
3324
3400
  .fw-dialog {
3325
3401
  animation: fw-dialog-in var(--fw-motion-base) var(--fw-motion-ease);
@@ -5320,28 +5396,25 @@ tr.fw-checkable.fw-checked > td:last-child::after {
5320
5396
  }
5321
5397
 
5322
5398
  /* === inline_tools.css === */
5323
- /* Inline formatting toolbar shown under a focused inline input. */
5399
+ /* Inline formatting toolbar shown under a focused inline input. It sits in
5400
+ the normal flow so it pushes following content down instead of floating
5401
+ over the next form row and intercepting its clicks. */
5324
5402
  .inline-tools {
5325
- position: absolute;
5326
- left: auto;
5327
- top: auto;
5328
5403
  margin-top: 4px;
5329
5404
  display: none;
5330
5405
  align-items: center;
5331
5406
  gap: 2px;
5332
5407
  padding: 4px;
5333
- /* Its own surface: it floats over the page, so it must not blend into
5334
- the background (the page and --fw-surface-2 are both #f0f0f0). */
5408
+ /* Its own surface: it must not blend into the background (the page and
5409
+ --fw-surface-2 are both #f0f0f0). */
5335
5410
  background-color: var(--fw-surface);
5336
5411
  border: 1px solid var(--fw-border-subtle);
5337
5412
  border-radius: var(--fw-radius-pill);
5338
5413
  box-shadow: var(--fw-shadow-2);
5339
- z-index: 10;
5340
5414
  }
5341
5415
 
5342
5416
  .ProseMirror-focused + .inline-tools {
5343
5417
  display: inline-flex;
5344
- z-index: 10;
5345
5418
  }
5346
5419
 
5347
5420
  .inline-tools .menuicon {
@@ -6217,23 +6290,31 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6217
6290
  align-items: center;
6218
6291
  }
6219
6292
 
6220
- .fw-search-field-container .fw-search-label {
6293
+ .fw-search-field-container label.fw-search-label {
6221
6294
  position: absolute;
6222
- left: 20px;
6295
+ left: 24px;
6223
6296
  top: 0;
6224
6297
  width: 100%;
6225
6298
  height: 100%;
6226
6299
  display: flex;
6227
6300
  align-items: center;
6301
+ color: var(--fw-text-secondary);
6228
6302
  pointer-events: none; /* Makes the label non-interactive */
6229
6303
  user-select: none;
6230
6304
  z-index: 1;
6231
6305
  }
6232
6306
 
6307
+ /* The container is the visible pill; the input inside it must not render a
6308
+ second box (overrides the generic forms.css input styling). */
6233
6309
  .fw-search-field-container input.fw-search-field[type="search"] {
6234
6310
  position: relative;
6235
6311
  z-index: 2;
6236
- background: transparent; /* Makes input background transparent to show label */
6312
+ background: transparent;
6313
+ border: 0;
6314
+ border-radius: 0;
6315
+ height: 100%;
6316
+ margin: 0;
6317
+ padding: 0;
6237
6318
  }
6238
6319
 
6239
6320
  .fw-search-field-container:has(
@@ -6253,6 +6334,56 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6253
6334
  margin-right: 0;
6254
6335
  }
6255
6336
 
6337
+ /* Design 5: the search field sits below the header, right-aligned above the
6338
+ table, as a fully rounded 60px pill. */
6339
+ .fw-overview-search-wrapper {
6340
+ display: flex;
6341
+ justify-content: flex-end;
6342
+ margin: 0 213px;
6343
+ padding: 40px 8px 0;
6344
+ }
6345
+
6346
+ .fw-overview-search-wrapper:not(:has(li)) {
6347
+ display: none;
6348
+ }
6349
+
6350
+ .fw-contents-outer:has(.fw-overview-search-wrapper li) .fw-contents {
6351
+ padding-top: 12px;
6352
+ }
6353
+
6354
+ @media (width <= 1429px) {
6355
+ .fw-overview-search-wrapper {
6356
+ margin: 0 auto;
6357
+ max-width: 1004px;
6358
+ }
6359
+ }
6360
+
6361
+ #fw-overview-search,
6362
+ #fw-overview-search ul {
6363
+ list-style: none;
6364
+ padding: 0;
6365
+ margin: 0;
6366
+ }
6367
+
6368
+ #fw-overview-search {
6369
+ display: flex;
6370
+ align-items: center;
6371
+ gap: 14px;
6372
+ }
6373
+
6374
+ .fw-overview-search-wrapper .fw-search-field-container {
6375
+ height: var(--fw-control-height);
6376
+ padding: 0 24px;
6377
+ border: 0;
6378
+ border-radius: var(--fw-radius-pill);
6379
+ background-color: var(--fw-surface);
6380
+ box-shadow: var(--fw-shadow-1);
6381
+ }
6382
+
6383
+ .fw-overview-search-wrapper .fw-search-field-container:focus-within {
6384
+ box-shadow: var(--fw-focus-ring);
6385
+ }
6386
+
6256
6387
  .fw-overview-menu-item.fw-search div.fw-button.fw-disabled {
6257
6388
  background-color: var(--input-background-color);
6258
6389
  }
@@ -6261,16 +6392,10 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6261
6392
  background-color: var(--input-focus-background-color);
6262
6393
  }
6263
6394
 
6264
- .fw-button .fw-search-label {
6265
- margin-right: 8px;
6266
- display: inline-block;
6267
- color: var(--fw-text-secondary);
6268
- }
6269
-
6270
6395
  /* Hide label visually while keeping it accessible for screen readers
6271
6396
  when the search box is narrow */
6272
6397
  @media (width <= 600px) {
6273
- .fw-button .fw-search-label {
6398
+ .fw-search-field-container label.fw-search-label {
6274
6399
  position: absolute;
6275
6400
  width: 1px;
6276
6401
  height: 1px;
@@ -6299,7 +6424,7 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6299
6424
  brand fills uses --fw-text-on-brand (the raw brand green never carries
6300
6425
  white text). */
6301
6426
  .fw-text-menu {
6302
- height: 44px;
6427
+ height: var(--fw-control-height);
6303
6428
  color: var(--fw-text-on-brand);
6304
6429
  padding: 0 24px;
6305
6430
  border: 0 none;
@@ -6336,7 +6461,7 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6336
6461
  background-color: var(--fw-surface);
6337
6462
  border-radius: var(--fw-radius-pill);
6338
6463
  cursor: pointer;
6339
- height: 44px;
6464
+ height: var(--fw-control-height);
6340
6465
  box-sizing: border-box;
6341
6466
  }
6342
6467
 
@@ -6383,6 +6508,12 @@ span.select-action-dropdown {
6383
6508
  background-color: var(--fw-brand-tint-3);
6384
6509
  }
6385
6510
 
6511
+ /* Header pills use the design's 60px control height. */
6512
+ #fw-overview-menu .fw-button.fw-large {
6513
+ height: var(--fw-control-height);
6514
+ min-height: var(--fw-control-height);
6515
+ }
6516
+
6386
6517
  /* === permission_badge.css === */
6387
6518
  .fw-permission-badge {
6388
6519
  position: relative;
@@ -1,25 +1,22 @@
1
- /* Inline formatting toolbar shown under a focused inline input. */
1
+ /* Inline formatting toolbar shown under a focused inline input. It sits in
2
+ the normal flow so it pushes following content down instead of floating
3
+ over the next form row and intercepting its clicks. */
2
4
  .inline-tools {
3
- position: absolute;
4
- left: auto;
5
- top: auto;
6
5
  margin-top: 4px;
7
6
  display: none;
8
7
  align-items: center;
9
8
  gap: 2px;
10
9
  padding: 4px;
11
- /* Its own surface: it floats over the page, so it must not blend into
12
- the background (the page and --fw-surface-2 are both #f0f0f0). */
10
+ /* Its own surface: it must not blend into the background (the page and
11
+ --fw-surface-2 are both #f0f0f0). */
13
12
  background-color: var(--fw-surface);
14
13
  border: 1px solid var(--fw-border-subtle);
15
14
  border-radius: var(--fw-radius-pill);
16
15
  box-shadow: var(--fw-shadow-2);
17
- z-index: 10;
18
16
  }
19
17
 
20
18
  .ProseMirror-focused + .inline-tools {
21
19
  display: inline-flex;
22
- z-index: 10;
23
20
  }
24
21
 
25
22
  .inline-tools .menuicon {
@@ -30,23 +30,31 @@
30
30
  align-items: center;
31
31
  }
32
32
 
33
- .fw-search-field-container .fw-search-label {
33
+ .fw-search-field-container label.fw-search-label {
34
34
  position: absolute;
35
- left: 20px;
35
+ left: 24px;
36
36
  top: 0;
37
37
  width: 100%;
38
38
  height: 100%;
39
39
  display: flex;
40
40
  align-items: center;
41
+ color: var(--fw-text-secondary);
41
42
  pointer-events: none; /* Makes the label non-interactive */
42
43
  user-select: none;
43
44
  z-index: 1;
44
45
  }
45
46
 
47
+ /* The container is the visible pill; the input inside it must not render a
48
+ second box (overrides the generic forms.css input styling). */
46
49
  .fw-search-field-container input.fw-search-field[type="search"] {
47
50
  position: relative;
48
51
  z-index: 2;
49
- background: transparent; /* Makes input background transparent to show label */
52
+ background: transparent;
53
+ border: 0;
54
+ border-radius: 0;
55
+ height: 100%;
56
+ margin: 0;
57
+ padding: 0;
50
58
  }
51
59
 
52
60
  .fw-search-field-container:has(
@@ -66,6 +74,56 @@
66
74
  margin-right: 0;
67
75
  }
68
76
 
77
+ /* Design 5: the search field sits below the header, right-aligned above the
78
+ table, as a fully rounded 60px pill. */
79
+ .fw-overview-search-wrapper {
80
+ display: flex;
81
+ justify-content: flex-end;
82
+ margin: 0 213px;
83
+ padding: 40px 8px 0;
84
+ }
85
+
86
+ .fw-overview-search-wrapper:not(:has(li)) {
87
+ display: none;
88
+ }
89
+
90
+ .fw-contents-outer:has(.fw-overview-search-wrapper li) .fw-contents {
91
+ padding-top: 12px;
92
+ }
93
+
94
+ @media (width <= 1429px) {
95
+ .fw-overview-search-wrapper {
96
+ margin: 0 auto;
97
+ max-width: 1004px;
98
+ }
99
+ }
100
+
101
+ #fw-overview-search,
102
+ #fw-overview-search ul {
103
+ list-style: none;
104
+ padding: 0;
105
+ margin: 0;
106
+ }
107
+
108
+ #fw-overview-search {
109
+ display: flex;
110
+ align-items: center;
111
+ gap: 14px;
112
+ }
113
+
114
+ .fw-overview-search-wrapper .fw-search-field-container {
115
+ height: var(--fw-control-height);
116
+ padding: 0 24px;
117
+ border: 0;
118
+ border-radius: var(--fw-radius-pill);
119
+ background-color: var(--fw-surface);
120
+ box-shadow: var(--fw-shadow-1);
121
+ }
122
+
123
+ .fw-overview-search-wrapper .fw-search-field-container:focus-within {
124
+ box-shadow: var(--fw-focus-ring);
125
+ }
126
+
69
127
  .fw-overview-menu-item.fw-search div.fw-button.fw-disabled {
70
128
  background-color: var(--input-background-color);
71
129
  }
@@ -74,16 +132,10 @@
74
132
  background-color: var(--input-focus-background-color);
75
133
  }
76
134
 
77
- .fw-button .fw-search-label {
78
- margin-right: 8px;
79
- display: inline-block;
80
- color: var(--fw-text-secondary);
81
- }
82
-
83
135
  /* Hide label visually while keeping it accessible for screen readers
84
136
  when the search box is narrow */
85
137
  @media (width <= 600px) {
86
- .fw-button .fw-search-label {
138
+ .fw-search-field-container label.fw-search-label {
87
139
  position: absolute;
88
140
  width: 1px;
89
141
  height: 1px;
@@ -112,7 +164,7 @@
112
164
  brand fills uses --fw-text-on-brand (the raw brand green never carries
113
165
  white text). */
114
166
  .fw-text-menu {
115
- height: 44px;
167
+ height: var(--fw-control-height);
116
168
  color: var(--fw-text-on-brand);
117
169
  padding: 0 24px;
118
170
  border: 0 none;
@@ -149,7 +201,7 @@
149
201
  background-color: var(--fw-surface);
150
202
  border-radius: var(--fw-radius-pill);
151
203
  cursor: pointer;
152
- height: 44px;
204
+ height: var(--fw-control-height);
153
205
  box-sizing: border-box;
154
206
  }
155
207
 
@@ -195,3 +247,9 @@ span.select-action-dropdown {
195
247
  .fw-pulldown-item.fw-selected {
196
248
  background-color: var(--fw-brand-tint-3);
197
249
  }
250
+
251
+ /* Header pills use the design's 60px control height. */
252
+ #fw-overview-menu .fw-button.fw-large {
253
+ height: var(--fw-control-height);
254
+ min-height: var(--fw-control-height);
255
+ }