@fiduswriter/frontend 0.1.69 → 0.1.71

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.
@@ -5,8 +5,9 @@
5
5
  width: 100%;
6
6
  height: 100%;
7
7
  z-index: 1000;
8
- background-color: rgb(var(--overlay-color));
9
- font-family: scalareg, "courier new", courier, monospace;
8
+ background-color: var(--fw-overlay);
9
+ font-family: var(--fw-font-sans);
10
+ color: var(--fw-text-primary);
10
11
  display: none;
11
12
  }
12
13
 
@@ -17,47 +18,80 @@
17
18
  width: auto;
18
19
  margin-left: -148px;
19
20
  padding: 65px 27px 12px;
20
- background: var(--feedback-background-color);
21
+ background: var(--fw-surface);
22
+ border-radius: var(--fw-radius-lg);
23
+ box-shadow: var(--fw-shadow-3);
24
+ }
25
+
26
+ /* Design 5: blue circle button in the header, left of the user preferences. */
27
+ .feedback-btn {
28
+ appearance: none;
29
+ display: inline-grid;
30
+ place-items: center;
31
+ width: var(--fw-icon-button);
32
+ height: var(--fw-icon-button);
33
+ padding: 0;
34
+ border: 0 none;
35
+ border-radius: 50%;
36
+ background-color: var(--fw-accent);
37
+ color: var(--fw-text-on-accent);
38
+ cursor: pointer;
39
+ z-index: 1;
40
+ }
41
+
42
+ .feedback-btn:hover {
43
+ background-color: var(--fw-accent-hover);
44
+ }
45
+
46
+ .feedback-btn:focus-visible {
47
+ outline: 2px solid var(--fw-focus);
48
+ outline-offset: 2px;
49
+ }
50
+
51
+ .feedback-btn::before,
52
+ a.feedback-tab::before {
53
+ display: block;
54
+ font-family: "Font Awesome 7 Free", monospace;
55
+ font-size: 20px;
56
+ content: "\f075";
57
+ color: currentcolor;
58
+ text-indent: 0;
59
+ text-align: center;
60
+ line-height: 1;
21
61
  }
22
62
 
63
+ /* Legacy anchor variant, still used on prelogin pages and the editor. */
23
64
  a.feedback-tab {
24
65
  display: block;
25
66
  width: 35px;
26
67
  height: 35px;
27
68
  overflow: hidden;
28
- background-color: var(--feedback-tab-background-color);
69
+ background-color: var(--fw-accent);
29
70
  border-radius: 50%;
30
71
  cursor: pointer;
31
72
  z-index: 1;
32
73
  float: right;
74
+ color: var(--fw-text-on-accent);
33
75
  }
34
76
 
35
77
  a.feedback-tab:hover {
36
- background-color: var(--feedback-tab-background-hover-color);
78
+ background-color: var(--fw-accent-hover);
37
79
  }
38
80
 
39
- a.feedback-tab:focus {
40
- outline: 2px solid var(--cs-6-background-focus);
81
+ a.feedback-tab:focus-visible {
82
+ outline: 2px solid var(--fw-focus);
41
83
  outline-offset: 2px;
42
84
  }
43
85
 
44
- body.header-closed a.feedback-tab {
45
- display: none;
46
- }
47
-
48
86
  a.feedback-tab::before {
49
- display: block;
50
- font-family: "Font Awesome 7 Free", monospace;
51
87
  font-size: 16px;
52
- content: "\f075";
53
- color: white;
54
- text-indent: 0;
55
- text-align: center;
56
- line-height: 1;
57
- vertical-align: middle;
58
88
  padding-top: 9px;
59
89
  }
60
90
 
91
+ body.header-closed a.feedback-tab {
92
+ display: none;
93
+ }
94
+
61
95
  #headerbar a.feedback-tab {
62
96
  position: absolute;
63
97
  right: 60px;
@@ -95,12 +129,16 @@ a.feedback-tab::before {
95
129
  position: absolute;
96
130
  left: 27px;
97
131
  top: 20px;
98
- font-family: Lato, sans-serif;
99
- font-size: 27px;
100
- color: var(--feedback-text-color);
132
+ font-size: var(--fw-font-size-2xl);
133
+ font-weight: var(--fw-font-weight-semibold);
134
+ color: var(--fw-text-primary);
101
135
  padding-right: 60px;
102
136
  }
103
137
 
138
+ #feedback-wrapper p {
139
+ color: var(--fw-text-secondary);
140
+ }
141
+
104
142
  #response-message {
