@fiduswriter/frontend 0.1.30 → 0.1.32

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 (157) hide show
  1. package/css/admin.css +23 -0
  2. package/css/colors.css +60 -0
  3. package/css/document_overview.css +15 -0
  4. package/css/document_template_admin.css +34 -0
  5. package/css/errorlist.css +14 -0
  6. package/css/feedback.css +136 -0
  7. package/css/figure.css +88 -0
  8. package/css/flatpage.css +44 -0
  9. package/css/fonts.css +398 -0
  10. package/css/forms.css +309 -0
  11. package/css/header_menu.css +114 -0
  12. package/css/inline_tools.css +84 -0
  13. package/css/prelogin.css +173 -0
  14. package/css/reset.css +175 -0
  15. package/css/show_profile.css +94 -0
  16. package/css/text.css +38 -0
  17. package/css/two_factor.css +247 -0
  18. package/css/user_template_manager.css +18 -0
  19. package/dist/css/admin.css +23 -0
  20. package/dist/css/bibliography/bibliography.css +180 -0
  21. package/dist/css/bibliography/colors.css +8 -0
  22. package/dist/css/bibliography/forms.css +102 -0
  23. package/dist/css/colors.css +60 -0
  24. package/dist/css/document/document.css +388 -0
  25. package/dist/css/document-template-editor/document_template_designer.css +198 -0
  26. package/dist/css/document_overview.css +15 -0
  27. package/dist/css/document_template_admin.css +34 -0
  28. package/dist/css/editor/access_rights_dialog.css +75 -0
  29. package/dist/css/editor/carets.css +17 -0
  30. package/dist/css/editor/chat.css +70 -0
  31. package/dist/css/editor/citation_dialog.css +71 -0
  32. package/dist/css/editor/colors.css +97 -0
  33. package/dist/css/editor/contributors.css +13 -0
  34. package/dist/css/editor/document.css +286 -0
  35. package/dist/css/editor/dot_menu.css +42 -0
  36. package/dist/css/editor/e2ee.css +331 -0
  37. package/dist/css/editor/editor.css +1484 -0
  38. package/dist/css/editor/footnotes.css +81 -0
  39. package/dist/css/editor/margin_boxes.css +514 -0
  40. package/dist/css/editor/merge.css +197 -0
  41. package/dist/css/editor/review.css +7 -0
  42. package/dist/css/editor/table.css +13 -0
  43. package/dist/css/editor/tags.css +36 -0
  44. package/dist/css/editor/tracking.css +63 -0
  45. package/dist/css/errorlist.css +14 -0
  46. package/dist/css/feedback.css +136 -0
  47. package/dist/css/figure.css +88 -0
  48. package/dist/css/flatpage.css +44 -0
  49. package/dist/css/fonts.css +398 -0
  50. package/dist/css/forms.css +309 -0
  51. package/dist/css/fwtoolkit/add_remove_dialog.css +18 -0
  52. package/dist/css/fwtoolkit/alerts.css +72 -0
  53. package/dist/css/fwtoolkit/buttons.css +373 -0
  54. package/dist/css/fwtoolkit/checkable_list.css +34 -0
  55. package/dist/css/fwtoolkit/colors.css +119 -0
  56. package/dist/css/fwtoolkit/common.css +196 -0
  57. package/dist/css/fwtoolkit/content_menu.css +105 -0
  58. package/dist/css/fwtoolkit/data_table.css +279 -0
  59. package/dist/css/fwtoolkit/dialog.css +214 -0
  60. package/dist/css/fwtoolkit/dialog_table.css +125 -0
  61. package/dist/css/fwtoolkit/drop_up.css +89 -0
  62. package/dist/css/fwtoolkit/faq_dialog.css +16 -0
  63. package/dist/css/fwtoolkit/file_selector.css +25 -0
  64. package/dist/css/fwtoolkit/forms.css +120 -0
  65. package/dist/css/fwtoolkit/fwtoolkit.css +2683 -0
  66. package/dist/css/fwtoolkit/inline_tools.css +84 -0
  67. package/dist/css/fwtoolkit/input_list.css +33 -0
  68. package/dist/css/fwtoolkit/loader.css +38 -0
  69. package/dist/css/fwtoolkit/overview_menu.css +194 -0
  70. package/dist/css/fwtoolkit/progress_task.css +140 -0
  71. package/dist/css/fwtoolkit/pulldown.css +118 -0
  72. package/dist/css/fwtoolkit/pulldown_menu.css +47 -0
  73. package/dist/css/fwtoolkit/two_pane_selector.css +51 -0
  74. package/dist/css/fwtoolkit/type_switch.css +81 -0
  75. package/dist/css/fwtoolkit/ui_tabs.css +65 -0
  76. package/dist/css/header_menu.css +114 -0
  77. package/dist/css/image-manager/dialog_usermedia.css +8 -0
  78. package/dist/css/inline_tools.css +84 -0
  79. package/dist/css/manifest.json +68 -0
  80. package/dist/css/prelogin.css +173 -0
  81. package/dist/css/reset.css +175 -0
  82. package/dist/css/show_profile.css +94 -0
  83. package/dist/css/text.css +38 -0
  84. package/dist/css/two_factor.css +247 -0
  85. package/dist/css/user_template_manager.css +18 -0
  86. package/dist/documents/importer/native/import.js +3 -3
  87. package/dist/documents/importer/native/import.js.map +1 -1
  88. package/dist/i18n/index.d.ts +49 -0
  89. package/dist/i18n/index.d.ts.map +1 -0
  90. package/dist/i18n/index.js +136 -0
  91. package/dist/i18n/index.js.map +1 -0
  92. package/dist/static/fonts/document/Cardo-Bold.woff +0 -0
  93. package/dist/static/fonts/document/Cardo-Italic.woff +0 -0
  94. package/dist/static/fonts/document/Cardo-Regular.woff +0 -0
  95. package/dist/static/fonts/document/CrimsonText-Bold.woff +0 -0
  96. package/dist/static/fonts/document/CrimsonText-BoldItalic.woff +0 -0
  97. package/dist/static/fonts/document/CrimsonText-Italic.woff +0 -0
  98. package/dist/static/fonts/document/CrimsonText-Roman.woff +0 -0
  99. package/dist/static/fonts/document/Lobster-1.4.woff +0 -0
  100. package/dist/static/fonts/document/NoticiaText-Bold.woff +0 -0
  101. package/dist/static/fonts/document/NoticiaText-BoldItalic.woff +0 -0
  102. package/dist/static/fonts/document/NoticiaText-Italic.woff +0 -0
  103. package/dist/static/fonts/document/NoticiaText-Regular.woff +0 -0
  104. package/dist/static/fonts/document/OpenSans-Bold.woff +0 -0
  105. package/dist/static/fonts/document/OpenSans-Regular.woff +0 -0
  106. package/dist/static/fonts/document/SourceSansPro-Bold.woff +0 -0
  107. package/dist/static/fonts/lato/lato-300.woff2 +0 -0
  108. package/dist/static/fonts/lato/lato-400.woff2 +0 -0
  109. package/dist/static/fonts/lato/lato-700.woff2 +0 -0
  110. package/dist/static/fonts/lato/lato-900.woff2 +0 -0
  111. package/dist/static/fonts/lato/lato-ext-300.woff2 +0 -0
  112. package/dist/static/fonts/lato/lato-ext-400.woff2 +0 -0
  113. package/dist/static/fonts/lato/lato-ext-700.woff2 +0 -0
  114. package/dist/static/fonts/lato/lato-ext-900.woff2 +0 -0
  115. package/dist/static/fonts/lato/lato-ext-italic-400.woff2 +0 -0
  116. package/dist/static/fonts/lato/lato-italic-400.woff2 +0 -0
  117. package/dist/static/fonts/roboto/roboto-300.woff2 +0 -0
  118. package/dist/static/fonts/roboto/roboto-700.woff2 +0 -0
  119. package/dist/static/img/accept_change.avif +0 -0
  120. package/dist/static/img/default_avatar.avif +0 -0
  121. package/dist/static/img/error.avif +0 -0
  122. package/dist/static/img/favicon.avif +0 -0
  123. package/dist/static/img/fidus_face.avif +0 -0
  124. package/dist/static/img/free_star.avif +0 -0
  125. package/dist/static/img/icon_192.avif +0 -0
  126. package/dist/static/img/icon_512.avif +0 -0
  127. package/dist/static/ogg/chat_notification.ogg +0 -0
  128. package/dist/static/svg/icon.svg +211 -0
  129. package/package.json +74 -11
  130. package/scripts/aggregate-assets.js +260 -0
  131. package/scripts/compile-i18n.js +114 -0
  132. package/scripts/deploy-pages.sh +31 -0
  133. package/scripts/extract-fwtoolkit-i18n.js +230 -0
  134. package/scripts/extract-i18n-generic.js +278 -0
  135. package/scripts/split-translations.js +304 -0
  136. package/src/documents/importer/native/import.ts +3 -3
  137. package/src/i18n/index.ts +165 -0
  138. package/static/fonts/lato/lato-300.woff2 +0 -0
  139. package/static/fonts/lato/lato-400.woff2 +0 -0
  140. package/static/fonts/lato/lato-700.woff2 +0 -0
  141. package/static/fonts/lato/lato-900.woff2 +0 -0
  142. package/static/fonts/lato/lato-ext-300.woff2 +0 -0
  143. package/static/fonts/lato/lato-ext-400.woff2 +0 -0
  144. package/static/fonts/lato/lato-ext-700.woff2 +0 -0
  145. package/static/fonts/lato/lato-ext-900.woff2 +0 -0
  146. package/static/fonts/lato/lato-ext-italic-400.woff2 +0 -0
  147. package/static/fonts/lato/lato-italic-400.woff2 +0 -0
  148. package/static/fonts/roboto/roboto-300.woff2 +0 -0
  149. package/static/fonts/roboto/roboto-700.woff2 +0 -0
  150. package/static/img/default_avatar.avif +0 -0
  151. package/static/img/error.avif +0 -0
  152. package/static/img/favicon.avif +0 -0
  153. package/static/img/fidus_face.avif +0 -0
  154. package/static/img/free_star.avif +0 -0
  155. package/static/img/icon_192.avif +0 -0
  156. package/static/img/icon_512.avif +0 -0
  157. package/static/svg/icon.svg +211 -0
