lforms 29.3.1 → 33.2.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/CHANGELOG.md +256 -0
- package/README.md +97 -14
- package/changed-features.md +99 -0
- package/dist/lforms/LICENSE.md +70 -0
- package/dist/lforms/README.md +100 -0
- package/dist/lforms/fhir/R4/lformsFHIR.min.js +2 -0
- package/dist/lforms/fhir/R4/lformsFHIR.min.js.map +1 -0
- package/dist/lforms/fhir/STU3/lformsFHIR.min.js +2 -0
- package/dist/lforms/fhir/STU3/lformsFHIR.min.js.map +1 -0
- package/dist/lforms/fhir/lformsFHIRAll.min.js +2 -0
- package/dist/lforms/fhir/lformsFHIRAll.min.js.map +1 -0
- package/dist/lforms/webcomponent/assets/lib/zone.min.js +134 -0
- package/dist/lforms/webcomponent/down_arrow_gray_10_10.png +0 -0
- package/dist/lforms/webcomponent/favicon.ico +0 -0
- package/dist/lforms/webcomponent/index.html +9 -0
- package/dist/lforms/webcomponent/lhc-forms.js +2471 -0
- package/dist/lforms/webcomponent/magnifying_glass.png +0 -0
- package/dist/lforms/webcomponent/main.js +2464 -0
- package/dist/lforms/webcomponent/main.js.map +1 -0
- package/dist/lforms/webcomponent/polyfills.js +2 -0
- package/dist/lforms/webcomponent/polyfills.js.map +1 -0
- package/dist/lforms/webcomponent/runtime.js +2 -0
- package/dist/lforms/webcomponent/runtime.js.map +1 -0
- package/dist/lforms/webcomponent/scripts.js +3 -0
- package/dist/lforms/webcomponent/scripts.js.map +1 -0
- package/dist/lforms/webcomponent/styles.css +3 -0
- package/dist/lforms/webcomponent/styles.css.map +1 -0
- package/form_definition.md +382 -0
- package/lforms-33.2.0.tgz +0 -0
- package/package.json +94 -88
- package/r4-support.md +147 -0
- package/sdc-support.md +127 -0
- package/app/.npmignore +0 -3
- package/app/images/blank.gif +0 -0
- package/app/images/signal-stop.png +0 -0
- package/app/index.html +0 -10
- package/app/lforms.js +0 -56
- package/app/lforms.tpl.js +0 -964
- package/app/scripts/angular-packages.js +0 -11
- package/app/scripts/bootstrap-decorators.js +0 -31
- package/app/scripts/bower-index.js +0 -14
- package/app/scripts/fhir/R4/export.js +0 -33
- package/app/scripts/fhir/R4/fhirRequire.js +0 -36
- package/app/scripts/fhir/R4/lformsFHIR.js +0 -27260
- package/app/scripts/fhir/R4/sdc-export.js +0 -455
- package/app/scripts/fhir/R4/sdc-import.js +0 -483
- package/app/scripts/fhir/STU3/export.js +0 -27
- package/app/scripts/fhir/STU3/fhirRequire.js +0 -36
- package/app/scripts/fhir/STU3/lformsFHIR.js +0 -27291
- package/app/scripts/fhir/STU3/sdc-export.js +0 -493
- package/app/scripts/fhir/STU3/sdc-import.js +0 -494
- package/app/scripts/fhir/diagnostic-report.js +0 -707
- package/app/scripts/fhir/export-common.js +0 -209
- package/app/scripts/fhir/expression-processor.js +0 -670
- package/app/scripts/fhir/extensions/rendering-style.js +0 -23
- package/app/scripts/fhir/fhir-common.js +0 -3
- package/app/scripts/fhir/obs-prepop.mjs +0 -97
- package/app/scripts/fhir/runtime-common.js +0 -33
- package/app/scripts/fhir/sdc-common.js +0 -334
- package/app/scripts/fhir/sdc-export-common.js +0 -1046
- package/app/scripts/fhir/sdc-import-common.js +0 -1343
- package/app/scripts/fhir/versions.js +0 -8
- package/app/scripts/index.js +0 -20
- package/app/scripts/lforms-config.js +0 -12
- package/app/scripts/lforms-constants.js +0 -10
- package/app/scripts/lforms-controllers.js +0 -1196
- package/app/scripts/lforms-directives.js +0 -424
- package/app/scripts/lforms-index.js +0 -20
- package/app/scripts/lib/cross_browser.js +0 -21
- package/app/scripts/lib/lforms-data.js +0 -3591
- package/app/scripts/lib/lforms-hl7.js +0 -525
- package/app/scripts/lib/lforms-util.js +0 -1122
- package/app/scripts/lib/lforms-validate.js +0 -277
- package/app/scripts/lib/polyfill.js +0 -81
- package/app/scripts/themeList.js +0 -17
- package/app/styles/lforms.css +0 -1219
- package/app/styles/redmond-theme/README.txt +0 -2
- package/app/styles/redmond-theme/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_217bc0_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_2e83ff_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_469bdd_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_6da8d5_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_d8e7f3_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_f9bd01_256x240.png +0 -0
- package/app/styles/redmond-theme/jquery-ui.css +0 -1311
- package/app/styles/redmond-theme/jquery-ui.min.css +0 -7
- package/app/styles/redmond-theme/theme.css +0 -443
- package/app/styles/themes.css +0 -1541
- package/app/styles/themes.css.map +0 -9
- package/app/styles/themes.scss +0 -411
- package/app/version.json +0 -1
- package/app/views/partials/attachment.html +0 -38
- package/app/views/partials/field-answers.html +0 -67
- package/app/views/partials/field-units.html +0 -24
- package/app/views/partials/form-controls.html +0 -19
- package/app/views/partials/form-header.html +0 -35
- package/app/views/partials/form-options.html +0 -50
- package/app/views/partials/form-title.html +0 -20
- package/app/views/partials/form-view.html +0 -13
- package/app/views/partials/item-options.html +0 -48
- package/app/views/partials/item.html +0 -126
- package/app/views/partials/itemPrefixAndText.html +0 -4
- package/app/views/partials/layout-horizontal.html +0 -156
- package/app/views/partials/layout-matrix.html +0 -145
- package/app/views/partials/popover-content.html +0 -1
- package/app/views/partials/repeating-button.html +0 -16
- package/app/views/partials/table-item.html +0 -30
- package/app/views/partials/template-table.html +0 -69
- package/app/views/partials/uib-popover-templates/uib-popover-template.html +0 -13
- package/app/views/partials/uib-popover-templates/uib-popover.html +0 -11
package/app/styles/lforms.css
DELETED
|
@@ -1,1219 +0,0 @@
|
|
|
1
|
-
/* lforms widget styles */
|
|
2
|
-
.lf-form {
|
|
3
|
-
font-family: "Arial";
|
|
4
|
-
font-size: 14px;
|
|
5
|
-
background-color: #FFFFFF;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* no spinner */
|
|
9
|
-
.lf-form input[type=number]::-webkit-outer-spin-button,
|
|
10
|
-
.lf-form input[type=number]::-webkit-inner-spin-button {
|
|
11
|
-
-webkit-appearance: none;
|
|
12
|
-
margin: 0;
|
|
13
|
-
}
|
|
14
|
-
.lf-form input[type=number] {
|
|
15
|
-
-moz-appearance:textfield;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.lf-form input[type=file] {
|
|
19
|
-
border: 1px solid gray;
|
|
20
|
-
display: inline;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* Keep the font-weight on the questions normal */
|
|
24
|
-
.lf-form label {
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
margin-bottom: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* form title */
|
|
30
|
-
.lf-form-title {
|
|
31
|
-
background-color: #458AC5;
|
|
32
|
-
color: #FFF;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
padding: 8px;
|
|
35
|
-
margin: 4px 0;
|
|
36
|
-
-moz-border-radius: 4px;
|
|
37
|
-
border-radius: 4px;
|
|
38
|
-
}
|
|
39
|
-
.lf-form-title a {
|
|
40
|
-
color: #FFFFFF;
|
|
41
|
-
}
|
|
42
|
-
.lf-form-title .lf-question {
|
|
43
|
-
font-size: 120%;
|
|
44
|
-
/* Center title within containing div */
|
|
45
|
-
vertical-align: text-top;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* lf-form-header */
|
|
49
|
-
|
|
50
|
-
/* table structure in the forms */
|
|
51
|
-
.lf-form table {
|
|
52
|
-
/*border-collapse: collapse;*/
|
|
53
|
-
padding: 0;
|
|
54
|
-
width: 100%;
|
|
55
|
-
table-layout: fixed;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.lf-form-table {
|
|
59
|
-
/*border: 1px solid #73A0C8;*/
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/* input fields */
|
|
64
|
-
.lf-form input[type="text"],
|
|
65
|
-
.lf-form input[type="number"] {
|
|
66
|
-
border: 1px solid #ced5d9 ;
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 28px;
|
|
69
|
-
min-height: 14px;
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
padding: 2px 2px 2px 4px;
|
|
72
|
-
font-size: 90%;
|
|
73
|
-
font-weight: 700;
|
|
74
|
-
-moz-border-radius: 4px;
|
|
75
|
-
border-radius: 4px;
|
|
76
|
-
}
|
|
77
|
-
.lf-form textarea {
|
|
78
|
-
border: 1px solid #ced5d9 ;
|
|
79
|
-
width: 100%;
|
|
80
|
-
height: 1em; /* initial height (for firefox)*/
|
|
81
|
-
min-height: 28px;
|
|
82
|
-
overflow: visible;
|
|
83
|
-
padding: 2px 2px 2px 4px;
|
|
84
|
-
font-size: 90%;
|
|
85
|
-
font-weight: 700;
|
|
86
|
-
-moz-border-radius: 4px;
|
|
87
|
-
border-radius: 4px;
|
|
88
|
-
-webkit-box-sizing: border-box;
|
|
89
|
-
-moz-box-sizing: border-box;
|
|
90
|
-
box-sizing: border-box;
|
|
91
|
-
vertical-align: bottom; /* remove the extra padding at the bottom of the containing div. */
|
|
92
|
-
/*display:block; !* remove the extra padding at the bottom of the containing div. (solution #2) *!*/
|
|
93
|
-
resize: vertical; /* not allow user to change width */
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
.lf-form input:focus,.lf-form textarea:focus {
|
|
97
|
-
background-color: #FFF8C6
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.lf-form input[readonly], .lf-form textarea[readonly] {
|
|
101
|
-
background-color: #E8E8E8;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* buttons in tables */
|
|
105
|
-
.lf-de-button {
|
|
106
|
-
width: 22px;
|
|
107
|
-
}
|
|
108
|
-
.lf-form button {
|
|
109
|
-
border: 0 none;
|
|
110
|
-
cursor: pointer;
|
|
111
|
-
overflow: visible;
|
|
112
|
-
padding: 0;
|
|
113
|
-
position: relative;
|
|
114
|
-
background-color: #066aa0; /*#458AC5;*/
|
|
115
|
-
color: white;
|
|
116
|
-
}
|
|
117
|
-
.lf-form .lf-float-button {
|
|
118
|
-
min-width: 22px;
|
|
119
|
-
-moz-border-radius: 4px;
|
|
120
|
-
border-radius: 4px;
|
|
121
|
-
font-weight: bold;
|
|
122
|
-
padding: 1px;
|
|
123
|
-
padding-left: 0.5em;
|
|
124
|
-
padding-right: 0.5em;
|
|
125
|
-
}
|
|
126
|
-
.lf-form .lf-attachment-button {
|
|
127
|
-
padding-left: 0.25em;
|
|
128
|
-
padding-right: 0.25em;
|
|
129
|
-
border-radius: 4px;
|
|
130
|
-
margin-left: 0.25em;
|
|
131
|
-
}
|
|
132
|
-
.lf-form progress {
|
|
133
|
-
vertical-align: text-bottom;
|
|
134
|
-
}
|
|
135
|
-
.lf-form .lf-help-button,
|
|
136
|
-
.lf-form .lf-control-button,
|
|
137
|
-
.lf-form .lf-rm-attachment-button,
|
|
138
|
-
.lf-form .lf-copyright-button {
|
|
139
|
-
font-size: 120%;
|
|
140
|
-
font-weight: bold;
|
|
141
|
-
padding: 0;
|
|
142
|
-
margin-right: 2px;
|
|
143
|
-
margin-left:2px;
|
|
144
|
-
vertical-align: middle;
|
|
145
|
-
background-color: transparent;
|
|
146
|
-
color: #066aa0; /*#458AC5;*/
|
|
147
|
-
}
|
|
148
|
-
.lf-form .lf-help-button:hover,
|
|
149
|
-
.lf-form .lf-control-button:hover,
|
|
150
|
-
.lf-form .lf-rm-attachment-button:hover,
|
|
151
|
-
.lf-form .lf-copyright-button:hover {
|
|
152
|
-
color: #0087fd;
|
|
153
|
-
}
|
|
154
|
-
.lf-form .lf-form-title .lf-help-button,
|
|
155
|
-
.lf-form .lf-form-title .lf-control-button,
|
|
156
|
-
.lf-form .lf-form-title .lf-copyright-button {
|
|
157
|
-
background-color: inherit;
|
|
158
|
-
color: white;
|
|
159
|
-
}
|
|
160
|
-
.lf-form .lf-form-title .lf-help-button:hover,
|
|
161
|
-
.lf-form .lf-form-title .lf-control-button:hover,
|
|
162
|
-
.lf-form .lf-form-title .lf-copyright-button:hover {
|
|
163
|
-
color: #b4fda7;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.lf-form .download-link {
|
|
167
|
-
padding-left: 0.5em;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.lf-form-title .popover {
|
|
171
|
-
color: #333333;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/* name field */
|
|
175
|
-
.lf-form .lf-de-label span.lf-prompt {
|
|
176
|
-
font-style: italic;
|
|
177
|
-
font-size: 75%;
|
|
178
|
-
}
|
|
179
|
-
.lf-form .lf-de-label span.lf-sn{
|
|
180
|
-
-moz-border-radius: 4px;
|
|
181
|
-
border-radius: 4px;
|
|
182
|
-
background-color: #066aa0;
|
|
183
|
-
font-weight: bold;
|
|
184
|
-
color: white;
|
|
185
|
-
padding: 4px 8px;
|
|
186
|
-
}
|
|
187
|
-
.lf-form .lf-de-label span.lf-question{
|
|
188
|
-
padding: 0 2px 0 2px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/* required indicator */
|
|
192
|
-
.lf-form .required {
|
|
193
|
-
color: darkred;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/* form stop sign */
|
|
197
|
-
.lf-form .stopped {
|
|
198
|
-
text-align: center;
|
|
199
|
-
width:500px;
|
|
200
|
-
height: 50px;
|
|
201
|
-
margin-left: 30%;
|
|
202
|
-
margin-right: 30%;
|
|
203
|
-
margin-bottom: 20px;
|
|
204
|
-
vertical-align: top;
|
|
205
|
-
}
|
|
206
|
-
.lf-form .stopped span {
|
|
207
|
-
font-size: 300%;
|
|
208
|
-
vertical-align: top;
|
|
209
|
-
color: red;
|
|
210
|
-
}
|
|
211
|
-
.lf-form .stop-sign {
|
|
212
|
-
background-image: url("../images/signal-stop.png");
|
|
213
|
-
background-repeat: no-repeat;
|
|
214
|
-
background-position: left center;
|
|
215
|
-
width: 48px;
|
|
216
|
-
height: 48px; /*100%; */
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/* html5 tooltip style */
|
|
220
|
-
.lf-form input:-moz-placeholder,
|
|
221
|
-
.lf-form textarea:-moz-placeholder {
|
|
222
|
-
font-size: 14px;
|
|
223
|
-
font-weight: 400;
|
|
224
|
-
color: #999999;
|
|
225
|
-
opacity: 1;
|
|
226
|
-
}
|
|
227
|
-
/* Repeat for IE 11, which won't read this definition if it is combined above
|
|
228
|
-
with -moz-placeholder */
|
|
229
|
-
.lf-form input:-ms-input-placeholder,
|
|
230
|
-
.lf-form textarea:-ms-input-placeholder {
|
|
231
|
-
font-size: 14px;
|
|
232
|
-
font-weight: 400;
|
|
233
|
-
color: #999999;
|
|
234
|
-
opacity: 1;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/* active row */
|
|
238
|
-
.lf-form-table-row.active-row {
|
|
239
|
-
background-color: #AFEEEE;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/* units */
|
|
243
|
-
.lf-form input.units {
|
|
244
|
-
color: #333333;
|
|
245
|
-
font-weight: 400;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/* restore autocomplete default styles */
|
|
249
|
-
/* Also, unit fields sometimes have answer lists and sometimes not, so set the
|
|
250
|
-
* padding there two for consistent field widths. */
|
|
251
|
-
.lf-form input.ansList, .lf-form input.search_field, .lf-form input.units {
|
|
252
|
-
padding-right: 14px;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
/* borders for invalid fields */
|
|
257
|
-
.lf-form input.ng-invalid.ng-dirty,
|
|
258
|
-
.lf-form div.ng-invalid.ng-dirty {
|
|
259
|
-
border: 2px solid #FF0000;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/* validations messages for invalid fields */
|
|
263
|
-
.lf-form .hasTooltip {
|
|
264
|
-
overflow: visible;
|
|
265
|
-
}
|
|
266
|
-
.lf-form .tooltipContent {
|
|
267
|
-
display: none;
|
|
268
|
-
}
|
|
269
|
-
.lf-form .lf-visited-before .ng-invalid > .tooltipContainer:hover .tooltipContent,
|
|
270
|
-
.lf-form .active-row.lf-visited-before .ng-invalid > .tooltipContainer .tooltipContent,
|
|
271
|
-
.lf-form .lf-show-validation .ng-invalid > .tooltipContainer .tooltipContent {
|
|
272
|
-
border-radius: 6px;
|
|
273
|
-
bottom: 35px;
|
|
274
|
-
background-color: #fcf8e3;
|
|
275
|
-
left: 5px;
|
|
276
|
-
padding: 9px 14px;
|
|
277
|
-
position: absolute;
|
|
278
|
-
z-index: 98;
|
|
279
|
-
max-width: 600px;
|
|
280
|
-
width: auto;
|
|
281
|
-
display: block;
|
|
282
|
-
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
|
283
|
-
border: 1px solid #eea236;
|
|
284
|
-
|
|
285
|
-
}
|
|
286
|
-
.lf-form .lf-visited-before .ng-invalid > .tooltipContainer:hover:before,
|
|
287
|
-
.lf-form .active-row.lf-visited-before .ng-invalid > .tooltipContainer:before,
|
|
288
|
-
.lf-form .lf-show-validation .ng-invalid > .tooltipContainer:before {
|
|
289
|
-
border: solid;
|
|
290
|
-
border-color: #fcf8e3 transparent;
|
|
291
|
-
border-width: 11px 11px 0 11px;
|
|
292
|
-
bottom: 25px;
|
|
293
|
-
content: "";
|
|
294
|
-
left: 15px;
|
|
295
|
-
position: absolute;
|
|
296
|
-
z-index: 99;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/* Hiding the error message bubble for DTM - datetimepicker controls the input and it doesn't
|
|
300
|
-
run through our validation process.
|
|
301
|
-
See below (commented out) on a potential way to deliver the error message - there are still issues to work out.
|
|
302
|
-
*/
|
|
303
|
-
.lf-form .lf-datatype-DTM .lf-visited-before .ng-invalid > .tooltipContainer:hover:before,
|
|
304
|
-
.lf-form .lf-datatype-DTM .active-row.lf-visited-before .ng-invalid > .tooltipContainer:before,
|
|
305
|
-
.lf-form .lf-datatype-DTM .lf-show-validation .ng-invalid > .tooltipContainer:before {
|
|
306
|
-
display:none;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/* An alternative way of managing/displaying error messages for DTM (where the datetimepicker controls
|
|
310
|
-
many things), could explore down the road.
|
|
311
|
-
.lf-form .lf-datatype-DTM .ng-invalid > .tooltipContainer .tooltipContent:before {
|
|
312
|
-
bottom: -1px;
|
|
313
|
-
left: -6px;
|
|
314
|
-
content: "It must be a date and time value."
|
|
315
|
-
}
|
|
316
|
-
*/
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
.lf-form .lf-visited-before .ng-invalid input[type="number"],
|
|
320
|
-
.lf-form .lf-visited-before .ng-invalid input[type="text"],
|
|
321
|
-
.lf-form .lf-visited-before .ng-invalid textarea,
|
|
322
|
-
.lf-form .lf-show-validation .ng-invalid input[type="number"],
|
|
323
|
-
.lf-form .lf-show-validation .ng-invalid input[type="text"],
|
|
324
|
-
.lf-form .lf-show-validation .ng-invalid textarea {
|
|
325
|
-
border-color: red;
|
|
326
|
-
}
|
|
327
|
-
.validation-error:before {
|
|
328
|
-
content: '\2022';
|
|
329
|
-
padding-right: 1rem;
|
|
330
|
-
}
|
|
331
|
-
/* end of validation messages */
|
|
332
|
-
|
|
333
|
-
/* horizontal table */
|
|
334
|
-
/* title */
|
|
335
|
-
.lf-form-horizontal-table-title {
|
|
336
|
-
background: #e6f1ff; /*#E8E8E8;*/
|
|
337
|
-
-moz-border-radius: 4px;
|
|
338
|
-
border-radius: 4px;
|
|
339
|
-
-webkit-box-sizing: border-box;
|
|
340
|
-
-moz-box-sizing: border-box;
|
|
341
|
-
box-sizing: border-box;
|
|
342
|
-
margin: 0 0 0 1px;
|
|
343
|
-
text-align: left;
|
|
344
|
-
|
|
345
|
-
border-width: 0;
|
|
346
|
-
border-top: 2px solid white; /* leave space between headers */
|
|
347
|
-
padding: 4px 0 4px 0;
|
|
348
|
-
}
|
|
349
|
-
/* column headers in tables */
|
|
350
|
-
.lf-form-horizontal-table-header {
|
|
351
|
-
overflow: hidden;
|
|
352
|
-
vertical-align: top;
|
|
353
|
-
background: none repeat scroll 0 0 #E8E8E8;
|
|
354
|
-
padding: 4px 2px;
|
|
355
|
-
text-align: left ;
|
|
356
|
-
color: #666666;
|
|
357
|
-
font-weight: 400;
|
|
358
|
-
-moz-border-radius: 4px;
|
|
359
|
-
border-radius: 4px;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.lf-form-horizontal-table td.lf-de-button {
|
|
363
|
-
padding-left: 2px;
|
|
364
|
-
border-right: none;
|
|
365
|
-
}
|
|
366
|
-
.lf-form-horizontal-table {
|
|
367
|
-
border: none;
|
|
368
|
-
margin: 2px 4px 0 1px;
|
|
369
|
-
}
|
|
370
|
-
.lf-form-horizontal-table tr {
|
|
371
|
-
border: none;
|
|
372
|
-
}
|
|
373
|
-
.lf-form-horizontal-table tr td {
|
|
374
|
-
border-right: none;
|
|
375
|
-
border-left: none;
|
|
376
|
-
}
|
|
377
|
-
.lf-form-horizontal-table .lf-de-button {
|
|
378
|
-
width: 2.5em;
|
|
379
|
-
min-width: 2em;
|
|
380
|
-
}
|
|
381
|
-
.lf-layout-horizontal .lf-form-table-row.button-row {
|
|
382
|
-
margin-right: 0;
|
|
383
|
-
border: 0;
|
|
384
|
-
}
|
|
385
|
-
/* end of horizontal table */
|
|
386
|
-
|
|
387
|
-
/* ng animate css for adding new repeating items and skip logic items*/
|
|
388
|
-
.lf-form-body .data-row.has-ng-animate.ng-enter {
|
|
389
|
-
-webkit-transition: 4s;
|
|
390
|
-
transition: 4s;
|
|
391
|
-
background-color: #AFEEEE;
|
|
392
|
-
}
|
|
393
|
-
.lf-form-body .data-row.has-ng-animate.ng-enter-active {
|
|
394
|
-
background-color: inherit;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/* visible skip logic target items have different styles */
|
|
398
|
-
.lf-form-body .lf-form-table-row.target-show td {
|
|
399
|
-
color: #015DAD;
|
|
400
|
-
/* todo */
|
|
401
|
-
/*tooltip: "triggered by other questions."*/
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/* override some settings from autocomplete-lhc */
|
|
405
|
-
.autocomp_selected {
|
|
406
|
-
border: 1px solid #ced5d9;
|
|
407
|
-
border-radius: 4px;
|
|
408
|
-
width: 100%;
|
|
409
|
-
}
|
|
410
|
-
.autocomp_selected ul {
|
|
411
|
-
margin: 0 0 0 0.25em;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/*
|
|
415
|
-
Fix for LF-29.
|
|
416
|
-
Override color of select boxes in calendar widget title bar.
|
|
417
|
-
*/
|
|
418
|
-
.ui-datepicker-title select {
|
|
419
|
-
color: black; /* Note: "initial" is not supported by IE */
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
/* date picker */
|
|
423
|
-
.ui-datepicker {
|
|
424
|
-
font-size: 80%;
|
|
425
|
-
}
|
|
426
|
-
.lf-form-item-data {
|
|
427
|
-
position: relative;
|
|
428
|
-
}
|
|
429
|
-
.lf-form-item-data .ui-datepicker-trigger {
|
|
430
|
-
position: absolute;
|
|
431
|
-
top: 4px;
|
|
432
|
-
right: 4px;
|
|
433
|
-
height: 16px;
|
|
434
|
-
width: 14px;
|
|
435
|
-
overflow: hidden; /* hide button label */
|
|
436
|
-
z-index: 1;
|
|
437
|
-
background: transparent;
|
|
438
|
-
color: #066aa0;
|
|
439
|
-
font-family: 'Glyphicons Halflings';
|
|
440
|
-
}
|
|
441
|
-
.lf-form-item-data .ui-datepicker-trigger:before {
|
|
442
|
-
content: "\e109";
|
|
443
|
-
}
|
|
444
|
-
.lf-form-item-data .ui-datepicker-trigger:hover {
|
|
445
|
-
color: #0087fd;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
/* start ==== styles for uib datetime picker */
|
|
450
|
-
|
|
451
|
-
/* The container of the datetime picker block */
|
|
452
|
-
.lf-dtm-picker-block {
|
|
453
|
-
position: relative;
|
|
454
|
-
display: table;
|
|
455
|
-
border: 1px solid lightgrey;
|
|
456
|
-
border-radius: 4px;
|
|
457
|
-
width: 100%;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/* Make the input field and calendar icon look better side by side */
|
|
461
|
-
.lf-dtm-picker-block > input.form-control {
|
|
462
|
-
border: none;
|
|
463
|
-
border-radius: 0;
|
|
464
|
-
margin-left: 0;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
/* Overall popup window for both date and time popups*/
|
|
468
|
-
.datetime-picker-dropdown {
|
|
469
|
-
width: 275px;
|
|
470
|
-
background: white;
|
|
471
|
-
border: 1px solid lightgrey;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/* re-align the calendar header (conflicts with lform button style) */
|
|
475
|
-
.datetime-picker-dropdown > li.date-picker-menu .btn-sm,
|
|
476
|
-
.datetime-picker-dropdown > li.date-picker-menu .btn-group-sm>.btn {
|
|
477
|
-
padding: 5px 10px;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/* thead in the calendar table that is for header and day of week name rows */
|
|
481
|
-
.datetime-picker-dropdown > li.date-picker-menu div > table th {
|
|
482
|
-
border:1px solid white;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/* The header (month and prev/next arrow) */
|
|
486
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th,
|
|
487
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th * {
|
|
488
|
-
background-color: #5c9ccc;
|
|
489
|
-
color: #dfeffc;
|
|
490
|
-
}
|
|
491
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th:hover,
|
|
492
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th *:hover {
|
|
493
|
-
color: #5c9ccc;
|
|
494
|
-
background-color: #dfeffc;
|
|
495
|
-
}
|
|
496
|
-
/* the real controls in the header (month, prev/next) */
|
|
497
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th button,
|
|
498
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th button:hover,
|
|
499
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th button *,
|
|
500
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th button *:hover {
|
|
501
|
-
background-color: inherit;
|
|
502
|
-
color: inherit;
|
|
503
|
-
}
|
|
504
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th button,
|
|
505
|
-
.datetime-picker-dropdown > li.date-picker-menu thead tr:first-child th button:hover {
|
|
506
|
-
border: none;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/* Calendar date cells buttons */
|
|
510
|
-
.datetime-picker-dropdown > li.date-picker-menu td.uib-day {
|
|
511
|
-
border: 1px solid white;
|
|
512
|
-
}
|
|
513
|
-
.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default {
|
|
514
|
-
background: #dfeffc;
|
|
515
|
-
border: 1px solid #dfeffc; /* to change color when selected/active */
|
|
516
|
-
color: #2e6e9e;
|
|
517
|
-
}
|
|
518
|
-
.datetime-picker-dropdown .btn-default:hover,
|
|
519
|
-
.datetime-picker-dropdown > li.time-picker-menu .btn-default:hover,
|
|
520
|
-
.datetime-picker-dropdown > li.date-picker-menu tbody .btn-default:hover {
|
|
521
|
-
border: 1px solid #5c9ccc;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/* cells displayed but are of previous or next months */
|
|
525
|
-
.datetime-picker-dropdown > li.date-picker-menu div > table .text-muted {
|
|
526
|
-
color: #AAAAAA;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/* Today's date color */
|
|
530
|
-
.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default .text-info {
|
|
531
|
-
color: black;
|
|
532
|
-
font-weight: 600;
|
|
533
|
-
text-decoration: underline;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
/* selected date */
|
|
537
|
-
.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default.active {
|
|
538
|
-
color: #e17009;
|
|
539
|
-
background-color: #fcfdfd;
|
|
540
|
-
border-color: #5c9ccc;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
/* calendar/time bottom buttons and time AM/PM button */
|
|
544
|
-
.datetime-picker-dropdown .btn-group > .btn-sm,
|
|
545
|
-
.datetime-picker-dropdown > li.time-picker-menu div table button {
|
|
546
|
-
background: #dfeffc;
|
|
547
|
-
color: #5c9ccc;
|
|
548
|
-
border: 1px solid lightgrey;
|
|
549
|
-
padding: 5px 8px;
|
|
550
|
-
}
|
|
551
|
-
.datetime-picker-dropdown .btn-group > .btn-sm:focus,
|
|
552
|
-
.datetime-picker-dropdown > li.time-picker-menu div table button:focus,
|
|
553
|
-
.datetime-picker-dropdown > li.time-picker-menu div table a:focus,
|
|
554
|
-
.datetime-picker-dropdown > li.date-picker-menu div > table:focus {
|
|
555
|
-
outline: none;
|
|
556
|
-
}
|
|
557
|
-
.datetime-picker-dropdown .btn-group > .btn-sm:hover,
|
|
558
|
-
.datetime-picker-dropdown > li.time-picker-menu div table button:hover,
|
|
559
|
-
.datetime-picker-dropdown > li.time-picker-menu div table a:hover {
|
|
560
|
-
border-color: #5c9ccc;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/* Time picker popup */
|
|
564
|
-
.datetime-picker-dropdown > li.time-picker-menu div table {
|
|
565
|
-
padding-left: 50px;
|
|
566
|
-
padding-right: 50px;
|
|
567
|
-
display: inline-block;
|
|
568
|
-
padding-top: 10px;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/* time input/selection elements cells */
|
|
572
|
-
.datetime-picker-dropdown > li.time-picker-menu div table td {
|
|
573
|
-
width: 1px;
|
|
574
|
-
padding-left: 3px;
|
|
575
|
-
padding-right: 3px;
|
|
576
|
-
color: #5c9ccc;
|
|
577
|
-
}
|
|
578
|
-
.datetime-picker-dropdown > li.time-picker-menu div table td a,
|
|
579
|
-
.datetime-picker-dropdown > li.time-picker-menu div table td input {
|
|
580
|
-
color: #5c9ccc;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
/* hour/minute input field */
|
|
584
|
-
.datetime-picker-dropdown > li.time-picker-menu div table input {
|
|
585
|
-
width: 3em;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
/* end ==== styles for uib datetime picker */
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
/* popover dialog */
|
|
592
|
-
.lf-form .lf-de-label.has-popover-warning .popover {
|
|
593
|
-
border-color: #eea236;
|
|
594
|
-
border-width: 1px;
|
|
595
|
-
padding: 0;
|
|
596
|
-
background-color: #fcf8e3;
|
|
597
|
-
}
|
|
598
|
-
.lf-form .lf-de-label.has-popover-warning .popover .arrow:after {
|
|
599
|
-
border-top-color: #fcf8e3;
|
|
600
|
-
}
|
|
601
|
-
.lf-form .popover {
|
|
602
|
-
max-width: 600px;
|
|
603
|
-
width: auto;
|
|
604
|
-
}
|
|
605
|
-
.lf-form .popover-content {
|
|
606
|
-
max-height: 600px;
|
|
607
|
-
height: auto;
|
|
608
|
-
overflow-y: auto;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
/*** matrix layout ***/
|
|
612
|
-
.lf-layout-matrix.lf-table-item {
|
|
613
|
-
padding-bottom: 2px;
|
|
614
|
-
}
|
|
615
|
-
.lf-form-matrix-table {
|
|
616
|
-
border-collapse: separate;
|
|
617
|
-
border-radius: 4px;
|
|
618
|
-
box-sizing: border-box;
|
|
619
|
-
margin: 2px 4px 0 1px;
|
|
620
|
-
text-align: left;
|
|
621
|
-
border: 1px solid #ced5d9;
|
|
622
|
-
}
|
|
623
|
-
.lf-form-matrix-table .lf-form-table-header {
|
|
624
|
-
background: #E8E8E8;
|
|
625
|
-
}
|
|
626
|
-
.lf-form-matrix-table-title {
|
|
627
|
-
background: #e6f1ff; /*#E8E8E8;*/
|
|
628
|
-
-moz-border-radius: 4px;
|
|
629
|
-
border-radius: 4px;
|
|
630
|
-
-webkit-box-sizing: border-box;
|
|
631
|
-
-moz-box-sizing: border-box;
|
|
632
|
-
box-sizing: border-box;
|
|
633
|
-
margin: 0 0 0 1px;
|
|
634
|
-
text-align: left;
|
|
635
|
-
|
|
636
|
-
border-width: 0;
|
|
637
|
-
border-top: 2px solid white; /* leave space between headers */
|
|
638
|
-
padding: 4px 0 4px 0;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.lf-form .lf-form-matrix-table .lf-question {
|
|
642
|
-
width: 25%;
|
|
643
|
-
}
|
|
644
|
-
.lf-form .lf-form-matrix-answer {
|
|
645
|
-
padding-left: 5px;
|
|
646
|
-
padding-right: 5px;
|
|
647
|
-
}
|
|
648
|
-
.lf-form .lf-form-matrix-cell,
|
|
649
|
-
.lf-form .lf-form-matrix-cell-other {
|
|
650
|
-
text-align: center;
|
|
651
|
-
}
|
|
652
|
-
.lf-form .lf-form-matrix-table th {
|
|
653
|
-
padding: 4px;
|
|
654
|
-
}
|
|
655
|
-
.lf-form .lf-form-matrix-table td {
|
|
656
|
-
padding: 4px;
|
|
657
|
-
border-top: 1px solid #ced5d9;
|
|
658
|
-
}
|
|
659
|
-
/*** end of matrix layout ***/
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
/*** button row ***/
|
|
663
|
-
.lf-form .lf-form-table-row.button-row {
|
|
664
|
-
background: none;
|
|
665
|
-
padding: 2px 0;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
.lf-form.lf-template-table .lf-layout-horizontal,
|
|
669
|
-
.lf-form.lf-template-table .lf-layout-matrix {
|
|
670
|
-
padding-right: 6px;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
/* not to show title when the entire form is in horizontal or matrix layout */
|
|
674
|
-
.lf-top-section .lf-layout-horizontal .lf-form-horizontal-table-title,
|
|
675
|
-
.lf-top-section .lf-layout-matrix .lf-form-matrix-table-title {
|
|
676
|
-
display: none;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/* tree lines */
|
|
680
|
-
.lf-table-item {
|
|
681
|
-
padding-left: 24px;
|
|
682
|
-
position: relative;
|
|
683
|
-
}
|
|
684
|
-
/* the horizontal bar of a tree line */
|
|
685
|
-
.lf-table-item::before {
|
|
686
|
-
content: "";
|
|
687
|
-
position: absolute;
|
|
688
|
-
left: 12px;
|
|
689
|
-
|
|
690
|
-
border-top: 2px solid #2f96b4;
|
|
691
|
-
top: 14px;
|
|
692
|
-
width: 12px;
|
|
693
|
-
height: 0;
|
|
694
|
-
}
|
|
695
|
-
/* the vertical bar of a tree line */
|
|
696
|
-
.lf-table-item::after {
|
|
697
|
-
content: "";
|
|
698
|
-
position: absolute;
|
|
699
|
-
left: 12px;
|
|
700
|
-
|
|
701
|
-
border-left: 2px solid #2f96b4;
|
|
702
|
-
height: 100%;
|
|
703
|
-
width: 0;
|
|
704
|
-
top: 0;
|
|
705
|
-
}
|
|
706
|
-
/* shorter vertical bar of a tree line for the last item of a level */
|
|
707
|
-
.lf-table-item.lf-last-item::after {
|
|
708
|
-
height: 14px;
|
|
709
|
-
}
|
|
710
|
-
/*no tree lines for form level horizontal and matrix layouts */
|
|
711
|
-
.lf-top-section .lf-layout-horizontal.lf-table-item,
|
|
712
|
-
.lf-top-section .lf-layout-matrix.lf-table-item {
|
|
713
|
-
padding: 0 4px 0 3px;
|
|
714
|
-
}
|
|
715
|
-
.lf-top-section .lf-layout-horizontal.lf-table-item::before,
|
|
716
|
-
.lf-top-section .lf-layout-matrix.lf-table-item::before {
|
|
717
|
-
border: 0;
|
|
718
|
-
}
|
|
719
|
-
.lf-top-section .lf-layout-horizontal.lf-table-item::after,
|
|
720
|
-
.lf-top-section .lf-layout-matrix.lf-table-item::after {
|
|
721
|
-
border: 0;
|
|
722
|
-
}
|
|
723
|
-
/* end of tree lines */
|
|
724
|
-
/* bar style */
|
|
725
|
-
/* no horizontal bar */
|
|
726
|
-
.lf-indentation-bar .lf-table-item::before {
|
|
727
|
-
border-top: 0
|
|
728
|
-
}
|
|
729
|
-
/* the vertical bar */
|
|
730
|
-
.lf-indentation-bar .lf-table-item::after {
|
|
731
|
-
border: 6px solid #c6dde4;;
|
|
732
|
-
left: 6px;
|
|
733
|
-
}
|
|
734
|
-
/* normal vertical bar of a tree line for the last item of a level */
|
|
735
|
-
.lf-indentation-bar .lf-table-item.lf-last-item::after {
|
|
736
|
-
height: 100%;
|
|
737
|
-
}
|
|
738
|
-
/* round bar ends for the first and the last item */
|
|
739
|
-
.lf-indentation-bar .lf-table-item.lf-first-item::after {
|
|
740
|
-
border-top-left-radius: 4px;
|
|
741
|
-
}
|
|
742
|
-
.lf-indentation-bar .lf-table-item.lf-last-item::after {
|
|
743
|
-
border-bottom-left-radius: 4px;
|
|
744
|
-
}
|
|
745
|
-
/* end of bar style */
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
.lf-form-view {
|
|
749
|
-
margin: 15px;
|
|
750
|
-
}
|
|
751
|
-
.lf-form-body {
|
|
752
|
-
border: 1px solid #ced5d9;
|
|
753
|
-
padding: 4px 0;
|
|
754
|
-
margin: 0 0 2px 0;
|
|
755
|
-
|
|
756
|
-
-moz-border-radius: 4px;
|
|
757
|
-
border-radius: 4px;
|
|
758
|
-
-webkit-box-sizing: border-box;
|
|
759
|
-
-moz-box-sizing: border-box;
|
|
760
|
-
box-sizing: border-box;
|
|
761
|
-
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
/* column header */
|
|
765
|
-
.lf-column-header {
|
|
766
|
-
background-color: #E8E8E8;
|
|
767
|
-
padding: 4px 2px;
|
|
768
|
-
|
|
769
|
-
-moz-border-radius: 4px;
|
|
770
|
-
border-radius: 4px;
|
|
771
|
-
-webkit-box-sizing: border-box;
|
|
772
|
-
-moz-box-sizing: border-box;
|
|
773
|
-
box-sizing: border-box;
|
|
774
|
-
margin: 0 4px 2px 4px;
|
|
775
|
-
|
|
776
|
-
border-width: 0;
|
|
777
|
-
}
|
|
778
|
-
.lf-column-label-button,
|
|
779
|
-
.lf-column-input,
|
|
780
|
-
.lf-column-unit {
|
|
781
|
-
padding: 0 6px 0px 10px;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
/* new flex box layout system based on screen size */
|
|
785
|
-
/* padding on flex boxes */
|
|
786
|
-
.lf-de-label-button {
|
|
787
|
-
padding: 4px 0 0 0;
|
|
788
|
-
}
|
|
789
|
-
.lf-de-input-unit {
|
|
790
|
-
padding: 0 0 0 0;
|
|
791
|
-
}
|
|
792
|
-
.lf-de-input {
|
|
793
|
-
padding: 2px 0 2px 2px;
|
|
794
|
-
}
|
|
795
|
-
.lf-de-unit {
|
|
796
|
-
padding: 2px 0 2px 2px;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
/* Large */
|
|
800
|
-
.lf-de,
|
|
801
|
-
.lf-column-header{
|
|
802
|
-
display: flex;
|
|
803
|
-
flex-direction: row;
|
|
804
|
-
flex-wrap: nowrap;
|
|
805
|
-
align-items: flex-start;
|
|
806
|
-
align-content: flex-start;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
.lf-de-label-button,
|
|
810
|
-
.lf-column-label-button {
|
|
811
|
-
display: flex;
|
|
812
|
-
flex-direction: row;
|
|
813
|
-
flex-wrap: nowrap;
|
|
814
|
-
align-items: flex-start;
|
|
815
|
-
|
|
816
|
-
order: 1;
|
|
817
|
-
flex-grow: 1;
|
|
818
|
-
}
|
|
819
|
-
.lf-de-label {
|
|
820
|
-
order: 1;
|
|
821
|
-
flex-grow: 1;
|
|
822
|
-
}
|
|
823
|
-
.lf-de-button {
|
|
824
|
-
order: 2;
|
|
825
|
-
flex-grow: 0;
|
|
826
|
-
flex-shrink: 0;
|
|
827
|
-
}
|
|
828
|
-
.lf-de-input-unit,
|
|
829
|
-
.lf-column-input-unit {
|
|
830
|
-
display: flex;
|
|
831
|
-
flex-direction: row;
|
|
832
|
-
flex-wrap: nowrap;
|
|
833
|
-
align-items: flex-start;
|
|
834
|
-
|
|
835
|
-
order: 2;
|
|
836
|
-
flex-grow: 0;
|
|
837
|
-
flex-shrink: 0;
|
|
838
|
-
}
|
|
839
|
-
.lf-de-input,
|
|
840
|
-
.lf-column-input {
|
|
841
|
-
order:1;
|
|
842
|
-
flex-grow: 1;
|
|
843
|
-
}
|
|
844
|
-
.lf-de-unit,
|
|
845
|
-
.lf-column-unit {
|
|
846
|
-
order:2;
|
|
847
|
-
flex-grow: 1;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
/* for answerLayout RADIO_CHECKBOX/COMBO_BOX */
|
|
851
|
-
/*.lf-form .lf-field-answers,*/
|
|
852
|
-
.lf-form .lf-answer-type-list{
|
|
853
|
-
display: flex;
|
|
854
|
-
flex-direction: row;
|
|
855
|
-
flex-wrap: wrap;
|
|
856
|
-
align-items: flex-start;
|
|
857
|
-
align-content: flex-start;
|
|
858
|
-
flex-grow: 1;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
/* within an answer (radio button/checkbox, label, other) */
|
|
862
|
-
.lf-form .lf-answer-type-list .lf-answer > div {
|
|
863
|
-
display: flex;
|
|
864
|
-
flex-wrap: nowrap;
|
|
865
|
-
padding: 2px 8px;
|
|
866
|
-
}
|
|
867
|
-
.lf-form .lf-answer-type-list .lf-answer-button {
|
|
868
|
-
order:1;
|
|
869
|
-
flex-grow: 0;
|
|
870
|
-
flex-shrink: 0;
|
|
871
|
-
width: 20px;
|
|
872
|
-
}
|
|
873
|
-
.lf-form .lf-answer-type-list .lf-answer-label {
|
|
874
|
-
padding-left: 4px;
|
|
875
|
-
order:1;
|
|
876
|
-
flex-grow: 1;
|
|
877
|
-
}
|
|
878
|
-
/* end of within an answer */
|
|
879
|
-
/* cwe type, other field */
|
|
880
|
-
.lf-form .lf-answer-cwe-other > div {
|
|
881
|
-
display: flex;
|
|
882
|
-
flex-wrap: nowrap;
|
|
883
|
-
padding: 2px 8px;
|
|
884
|
-
}
|
|
885
|
-
.lf-form .lf-answer-cwe-other .lf-answer-button {
|
|
886
|
-
order:1;
|
|
887
|
-
flex-grow: 0;
|
|
888
|
-
flex-shrink: 0;
|
|
889
|
-
width: 20px;
|
|
890
|
-
}
|
|
891
|
-
.lf-form .lf-answer-cwe-other .lf-answer-label {
|
|
892
|
-
padding-left: 4px;
|
|
893
|
-
order:1;
|
|
894
|
-
flex-grow: 1;
|
|
895
|
-
}
|
|
896
|
-
.lf-form .lf-answer-cwe-other .lf-answer-other {
|
|
897
|
-
order:1;
|
|
898
|
-
flex-grow: 1;
|
|
899
|
-
}
|
|
900
|
-
/* column number control for list of answers*/
|
|
901
|
-
.lf-form .lf-0-col {
|
|
902
|
-
/* means flexible */
|
|
903
|
-
}
|
|
904
|
-
.lf-form .lf-1-col {
|
|
905
|
-
width: 100%;
|
|
906
|
-
}
|
|
907
|
-
.lf-form .lf-2-col {
|
|
908
|
-
width: 50%;
|
|
909
|
-
}
|
|
910
|
-
.lf-form .lf-3-col {
|
|
911
|
-
width: 33.3%;
|
|
912
|
-
}
|
|
913
|
-
.lf-form .lf-4-col {
|
|
914
|
-
width: 25%;
|
|
915
|
-
}
|
|
916
|
-
.lf-form .lf-5-col {
|
|
917
|
-
width: 20%;
|
|
918
|
-
}
|
|
919
|
-
.lf-form .lf-6-col {
|
|
920
|
-
width: 16.6%;
|
|
921
|
-
}
|
|
922
|
-
/* end of answerLayout */
|
|
923
|
-
|
|
924
|
-
/* form controls */
|
|
925
|
-
.lf-form-controls {
|
|
926
|
-
display: flex;
|
|
927
|
-
flex-direction: row;
|
|
928
|
-
flex-wrap: wrap;
|
|
929
|
-
align-items: flex-start;
|
|
930
|
-
align-content: flex-start;
|
|
931
|
-
}
|
|
932
|
-
.lf-form-control {
|
|
933
|
-
order: 1;
|
|
934
|
-
flex-grow: 1;
|
|
935
|
-
}
|
|
936
|
-
.lf-form-control input {
|
|
937
|
-
/* Turn off top margin so these align with "Total # of Questions" */
|
|
938
|
-
margin-top: 0;
|
|
939
|
-
}
|
|
940
|
-
/* form options, item options */
|
|
941
|
-
.lf-form-options,
|
|
942
|
-
.lf-item-options {
|
|
943
|
-
display: flex;
|
|
944
|
-
flex-direction: row;
|
|
945
|
-
flex-wrap: wrap;
|
|
946
|
-
align-items: flex-start;
|
|
947
|
-
align-content: flex-start;
|
|
948
|
-
|
|
949
|
-
border: 2px dotted #458AC5;
|
|
950
|
-
padding: 4px 2px;
|
|
951
|
-
|
|
952
|
-
-moz-border-radius: 4px;
|
|
953
|
-
border-radius: 4px;
|
|
954
|
-
-webkit-box-sizing: border-box;
|
|
955
|
-
-moz-box-sizing: border-box;
|
|
956
|
-
box-sizing: border-box;
|
|
957
|
-
|
|
958
|
-
}
|
|
959
|
-
.lf-form-options {
|
|
960
|
-
margin: 2px;
|
|
961
|
-
}
|
|
962
|
-
.lf-form-option {
|
|
963
|
-
order: 1;
|
|
964
|
-
flex-grow: 1;
|
|
965
|
-
width: 25%;
|
|
966
|
-
}
|
|
967
|
-
.lf-item-options {
|
|
968
|
-
margin: 2px 0 2px 10px;
|
|
969
|
-
}
|
|
970
|
-
.lf-item-option {
|
|
971
|
-
order: 1;
|
|
972
|
-
flex-grow: 1;
|
|
973
|
-
width: 50%;
|
|
974
|
-
}
|
|
975
|
-
.lf-item-options.lf-section-options .lf-item-option {
|
|
976
|
-
width: 33.3%;
|
|
977
|
-
}
|
|
978
|
-
/* form header */
|
|
979
|
-
.lf-form-header {
|
|
980
|
-
display: flex;
|
|
981
|
-
flex-direction: row;
|
|
982
|
-
flex-wrap: nowrap;
|
|
983
|
-
align-items: flex-start;
|
|
984
|
-
align-content: flex-start;
|
|
985
|
-
|
|
986
|
-
border-style: solid;
|
|
987
|
-
border-color: #ced5d9;
|
|
988
|
-
border-width: 1px;
|
|
989
|
-
|
|
990
|
-
-moz-border-radius: 4px;
|
|
991
|
-
border-radius: 4px;
|
|
992
|
-
-webkit-box-sizing: border-box;
|
|
993
|
-
-moz-box-sizing: border-box;
|
|
994
|
-
box-sizing: border-box;
|
|
995
|
-
|
|
996
|
-
margin: 2px 0 0 0;
|
|
997
|
-
padding: 2px;
|
|
998
|
-
|
|
999
|
-
}
|
|
1000
|
-
.lf-header-de {
|
|
1001
|
-
display: flex;
|
|
1002
|
-
flex-direction: column;
|
|
1003
|
-
flex-wrap: nowrap;
|
|
1004
|
-
align-items: flex-start;
|
|
1005
|
-
align-content: flex-start;
|
|
1006
|
-
flex-grow: 1;
|
|
1007
|
-
width: 100%;
|
|
1008
|
-
padding: 2px;
|
|
1009
|
-
|
|
1010
|
-
}
|
|
1011
|
-
.lf-header-de-label {
|
|
1012
|
-
order: 1;
|
|
1013
|
-
flex-grow: 1;
|
|
1014
|
-
width: 100%;
|
|
1015
|
-
|
|
1016
|
-
background: #E8E8E8;
|
|
1017
|
-
padding: 4px 2px;
|
|
1018
|
-
border-radius: 4px;
|
|
1019
|
-
box-sizing: border-box;
|
|
1020
|
-
border-width: 0;
|
|
1021
|
-
margin: 0 0 2px 0;
|
|
1022
|
-
|
|
1023
|
-
}
|
|
1024
|
-
.lf-header-de-input {
|
|
1025
|
-
order:2;
|
|
1026
|
-
flex-grow: 1;
|
|
1027
|
-
width: 100%
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
/* Medium view width */
|
|
1031
|
-
.lf-item-view-md .lf-de {
|
|
1032
|
-
display: flex;
|
|
1033
|
-
flex-direction: column;
|
|
1034
|
-
flex-wrap: nowrap;
|
|
1035
|
-
align-items: flex-start;
|
|
1036
|
-
align-content: flex-start;
|
|
1037
|
-
}
|
|
1038
|
-
.lf-item-view-md .lf-de-label-button {
|
|
1039
|
-
display: flex;
|
|
1040
|
-
flex-direction: row;
|
|
1041
|
-
flex-wrap: nowrap;
|
|
1042
|
-
align-items: flex-start;
|
|
1043
|
-
|
|
1044
|
-
order: 1;
|
|
1045
|
-
flex-grow: 1;
|
|
1046
|
-
width: 100%;
|
|
1047
|
-
}
|
|
1048
|
-
.lf-item-view-md .lf-de-label {
|
|
1049
|
-
order: 1;
|
|
1050
|
-
flex-grow: 1;
|
|
1051
|
-
}
|
|
1052
|
-
.lf-item-view-md .lf-de-button {
|
|
1053
|
-
order: 2;
|
|
1054
|
-
flex-grow: 0;
|
|
1055
|
-
flex-shrink: 0;
|
|
1056
|
-
}
|
|
1057
|
-
.lf-item-view-md .lf-de-input-unit {
|
|
1058
|
-
display: flex;
|
|
1059
|
-
flex-direction: row;
|
|
1060
|
-
flex-wrap: nowrap;
|
|
1061
|
-
align-items: flex-start;
|
|
1062
|
-
|
|
1063
|
-
order: 2;
|
|
1064
|
-
flex-grow: 1;
|
|
1065
|
-
width: 100%;
|
|
1066
|
-
}
|
|
1067
|
-
.lf-item-view-md .lf-de-input {
|
|
1068
|
-
order:1;
|
|
1069
|
-
flex-grow: 1;
|
|
1070
|
-
}
|
|
1071
|
-
.lf-item-view-md .lf-de-unit {
|
|
1072
|
-
order:2;
|
|
1073
|
-
flex-grow: 1;
|
|
1074
|
-
}
|
|
1075
|
-
/* column header */
|
|
1076
|
-
.lf-form-view.lf-view-md .lf-column-header {
|
|
1077
|
-
display: none;
|
|
1078
|
-
}
|
|
1079
|
-
/* form header */
|
|
1080
|
-
.lf-form-view.lf-view-md .lf-form-header {
|
|
1081
|
-
flex-direction: column;
|
|
1082
|
-
}
|
|
1083
|
-
.lf-form-view.lf-view-md .lf-header-de {
|
|
1084
|
-
flex-direction: row;
|
|
1085
|
-
}
|
|
1086
|
-
.lf-form-view.lf-view-md .lf-header-de-label {
|
|
1087
|
-
margin: 0 2px 0 0;
|
|
1088
|
-
}
|
|
1089
|
-
.lf-form-view.lf-view-md .lf-header-de-input {
|
|
1090
|
-
margin: 0 0 0 2px;
|
|
1091
|
-
}
|
|
1092
|
-
.lf-form-view.lf-view-md .lf-form-option {
|
|
1093
|
-
width: 33.3%;
|
|
1094
|
-
}
|
|
1095
|
-
.lf-form-view.lf-view-md .lf-item-option {
|
|
1096
|
-
width: 50%;
|
|
1097
|
-
}
|
|
1098
|
-
/* end of medium view width */
|
|
1099
|
-
|
|
1100
|
-
/* Small view width */
|
|
1101
|
-
.lf-item-view-sm .lf-de {
|
|
1102
|
-
display: flex;
|
|
1103
|
-
flex-direction: column;
|
|
1104
|
-
flex-wrap: nowrap;
|
|
1105
|
-
align-items: flex-start;
|
|
1106
|
-
align-content: flex-start;
|
|
1107
|
-
}
|
|
1108
|
-
.lf-item-view-sm .lf-de-label-button {
|
|
1109
|
-
display: flex;
|
|
1110
|
-
flex-direction: row;
|
|
1111
|
-
flex-wrap: nowrap;
|
|
1112
|
-
align-items: flex-start;
|
|
1113
|
-
|
|
1114
|
-
order: 1;
|
|
1115
|
-
flex-grow: 1;
|
|
1116
|
-
width: 100%;
|
|
1117
|
-
}
|
|
1118
|
-
.lf-item-view-sm .lf-de-label {
|
|
1119
|
-
order: 1;
|
|
1120
|
-
flex-grow: 1;
|
|
1121
|
-
}
|
|
1122
|
-
.lf-item-view-sm .lf-de-button {
|
|
1123
|
-
order: 2;
|
|
1124
|
-
flex-grow: 0;
|
|
1125
|
-
flex-shrink: 0;
|
|
1126
|
-
}
|
|
1127
|
-
.lf-item-view-sm .lf-de-input-unit {
|
|
1128
|
-
display: flex;
|
|
1129
|
-
flex-direction: column;
|
|
1130
|
-
flex-wrap: nowrap;
|
|
1131
|
-
align-items: flex-start;
|
|
1132
|
-
align-content: flex-start;
|
|
1133
|
-
|
|
1134
|
-
order: 2;
|
|
1135
|
-
flex-grow: 1;
|
|
1136
|
-
width: 100%;
|
|
1137
|
-
}
|
|
1138
|
-
.lf-item-view-sm .lf-de-input {
|
|
1139
|
-
order:1;
|
|
1140
|
-
flex-grow: 1;
|
|
1141
|
-
width: 100%;
|
|
1142
|
-
}
|
|
1143
|
-
.lf-item-view-sm .lf-de-unit {
|
|
1144
|
-
order:2;
|
|
1145
|
-
flex-grow: 1;
|
|
1146
|
-
width: 100%;
|
|
1147
|
-
}
|
|
1148
|
-
/* column header */
|
|
1149
|
-
.lf-form-view.lf-view-sm .lf-column-header {
|
|
1150
|
-
display: none;
|
|
1151
|
-
}
|
|
1152
|
-
/* form header */
|
|
1153
|
-
.lf-form-view.lf-view-sm .lf-form-header {
|
|
1154
|
-
flex-direction: column;
|
|
1155
|
-
}
|
|
1156
|
-
.lf-form-view.lf-view-sm .lf-header-de {
|
|
1157
|
-
flex-direction: column;
|
|
1158
|
-
}
|
|
1159
|
-
.lf-form-view.lf-view-sm .lf-header-de-label {
|
|
1160
|
-
margin: 0 2px 0 0;
|
|
1161
|
-
}
|
|
1162
|
-
.lf-form-view.lf-view-sm .lf-header-de-input {
|
|
1163
|
-
margin: 2px 2px 0 0;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
.lf-form-view.lf-view-sm .lf-form-option {
|
|
1167
|
-
width: 50%;
|
|
1168
|
-
}
|
|
1169
|
-
.lf-form-view.lf-view-sm .lf-item-option {
|
|
1170
|
-
width: 100%;
|
|
1171
|
-
}
|
|
1172
|
-
/* end of small view width */
|
|
1173
|
-
|
|
1174
|
-
/* end of flex box layout */
|
|
1175
|
-
|
|
1176
|
-
/* boarder, padding and margin */
|
|
1177
|
-
/* rows in tables */
|
|
1178
|
-
.lf-form-table .lf-form-table-row {
|
|
1179
|
-
border: solid;
|
|
1180
|
-
border-color: #ced5d9;
|
|
1181
|
-
border-width: 1px 0 0 0;
|
|
1182
|
-
margin: 0 4px 0 2px;
|
|
1183
|
-
}
|
|
1184
|
-
/* not to use for now.
|
|
1185
|
-
when questions are contained in a question, the first question's border is needed.
|
|
1186
|
-
*/
|
|
1187
|
-
/*.lf-table-item .lf-form-table-row.lf-first-item {*/
|
|
1188
|
-
/*border: 0;*/
|
|
1189
|
-
/*}*/
|
|
1190
|
-
|
|
1191
|
-
/* section header */
|
|
1192
|
-
.lf-form-table .lf-form-table-row.lf-section-header {
|
|
1193
|
-
background: #e6f1ff; /*#E8E8E8;*/
|
|
1194
|
-
-moz-border-radius: 4px;
|
|
1195
|
-
border-radius: 4px;
|
|
1196
|
-
-webkit-box-sizing: border-box;
|
|
1197
|
-
-moz-box-sizing: border-box;
|
|
1198
|
-
box-sizing: border-box;
|
|
1199
|
-
margin: 0 4px 0 2px;
|
|
1200
|
-
|
|
1201
|
-
border-width: 0;
|
|
1202
|
-
border-top: 2px solid white; /* leave space between headers */
|
|
1203
|
-
}
|
|
1204
|
-
.lf-form-table .lf-form-table-row.lf-section-header .lf-de-label-button {
|
|
1205
|
-
padding: 4px 0 4px 0;
|
|
1206
|
-
}
|
|
1207
|
-
/* title row */
|
|
1208
|
-
.lf-form-table .lf-form-table-row.lf-title-row {
|
|
1209
|
-
background-color: #e6f1ff; /*rgb(67,115,156);*/
|
|
1210
|
-
border-top: 2px solid white; /* leave space between headers */
|
|
1211
|
-
}
|
|
1212
|
-
.lf-form-table .lf-form-table-row.lf-title-row .lf-de-label {
|
|
1213
|
-
/*color: white;*/
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
/* prefix */
|
|
1217
|
-
.lf-form .prefix {
|
|
1218
|
-
padding-right: 0.25em; /* space between the prefix and the question */
|
|
1219
|
-
}
|