fwtoolkit 0.1.0-alpha.3 → 0.1.0-alpha.5

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.
@@ -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
+ .input-list-wrapper > tbody > tr:last-child > td > .fa-minus-circle {
20
+ display: none;
21
+ }
22
+
23
+ .fw-tablerow-title.wtooltip {
24
+ position: relative;
25
+ }
26
+
27
+ .fw-tablerow-title.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 .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 .tooltip {
60
+ visibility: visible;
61
+ opacity: 1;
62
+ }
63
+
64
+ .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,16 @@
1
+ div.faq {
2
+ line-height: 1.5em;
3
+ }
4
+
5
+ .faq-answer {
6
+ padding: 5px;
7
+ font-size: medium;
8
+ }
9
+
10
+ .faq-item {
11
+ padding: 10px;
12
+ }
13
+
14
+ .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.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 .file-name,
18
+ .fw-file-selector .folder-name {
19
+ cursor: pointer;
20
+ }
21
+
22
+ .fw-file-selector .file-name.selected,
23
+ .fw-file-selector .folder-name.selected {
24
+ text-decoration: underline;
25
+ }
package/css/forms.css ADDED
@@ -0,0 +1,112 @@
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
+ }
32
+
33
+ input[type="text"]:focus,
34
+ input[type="number"]:focus,
35
+ input[type="password"]:focus,
36
+ input[type="search"]:focus,
37
+ input[type="email"]:focus,
38
+ textarea:focus {
39
+ background-color: var(--input-focus-background-color);
40
+ }
41
+
42
+ .ui-dialog input[type="text"]:not(.fw-inline),
43
+ .ui-dialog input[type="password"]:not(.fw-inline),
44
+ .ui-dialog input[type="search"]:not(.fw-inline),
45
+ .ui-dialog input[type="email"]:not(.fw-inline),
46
+ .ui-dialog input[type="number"]:not(.fw-inline),
47
+ .ui-dialog textarea,
48
+ .ui-dialog div[contenteditable="true"],
49
+ .ui-dialog select,
50
+ .ui-dialog .entry-field select {
51
+ border: 1px solid var(--input-dialog-border-color);
52
+ }
53
+
54
+ /**
55
+ * Checkbox
56
+ */
57
+ .fw-check {
58
+ position: absolute;
59
+ opacity: 0;
60
+ }
61
+
62
+ .fw-check + label {
63
+ position: relative;
64
+ display: block;
65
+ margin: 0;
66
+ padding: 0;
67
+ }
68
+
69
+ .fw-check + label::before {
70
+ content: "";
71
+ position: relative;
72
+ display: block;
73
+ width: 13px;
74
+ height: 13px;
75
+ border: 1px solid var(--overview-checkbox-border);
76
+ border-radius: 2px;
77
+ background: linear-gradient(
78
+ to bottom,
79
+ rgb(var(--overview-checkbox-background-color-from)) 0%,
80
+ rgb(var(--overview-checkbox-background-color-to)) 100%
81
+ );
82
+ }
83
+
84
+ .fw-check:checked + label::after {
85
+ content: "";
86
+ position: absolute;
87
+ left: 5px;
88
+ top: 2px;
89
+ display: block;
90
+ width: 3px;
91
+ height: 7px;
92
+ border-bottom: 2px solid var(--overview-checkbox-color);
93
+ border-right: 2px solid var(--overview-checkbox-color);
94
+ transform: rotate(45deg);
95
+ }
96
+
97
+ .fw-label-check + label {
98
+ line-height: 15px;
99
+ }
100
+
101
+ .fw-label-check + label::before {
102
+ display: inline-block;
103
+ vertical-align: top;
104
+ margin-right: 6px;
105
+ }
106
+
107
+ /*
108
+ * checkbox in a fw-button
109
+ */
110
+ .fw-button input[type="checkbox"] {
111
+ margin-right: 3px;
112
+ }
package/css/loader.css ADDED
@@ -0,0 +1,38 @@
1
+ #wait i {
2
+ display: none;
3
+ }
4
+
5
+ #wait.active {
6
+ position: fixed;
7
+ inset: 0;
8
+ background-color: rgb(var(--wait-active-background-color));
9
+ z-index: 1500;
10
+ }
11
+
12
+ #wait.active.full {
13
+ background-color: rgb(var(--wait-active-full-background-color));
14
+ }
15
+
16
+ #wait.active i {
17
+ display: block;
18
+ height: 1em;
19
+ position: fixed;
20
+ top: 50%;
21
+ left: 50%;
22
+ font-size: 24px;
23
+ margin-top: -0.5em;
24
+ margin-left: -0.5em;
25
+ }
26
+
27
+ #wait span {
28
+ display: none;
29
+ }
30
+
31
+ #wait.active span.message {
32
+ display: flex;
33
+ justify-content: center;
34
+ align-items: center;
35
+ min-height: 105vh;
36
+ font-size: 15px;
37
+ margin-top: 20px;
38
+ }
@@ -0,0 +1,187 @@
1
+ .fw-overview-menu-wrapper {
2
+ position: relative;
3
+ background-color: var(--cs-white-background);
4
+ padding: 11px 8px;
5
+ }
6
+
7
+ #fw-overview-menu {
8
+ position: relative;
9
+ margin: 0 213px;
10
+ }
11
+
12
+ #fw-overview-menu::after {
13
+ content: "";
14
+ display: table;
15
+ clear: both;
16
+ }
17
+
18
+ @media (width <= 1429px) {
19
+ #fw-overview-menu {
20
+ margin: 0 auto;
21
+ max-width: 1004px;
22
+ }
23
+ }
24
+
25
+ .fw-overview-menu-item {
26
+ position: relative;
27
+ float: left;
28
+ margin-right: 14px;
29
+ }
30
+
31
+ .fw-search-field-container {
32
+ position: relative;
33
+ display: inline-flex;
34
+ align-items: center;
35
+ }
36
+
37
+ .fw-search-field-container .fw-search-label {
38
+ position: absolute;
39
+ left: 20px;
40
+ top: 0;
41
+ width: 100%;
42
+ height: 100%;
43
+ display: flex;
44
+ align-items: center;
45
+ pointer-events: none; /* Makes the label non-interactive */
46
+ user-select: none;
47
+ z-index: 1;
48
+ }
49
+
50
+ .fw-search-field-container input.fw-search-field[type="search"] {
51
+ position: relative;
52
+ z-index: 2;
53
+ background: transparent; /* Makes input background transparent to show label */
54
+ }
55
+
56
+ .fw-search-field-container:has(
57
+ input.fw-search-field[type="search"]:not(:placeholder-shown)
58
+ )
59
+ label.fw-search-label {
60
+ display: none;
61
+ }
62
+
63
+ .fw-search-field-container i.fa {
64
+ position: relative;
65
+ z-index: 3;
66
+ margin-left: 8px;
67
+ }
68
+
69
+ .fw-overview-menu-item.search {
70
+ float: right;
71
+ margin-right: 0;
72
+ }
73
+
74
+ .fw-overview-menu-item.search div.fw-button.disabled {
75
+ background-color: var(--input-background-color);
76
+ }
77
+
78
+ .fw-overview-menu-item.search div.fw-button.disabled:focus-within {
79
+ background-color: var(--input-focus-background-color);
80
+ }
81
+
82
+ .fw-button .fw-search-label {
83
+ margin-right: 8px;
84
+ display: inline-block;
85
+ }
86
+
87
+ /* Hide label visually while keeping it accessible for screen readers
88
+ when the search box is narrow */
89
+ @media (width <= 600px) {
90
+ .fw-button .fw-search-label {
91
+ position: absolute;
92
+ width: 1px;
93
+ height: 1px;
94
+ padding: 0;
95
+ margin: -1px;
96
+ overflow: hidden;
97
+ clip-path: inset(50%);
98
+ border: 0;
99
+ }
100
+ }
101
+
102
+ .fw-button input[type="text"] {
103
+ border: 1px solid #cccccc;
104
+ padding: 4px 8px;
105
+ border-radius: 4px;
106
+ width: calc(100% - 30px);
107
+ height: 30px;
108
+ }
109
+
110
+ .fw-button input[type="text"]:focus {
111
+ outline: 2px solid #007bff;
112
+ border-color: #007bff;
113
+ }
114
+
115
+ .fw-text-menu {
116
+ height: 40px;
117
+ color: var(--cs-white-text-secondary);
118
+ padding: 0;
119
+ border: 0 none;
120
+ background-color: transparent;
121
+ font-size: 14px;
122
+ cursor: pointer;
123
+ position: relative;
124
+ padding-left: 5px;
125
+ }
126
+
127
+ .fw-text-menu:focus::before {
128
+ content: "";
129
+ position: absolute;
130
+ left: 0;
131
+ top: 0;
132
+ bottom: 0;
133
+ width: 3px; /* Width of the border */
134
+ background-color: var(--menu-cursor-border-color); /* Color of the border */
135
+ }
136
+
137
+ .fw-text-menu:hover {
138
+ color: var(--cs-white-text);
139
+ }
140
+
141
+ .fw-dropdown-menu {
142
+ padding-top: 14px;
143
+ font-size: 14px;
144
+ color: var(--cs-white-text-secondary);
145
+ cursor: pointer;
146
+ height: 40px;
147
+ box-sizing: border-box;
148
+ }
149
+
150
+ .fw-dropdown-menu:hover {
151
+ color: var(--cs-white-text);
152
+ }
153
+
154
+ .fw-dropdown-menu label {
155
+ cursor: pointer;
156
+ }
157
+
158
+ div.select-action {
159
+ cursor: pointer;
160
+ min-width: 38px;
161
+ }
162
+
163
+ div.select-action input[type="checkbox"] {
164
+ cursor: default;
165
+ }
166
+
167
+ span.select-action-dropdown {
168
+ margin-left: 5px;
169
+ }
170
+
171
+ .fw-button.fw-white input[type="text"] {
172
+ color: var(--cs-light-text);
173
+ background-color: var(--cs-light-background);
174
+ }
175
+
176
+ .fw-button.fw-white:focus-within {
177
+ background-color: var(--input-focus-background-color);
178
+ }
179
+
180
+ .fw-button.fw-white input[type="text"]:focus,
181
+ .fw-white.fw-input:hover {
182
+ background-color: var(--input-focus-background-color);
183
+ }
184
+
185
+ .fw-pulldown-item.selected {
186
+ background-color: #f0f0f0;
187
+ }
@@ -0,0 +1,114 @@
1
+ /* pulldown menu box */
2
+ .fw-pulldown {
3
+ position: absolute;
4
+ display: none;
5
+ z-index: 101;
6
+ box-shadow: 0 0 20px rgb(var(--pulldown-box-shadow-color));
7
+ background-color: var(--cs-white-background);
8
+ border-radius: 6px;
9
+ color: var(--cs-white-text);
10
+ }
11
+
12
+ .fw-pulldown.fw-open {
13
+ display: block;
14
+ }
15
+
16
+ .fw-pulldown.fw-left,
17
+ .fw-pulldown.fw-center {
18
+ left: -10px;
19
+ }
20
+
21
+ .fw-pulldown.fw-right {
22
+ right: 0;
23
+ }
24
+
25
+ /* sub menu */
26
+ .fw-pulldown .fw-pulldown {
27
+ top: 0;
28
+ left: 100%;
29
+ margin-top: 0;
30
+ }
31
+
32
+ .marginbox-options.fw-pulldown .fw-pulldown {
33
+ right: 100%;
34
+ left: auto;
35
+ }
36
+
37
+ .fw-pulldown.fw-right .fw-pulldown {
38
+ left: auto;
39
+ right: 100%;
40
+ }
41
+
42
+ .fw-pulldown > ul {
43
+ position: relative;
44
+ padding: 12px 0;
45
+ border: 0 none;
46
+ }
47
+
48
+ .fw-pulldown-item {
49
+ position: relative;
50
+ display: block;
51
+ width: auto;
52
+ height: auto;
53
+ min-width: 110px;
54
+ padding: 16px 30px;
55
+ font-size: 13px;
56
+ font-weight: 400;
57
+ line-height: 1;
58
+ text-align: left;
59
+ text-decoration: none;
60
+ white-space: nowrap;
61
+ cursor: pointer;
62
+ }
63
+
64
+ .disabled .fw-pulldown-item {
65
+ color: var(--cs-disabled);
66
+ }
67
+
68
+ .fw-pulldown-item.selected {
69
+ color: var(--cs-white-selected);
70
+ background-color: var(--cs-white-background-selected);
71
+ }
72
+
73
+ .fw-pulldown-item:hover,
74
+ .fw-pulldown-item.selected:hover {
75
+ color: var(--cs-white-hover);
76
+ background-color: var(--cs-white-background-hover);
77
+ }
78
+
79
+ .fw-pulldown li:last-child .fw-pulldown-item {
80
+ border-bottom: 0 none;
81
+ }
82
+
83
+ .fw-pulldown-item .fw-icon-right {
84
+ position: absolute;
85
+ right: 10px;
86
+ }
87
+
88
+ .fw-pulldown li {
89
+ position: relative;
90
+ }
91
+
92
+ .fw-pulldown hr {
93
+ width: 80%;
94
+ display: block;
95
+ height: 1px;
96
+ border: 0;
97
+ background-color: var(--pulldown-separator-color);
98
+ }
99
+
100
+ .fw-pulldown .delete-comment::after {
101
+ font-family: "Font Awesome 7 Free", monospace;
102
+ content: "\f2ed";
103
+ opacity: 0.4;
104
+ float: right;
105
+ display: block;
106
+ }
107
+
108
+ .fw-pulldown-icon {
109
+ margin-left: 0;
110
+ }
111
+
112
+ .fw-pulldown input[type="radio"] {
113
+ display: none;
114
+ }