testio-tailwind 3.18.0 → 3.20.0
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/.nvmrc +1 -0
- package/CLAUDE_DESIGN_SYSTEM_REFERENCE.md +1978 -0
- package/package.json +1 -1
- package/src/_includes/page-with-sidebar-dark.njk +1 -1
- package/src/_includes/page-with-sidebar.njk +1 -1
- package/src/assets/fonts/testio.eot +0 -0
- package/src/assets/fonts/testio.svg +5 -2
- package/src/assets/fonts/testio.ttf +0 -0
- package/src/assets/fonts/testio.woff +0 -0
- package/src/assets/fonts/testio.woff2 +0 -0
- package/src/assets/stylesheets/app.css +2 -0
- package/src/assets/stylesheets/components/actionbar.css +4 -4
- package/src/assets/stylesheets/components/buttons.css +27 -18
- package/src/assets/stylesheets/components/checkboxes_radiobuttons.css +58 -41
- package/src/assets/stylesheets/components/designsystem/designsystem-styles.css +8 -0
- package/src/assets/stylesheets/components/drawer.css +9 -18
- package/src/assets/stylesheets/components/dropdown.css +2 -3
- package/src/assets/stylesheets/components/forms.css +6 -4
- package/src/assets/stylesheets/components/iconfont.css +20 -1
- package/src/assets/stylesheets/components/modals.css +9 -17
- package/src/assets/stylesheets/components/search.css +2 -2
- package/src/assets/stylesheets/components/select.css +3 -4
- package/src/assets/stylesheets/components/selectable_token.css +22 -19
- package/src/assets/stylesheets/components/tables.css +59 -5
- package/src/assets/stylesheets/components/toggleswitch.css +7 -4
- package/src/assets/stylesheets/components/typography.css +8 -0
- package/src/assets/stylesheets/components/uploads.css +17 -8
- package/src/assets/stylesheets/components/url_collapsable.css +32 -0
- package/src/assets/stylesheets/plugin_themes/dropzone.css +1 -1
- package/src/assets/stylesheets/plugin_themes/select2.css +15 -18
- package/src/assets/stylesheets/plugin_themes/tom_select.css +7 -2
- package/src/assets/stylesheets/plugin_themes/trix_editor.css +1 -1
- package/src/assets/stylesheets/tailwind_theme_dark.css +2 -1
- package/src/pages/agenticqa/email.njk +1 -1
- package/src/pages/agenticqa/tables-formrow.haml +68 -0
- package/src/pages/agenticqa/tables-grid.haml +125 -0
- package/src/pages/agenticqa/url_collapsable.haml +17 -0
- package/src/pages/components/drawer_filter.haml +1 -1
- package/src/pages/components/modal_details.haml +8 -8
- package/src/pages/forms/radiobuttons.haml +32 -6
- package/src/pages/forms/uploads.pug +3 -3
- package/src/static/app.bundled.js +0 -6663
|
@@ -18,10 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.modal-wrapper[open] .modal {
|
|
21
|
-
@apply w-modal-md mt-spacing rounded bg-white dark:bg-gray-800;
|
|
22
|
-
position: relative;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
21
|
+
@apply relative flex flex-col w-modal-md mt-spacing rounded bg-white dark:bg-gray-800 dark:shadow-xl dark:border-1 dark:border-bordercolor;
|
|
25
22
|
height: auto;
|
|
26
23
|
max-width: 100vw;
|
|
27
24
|
pointer-events: all;
|
|
@@ -37,40 +34,35 @@
|
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
.modal-wrapper[open] .modal-header {
|
|
40
|
-
|
|
41
|
-
justify-content: space-between;
|
|
42
|
-
align-items: start;
|
|
43
|
-
padding: 0;
|
|
37
|
+
@apply flex justify-between items-start p-0;
|
|
44
38
|
}
|
|
45
39
|
|
|
46
40
|
.modal-wrapper[open] .modal-title {
|
|
47
|
-
@apply p-spacing text-heading-3;
|
|
41
|
+
@apply p-spacing text-heading-3 dark:grow dark:text-center dark:pl-lg dark:pr-0;
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
.modal-wrapper[open] .modal-header .close-btn {
|
|
51
|
-
@apply rounded-none rounded-tr cursor-pointer;
|
|
45
|
+
@apply rounded-none rounded-tr cursor-pointer dark:text-label-color dark:rounded dark:mt-xs dark:mr-xs;
|
|
52
46
|
}
|
|
53
47
|
|
|
54
48
|
.modal-wrapper[open] .modal-content {
|
|
55
|
-
@apply p-spacing pt-0;
|
|
49
|
+
@apply p-spacing pt-0 dark:text-center;
|
|
56
50
|
}
|
|
57
51
|
|
|
58
52
|
.modal-wrapper[open] .modal-footer {
|
|
59
|
-
@apply py-sm px-spacing bg-actionbar rounded-b;
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: start;
|
|
53
|
+
@apply flex justify-start py-sm px-spacing bg-actionbar rounded-b dark:justify-center;
|
|
62
54
|
}
|
|
63
55
|
|
|
64
56
|
.modal-footer .btn {
|
|
65
|
-
@apply mr-xs;
|
|
57
|
+
@apply mr-xs last:mr-0;
|
|
66
58
|
}
|
|
67
59
|
|
|
68
60
|
.modal-footer .btn-primary {
|
|
69
|
-
@apply bg-white text-primary border-0 hover:bg-link-hover hover:border-link-hover hover:text-white dark:bg-primary dark:text-
|
|
61
|
+
@apply bg-white text-primary border-0 hover:bg-link-hover hover:border-link-hover hover:text-white dark:bg-primary dark:text-black;
|
|
70
62
|
}
|
|
71
63
|
|
|
72
64
|
.modal-footer .btn-secondary {
|
|
73
|
-
@apply bg-transparent text-white border-white hover:bg-link-hover hover:border-link-hover hover:text-white;
|
|
65
|
+
@apply bg-transparent text-white border-white hover:bg-link-hover hover:border-link-hover hover:text-white dark:border-primary dark:text-primary;
|
|
74
66
|
}
|
|
75
67
|
|
|
76
68
|
.modal-footer .btn.disabled,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.form-search.inverted input {
|
|
16
|
-
@apply text-white border-primary bg-transparent;
|
|
16
|
+
@apply text-white border-primary bg-transparent dark:border-bordercolor dark:bg-card focus:border-link-hover focus:outline-1 focus:outline-link-hover;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.form-search .btn-clear,
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.form-search.direct-input {
|
|
66
66
|
&::before {
|
|
67
|
-
@apply absolute inline-block w-icon h-icon top-xs left-
|
|
67
|
+
@apply absolute inline-block w-icon h-icon top-xs left-sm bg-gray;
|
|
68
68
|
content: "";
|
|
69
69
|
mask-image: url("/assets/images/icons/search.svg");
|
|
70
70
|
mask-repeat: no-repeat;
|
|
@@ -23,12 +23,11 @@ select {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.form-select-native select {
|
|
26
|
-
@apply relative flex flex-row w-full justify-start items-stretch min-h-btn py-xs px-sm text-base text-white rounded bg-primary outline-hidden border-0 cursor-pointer;
|
|
26
|
+
@apply relative flex flex-row w-full justify-start items-stretch min-h-btn py-xs px-sm text-base text-white rounded bg-primary outline-hidden border-0 cursor-pointer dark:bg-gray-700;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.form-select-native .select-wrapper select:disabled {
|
|
30
|
-
@apply border border-bordercolor text-disabled cursor-not-allowed hover:text-disabled bg-transparent;
|
|
31
|
-
background-image: url("/assets/images/pattern-striped-bright.png");
|
|
30
|
+
@apply border border-bordercolor text-disabled cursor-not-allowed hover:text-disabled bg-transparent bg-pattern-disabled-bright dark:bg-pattern-disabled-dark;
|
|
32
31
|
background-repeat: repeat;
|
|
33
32
|
&::after {
|
|
34
33
|
@apply bg-disabled;
|
|
@@ -43,7 +42,7 @@ select {
|
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
.form-select-native option {
|
|
46
|
-
@apply appearance-none py-xxs;
|
|
45
|
+
@apply appearance-none py-xxs first:rounded-t last:rounded-b;
|
|
47
46
|
&:hover,
|
|
48
47
|
&:focus {
|
|
49
48
|
@apply bg-link-hover;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.selectable-token label {
|
|
7
|
-
@apply relative inline-flex items-center justify-start h-btn m-0 py-xs px-md text-primary bg-transparent border border-primary rounded cursor-pointer;
|
|
7
|
+
@apply relative inline-flex items-center justify-start h-btn m-0 py-xs px-md text-primary bg-transparent border border-primary rounded cursor-pointer dark:border-bordercolor dark:rounded-md;
|
|
8
8
|
line-height: normal;
|
|
9
9
|
&:hover, &:focus {
|
|
10
10
|
@apply text-white bg-link-hover border-link-hover;
|
|
@@ -106,23 +106,6 @@
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
.toggle-btn-group {
|
|
111
|
-
@apply flex;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.toggle-btn-group .selectable-token label {
|
|
115
|
-
@apply rounded-none;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.toggle-btn-group .selectable-token:first-child label {
|
|
119
|
-
@apply rounded-l;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.toggle-btn-group .selectable-token:last-child label {
|
|
123
|
-
@apply rounded-r;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
109
|
/*////// Token LG /////*/
|
|
127
110
|
|
|
128
111
|
.selectable-token.lg label,
|
|
@@ -143,7 +126,7 @@
|
|
|
143
126
|
}
|
|
144
127
|
|
|
145
128
|
.selectable-token.lg .icon {
|
|
146
|
-
@apply flex justify-center items-center mb-xxs w-btn-lg h-btn-lg text-icon-lg text-primary border border-primary rounded;
|
|
129
|
+
@apply flex justify-center items-center mb-xxs w-btn-lg h-btn-lg text-icon-lg text-primary border border-primary rounded dark:rounded-md dark:border-bordercolor;
|
|
147
130
|
}
|
|
148
131
|
|
|
149
132
|
.selectable-token.lg input:checked + label .icon {
|
|
@@ -191,3 +174,23 @@
|
|
|
191
174
|
@apply block text-icon-xl h-icon-xl my-xs;
|
|
192
175
|
}
|
|
193
176
|
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/*///// Toggle buttons /////*/
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
.toggle-btn-group {
|
|
183
|
+
@apply flex;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.toggle-btn-group .selectable-token label {
|
|
187
|
+
@apply rounded-none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.toggle-btn-group .selectable-token:first-child label {
|
|
191
|
+
@apply rounded-l dark:rounded-l-md;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.toggle-btn-group .selectable-token:last-child label {
|
|
195
|
+
@apply rounded-r dark:rounded-r-md;
|
|
196
|
+
}
|
|
@@ -169,6 +169,8 @@
|
|
|
169
169
|
word-break: break-word;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
/*///// Cellstyle table /////*/
|
|
173
|
+
|
|
172
174
|
td.action-cell,
|
|
173
175
|
.table-cellstyle td.action-cell {
|
|
174
176
|
@apply text-right min-w-auto space-x-1.5 whitespace-nowrap;
|
|
@@ -179,7 +181,8 @@ td.action-cell,
|
|
|
179
181
|
border-collapse: separate;
|
|
180
182
|
}
|
|
181
183
|
|
|
182
|
-
.table-cellstyle th
|
|
184
|
+
.table-cellstyle th
|
|
185
|
+
.table-cellstyle .th {
|
|
183
186
|
@apply relative align-middle pl-2.5 pr-0.5 py-1 text-sm font-normal dark:text-base dark:uppercase;
|
|
184
187
|
}
|
|
185
188
|
|
|
@@ -220,7 +223,8 @@ td.action-cell,
|
|
|
220
223
|
mask-image: url("/assets/images/icons/check-thick.svg");
|
|
221
224
|
}
|
|
222
225
|
|
|
223
|
-
.table-cellstyle td
|
|
226
|
+
.table-cellstyle td,
|
|
227
|
+
.table-cellstyle .td {
|
|
224
228
|
@apply relative px-2.5 py-1.5 last:pr-3 min-w-cell min-h-11 align-top text-sm bg-card;
|
|
225
229
|
}
|
|
226
230
|
|
|
@@ -320,16 +324,22 @@ td.action-cell,
|
|
|
320
324
|
|
|
321
325
|
.table-grid thead,
|
|
322
326
|
.table-grid tbody,
|
|
323
|
-
.table-grid tr
|
|
327
|
+
.table-grid tr,
|
|
328
|
+
.table-grid .thead,
|
|
329
|
+
.table-grid .tbody,
|
|
330
|
+
.table-grid .tr {
|
|
324
331
|
display: contents;
|
|
325
332
|
}
|
|
326
333
|
|
|
327
334
|
.table-grid th,
|
|
328
|
-
.table-grid td
|
|
335
|
+
.table-grid td,
|
|
336
|
+
.table-grid .th,
|
|
337
|
+
.table-grid .td {
|
|
329
338
|
@apply w-full h-full whitespace-normal;
|
|
330
339
|
}
|
|
331
340
|
|
|
332
|
-
.table-grid th
|
|
341
|
+
.table-grid th,
|
|
342
|
+
.table-grid .th {
|
|
333
343
|
@apply flex justify-start items-center min-h-8;
|
|
334
344
|
}
|
|
335
345
|
|
|
@@ -337,6 +347,50 @@ td.action-cell,
|
|
|
337
347
|
@apply flex-1;
|
|
338
348
|
}
|
|
339
349
|
|
|
350
|
+
|
|
351
|
+
/*////// Table with Rowgroups, cells are visually merged, but rows are separated //////*/
|
|
352
|
+
|
|
353
|
+
.table-rowgroups {
|
|
354
|
+
@apply gap-0;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.table-rowgroups th,
|
|
358
|
+
.table-rowgroups .th {
|
|
359
|
+
@apply h-auto p-xs mb-xxs text-label-color dark:uppercase;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.table-rowgroups td,
|
|
363
|
+
.table-rowgroups .td {
|
|
364
|
+
@apply h-auto p-md mb-xxs bg-card text-label-color text-base;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.table-rowgroups td.checkbox-column,
|
|
368
|
+
.table-rowgroups .td.checkbox-column {
|
|
369
|
+
@apply pr-0;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.table-rowgroups td.action-column,
|
|
373
|
+
.table-rowgroups .td.action-column {
|
|
374
|
+
@apply flex flex-row justify-end pl-xs pt-xs;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.table-rowgroups .formrow .td {
|
|
378
|
+
@apply mb-0 lg:mb-xxs pb-0 last:pb-md;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.table-rowgroups .formrow .checkbox-column {
|
|
382
|
+
@apply mb-xxs;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.table-rowgroups .formrow .formrow-actions {
|
|
386
|
+
@apply flex flex-row lg:flex-col mb-xxs;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.formrow .formrow-actions .btn {
|
|
390
|
+
@apply mr-xs last:mr-0 lg:mb-xxs lg:last:mb-0;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
|
|
340
394
|
/*////// Selectable cells //////*/
|
|
341
395
|
|
|
342
396
|
.table-cellstyle .cell-selectable {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.toggle-switch-label {
|
|
12
|
-
@apply inline-block ml-xs text-base font-normal
|
|
12
|
+
@apply inline-block ml-xs text-base font-normal cursor-pointer dark:text-appbody-textcolor;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.toggle-switch input,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.toggle-switch .slider {
|
|
21
|
-
@apply absolute top-0 left-0 right-0 bottom-0 bg-gray-light transition-transform cursor-pointer;
|
|
21
|
+
@apply absolute top-0 left-0 right-0 bottom-0 bg-gray-light transition-transform cursor-pointer dark:bg-gray-700;
|
|
22
22
|
border-radius: 20px;
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.toggle-switch.disabled .slider {
|
|
51
|
-
@apply border border-disabled;
|
|
52
|
-
background-image: url("/assets/images/pattern-striped-bright.png");
|
|
51
|
+
@apply border border-bordercolor bg-pattern-disabled-bright dark:bg-pattern-disabled-dark;
|
|
53
52
|
background-repeat: repeat;
|
|
54
53
|
background-color: transparent;
|
|
55
54
|
cursor: not-allowed;
|
|
@@ -60,6 +59,10 @@
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
|
|
62
|
+
.dark .toggle-switch.disabled .slider::before {
|
|
63
|
+
@apply bg-gray-700;
|
|
64
|
+
}
|
|
65
|
+
|
|
63
66
|
.toggle-switch input:disabled + .slider,
|
|
64
67
|
.toggle-switch input:disabled + label {
|
|
65
68
|
background-color: transparent;
|
|
@@ -48,6 +48,14 @@ a {
|
|
|
48
48
|
@apply text-link font-semibold leading-5 hover:text-link-hover hover:underline cursor-pointer;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
a.white {
|
|
52
|
+
@apply text-white hover:text-link-hover;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
a.black {
|
|
56
|
+
@apply text-black hover:text-link-hover;
|
|
57
|
+
}
|
|
58
|
+
|
|
51
59
|
code {
|
|
52
60
|
@apply font-mono not-italic text-sm;
|
|
53
61
|
}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.attachment {
|
|
21
|
-
@apply relative inline-flex flex-col h-auto w-xxl overflow-visible rounded;
|
|
21
|
+
@apply relative inline-flex flex-col h-auto w-xxl overflow-visible rounded dark:rounded-md select-none;
|
|
22
22
|
|
|
23
23
|
& .attachment-thumb {
|
|
24
|
-
@apply relative flex justify-center items-center w-xxl h-xxl overflow-hidden border-1 border-primary bg-primary
|
|
24
|
+
@apply relative flex justify-center items-center w-xxl h-xxl overflow-hidden border-1 border-primary bg-primary text-white dark:border-bordercolor rounded dark:rounded-md;
|
|
25
25
|
|
|
26
26
|
& .icon {
|
|
27
27
|
@apply text-icon-lg;
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
& .attachment-name {
|
|
40
|
-
@apply mt-xxs text-xs font-normal text-center text-
|
|
40
|
+
@apply mt-xxs text-xs font-normal text-center text-appbody-textcolor line-clamp-3 leading-tight whitespace-normal break-all;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
& .attachment-btn {
|
|
44
|
-
@apply absolute flex justify-center top-0 right-0 w-btn-sm h-btn-sm p-0 text-icon rounded-tr;
|
|
44
|
+
@apply absolute flex justify-center top-0 right-0 w-btn-sm h-btn-sm p-0 text-icon rounded-tr dark:rounded-md;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
/*///// Selectable / checkbox attachment /////*/
|
|
58
58
|
|
|
59
59
|
.attachment.selectable {
|
|
60
60
|
@apply ml-spacing;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.attachment.selectable .attachment-thumb {
|
|
72
|
-
@apply bg-gray border border-bordercolor hover:border-link-hover hover:bg-link-hover;
|
|
72
|
+
@apply bg-gray border border-bordercolor hover:border-link-hover hover:bg-link-hover select-none;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.attachment.selectable label::before {
|
|
@@ -77,10 +77,19 @@
|
|
|
77
77
|
content: "";
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
.dark .attachment.selectable label::before {
|
|
81
|
+
@apply border-label-color rounded-sm;
|
|
82
|
+
}
|
|
83
|
+
|
|
80
84
|
.attachment.selectable input:checked + label::before {
|
|
81
|
-
@apply bg-info;
|
|
82
|
-
|
|
85
|
+
@apply bg-info border-info;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.attachment.selectable input:checked + label::after {
|
|
89
|
+
@apply absolute top-0 -left-spacing h-md w-md bg-white border-0;
|
|
90
|
+
mask-image: url("/assets/images/icons/checkbox-background-sm.svg");
|
|
83
91
|
mask-repeat: no-repeat;
|
|
92
|
+
content: "";
|
|
84
93
|
}
|
|
85
94
|
|
|
86
95
|
.attachment.selectable input:checked + label .attachment-thumb {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*/// URL collapsable ///*/
|
|
2
|
+
|
|
3
|
+
.url-collapsable {
|
|
4
|
+
@apply relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.url-collapsable .trigger {
|
|
8
|
+
@apply text-white hover:text-link-hover cursor-pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.url-collapsable .trigger .text-open {
|
|
12
|
+
@apply hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.url-collapsable[open] .trigger {
|
|
16
|
+
@apply absolute bottom-0;
|
|
17
|
+
.text-open {
|
|
18
|
+
@apply block;
|
|
19
|
+
}
|
|
20
|
+
.text-closed {
|
|
21
|
+
@apply hidden;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.url-collapsable[open] {
|
|
26
|
+
@apply pb-md;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.url-collapsable p {
|
|
30
|
+
@apply mb-xs text-label-color;
|
|
31
|
+
word-break: break-all;
|
|
32
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* Dropzone plugin */
|
|
3
3
|
|
|
4
4
|
.dropzone {
|
|
5
|
-
@apply relative flex justify-center items-start flex-wrap min-h-xxl p-md border border-dashed border-primary rounded text-
|
|
5
|
+
@apply relative flex flex-col justify-center items-start flex-wrap min-h-xxl p-md border border-dashed border-primary rounded text-appbody-textcolor hover:border-link-hover hover:text-link-hover cursor-pointer;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.dz-preview {
|
|
@@ -91,11 +91,11 @@ select.select2 {
|
|
|
91
91
|
.select2-container {
|
|
92
92
|
.select2-selection,
|
|
93
93
|
.select2-search__field {
|
|
94
|
-
@apply bg-primary border-primary text-white;
|
|
94
|
+
@apply bg-primary border-primary text-white dark:text-white dark:bg-gray-700 dark:border-0;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.select2-dropdown {
|
|
98
|
-
@apply bg-primary border-link-hover text-white;
|
|
98
|
+
@apply bg-primary border-link-hover text-white dark:bg-gray-700 dark:border-0;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.select2-selection__arrow {
|
|
@@ -107,7 +107,7 @@ select.select2 {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.select2-search__field {
|
|
110
|
-
@apply bg-petrol-dark;
|
|
110
|
+
@apply bg-petrol-dark dark:bg-gray-800 dark:rounded-s-md;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.select2-results__option--highlighted {
|
|
@@ -116,15 +116,15 @@ select.select2 {
|
|
|
116
116
|
|
|
117
117
|
&.select2-container--open {
|
|
118
118
|
&.select2-container--below .select2-selection {
|
|
119
|
-
@apply border-primary;
|
|
119
|
+
@apply border-primary dark:border-0;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
&.select2-container--above .select2-selection {
|
|
123
|
-
@apply border-primary;
|
|
123
|
+
@apply border-primary dark:border-0;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.select2-dropdown--below {
|
|
127
|
-
@apply border-t border-white;
|
|
127
|
+
@apply border-t border-white dark:border-bordercolor;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.select2-dropdown--above {
|
|
@@ -143,12 +143,12 @@ select.select2 {
|
|
|
143
143
|
@apply min-h-btn p-xs;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.select2-container .select2-
|
|
147
|
-
@apply
|
|
146
|
+
.select2-container .select2-selection--multiple .select2-search.select2-search--inline {
|
|
147
|
+
@apply relative w-full m-0 p-0;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.select2-
|
|
151
|
-
@apply
|
|
150
|
+
.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
|
|
151
|
+
@apply m-0 px-sm py-xxs dark:bg-black;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
|
@@ -156,14 +156,14 @@ select.select2 {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.select2-container .select2-search--inline .select2-search__field {
|
|
159
|
-
@apply bg-petrol-dark text-white px-xs;
|
|
159
|
+
@apply bg-petrol-dark text-white px-xs dark:bg-transparent;
|
|
160
160
|
width: 100% !important;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/*/ multi select items */
|
|
164
164
|
|
|
165
165
|
.select2-container--testio li.select2-selection__choice {
|
|
166
|
-
@apply relative inline-flex flex-row-reverse flex-grow-0 items-stretch mr-xxs mb-xxs pl-xxs pr-0 text-sm text-black bg-white rounded;
|
|
166
|
+
@apply relative inline-flex flex-row-reverse flex-grow-0 items-stretch mr-xxs mb-xxs pl-xxs pr-0 text-sm text-black bg-white rounded dark:text-white dark:bg-gray-600 dark:border-0;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.select2-selection__choice__display {
|
|
@@ -171,9 +171,7 @@ select.select2 {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.select2-selection__choice__remove {
|
|
174
|
-
@apply flex justify-center items-center w-btn-xs text-primary rounded-r bg-transparent border-0;
|
|
175
|
-
margin-top: -2px;
|
|
176
|
-
margin-bottom: -2px;
|
|
174
|
+
@apply flex justify-center items-center w-btn-xs text-primary rounded-r bg-transparent border-0 dark:text-white cursor-pointer;
|
|
177
175
|
font-size: 0;
|
|
178
176
|
&::after {
|
|
179
177
|
@apply bg-primary;
|
|
@@ -195,7 +193,7 @@ select.select2 {
|
|
|
195
193
|
/*///// Optgroups /////*/
|
|
196
194
|
|
|
197
195
|
.select2-results__group {
|
|
198
|
-
@apply py-xs px-sm;
|
|
196
|
+
@apply py-xs px-sm dark:pb-sm dark:text-label dark:text-label-color dark:uppercase dark:font-normal;
|
|
199
197
|
}
|
|
200
198
|
|
|
201
199
|
.select2-results__option.select2-results__option--group {
|
|
@@ -209,8 +207,7 @@ select.select2 {
|
|
|
209
207
|
/*///// Disabled /////*/
|
|
210
208
|
|
|
211
209
|
.select2-container--disabled .select2-selection {
|
|
212
|
-
@apply border border-bordercolor text-disabled cursor-not-allowed bg-transparent;
|
|
213
|
-
background-image: url("/assets/images/pattern-striped-bright.png");
|
|
210
|
+
@apply border border-bordercolor text-disabled cursor-not-allowed bg-transparent bg-pattern-disabled-bright dark:bg-pattern-disabled-dark;
|
|
214
211
|
background-repeat: repeat;
|
|
215
212
|
&:hover {
|
|
216
213
|
@apply text-disabled;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
/*///// Tom-Select theme https://tom-select.js.org /////*/
|
|
3
3
|
|
|
4
4
|
.ts-control {
|
|
5
|
-
@apply relative overflow-hidden flex w-full justify-start items-stretch min-h-btn py-xs pl-sm text-base rounded text-white dark:text-white;
|
|
5
|
+
@apply relative overflow-hidden flex w-full justify-start items-stretch min-h-btn py-xs pl-sm text-base rounded text-white border-0 dark:text-white;
|
|
6
6
|
padding-right: 40px !important;
|
|
7
|
+
line-height: 1.4;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
.ts-control input {
|
|
@@ -95,6 +96,10 @@
|
|
|
95
96
|
|
|
96
97
|
/* Multi select item */
|
|
97
98
|
|
|
99
|
+
.ts-wrapper.multi.has-items .ts-control input {
|
|
100
|
+
@apply pt-xxs! pb-xxs!;
|
|
101
|
+
}
|
|
102
|
+
|
|
98
103
|
.ts-wrapper.multi .ts-control div.item {
|
|
99
104
|
@apply relative flex-row flex-grow-0 items-stretch mr-xs pl-xs pr-0 text-sm text-black bg-white dark:text-white dark:bg-gray-600 rounded;
|
|
100
105
|
margin-top: 2px;
|
|
@@ -108,7 +113,7 @@
|
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
a::after {
|
|
111
|
-
@apply inline-block w-xs h-xs bg-primary;
|
|
116
|
+
@apply inline-block w-xs h-xs bg-primary dark:bg-white;
|
|
112
117
|
content: "";
|
|
113
118
|
mask-image: url("/assets/images/icons/cross-thick.svg");
|
|
114
119
|
}
|
|
@@ -46,7 +46,7 @@ trix-toolbar .trix-button-row {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
trix-toolbar .trix-button {
|
|
49
|
-
@apply inline-flex justify-center items-center flex-shrink-0 w-btn-sm h-btn-sm min-w-btn-sm border-0 rounded-xs bg-transparent;
|
|
49
|
+
@apply inline-flex justify-center items-center flex-shrink-0 w-btn-sm h-btn-sm min-w-btn-sm border-0 rounded-xs bg-transparent dark:rounded-sm;
|
|
50
50
|
font-size: 0; /* Fix for safari bug, we don't need to show any text in those buttons */
|
|
51
51
|
&:hover,
|
|
52
52
|
&:focus {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--color-appbody: #181818;
|
|
6
6
|
--color-appbody-textcolor: #f2f2f2;
|
|
7
7
|
--color-header: #1d1d1d;
|
|
8
|
-
--color-actionbar: #
|
|
8
|
+
--color-actionbar: #222222;
|
|
9
9
|
--color-metasidebar: #262626;
|
|
10
10
|
--color-primary: #78eac1;
|
|
11
11
|
--color-link: #8988eb;
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
--card-padding: 30px;
|
|
35
35
|
--spacing-grid-gutter: 40px;
|
|
36
36
|
--spacing-formgrid: 1.25rem;
|
|
37
|
+
--spacing-actionbar: 5rem;
|
|
37
38
|
|
|
38
39
|
/*//// Fontsize ////*/
|
|
39
40
|
--fontsize-card-header: 1.125rem;
|
|
@@ -10,7 +10,7 @@ title: Email Template
|
|
|
10
10
|
<details class="mt-3">
|
|
11
11
|
<summary class="btn btn-sm btn-gray">
|
|
12
12
|
<span class="icon icon-format-code mr-icon-spacing"></span>
|
|
13
|
-
<span>Show source</span>
|
|
13
|
+
<span>Show email source</span>
|
|
14
14
|
</summary>
|
|
15
15
|
<div class="ds-code-preview">
|
|
16
16
|
<pre><code class="code html-preview">{{ section.templateContent | trim }}</code></pre>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
tags: ['agenticqa']
|
|
3
|
+
title: Tables - form row
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
.table-grid.table-rowgroups{style:"grid-template-columns: repeat(3, auto) repeat(1, minmax(12rem, 1fr)) auto;"}
|
|
7
|
+
.thead
|
|
8
|
+
.tr
|
|
9
|
+
.th
|
|
10
|
+
.form-check.sm
|
|
11
|
+
%input{type:'checkbox'}
|
|
12
|
+
.th check title
|
|
13
|
+
.th page type
|
|
14
|
+
.th check description
|
|
15
|
+
.th
|
|
16
|
+
.tbody
|
|
17
|
+
.tr
|
|
18
|
+
.btn.btn-sm.btn-block.btn-subtile.mb-xxs.col-span-5
|
|
19
|
+
.icon.icon-plus.mr-icon-spacing
|
|
20
|
+
Add new check
|
|
21
|
+
%form.formrow.tr
|
|
22
|
+
.td.checkbox-column.row-span-4{class:"lg:row-span-1"}
|
|
23
|
+
.form-check.sm
|
|
24
|
+
%input{type:'checkbox', disabled:"true"}
|
|
25
|
+
.td.col-span-4{class:"lg:col-span-1"}
|
|
26
|
+
.label.mb-xxs{class:"lg:hidden"} Check title
|
|
27
|
+
%input.form-control{type:'text', placeholder:"An input field"}
|
|
28
|
+
.td.col-span-4{class:"lg:col-span-1"}
|
|
29
|
+
.label.mb-xxs{class:"lg:hidden"} Page type
|
|
30
|
+
%select.tom-select.min-w-spacing-4xl{placeholder: "Please select"}
|
|
31
|
+
%option{value: ""}
|
|
32
|
+
%option{value:"Option 1"} Option 1
|
|
33
|
+
%option{value:"Option 2"} Option 2
|
|
34
|
+
%option{value:"Option 3"} Option 3
|
|
35
|
+
%option{value:"Option 4"} ABC
|
|
36
|
+
%option{value:"Option 5"} DEF
|
|
37
|
+
%option{value:"Option 6"} WHY
|
|
38
|
+
%option{value:"Option 7"} XYZ
|
|
39
|
+
.td.col-span-4{class:"lg:col-span-1"}
|
|
40
|
+
.label.mb-xxs{class:"lg:hidden"} Check description
|
|
41
|
+
%textarea.form-control{rows:'1', placeholder:"Textarea"}
|
|
42
|
+
.td.formrow-actions.col-span-4{class:"lg:col-span-1"}
|
|
43
|
+
%button.btn.btn-sm.btn-block.btn-primary Save changes
|
|
44
|
+
%button.btn.btn-sm.btn-block.btn-danger Discard
|
|
45
|
+
%form.formrow.tr
|
|
46
|
+
.td.checkbox-column.row-span-4{class:"lg:col-span-1"}
|
|
47
|
+
.form-check.sm
|
|
48
|
+
%input{type:'checkbox', disabled:"true"}
|
|
49
|
+
.td.col-span-4{class:"lg:col-span-1"}
|
|
50
|
+
.label.mb-xxs{class:"lg:hidden"} Check title
|
|
51
|
+
%input.form-control{type:'text', placeholder:"An input field"}
|
|
52
|
+
.td.col-span-4{class:"lg:col-span-1"}
|
|
53
|
+
.label.mb-xxs{class:"lg:hidden"} Page type
|
|
54
|
+
%select.tom-select.min-w-spacing-4xl{placeholder: "Please select"}
|
|
55
|
+
%option{value: ""}
|
|
56
|
+
%option{value:"Option 1"} Option 1
|
|
57
|
+
%option{value:"Option 2"} Option 2
|
|
58
|
+
%option{value:"Option 3"} Option 3
|
|
59
|
+
%option{value:"Option 4"} ABC
|
|
60
|
+
%option{value:"Option 5"} DEF
|
|
61
|
+
%option{value:"Option 6"} WHY
|
|
62
|
+
%option{value:"Option 7"} XYZ
|
|
63
|
+
.td.col-span-4{class:"lg:col-span-1"}
|
|
64
|
+
.label.mb-xxs{class:"lg:hidden"} Check description
|
|
65
|
+
%textarea.form-control{rows:'1', placeholder:"Textarea"}
|
|
66
|
+
.td.formrow-actions.col-span-4{class:"lg:col-span-1"}
|
|
67
|
+
%button.btn.btn-sm.btn-block.btn-primary Save changes
|
|
68
|
+
%button.btn.btn-sm.btn-block.btn-danger Discard
|