@@ -0,0 +1,214 @@
1
+ .fw-dialog {
2
+ position: absolute;
3
+ background-color: var(--cs-light-background);
4
+ font-size: 14px;
5
+ overflow: hidden;
6
+ outline: 0;
7
+ padding: 0 19px 19px;
8
+ box-shadow: none;
9
+ border: 0 none;
10
+ border-image: initial;
11
+ border-radius: 0;
12
+ z-index: 1000; /* Ensure dialog stays on top */
13
+ user-select: none; /* Prevent interaction with background content */
14
+ }
15
+
16
+ .fw-dialog-fullpage {
17
+ position: initial !important;
18
+ }
19
+
20
+ .fw-dialog-content.fw-scrollable {
21
+ overflow-y: auto;
22
+ }
23
+
24
+ .fw-dialog-titlebar {
25
+ position: relative;
26
+ margin: 0 -19px;
27
+ padding: 19px 40px 19px 19px;
28
+ background: var(--cs-dark-background);
29
+ color: var(--cs-dark-text);
30
+ cursor: move; /* fallback if grab cursor is unsupported */
31
+ cursor: grab;
32
+ user-select: none;
33
+ }
34
+
35
+ .fw-dialog-title {
36
+ font-size: 15px;
37
+ font-weight: 400;
38
+ text-transform: none;
39
+ }
40
+
41
+ .fw-dialog-titlebar-close {
42
+ right: 19px;
43
+ }
44
+
45
+ .fw-dialog-titlebar-help {
46
+ right: 39px;
47
+ }
48
+
49
+ .fw-dialog-button-icon-only {
50
+ width: 2em;
51
+ box-sizing: border-box;
52
+ text-indent: -9999px;
53
+ white-space: nowrap;
54
+ }
55
+
56
+ .fw-dialog-titlebar .fw-dialog-button-icon-only {
57
+ color: var(--cs-dark-text);
58
+ }
59
+
60
+ .fw-dialog-titlebar .fw-dialog-button-icon-only:hover {
61
+ color: var(--cs-dark-hover);
62
+ }
63
+
64
+ .fw-dialog-button-icon-only .fw-icon {
65
+ position: absolute;
66
+ top: 0;
67
+ left: 0;
68
+ margin-top: -2px;
69
+ margin-left: 0;
70
+ }
71
+
72
+ .fw-dialog-content {
73
+ position: relative;
74
+ margin-top: 24px;
75
+ overflow: hidden auto;
76
+ padding: 6px;
77
+ max-height: calc(100vh - 133px);
78
+ min-height: 20px;
79
+ max-width: calc(100vw - 4px);
80
+ }
81
+
82
+ .fw-input-list-wrapper > tbody > tr:last-child > td {
83
+ padding-bottom: 0;
84
+ }
85
+
86
+ .fw-input-list-wrapper td.fw-input-field-list-ctrl {
87
+ padding-right: 20px;
88
+ text-align: right;
89
+ vertical-align: middle;
90
+ }
91
+
92
+ .fw-input-list-wrapper td.fw-input-field-list-ctrl .fa {
93
+ display: inline;
94
+ }
95
+
96
+ .fw-entry-field input[type="text"],
97
+ .fw-entry-field input[type="number"] {
98
+ margin: 0;
99
+ }
100
+
101
+ .fw-dialog-buttonpane {
102
+ padding-top: 20px;
103
+ }
104
+
105
+ .fw-dialog-buttonset {
106
+ position: relative;
107
+ text-align: right;
108
+ }
109
+
110
+ .fw-dialog-buttonset .fw-button {
111
+ margin-left: 6px;
112
+ }
113
+
114
+ .fw-overlay {
115
+ position: fixed;
116
+ left: 0;
117
+ top: 0;
118
+ width: 100%;
119
+ height: 100%;
120
+ background-color: rgb(var(--overlay-color));
121
+ z-index: 100;
122
+ backdrop-filter: blur(2px);
123
+ }
124
+
125
+ .fw-overlay.fw-no-blur {
126
+ backdrop-filter: none;
127
+ }
128
+
129
+ .fw-dialog-content textarea {
130
+ min-height: 112px;
131
+ min-width: 350px;
132
+ height: auto;
133
+ }
134
+
135
+ .fw-media-file-input {
136
+ display: none;
137
+ }
138
+
139
+ .fw-dialog-content .fw-note-el {
140
+ margin-bottom: 10px;
141
+ font-size: smaller;
142
+ color: var(--error-background-color);
143
+ }
144
+
145
+ .fw-dialog-content .fw-note-el.fw-hide {
146
+ display: none;
147
+ }
148
+
149
+ .fw-dialog form {
150
+ padding: 8px;
151
+ }
152
+
153
+ /* Rules migrated from the old ui_dialogs.css so that dialogs render correctly
154
+ without loading a separate stylesheet. */
155
+ .fw-dialog-titlebar .fw-dialog-titlebar-button {
156
+ font-size: 14px;
157
+ line-height: 1em;
158
+ border: none;
159
+ background: none;
160
+ padding: 0;
161
+ margin: 0;
162
+ cursor: pointer;
163
+ }
164
+
165
+ .fw-dialog-titlebar-close,
166
+ .fw-dialog-titlebar-help {
167
+ position: absolute;
168
+ top: 50%;
169
+ width: 20px;
170
+ height: 20px;
171
+ margin: -10px 0 0;
172
+ padding: 1px;
173
+ }
174
+
175
+ .fw-dialog-button-icon-only .fw-icon::before {
176
+ display: inline-block;
177
+ font-family:
178
+ "Font Awesome 7 Free", "Font Awesome 6 Free", "FontAwesome", monospace;
179
+ font-weight: 900;
180
+ font-size: inherit;
181
+ text-rendering: auto;
182
+ -webkit-font-smoothing: antialiased;
183
+ -moz-osx-font-smoothing: grayscale;
184
+ text-indent: 5019px;
185
+ }
186
+
187
+ .fw-icon-close::before {
188
+ width: 0.7em;
189
+ height: 1em;
190
+ padding-top: 5px;
191
+ content: "\f00d";
192
+ }
193
+
194
+ .fw-icon-help::before {
195
+ width: 0.7em;
196
+ height: 1em;
197
+ padding-top: 5px;
198
+ content: "\f128";
199
+ }
200
+
201
+ .fw-dialog-titlebar .fw-dialog-button-icon-only {
202
+ position: absolute;
203
+ top: 50%;
204
+ transform: translateY(-50%);
205
+ padding: 8px;
206
+ background: transparent;
207
+ border: none;
208
+ }
209
+
210
+ .fw-dialog-titlebar .fw-dialog-button-icon-only:focus {
211
+ outline: 2px solid var(--cs-dark-text);
212
+ outline-offset: 2px;
213
+ border-radius: 4px;
214
+ }
@@ -0,0 +1,125 @@
1
+ .fw-dialog-table td {
2
+ padding-bottom: 7px;
3
+ position: relative;
4
+ }
5
+
6
+ .fw-tablerow-title {
7
+ display: table-cell;
8
+ padding-top: 10px;
9
+ font-size: 11px;
10
+ line-height: 15px;
11
+ font-weight: bold;
12
+ }
13
+
14
+ .fw-dialog-table tr > td .fa-minus-circle,
15
+ .fw-dialog-table tr > td .fa-plus-circle {
16
+ cursor: pointer;
17
+ }
18
+
19
+ .fw-input-list-wrapper > tbody > tr:last-child > td > .fa-minus-circle {
20
+ display: none;
21
+ }
22
+
23
+ .fw-tablerow-title.fw-wtooltip {
24
+ position: relative;
25
+ }
26
+
27
+ .fw-tablerow-title.fw-wtooltip::after {
28
+ display: inline-block;
29
+ vertical-align: baseline;
30
+ content: "?";
31
+ line-height: 1;
32
+ color: white;
33
+ background-color: rgb(var(--tooltip-background-color));
34
+ width: 12px;
35
+ height: 10px;
36
+ border-radius: 6px;
37
+ margin-left: 5px;
38
+ text-align: center;
39
+ padding-top: 2px;
40
+ }
41
+
42
+ .fw-tablerow-title .fw-tooltip {
43
+ position: absolute;
44
+ min-width: 260px;
45
+ top: calc(100% + 2px);
46
+ left: calc(100% - 13px);
47
+ background-color: var(--cs-dark-background);
48
+ color: var(--cs-dark-text);
49
+ border-radius: 6px;
50
+ line-height: 1.5;
51
+ padding: 14px 18px;
52
+ font-size: 12px;
53
+ visibility: hidden;
54
+ opacity: 0;
55
+ transition: opacity 1s;
56
+ z-index: 1;
57
+ }
58
+
59
+ .fw-tablerow-title:hover .fw-tooltip {
60
+ visibility: visible;
61
+ opacity: 1;
62
+ }
63
+
64
+ .fw-tooltip em {
65
+ font-style: italic;
66
+ }
67
+
68
+ /* Inline info tooltip (e.g. for dialog options) */
69
+ .fw-info-tooltip {
70
+ position: relative;
71
+ display: inline-block;
72
+ margin-left: 4px;
73
+ color: var(--cs-2-background);
74
+ cursor: help;
75
+ }
76
+
77
+ .fw-info-tooltip .fw-info-tooltip-text {
78
+ position: absolute;
79
+ bottom: calc(100% + 6px);
80
+ left: 50%;
81
+ transform: translateX(-50%);
82
+ min-width: 280px;
83
+ max-width: 360px;
84
+ background-color: var(--cs-dark-background);
85
+ color: var(--cs-dark-text);
86
+ border-radius: 6px;
87
+ padding: 12px 16px;
88
+ font-size: 12px;
89
+ line-height: 1.5;
90
+ visibility: hidden;
91
+ opacity: 0;
92
+ transition: opacity 0.3s;
93
+ z-index: 100;
94
+ pointer-events: none;
95
+ text-align: left;
96
+ font-weight: normal;
97
+ font-style: normal;
98
+ white-space: normal;
99
+ }
100
+
101
+ .fw-info-tooltip:hover .fw-info-tooltip-text {
102
+ visibility: visible;
103
+ opacity: 1;
104
+ }
105
+
106
+ .fw-info-tooltip .fw-info-tooltip-text::after {
107
+ content: "";
108
+ position: absolute;
109
+ top: 100%;
110
+ left: 50%;
111
+ margin-left: -5px;
112
+ border-width: 5px;
113
+ border-style: solid;
114
+ border-color: var(--cs-dark-background) transparent transparent transparent;
115
+ }
116
+
117
+ .fw-info-tooltip .fw-info-tooltip-text ul {
118
+ margin: 6px 0 0 16px;
119
+ padding: 0;
120
+ list-style-type: disc;
121
+ }
122
+
123
+ .fw-info-tooltip .fw-info-tooltip-text li {
124
+ margin-bottom: 4px;
125
+ }
@@ -0,0 +1,89 @@
1
+ /* Generic drop-up widget */
2
+
3
+ .fw-drop-up-outer {
4
+ all: revert;
5
+ box-sizing: border-box;
6
+ margin: 0;
7
+ padding: 0;
8
+ border: none;
9
+ font-size: 100%;
10
+ font-weight: normal;
11
+ font-style: normal;
12
+ text-decoration: none;
13
+ text-transform: none;
14
+ letter-spacing: normal;
15
+ line-height: normal;
16
+ color: inherit;
17
+ background: transparent;
18
+ contain: layout style;
19
+ isolation: isolate;
20
+ white-space: initial;
21
+ position: absolute;
22
+ }
23
+
24
+ .fw-drop-up-inner {
25
+ position: relative;
26
+ background-color: var(--cs-white-background);
27
+ z-index: 1;
28
+ font-weight: normal;
29
+ color: var(--cs-white-text);
30
+ left: 10px;
31
+ box-shadow: 0 0 20px rgb(var(--dropup-box-shadow-color));
32
+ border-radius: 6px;
33
+ }
34
+
35
+ .fw-drop-up-head {
36
+ padding: 20px 22px;
37
+ background-color: var(--cs-dark-background);
38
+ color: var(--cs-dark-text);
39
+ font-family: Lato, sans-serif;
40
+ font-size: 13px;
41
+ font-weight: 400;
42
+ line-height: 18px;
43
+ letter-spacing: 0.13px;
44
+ border-radius: 6px 6px 0 0;
45
+ }
46
+
47
+ .fw-drop-up-head > * + * {
48
+ margin-top: 14px;
49
+ }
50
+
51
+ .fw-drop-up-head a {
52
+ color: var(--cs-dark-text);
53
+ font-family: Lato, sans-serif;
54
+ font-size: 12px;
55
+ font-weight: 700;
56
+ text-decoration: none;
57
+ }
58
+
59
+ .fw-drop-up-options {
60
+ list-style: none;
61
+ padding: 0 0 12px;
62
+ margin: 0;
63
+ cursor: pointer;
64
+ }
65
+
66
+ .fw-drop-up-option {
67
+ border-top: 1px solid var(--cs-light-border);
68
+ padding: 16px 30px;
69
+ color: var(--cs-light-text);
70
+ background: var(--cs-light-background);
71
+ font-family: Lato, sans-serif;
72
+ font-size: 13px;
73
+ font-weight: 400;
74
+ line-height: 1em;
75
+ }
76
+
77
+ .fw-drop-up-option:hover,
78
+ .fw-drop-up-option.fw-focused {
79
+ background-color: var(--cs-light-background-hover);
80
+ }
81
+
82
+ .fw-drop-up-option.fw-focused {
83
+ outline: 2px solid var(--cs-light-border);
84
+ outline-offset: -2px;
85
+ }
86
+
87
+ .fw-drop-up-option:focus {
88
+ outline: none;
89
+ }
@@ -0,0 +1,16 @@
1
+ div.fw-faq {
2
+ line-height: 1.5em;
3
+ }
4
+
5
+ .fw-faq-answer {
6
+ padding: 5px;
7
+ font-size: medium;
8
+ }
9
+
10
+ .fw-faq-item {
11
+ padding: 10px;
12
+ }
13
+
14
+ .fw-faq-question i {
15
+ padding: 3px;
16
+ }
@@ -0,0 +1,25 @@
1
+ .fw-file-selector {
2
+ line-height: 1.2em;
3
+ padding: 10px 10px 10px 20px;
4
+ }
5
+
6
+ .fw-file-selector p.fw-file {
7
+ text-indent: -10px;
8
+ }
9
+
10
+ .fw-file-selector .fa-plus-square,
11
+ .fw-file-selector .fa-minus-square {
12
+ margin-left: -16px;
13
+ }
14
+
15
+ .fw-file-selector .fa-plus-square,
16
+ .fw-file-selector .fa-minus-square,
17
+ .fw-file-selector .fw-file-name,
18
+ .fw-file-selector .fw-folder-name {
19
+ cursor: pointer;
20
+ }
21
+
22
+ .fw-file-selector .fw-file-name.fw-selected,
23
+ .fw-file-selector .fw-folder-name.fw-selected {
24
+ text-decoration: underline;
25
+ }
@@ -0,0 +1,120 @@
1
+ input,
2
+ textarea,
3
+ button {
4
+ font-family: Lato, sans-serif;
5
+ margin: 0;
6
+ outline-width: 0;
7
+ }
8
+
9
+ textarea {
10
+ padding: 2px;
11
+ }
12
+
13
+ input[type="text"]:not(.fw-inline),
14
+ input[type="password"]:not(.fw-inline),
15
+ input[type="search"]:not(.fw-inline),
16
+ input[type="email"]:not(.fw-inline),
17
+ input[type="number"]:not(.fw-inline),
18
+ textarea {
19
+ box-sizing: border-box;
20
+ width: 100%;
21
+ height: 40px;
22
+ padding: 0 10px;
23
+ font-size: 14px;
24
+ line-height: 1.33em;
25
+ box-shadow: none;
26
+ border-radius: 0;
27
+ margin: 5px 0;
28
+ color: var(--cs-white-text);
29
+ background-color: var(--input-background-color);
30
+ border: 0 none;
31
+ border-bottom: 1px solid var(--input-border-color);
32
+ }
33
+
34
+ input[type="text"]:focus,
35
+ input[type="number"]:focus,
36
+ input[type="password"]:focus,
37
+ input[type="search"]:focus,
38
+ input[type="email"]:focus,
39
+ textarea:focus {
40
+ background-color: var(--input-focus-background-color);
41
+ }
42
+
43
+ .fw-dialog input[type="text"]:not(.fw-inline),
44
+ .fw-dialog input[type="password"]:not(.fw-inline),
45
+ .fw-dialog input[type="search"]:not(.fw-inline),
46
+ .fw-dialog input[type="email"]:not(.fw-inline),
47
+ .fw-dialog input[type="number"]:not(.fw-inline),
48
+ .fw-dialog textarea,
49
+ .fw-dialog div[contenteditable="true"],
50
+ .fw-dialog select,
51
+ .fw-dialog .fw-entry-field select {
52
+ border: 1px solid var(--input-dialog-border-color);
53
+ }
54
+ .fw-entry-field .ProseMirror {
55
+ border: 1px solid var(--cs-gray, #ccc);
56
+ border-radius: 4px;
57
+ min-height: 2.5rem;
58
+ padding: 0.25rem;
59
+ background: var(--cs-white-background, #fff);
60
+ }
61
+
62
+ /**
63
+ * Checkbox
64
+ */
65
+ .fw-check {
66
+ position: absolute;
67
+ opacity: 0;
68
+ }
69
+
70
+ .fw-check + label {
71
+ position: relative;
72
+ display: block;
73
+ margin: 0;
74
+ padding: 0;
75
+ }
76
+
77
+ .fw-check + label::before {
78
+ content: "";
79
+ position: relative;
80
+ display: block;
81
+ width: 13px;
82
+ height: 13px;
83
+ border: 1px solid var(--overview-checkbox-border);
84
+ border-radius: 2px;
85
+ background: linear-gradient(
86
+ to bottom,
87
+ rgb(var(--overview-checkbox-background-color-from)) 0%,
88
+ rgb(var(--overview-checkbox-background-color-to)) 100%
89
+ );
90
+ }
91
+
92
+ .fw-check:checked + label::after {
93
+ content: "";
94
+ position: absolute;
95
+ left: 5px;
96
+ top: 2px;
97
+ display: block;
98
+ width: 3px;
99
+ height: 7px;
100
+ border-bottom: 2px solid var(--overview-checkbox-color);
101
+ border-right: 2px solid var(--overview-checkbox-color);
102
+ transform: rotate(45deg);
103
+ }
104
+
105
+ .fw-label-check + label {
106
+ line-height: 15px;
107
+ }
108
+
109
+ .fw-label-check + label::before {
110
+ display: inline-block;
111
+ vertical-align: top;
112
+ margin-right: 6px;
113
+ }
114
+
115
+ /*
116
+ * checkbox in a fw-button
117
+ */
118
+ .fw-button input[type="checkbox"] {
119
+ margin-right: 3px;
120
+ }