cft-builder 0.1.85 → 0.1.87

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,64 @@
1
+
2
+ .likert {
3
+ --likert-rows: 11;
4
+ /* display: inline-grid;
5
+ max-width: 900px; */
6
+ display: grid;
7
+
8
+ grid-auto-rows: 1fr;
9
+ /* gap: 1em; */
10
+ grid-template-columns: repeat(var(--likert-rows), minmax(0, 1fr));
11
+ }
12
+
13
+ @media only screen and (max-width: 680px) {
14
+ .likert {
15
+ grid-template-columns: minmax(0, 400px);
16
+ justify-content: center;
17
+ }
18
+ }
19
+
20
+
21
+ .likert label {
22
+ border: 1px solid var(--primary-color) !important;
23
+ border-radius: 5px;
24
+ }
25
+
26
+ .likert input {
27
+ max-width: 250px;
28
+ position: fixed;
29
+ opacity: 0;
30
+ pointer-events: none;
31
+ }
32
+
33
+
34
+ .likert span {
35
+
36
+ /* border-radius: 5px; */
37
+ display: flex;
38
+ justify-content: center;
39
+ align-items: center;
40
+ text-align: center;
41
+ box-sizing: border-box;
42
+ width: 100%;
43
+ height: 100%;
44
+ padding: 10px;
45
+ background: #dcdcdc00;
46
+ transition: background .2s ease-in-out;
47
+ }
48
+
49
+ .likert input:checked+span {
50
+ outline: var(--primary-color) auto 1px;
51
+ background: var(--primary-color) !important;
52
+ color:#fff;
53
+ }
54
+
55
+ .likert input:focus+span {
56
+ /* outline: -webkit-focus-ring-color auto 1px; */
57
+ background: var(--primary-color)
58
+ }
59
+
60
+ .likert span:hover {
61
+ background:var(--primary-color);
62
+ color:#fff;
63
+ /* outline: #0F8BFD auto 0.5px; */
64
+ }
@@ -0,0 +1,63 @@
1
+ .emoji {
2
+ --emoji-rows: 5;
3
+ /* display: inline-grid;
4
+ max-width: 900px; */
5
+ display: grid;
6
+
7
+ grid-auto-rows: 1fr;
8
+ /* gap: 1em; */
9
+ grid-template-columns: repeat(var(--emoji-rows), minmax(0, 1fr));
10
+ }
11
+
12
+ @media only screen and (max-width: 680px) {
13
+ .emoji {
14
+ grid-template-columns: minmax(0, 400px);
15
+ justify-content: center;
16
+ }
17
+ }
18
+
19
+
20
+ .emoji label {
21
+ border: 1px solid var(--primary-color) !important;
22
+ /* border-radius: 5px; */
23
+ }
24
+
25
+ .emoji input {
26
+ max-width: 250px;
27
+ position: fixed;
28
+ opacity: 0;
29
+ pointer-events: none;
30
+ }
31
+
32
+
33
+ .emoji span {
34
+
35
+ /* border-radius: 5px; */
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ text-align: center;
40
+ box-sizing: border-box;
41
+ width: 100%;
42
+ height: 100%;
43
+ padding: 10px;
44
+ background: #dcdcdc00;
45
+ transition: background .2s ease-in-out;
46
+ }
47
+
48
+ .emoji input:checked+span {
49
+ outline: var(--primary-color) auto 1px;
50
+ background: var(--primary-color) !important;
51
+ color:#fff;
52
+ }
53
+
54
+ .emoji input:focus+span {
55
+ /* outline: -webkit-focus-ring-color auto 1px; */
56
+ background: var(--primary-color)
57
+ }
58
+
59
+ .emoji span:hover {
60
+ background:var(--primary-color);
61
+ color:#fff;
62
+ /* outline: #0F8BFD auto 0.5px; */
63
+ }
@@ -0,0 +1,34 @@
1
+ @media print {
2
+ html, body {
3
+ height: 100vh; /* Use 100% here to support printing more than a single page*/
4
+ margin: 0 !important;
5
+ padding: 0 !important;
6
+ overflow: hidden;
7
+ }
8
+ }
9
+ @media all {
10
+ .page-break {
11
+ display: none;
12
+ }
13
+ }
14
+
15
+ @media print {
16
+ html, body {
17
+ height: initial !important;
18
+ overflow: initial !important;
19
+ -webkit-print-color-adjust: exact;
20
+ }
21
+ }
22
+
23
+ @media print {
24
+ .page-break {
25
+ margin-top: 1rem;
26
+ display: block;
27
+ page-break-before: auto;
28
+ }
29
+ }
30
+
31
+ @page {
32
+ size: auto;
33
+ margin: 20mm;
34
+ }
@@ -0,0 +1,181 @@
1
+ // Builder All CSS
2
+
3
+ .builder-row-column
4
+ {
5
+ min-width: 375px;
6
+ }
7
+
8
+
9
+ .builder-panel-icons{
10
+ display: none !important;
11
+ }
12
+ .page-block a, .page-block p {
13
+ color: #000 !important;
14
+ }
15
+
16
+ .page-block {
17
+ color: #000 !important;
18
+ background-color: #fff !important;
19
+ }
20
+ .pdf .p-panel:hover {
21
+ border: 1px dotted #0F8BFD !important;
22
+ border-radius: 8px !important;
23
+ .builder-panel-icons {
24
+ display: block !important;
25
+
26
+ }
27
+ .pi, .p-panel-title {
28
+ color: #0F8BFD !important;
29
+ }
30
+ }
31
+
32
+ .row-editor-block {
33
+
34
+ border: 1px dotted #ae0ffd !important;
35
+ // border-radius: 8px !important;
36
+ position: relative;
37
+ }
38
+
39
+
40
+ .row-setting-block-pdf-editor{
41
+ display: none !important;
42
+ width: 120px;
43
+ position: absolute;
44
+ z-index: 99;
45
+ margin: 0 auto;
46
+ // margin-top: -26px;
47
+ left: 0;
48
+ right: 0;
49
+ padding: 5px;
50
+ background: #371576;
51
+ // border-top-right-radius: 8px;
52
+ // border-top-left-radius: 8px;
53
+ button {
54
+ background-color: rgba(0, 0, 0, 0);
55
+ border:none;
56
+ color: #fff !important;
57
+
58
+ }
59
+
60
+ .pdf-setting-container{
61
+ text-align: center;
62
+
63
+ }
64
+ }
65
+ .row-setting-block-pdf-editor-bottom{
66
+
67
+ width: 120px;
68
+ position: absolute;
69
+ z-index: 99;
70
+ margin: 0 auto;
71
+ // margin-top: -26px;
72
+ left: 0;
73
+ right: 0;
74
+ bottom:0;
75
+ padding: 5px;
76
+ background: #371576;
77
+ // border-top-right-radius: 8px;
78
+ // border-top-left-radius: 8px;
79
+ button {
80
+ background-color: rgba(0, 0, 0, 0);
81
+ border:none;
82
+ color: #fff !important;
83
+
84
+ }
85
+
86
+ .pdf-setting-container{
87
+ text-align: center;
88
+
89
+ }
90
+ }
91
+ .row-editor-block:hover {
92
+ .row-setting-block-pdf-editor{
93
+ display: inline !important;
94
+ }
95
+ }
96
+
97
+ .builder-sidebar-item {
98
+ white-space: nowrap;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
101
+
102
+ }
103
+
104
+
105
+ .file-input-container {
106
+ position: relative;
107
+ overflow: hidden;
108
+ display: inline-block;
109
+ cursor: pointer;
110
+ border: 1px solid #ccc;
111
+ padding: 4px 8px;
112
+ border-radius: 4px;
113
+ }
114
+
115
+ /* Style the file input to be transparent and positioned on top of the container */
116
+ .file-input-container input[type="file"] {
117
+ position: absolute;
118
+ top: 0;
119
+ left: 0;
120
+ opacity: 0;
121
+ cursor: pointer;
122
+ }
123
+
124
+ /* Style the text inside the container */
125
+ .file-input-text {
126
+ white-space: nowrap;
127
+ overflow: hidden;
128
+ text-overflow: ellipsis;
129
+ }
130
+
131
+ .text-field{
132
+ background-color: rgba(0,0,0,0);
133
+ border: none;
134
+ color: #fff;
135
+ }
136
+
137
+ .history-list-item .p-button {
138
+ display: none;
139
+
140
+ }
141
+ .page-panel .page-pannel-icons {
142
+ display: none;
143
+ }
144
+ .page-panel:hover {
145
+ .page-pannel-icons {
146
+ display: inline;
147
+ }
148
+ }
149
+
150
+ .history-list-item:hover {
151
+ .p-button {
152
+ display: inline;
153
+ }
154
+
155
+ }
156
+ table > tbody > tr {
157
+ .table-action-buttons{
158
+ opacity: 0;
159
+ }
160
+ }
161
+
162
+ .hr-divider {
163
+ padding-top: 20px;
164
+ border-bottom: 1px solid #000;
165
+ }
166
+ .quick-setting .p-button{
167
+ width: auto !important;
168
+ }
169
+ .quick-setting .p-buttonset {
170
+ width: auto !important;
171
+ display: block !important;
172
+ }
173
+
174
+ // .p-rating-item {
175
+ // svg{
176
+ // width: 50 !important;
177
+ // height: 50 !important;
178
+ // }
179
+
180
+
181
+ // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cft-builder",
3
- "version": "0.1.85",
3
+ "version": "0.1.87",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"