105
143
  position: absolute;
106
144
  left: 0;
@@ -116,19 +154,19 @@ a.feedback-tab::before {
116
154
  position: absolute;
117
155
  right: 25px;
118
156
  top: 20px;
157
+ border: 0 none;
158
+ background: transparent;
119
159
  cursor: pointer;
120
- color: var(--feedback-icon-color);
121
- }
122
-
123
- #close-feedback:hover {
124
- color: var(--feedback-icon-hover-color);
160
+ color: var(--fw-text-secondary);
125
161
  }
126
162
 
127
- #close-feedback:focus {
128
- color: var(--feedback-icon-focus-color);
163
+ #close-feedback:hover,
164
+ #close-feedback:focus-visible {
165
+ color: var(--fw-text-primary);
129
166
  }
130
167
 
131
168
  @media print {
169
+ .feedback-btn,
132
170
  .feedback-tab,
133
171
  .feedback-panel {
134
172
  display: none;
@@ -119,17 +119,6 @@ tr.fw-checkable.fw-checked > td:last-child::after {
119
119
  content: "\f0d9";
120
120
  }
121
121
 
122
- .fw-nav-item.active-menu-wrapper::after {
123
- display: block;
124
- font-family: "Font Awesome 7 Free", monospace;
125
- font-weight: 900;
126
- font-size: inherit;
127
- text-rendering: auto;
128
- -webkit-font-smoothing: antialiased;
129
- -moz-osx-font-smoothing: grayscale;
130
- content: "\f0d7";
131
- }
132
-
133
122
  .fw-icon-close::before,
134
123
  .fw-icon-help::before {
135
124
  display: inline-block;
@@ -46,6 +46,44 @@ table.fw-data-table tbody tr {
46
46
  width: auto;
47
47
  }
48
48
 
49
+ /* Design 5: on narrow viewports sorting happens through a "Sorting" select
50
+ instead of the column headers. Hidden on wide viewports. */
51
+ .fw-dt-sort {
52
+ display: none;
53
+ align-items: center;
54
+ gap: 8px;
55
+ margin-left: auto;
56
+ color: var(--fw-text-primary);
57
+ font-size: var(--fw-font-size-base);
58
+ }
59
+
60
+ .fw-dt-sort-select {
61
+ min-height: var(--fw-control-height, 40px);
62
+ padding: 0 12px;
63
+ border: 1px solid var(--fw-border-control);
64
+ border-radius: var(--fw-radius-pill);
65
+ background-color: var(--fw-surface);
66
+ color: var(--fw-text-primary);
67
+ font-family: inherit;
68
+ font-size: inherit;
69
+ }
70
+
71
+ .fw-dt-sort-select:focus-visible {
72
+ outline: 2px solid var(--fw-focus);
73
+ outline-offset: 2px;
74
+ }
75
+
76
+ @media (width <= 700px) {
77
+ .fw-dt-sort {
78
+ display: inline-flex;
79
+ }
80
+
81
+ .datatable-top {
82
+ flex-wrap: wrap;
83
+ gap: 8px;
84
+ }
85
+ }
86
+
49
87
  /* Design 5: the search field is a 258x60 white pill in the top-right corner,
50
88
  not a full-width box. */
51
89
  .datatable-top {
@@ -134,43 +172,52 @@ table.datatable-table thead {
134
172
  outline-offset: 2px;
135
173
  }
136
174
 
175
+ /* Design 5: sort indicators are arrows next to the header label — an
176
+ up/down arrow pair when unsorted, and the green "sort amount" arrows
177
+ (Font Awesome arrow-up-short-wide / arrow-up-wide-short) on the active
178
+ column. The active green uses --fw-brand-active because the raw brand
179
+ green only reaches 2.1:1 on white, below the 3:1 minimum for
180
+ non-text indicators. */
137
181
  .datatable-sorter,
138
182
  .datatable-filter {
139
- display: inline-block;
183
+ display: inline-flex;
184
+ align-items: center;
185
+ gap: 6px;
140
186
  height: 100%;
141
- position: relative;
142
187
  width: 100%;
143
188
  }
144
189
 
145
- .datatable-sorter::before,
146
- .datatable-sorter::after {
190
+ .datatable-sorter::after,
191
+ .datatable-filter::after {
147
192
  content: "";
148
- height: 0;
149
- width: 0;
150
- position: absolute;
151
- right: 4px;
152
- border-left: 4px solid transparent;
153
- border-right: 4px solid transparent;
154
- opacity: 0.35;
193
+ flex: none;
194
+ width: 9px;
195
+ height: 16px;
196
+ background-color: var(--fw-text-secondary);
197
+ -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'><path d='M150.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 77.3 96 434.7 54.6 393.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-41.4 41.4 0-357.5 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>")
198
+ center / contain no-repeat;
199
+ mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'><path d='M150.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 77.3 96 434.7 54.6 393.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-41.4 41.4 0-357.5 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>")
200
+ center / contain no-repeat;
155
201
  }
156
202
 
157
- .datatable-sorter::before {
158
- border-top: 4px solid currentColor;
159
- bottom: 0;
203
+ .datatable-ascending .datatable-sorter::after,
204
+ .datatable-ascending .datatable-filter::after,
205
+ .datatable-descending .datatable-sorter::after,
206
+ .datatable-descending .datatable-filter::after {
207
+ width: 18px;
208
+ background-color: var(--fw-brand-active);
160
209
  }
161
210
 
162
- .datatable-sorter::after {
163
- border-bottom: 4px solid currentColor;
164
- border-top: 4px solid transparent;
165
- top: 0;
211
+ .datatable-ascending .datatable-sorter::after,
212
+ .datatable-ascending .datatable-filter::after {
213
+ -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0zM150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>");
214
+ mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0zM150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>");
166
215
  }
167
216
 
168
- .datatable-ascending .datatable-sorter::after,
169
- .datatable-descending .datatable-sorter::before,
170
- .datatable-ascending .datatable-filter::after,
171
- .datatable-descending .datatable-filter::before {
172
- opacity: 1;
173
- color: var(--fw-accent);
217
+ .datatable-descending .datatable-sorter::after,
218
+ .datatable-descending .datatable-filter::after {
219
+ -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96zM320 480l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32z'/></svg>");
220
+ mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96zM320 480l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32z'/></svg>");
174
221
  }
175
222
 
176
223
  table.datatable-table thead th a {
@@ -1963,6 +1963,44 @@ table.fw-data-table tbody tr {
1963
1963
  width: auto;
1964
1964
  }
1965
1965
 
1966
+ /* Design 5: on narrow viewports sorting happens through a "Sorting" select
1967
+ instead of the column headers. Hidden on wide viewports. */
1968
+ .fw-dt-sort {
1969
+ display: none;
1970
+ align-items: center;
1971
+ gap: 8px;
1972
+ margin-left: auto;
1973
+ color: var(--fw-text-primary);
1974
+ font-size: var(--fw-font-size-base);
1975
+ }
1976
+
1977
+ .fw-dt-sort-select {
1978
+ min-height: var(--fw-control-height, 40px);
1979
+ padding: 0 12px;
1980
+ border: 1px solid var(--fw-border-control);
1981
+ border-radius: var(--fw-radius-pill);
1982
+ background-color: var(--fw-surface);
1983
+ color: var(--fw-text-primary);
1984
+ font-family: inherit;
1985
+ font-size: inherit;
1986
+ }
1987
+
1988
+ .fw-dt-sort-select:focus-visible {
1989
+ outline: 2px solid var(--fw-focus);
1990
+ outline-offset: 2px;
1991
+ }
1992
+
1993
+ @media (width <= 700px) {
1994
+ .fw-dt-sort {
1995
+ display: inline-flex;
1996
+ }
1997
+
1998
+ .datatable-top {
1999
+ flex-wrap: wrap;
2000
+ gap: 8px;
2001
+ }
2002
+ }
2003
+
1966
2004
  /* Design 5: the search field is a 258x60 white pill in the top-right corner,
1967
2005
  not a full-width box. */
1968
2006
  .datatable-top {
@@ -2051,43 +2089,52 @@ table.datatable-table thead {
2051
2089
  outline-offset: 2px;
2052
2090
  }
2053
2091
 
2092
+ /* Design 5: sort indicators are arrows next to the header label — an
2093
+ up/down arrow pair when unsorted, and the green "sort amount" arrows
2094
+ (Font Awesome arrow-up-short-wide / arrow-up-wide-short) on the active
2095
+ column. The active green uses --fw-brand-active because the raw brand
2096
+ green only reaches 2.1:1 on white, below the 3:1 minimum for
2097
+ non-text indicators. */
2054
2098
  .datatable-sorter,
2055
2099
  .datatable-filter {
2056
- display: inline-block;
2100
+ display: inline-flex;
2101
+ align-items: center;
2102
+ gap: 6px;
2057
2103
  height: 100%;
2058
- position: relative;
2059
2104
  width: 100%;
2060
2105
  }
2061
2106
 
2062
- .datatable-sorter::before,
2063
- .datatable-sorter::after {
2107
+ .datatable-sorter::after,
2108
+ .datatable-filter::after {
2064
2109
  content: "";
2065
- height: 0;
2066
- width: 0;
2067
- position: absolute;
2068
- right: 4px;
2069
- border-left: 4px solid transparent;
2070
- border-right: 4px solid transparent;
2071
- opacity: 0.35;
2110
+ flex: none;
2111
+ width: 9px;
2112
+ height: 16px;
2113
+ background-color: var(--fw-text-secondary);
2114
+ -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'><path d='M150.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 77.3 96 434.7 54.6 393.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-41.4 41.4 0-357.5 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>")
2115
+ center / contain no-repeat;
2116
+ mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'><path d='M150.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 77.3 96 434.7 54.6 393.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-41.4 41.4 0-357.5 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>")
2117
+ center / contain no-repeat;
2072
2118
  }
2073
2119
 
2074
- .datatable-sorter::before {
2075
- border-top: 4px solid currentColor;
2076
- bottom: 0;
2120
+ .datatable-ascending .datatable-sorter::after,
2121
+ .datatable-ascending .datatable-filter::after,
2122
+ .datatable-descending .datatable-sorter::after,
2123
+ .datatable-descending .datatable-filter::after {
2124
+ width: 18px;
2125
+ background-color: var(--fw-brand-active);
2077
2126
  }
2078
2127
 
2079
- .datatable-sorter::after {
2080
- border-bottom: 4px solid currentColor;
2081
- border-top: 4px solid transparent;
2082
- top: 0;
2128
+ .datatable-ascending .datatable-sorter::after,
2129
+ .datatable-ascending .datatable-filter::after {
2130
+ -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0zM150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>");
2131
+ mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0zM150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z'/></svg>");
2083
2132
  }
2084
2133
 
2085
- .datatable-ascending .datatable-sorter::after,
2086
- .datatable-descending .datatable-sorter::before,
2087
- .datatable-ascending .datatable-filter::after,
2088
- .datatable-descending .datatable-filter::before {
2089
- opacity: 1;
2090
- color: var(--fw-accent);
2134
+ .datatable-descending .datatable-sorter::after,
2135
+ .datatable-descending .datatable-filter::after {
2136
+ -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96zM320 480l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32z'/></svg>");
2137
+ mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M150.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 141.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96zM320 480l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32z'/></svg>");
2091
2138
  }
2092
2139
 
2093
2140
  table.datatable-table thead th a {
@@ -5932,6 +5979,44 @@ tr.fw-checkable.fw-checked > td:last-child::after {
5932
5979
  }
5933
5980
  }
5934
5981
 
5982
+ /* === navigation_list.css === */
5983
+ /* Design 5: uppercase navigation list used inside the site-navigation
5984
+ drawer. The active entry is marked with aria-current="page" and gets the
5985
+ brand tint background. */
5986
+ .fw-navigation-list {
5987
+ margin: 0;
5988
+ padding: 0;
5989
+ list-style: none;
5990
+ }
5991
+
5992
+ .fw-navigation-list a {
5993
+ display: block;
5994
+ padding: 18px 24px;
5995
+ color: var(--fw-text-primary);
5996
+ font-size: var(--fw-font-size-2xl);
5997
+ font-weight: var(--fw-font-weight-normal);
5998
+ letter-spacing: 0.18em;
5999
+ text-transform: uppercase;
6000
+ text-decoration: none;
6001
+ }
6002
+
6003
+ .fw-navigation-list a:hover {
6004
+ background-color: var(--fw-surface-2);
6005
+ }
6006
+
6007
+ .fw-navigation-list a[aria-current="page"] {
6008
+ background-color: var(--fw-brand-tint);
6009
+ }
6010
+
6011
+ .fw-navigation-list a:focus-visible {
6012
+ outline: 2px solid var(--fw-focus);
6013
+ outline-offset: -2px;
6014
+ }
6015
+
6016
+ .fw-navigation-list .fw-access-key {
6017
+ text-decoration: underline;
6018
+ }
6019
+
5935
6020
  /* === one_time_code_field.css === */
5936
6021
  .fw-one-time-code-field {
5937
6022
  display: grid;
@@ -6102,8 +6187,6 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6102
6187
  /* === overview_menu.css === */
6103
6188
  .fw-overview-menu-wrapper {
6104
6189
  position: relative;
6105
- background-color: var(--fw-surface-2);
6106
- padding: 11px 8px;
6107
6190
  }
6108
6191
 
6109
6192
  #fw-overview-menu,
@@ -6113,28 +6196,19 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6113
6196
  margin: 0;
6114
6197
  }
6115
6198
 
6199
+ /* Design 5: the overview menu lives in the page header as a centered row of
6200
+ action pills. */
6116
6201
  #fw-overview-menu {
6117
6202
  position: relative;
6118
- margin: 0 213px;
6119
- }
6120
-
6121
- #fw-overview-menu::after {
6122
- content: "";
6123
- display: table;
6124
- clear: both;
6125
- }
6126
-
6127
- @media (width <= 1429px) {
6128
- #fw-overview-menu {
6129
- margin: 0 auto;
6130
- max-width: 1004px;
6131
- }
6203
+ display: flex;
6204
+ flex-wrap: wrap;
6205
+ align-items: center;
6206
+ justify-content: center;
6207
+ gap: 14px;
6132
6208
  }
6133
6209
 
6134
6210
  .fw-overview-menu-item {
6135
6211
  position: relative;
6136
- float: left;
6137
- margin-right: 14px;
6138
6212
  }
6139
6213
 
6140
6214
  .fw-search-field-container {
@@ -6176,7 +6250,6 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6176
6250
  }
6177
6251
 
6178
6252
  .fw-overview-menu-item.fw-search {
6179
- float: right;
6180
6253
  margin-right: 0;
6181
6254
  }
6182
6255
 
@@ -6222,13 +6295,16 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6222
6295
  border-color: var(--fw-focus);
6223
6296
  }
6224
6297
 
6298
+ /* Design 5: overview menu actions are green pills in the header; text on
6299
+ brand fills uses --fw-text-on-brand (the raw brand green never carries
6300
+ white text). */
6225
6301
  .fw-text-menu {
6226
6302
  height: 44px;
6227
- color: var(--fw-text-primary);
6228
- padding: 0 12px;
6303
+ color: var(--fw-text-on-brand);
6304
+ padding: 0 24px;
6229
6305
  border: 0 none;
6230
6306
  border-radius: var(--fw-radius-pill);
6231
- background-color: transparent;
6307
+ background-color: var(--fw-brand);
6232
6308
  font-family: var(--fw-font-sans);
6233
6309
  font-size: var(--fw-font-size-base);
6234
6310
  cursor: pointer;
@@ -6245,17 +6321,20 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6245
6321
  }
6246
6322
 
6247
6323
  .fw-text-menu:hover {
6248
- color: var(--fw-text-primary);
6249
- background-color: var(--fw-surface);
6324
+ color: var(--fw-text-on-brand);
6325
+ background-color: var(--fw-brand-hover);
6250
6326
  }
6251
6327
 
6328
+ /* Dropdowns (e.g. "New document") are white pills. */
6252
6329
  .fw-dropdown-menu {
6253
6330
  display: inline-flex;
6254
6331
  align-items: center;
6255
- padding: 0 12px;
6332
+ padding: 0 24px;
6256
6333
  font-family: var(--fw-font-sans);
6257
6334
  font-size: var(--fw-font-size-base);
6258
6335
  color: var(--fw-text-primary);
6336
+ background-color: var(--fw-surface);
6337
+ border-radius: var(--fw-radius-pill);
6259
6338
  cursor: pointer;
6260
6339
  height: 44px;
6261
6340
  box-sizing: border-box;
@@ -6263,6 +6342,7 @@ tr.fw-checkable.fw-checked > td:last-child::after {
6263
6342
 
6264
6343
  .fw-dropdown-menu:hover {
6265
6344
  color: var(--fw-text-primary);
6345
+ background-color: var(--fw-surface-1);
6266
6346
  }
6267
6347
 
6268
6348
  .fw-dropdown-menu label {
@@ -7449,14 +7529,6 @@ a:focus-visible,
7449
7529
  font-size: var(--fw-font-size-base);
7450
7530
  }
7451
7531
 
7452
- .fw-header-navigation-text {
7453
- color: var(--fw-text-primary);
7454
- font-weight: var(--fw-font-weight-medium);
7455
- letter-spacing: 0.6px;
7456
- text-transform: uppercase;
7457
- font-size: var(--fw-font-size-lg);
7458
- }
7459
-
7460
7532
  .fw-green-title {
7461
7533
  font-size: var(--fw-font-size-base);
7462
7534
  font-weight: var(--fw-font-weight-semibold);
@@ -0,0 +1,36 @@
1
+ /* Design 5: uppercase navigation list used inside the site-navigation
2
+ drawer. The active entry is marked with aria-current="page" and gets the
3
+ brand tint background. */
4
+ .fw-navigation-list {
5
+ margin: 0;
6
+ padding: 0;
7
+ list-style: none;
8
+ }
9
+
10
+ .fw-navigation-list a {
11
+ display: block;
12
+ padding: 18px 24px;
13
+ color: var(--fw-text-primary);
14
+ font-size: var(--fw-font-size-2xl);
15
+ font-weight: var(--fw-font-weight-normal);
16
+ letter-spacing: 0.18em;
17
+ text-transform: uppercase;
18
+ text-decoration: none;
19
+ }
20
+
21
+ .fw-navigation-list a:hover {
22
+ background-color: var(--fw-surface-2);
23
+ }
24
+
25
+ .fw-navigation-list a[aria-current="page"] {
26
+ background-color: var(--fw-brand-tint);
27
+ }
28
+
29
+ .fw-navigation-list a:focus-visible {
30
+ outline: 2px solid var(--fw-focus);
31
+ outline-offset: -2px;
32
+ }
33
+
34
+ .fw-navigation-list .fw-access-key {
35
+ text-decoration: underline;
36
+ }