@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.
- package/css/colors.css +0 -17
- package/css/feedback.css +67 -29
- package/css/fonts.css +0 -11
- package/css/header_menu.css +120 -41
- package/css/two_factor.css +20 -20
- package/dist/common/templates.js +2 -2
- package/dist/common/templates.js.map +1 -1
- package/dist/css/colors.css +0 -17
- package/dist/css/feedback.css +67 -29
- package/dist/css/fonts.css +0 -11
- package/dist/css/fwtoolkit/data_table.css +71 -24
- package/dist/css/fwtoolkit/fwtoolkit.css +129 -57
- package/dist/css/fwtoolkit/navigation_list.css +36 -0
- package/dist/css/fwtoolkit/overview_menu.css +20 -25
- package/dist/css/fwtoolkit/text.css +0 -8
- package/dist/css/header_menu.css +120 -41
- package/dist/css/manifest.json +1 -0
- package/dist/css/two_factor.css +20 -20
- package/dist/feedback/index.d.ts.map +1 -1
- package/dist/feedback/index.js +19 -11
- package/dist/feedback/index.js.map +1 -1
- package/dist/menu/index.d.ts +4 -0
- package/dist/menu/index.d.ts.map +1 -1
- package/dist/menu/index.js +66 -82
- package/dist/menu/index.js.map +1 -1
- package/dist/menu/templates.d.ts +1 -1
- package/dist/menu/templates.d.ts.map +1 -1
- package/dist/menu/templates.js +4 -6
- package/dist/menu/templates.js.map +1 -1
- package/package.json +3 -4
- package/src/common/templates.ts +2 -2
- package/src/feedback/index.ts +31 -18
- package/src/menu/index.ts +74 -93
- package/src/menu/templates.ts +8 -8
package/css/colors.css
CHANGED
|
@@ -12,12 +12,6 @@
|
|
|
12
12
|
--highcontrast-background-color: #ffffff;
|
|
13
13
|
--highcontrast-border-color: #e0e0e0;
|
|
14
14
|
|
|
15
|
-
/* -----------------------------------------------------------------
|
|
16
|
-
* Navigation (header menu)
|
|
17
|
-
* ----------------------------------------------------------------- */
|
|
18
|
-
--nagivation-link-text-color: #dde7e3;
|
|
19
|
-
--nagivation-link-active-text-color: #ffffff;
|
|
20
|
-
|
|
21
15
|
/* -----------------------------------------------------------------
|
|
22
16
|
* Tables
|
|
23
17
|
* ----------------------------------------------------------------- */
|
|
@@ -34,15 +28,4 @@
|
|
|
34
28
|
--part-tags-background-color: #ffdf7b;
|
|
35
29
|
--part-table-background-color: #bfedc1;
|
|
36
30
|
--part-toc-background-color: #985f99;
|
|
37
|
-
|
|
38
|
-
/* -----------------------------------------------------------------
|
|
39
|
-
* Feedback tab
|
|
40
|
-
* ----------------------------------------------------------------- */
|
|
41
|
-
--feedback-tab-background-color: #4da4f1;
|
|
42
|
-
--feedback-tab-background-hover-color: #e6d180;
|
|
43
|
-
--feedback-background-color: #ecdc9e;
|
|
44
|
-
--feedback-text-color: #d3421c;
|
|
45
|
-
--feedback-icon-color: #555555;
|
|
46
|
-
--feedback-icon-hover-color: #999999;
|
|
47
|
-
--feedback-icon-focus-color: #999999;
|
|
48
31
|
}
|
package/css/feedback.css
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
7
|
z-index: 1000;
|
|
8
|
-
background-color:
|
|
9
|
-
font-family:
|
|
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(--
|
|
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(--
|
|
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(--
|
|
78
|
+
background-color: var(--fw-accent-hover);
|
|
37
79
|
}
|
|
38
80
|
|
|
39
|
-
a.feedback-tab:focus {
|
|
40
|
-
outline: 2px solid var(--
|
|
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-
|
|
99
|
-
font-
|
|
100
|
-
color: var(--
|
|
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(--
|
|
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:
|
|
128
|
-
|
|
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;
|
package/css/fonts.css
CHANGED
|
@@ -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;
|
package/css/header_menu.css
CHANGED
|
@@ -1,18 +1,59 @@
|
|
|
1
|
+
/* Design 5 header: menu button, logo, page title, overview actions in the
|
|
2
|
+
center, feedback button and user preferences on the right. */
|
|
3
|
+
|
|
1
4
|
.fw-header > .fw-container {
|
|
2
5
|
z-index: 100;
|
|
3
6
|
overflow: visible;
|
|
4
|
-
padding:
|
|
7
|
+
padding: var(--fw-space-4) 34px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fw-header:not(.prelogin) > .fw-container {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: var(--fw-space-4);
|
|
5
14
|
}
|
|
6
15
|
|
|
7
|
-
|
|
8
|
-
|
|
16
|
+
/* Round white button with the vertical-ellipsis icon that opens the site
|
|
17
|
+
navigation drawer. */
|
|
18
|
+
.fw-site-menu-btn {
|
|
19
|
+
appearance: none;
|
|
20
|
+
flex: 0 0 auto;
|
|
21
|
+
display: inline-grid;
|
|
22
|
+
place-items: center;
|
|
23
|
+
width: var(--fw-icon-button);
|
|
24
|
+
height: var(--fw-icon-button);
|
|
25
|
+
padding: 0;
|
|
26
|
+
border: 0 none;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
background-color: var(--fw-surface);
|
|
29
|
+
color: var(--fw-text-primary);
|
|
30
|
+
font-size: var(--fw-font-size-2xl);
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fw-site-menu-btn:hover {
|
|
35
|
+
background-color: var(--fw-surface-3);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.fw-site-menu-btn:focus-visible {
|
|
39
|
+
outline: 2px solid var(--fw-focus);
|
|
40
|
+
outline-offset: 2px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fw-logo {
|
|
9
44
|
display: inline-block;
|
|
45
|
+
margin: 0;
|
|
10
46
|
vertical-align: top;
|
|
11
47
|
}
|
|
12
48
|
|
|
13
49
|
.fw-logo > img {
|
|
14
50
|
width: auto;
|
|
15
|
-
height:
|
|
51
|
+
height: 40px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* The overview header shows the page title instead of the wordmark. */
|
|
55
|
+
.fw-header:not(.prelogin) .fw-logo-text {
|
|
56
|
+
display: none;
|
|
16
57
|
}
|
|
17
58
|
|
|
18
59
|
.fw-logo-text {
|
|
@@ -43,52 +84,46 @@
|
|
|
43
84
|
font-weight: 300;
|
|
44
85
|
}
|
|
45
86
|
|
|
46
|
-
.fw-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
87
|
+
.fw-page-title {
|
|
88
|
+
color: var(--fw-text-primary);
|
|
89
|
+
font-size: var(--fw-font-size-3xl);
|
|
90
|
+
font-weight: var(--fw-font-weight-normal);
|
|
91
|
+
letter-spacing: 0.18em;
|
|
92
|
+
text-transform: uppercase;
|
|
93
|
+
white-space: nowrap;
|
|
53
94
|
}
|
|
54
95
|
|
|
55
|
-
.fw-
|
|
56
|
-
|
|
57
|
-
padding-left: 22px;
|
|
96
|
+
.fw-page-title:empty {
|
|
97
|
+
display: none;
|
|
58
98
|
}
|
|
59
99
|
|
|
60
|
-
.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
100
|
+
/* The overview menu (action pills) sits in the center of the header. */
|
|
101
|
+
.fw-header .fw-overview-menu-wrapper {
|
|
102
|
+
flex: 1 1 auto;
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
min-width: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
background-color: transparent;
|
|
66
108
|
}
|
|
67
109
|
|
|
68
|
-
.fw-
|
|
69
|
-
|
|
70
|
-
left: 50%;
|
|
71
|
-
top: 34px;
|
|
72
|
-
line-height: 100%;
|
|
73
|
-
font-size: 24px;
|
|
74
|
-
margin-left: -8px;
|
|
75
|
-
color: var(--cs-4-text);
|
|
110
|
+
.fw-header .fw-overview-menu-wrapper #fw-overview-menu {
|
|
111
|
+
margin: 0;
|
|
76
112
|
}
|
|
77
113
|
|
|
78
|
-
.fw-
|
|
79
|
-
|
|
80
|
-
text-decoration: none;
|
|
81
|
-
letter-spacing: 1px;
|
|
114
|
+
.fw-user-preferences {
|
|
115
|
+
margin-inline-start: auto;
|
|
82
116
|
}
|
|
83
117
|
|
|
84
|
-
.fw-
|
|
85
|
-
|
|
86
|
-
color: var(--nagivation-link-active-text-color);
|
|
87
|
-
text-shadow: 1px 0 0 var(--nagivation-link-active-text-color);
|
|
118
|
+
.fw-header .fw-overview-menu-wrapper ~ .fw-user-preferences {
|
|
119
|
+
margin-inline-start: 0;
|
|
88
120
|
}
|
|
89
121
|
|
|
90
122
|
#user-preferences {
|
|
91
123
|
z-index: 2;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
gap: var(--fw-space-4);
|
|
92
127
|
margin-left: 8px;
|
|
93
128
|
}
|
|
94
129
|
|
|
@@ -99,8 +134,8 @@
|
|
|
99
134
|
|
|
100
135
|
#preferences-btn .fw-avatar,
|
|
101
136
|
#preferences-btn .fw-string-avatar {
|
|
102
|
-
width:
|
|
103
|
-
height:
|
|
137
|
+
width: var(--fw-icon-button);
|
|
138
|
+
height: var(--fw-icon-button);
|
|
104
139
|
}
|
|
105
140
|
|
|
106
141
|
#preferences-btn .fw-avatar:hover,
|
|
@@ -108,7 +143,51 @@
|
|
|
108
143
|
opacity: 0.7;
|
|
109
144
|
}
|
|
110
145
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
146
|
+
/* Site navigation drawer: plain white panel, close button in a light
|
|
147
|
+
circle at the top. */
|
|
148
|
+
.fw-site-menu-drawer {
|
|
149
|
+
--fw-navigation-drawer-width: min(390px, calc(100vw - 2rem));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.fw-site-menu-drawer .fw-navigation-drawer-header {
|
|
153
|
+
border-block-end: 0;
|
|
154
|
+
background-color: var(--fw-surface);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.fw-site-menu-drawer .fw-navigation-drawer-close {
|
|
158
|
+
width: var(--fw-icon-button);
|
|
159
|
+
height: var(--fw-icon-button);
|
|
160
|
+
margin-inline-start: 0;
|
|
161
|
+
border: 0 none;
|
|
162
|
+
background-color: var(--fw-surface-2);
|
|
163
|
+
font-size: var(--fw-font-size-3xl);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.fw-site-menu-drawer .fw-navigation-drawer-close:hover {
|
|
167
|
+
background-color: var(--fw-surface-3);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.fw-site-menu-drawer .fw-navigation-drawer-content {
|
|
171
|
+
padding: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media (width <= 700px) {
|
|
175
|
+
.fw-header:not(.prelogin) > .fw-container {
|
|
176
|
+
gap: var(--fw-space-2);
|
|
177
|
+
padding: var(--fw-space-3) var(--fw-space-4);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.fw-site-menu-btn {
|
|
181
|
+
order: 3;
|
|
182
|
+
margin-inline-start: auto;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.fw-page-title {
|
|
186
|
+
font-size: var(--fw-font-size-xl);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.fw-header .fw-overview-menu-wrapper {
|
|
190
|
+
order: 4;
|
|
191
|
+
flex-basis: 100%;
|
|
192
|
+
}
|
|
114
193
|
}
|
package/css/two_factor.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
margin: 20px 0;
|
|
9
9
|
padding: 20px;
|
|
10
10
|
background-color: #ffffff;
|
|
11
|
-
border: 1px solid
|
|
11
|
+
border: 1px solid var(--fw-border);
|
|
12
12
|
border-radius: 8px;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
.two-factor-secret {
|
|
22
22
|
display: inline-block;
|
|
23
23
|
padding: 10px 15px;
|
|
24
|
-
background-color:
|
|
25
|
-
border: 1px solid
|
|
24
|
+
background-color: var(--fw-surface-2);
|
|
25
|
+
border: 1px solid var(--fw-border);
|
|
26
26
|
border-radius: 4px;
|
|
27
27
|
font-family: "Courier New", Courier, monospace;
|
|
28
28
|
font-size: 14px;
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.two-factor-secret:hover {
|
|
37
|
-
background-color:
|
|
37
|
+
background-color: var(--fw-surface-3);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Two-Factor Verification Section */
|
|
41
41
|
.two-factor-verify-section {
|
|
42
42
|
margin-top: 25px;
|
|
43
43
|
padding-top: 25px;
|
|
44
|
-
border-top: 1px solid
|
|
44
|
+
border-top: 1px solid var(--fw-border-subtle);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* Two-Factor Status Indicators */
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
#two-factor-enabled-status {
|
|
57
|
-
color:
|
|
58
|
-
background-color: rgb(
|
|
57
|
+
color: var(--fw-success);
|
|
58
|
+
background-color: rgb(47 125 56 / 10%);
|
|
59
59
|
padding: 5px 12px;
|
|
60
60
|
border-radius: 15px;
|
|
61
61
|
}
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
#two-factor-disabled-status {
|
|
68
|
-
color:
|
|
69
|
-
background-color: rgb(
|
|
68
|
+
color: var(--fw-danger-text);
|
|
69
|
+
background-color: rgb(194 44 0 / 10%);
|
|
70
70
|
padding: 5px 12px;
|
|
71
71
|
border-radius: 15px;
|
|
72
72
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
margin-left: 15px;
|
|
83
83
|
padding: 6px 12px;
|
|
84
84
|
font-size: 12px;
|
|
85
|
-
color:
|
|
85
|
+
color: var(--fw-accent);
|
|
86
86
|
cursor: pointer;
|
|
87
87
|
transition: color 0.3s ease;
|
|
88
88
|
}
|
|
@@ -93,16 +93,16 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
#disable-two-factor {
|
|
96
|
-
color:
|
|
96
|
+
color: var(--fw-danger-text);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
#setup-two-factor:hover,
|
|
100
100
|
#disable-two-factor:hover {
|
|
101
|
-
color:
|
|
101
|
+
color: var(--fw-accent-active);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
#disable-two-factor:hover {
|
|
105
|
-
color:
|
|
105
|
+
color: var(--fw-danger-text);
|
|
106
106
|
} /* Two-Factor Dialog Styles */
|
|
107
107
|
.two-factor-dialog {
|
|
108
108
|
max-width: 500px;
|
|
@@ -112,13 +112,13 @@
|
|
|
112
112
|
.two-factor-dialog h3 {
|
|
113
113
|
margin-top: 0;
|
|
114
114
|
margin-bottom: 20px;
|
|
115
|
-
color:
|
|
115
|
+
color: var(--fw-text-primary);
|
|
116
116
|
font-size: 24px;
|
|
117
117
|
text-align: center;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.two-factor-dialog p {
|
|
121
|
-
color:
|
|
121
|
+
color: var(--fw-text-secondary);
|
|
122
122
|
line-height: 1.6;
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -170,16 +170,16 @@
|
|
|
170
170
|
|
|
171
171
|
/* Success/Error Messages */
|
|
172
172
|
.two-factor-success {
|
|
173
|
-
color:
|
|
174
|
-
background-color: rgb(
|
|
173
|
+
color: var(--fw-success);
|
|
174
|
+
background-color: rgb(47 125 56 / 10%);
|
|
175
175
|
padding: 10px 15px;
|
|
176
176
|
border-radius: 4px;
|
|
177
177
|
margin-top: 15px;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.two-factor-error {
|
|
181
|
-
color:
|
|
182
|
-
background-color: rgb(
|
|
181
|
+
color: var(--fw-danger-text);
|
|
182
|
+
background-color: rgb(194 44 0 / 10%);
|
|
183
183
|
padding: 10px 15px;
|
|
184
184
|
border-radius: 4px;
|
|
185
185
|
margin-top: 15px;
|
|
@@ -190,6 +190,6 @@
|
|
|
190
190
|
content: " (click to copy)";
|
|
191
191
|
font-size: 11px;
|
|
192
192
|
font-weight: normal;
|
|
193
|
-
color:
|
|
193
|
+
color: var(--fw-text-secondary);
|
|
194
194
|
margin-left: 5px;
|
|
195
195
|
}
|
package/dist/common/templates.js
CHANGED
|
@@ -12,7 +12,8 @@ export const baseBodyTemplate = ({ user, contents, hasOverview, app }) => `
|
|
|
12
12
|
<img src="${staticUrl("svg/icon.svg")}" alt="Logo" />
|
|
13
13
|
</h1>
|
|
14
14
|
</a>
|
|
15
|
-
<
|
|
15
|
+
<span class="fw-page-title"></span>
|
|
16
|
+
${hasOverview ? '<div class="fw-overview-menu-wrapper"><ul id="fw-overview-menu"></ul></div>' : ""}
|
|
16
17
|
<div id="user-preferences" class="fw-user-preferences fw-header-text">
|
|
17
18
|
<div id="preferences-btn" class="fw-button">
|
|
18
19
|
${avatarTemplate({ user })}
|
|
@@ -34,7 +35,6 @@ export const baseBodyTemplate = ({ user, contents, hasOverview, app }) => `
|
|
|
34
35
|
</div><!-- end container -->
|
|
35
36
|
</header>
|
|
36
37
|
<div class="fw-contents-outer">
|
|
37
|
-
${hasOverview ? '<div class="fw-overview-menu-wrapper"><ul id="fw-overview-menu"></ul></div>' : ""}
|
|
38
38
|
<div class="fw-contents">
|
|
39
39
|
${contents}
|
|
40
40
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/common/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAE7C,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAA;AAGjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,GAAG,EACmB,EAAU,EAAE,CAAC;;;;;;mBAMpB,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,aAAa;;;4BAGrD,SAAS,CAAC,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/common/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAE7C,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAA;AAGjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,GAAG,EACmB,EAAU,EAAE,CAAC;;;;;;mBAMpB,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,aAAa;;;4BAGrD,SAAS,CAAC,cAAc,CAAC;;;;UAI3C,WAAW,CAAC,CAAC,CAAC,6EAA6E,CAAC,CAAC,CAAC,EAAE;;;kBAGxF,cAAc,CAAC,EAAC,IAAI,EAAC,CAAC;;;;;8DAKsB,cAAc,CAAC,EAAC,IAAI,EAAC,CAAC;;8BAEtD,IAAI,CAAC,QAAQ;iEACsB,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC;;;;6CAInD,OAAO,CAAC,UAAU,CAAC;2CACrB,OAAO,CAAC,SAAS,CAAC;;;;;;;UAOnD,QAAQ;;OAEX,CAAA"}
|
package/dist/css/colors.css
CHANGED
|
@@ -12,12 +12,6 @@
|
|
|
12
12
|
--highcontrast-background-color: #ffffff;
|
|
13
13
|
--highcontrast-border-color: #e0e0e0;
|
|
14
14
|
|
|
15
|
-
/* -----------------------------------------------------------------
|
|
16
|
-
* Navigation (header menu)
|
|
17
|
-
* ----------------------------------------------------------------- */
|
|
18
|
-
--nagivation-link-text-color: #dde7e3;
|
|
19
|
-
--nagivation-link-active-text-color: #ffffff;
|
|
20
|
-
|
|
21
15
|
/* -----------------------------------------------------------------
|
|
22
16
|
* Tables
|
|
23
17
|
* ----------------------------------------------------------------- */
|
|
@@ -34,15 +28,4 @@
|
|
|
34
28
|
--part-tags-background-color: #ffdf7b;
|
|
35
29
|
--part-table-background-color: #bfedc1;
|
|
36
30
|
--part-toc-background-color: #985f99;
|
|
37
|
-
|
|
38
|
-
/* -----------------------------------------------------------------
|
|
39
|
-
* Feedback tab
|
|
40
|
-
* ----------------------------------------------------------------- */
|
|
41
|
-
--feedback-tab-background-color: #4da4f1;
|
|
42
|
-
--feedback-tab-background-hover-color: #e6d180;
|
|
43
|
-
--feedback-background-color: #ecdc9e;
|
|
44
|
-
--feedback-text-color: #d3421c;
|
|
45
|
-
--feedback-icon-color: #555555;
|
|
46
|
-
--feedback-icon-hover-color: #999999;
|
|
47
|
-
--feedback-icon-focus-color: #999999;
|
|
48
31
|
}
|