Skip to content

Commit 5ac20d7

Browse files
authored
Merge pull request #539 from ctzsnooze/4.3-field-support
4.3 field support
2 parents f310336 + 44341f1 commit 5ac20d7

File tree

7 files changed

+1648
-1145
lines changed

7 files changed

+1648
-1145
lines changed

css/header_dialog.css

Lines changed: 89 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Colums START> */
22
.cf_column {
3-
min-height: 20px;
3+
min-height: 18px;
44
margin-bottom: 0;
55
}
66

@@ -53,10 +53,17 @@
5353

5454
/* Default Parameter Entry Field */
5555
input[type="number"]::-webkit-inner-spin-button {
56-
opacity: 1; /* required for chromium 33+ beta */
57-
margin-left: 5px;
56+
opacity: 0; /* 1 is required for chromium 33+ beta to show the arrows / spinners */
57+
/* margin-left: 5px;*/
5858
}
5959

60+
/* Hide select dropdown arrow
61+
select {
62+
appearance: none;
63+
padding-left: 5px;
64+
}
65+
*/
66+
6067
.clear-both {
6168
clear: both;
6269
}
@@ -73,22 +80,23 @@ input[type="number"]::-webkit-inner-spin-button {
7380
.gui_box {
7481
border: 1px solid #ccc;
7582
border-radius: 4px;
76-
background-color: #FFFFFF;
83+
background-color: #ccc;
7784
float: left;
7885
width: calc(100% - 2px);
7986
margin-bottom: 10px;
8087
font-family: 'open_sansregular', Arial, serif;
8188
}
8289

8390
.gui_box_titlebar {
84-
background-color: #e4e4e4;
91+
background-color: #808080;
8592
border-radius: 3px 3px 0 0;
86-
font-size: 13px;
93+
font-size: 14px;
8794
width: 100%;
8895
height: 27px;
8996
padding-bottom: 0;
9097
float: left;
91-
margin-bottom: 7px;
98+
color: white;
99+
margin-bottom: 0px;
92100
font-family: 'open_sanssemibold', Arial, serif;
93101
}
94102

@@ -101,10 +109,12 @@ input[type="number"]::-webkit-inner-spin-button {
101109
}
102110

103111
.spacer_box {
104-
padding: 10px;
105-
margin-bottom: 3px;
112+
padding: 0px;
113+
margin: 0px;
114+
width: 100%;
106115
}
107116

117+
/* main title for each div*/
108118
.spacer_box_title {
109119
padding-left: 10px;
110120
padding-right: 10px;
@@ -113,6 +123,7 @@ input[type="number"]::-webkit-inner-spin-button {
113123
float: left;
114124
}
115125

126+
/* space around each div*/
116127
.spacer_left {
117128
padding-left: 15px;
118129
float: left;
@@ -133,39 +144,43 @@ input[type="number"]::-webkit-inner-spin-button {
133144
border-top-right-radius: 3px;
134145
}
135146

136-
.header-dialog .parameter label {
137-
background-color: #828885;
138-
padding: 4px;
147+
/* Parameter box titles */
148+
.header-dialog .parameter th {
149+
background-color: #b0b0b0;
150+
padding: 2px;
151+
padding-left: 10px;
139152
border-left: 0 solid #ccc;
140-
border-bottom: 1px solid #ccc;
141-
font-weight: normal;
142-
color: white;
153+
font-weight: bold;
154+
font-size: 14px;
155+
color: #505050;
143156
text-align: left;
144-
width:100%;
145157
}
146158

147-
.header-dialog .parameter th {
148-
background-color: #828885;
149-
padding: 4px;
159+
/* Parameter box other lines */
160+
.header-dialog .parameter label {
161+
background-color: #d8d8d8;
162+
padding: 0px;
163+
margin: 0px;
150164
border-left: 0 solid #ccc;
151-
border-bottom: 1px solid #ccc;
152-
font-weight: bold;
153-
color: white;
154-
text-align: left;
165+
font-weight: normal;
166+
font-size: 13px;
167+
color: #505050;
168+
text-align: center;
169+
}
170+
171+
/* Parameter box other rows */
172+
.header-dialog .cf tr {
173+
background-color: #d8d8d8;
174+
text-align: center;
155175
}
156176

157177
.header-dialog .modal-dialog {
158178
width:75%;
159179
min-width:954px;
160180
}
161181

162-
.header-dialog .cf tr {
163-
background-color: #DEDEDE;
164-
}
165-
166182
.header-dialog .cf th {
167183
border-right: solid 1px silver;
168-
height: 19px;
169184
font-weight: normal;
170185
}
171186

@@ -184,17 +199,26 @@ input[type="number"]::-webkit-inner-spin-button {
184199
border-top-right-radius: 3px;
185200
}
186201

202+
/* Box holding numeric inputs */
187203
.header-dialog .cf input {
188-
margin: 4px;
189204
width: calc(100% - 10px);
190205
border: 1px solid silver;
191206
border-radius: 3px;
207+
margin-left: 2px;
208+
text-align: center;
192209
}
193210

211+
/* Box holding text down elements */
194212
.header-dialog .cf select {
195-
margin: 4px;
213+
appearance: none; /* hide arrow at right*/
196214
width: calc(100% - 10px);
197215
border: 1px solid silver;
216+
background-color: #FFFFFF;
217+
color: black;
218+
padding-top: 1px;
219+
padding-left: 2px;
220+
text-align: center;
221+
text-align-last: center;
198222
}
199223

200224
.header-dialog .parameter th:nth-child(2) {
@@ -214,7 +238,7 @@ input[type="number"]::-webkit-inner-spin-button {
214238
}
215239

216240
.header-dialog table {
217-
float: left;
241+
float: center;
218242
margin: 0;
219243
border-collapse: collapse;
220244
width: calc(100% - 1px);
@@ -226,13 +250,11 @@ input[type="number"]::-webkit-inner-spin-button {
226250

227251
.header-dialog .parameter td+input {
228252
padding: 1px;
229-
background-color:red;
230253
border-bottom: 0 solid #ccc;
231254
}
232255

233256
.header-dialog table, .header-dialog table td {
234257
padding: 1px;
235-
border-bottom: 0 solid #ccc;
236258
}
237259

238260
.header-dialog table th {
@@ -245,7 +267,6 @@ input[type="number"]::-webkit-inner-spin-button {
245267
padding: 5px;
246268
text-align: left;
247269
border-right: 1px solid #ccc;
248-
width: calc(100% - 1px);
249270
}
250271

251272
.header-dialog .pid_titlebar th:first-child {
@@ -256,8 +277,9 @@ input[type="number"]::-webkit-inner-spin-button {
256277
border-right: none;
257278
}
258279

280+
/* for labels in PID rows */
259281
.header-dialog table:not(.parameter) tr td:first-child {
260-
text-align: left;
282+
text-align: center;
261283
padding-left: 5px;
262284
}
263285

@@ -270,25 +292,26 @@ input[type="number"]::-webkit-inner-spin-button {
270292
padding: 1px;
271293
width: 20%;
272294
border-right: 1px solid #ccc;
295+
border-bottom: 1px solid #ccc;
273296
}
274297

275298
.header-dialog table tr td {
276-
text-align: left;
277-
padding-left: 0;
299+
text-align: center;
300+
padding-left: ;
278301
}
279302

303+
/* numeric inputs in tables */
280304
.header-dialog table input {
281305
display: block;
282306
width: calc(100% - 4px);
283-
height: 20px;
284-
line-height: 20px;
285-
text-align: right;
307+
text-align: center;
286308
border: 0 solid #ccc;
287309
border-radius: 0;
310+
background-color: #F5F5F5;
288311
}
289312

290313
.header-dialog .missing {
291-
background:rgba(255,0,0,0.2);
314+
background:rgba(255,0,0,0.2);
292315
}
293316

294317
.header-dialog .static-features span {
@@ -311,8 +334,8 @@ input[type="number"]::-webkit-inner-spin-button {
311334

312335
.header-dialog .controller select {
313336
width: calc(100% - 10px);
314-
height: 20px;
315-
line-height: 20px;
337+
height: 18px;
338+
line-height: 18px;
316339
}
317340

318341
.header-dialog .profile {
@@ -325,7 +348,7 @@ input[type="number"]::-webkit-inner-spin-button {
325348
.header-dialog .profile .head {
326349
display: block;
327350
text-align: left;
328-
line-height: 20px;
351+
line-height: 18px;
329352
border-bottom: 1px solid #ccc;
330353
background-color: #828885;
331354
color: white;
@@ -337,8 +360,8 @@ input[type="number"]::-webkit-inner-spin-button {
337360
.header-dialog .profile select {
338361
width: 100%;
339362
padding-left: calc(100% - 35px);
340-
height: 20px;
341-
line-height: 20px;
363+
height: 18px;
364+
line-height: 18px;
342365
}
343366

344367
.header-dialog .pid_tuning .name {
@@ -369,18 +392,18 @@ input[type="number"]::-webkit-inner-spin-button {
369392
width: 80%;
370393
}
371394

395+
/* text in parameter boxes*/
372396
.header-dialog .parameter {
373397
float: right;
374-
width: calc(100% - 2px);
375-
margin-top: 10px;
376398
/* padding-left: 0; */
377399
}
378400

401+
/*drop-down names display text*/
379402
html:not(.isCF) .cf-only,
380403
html:not(.isBF) .bf-only {
381404
/*display:none;*/
382405
/*visibility:hidden;*/
383-
opacity:0.25;
406+
/*opacity:0.25;*/
384407
}
385408
/*
386409
html:not(.isBF28) .bf-only {
@@ -399,9 +422,16 @@ html:not(.isBF28) .bf-only {
399422
}
400423

401424
.header-dialog .spacer_box {
402-
padding-bottom: 10px;
403425
float: left;
404-
width: calc(100% - 5px);
426+
}
427+
428+
.pid_labels th{
429+
text-align: center;
430+
}
431+
432+
.pid_labels th label{
433+
font-weight: normal;
434+
font-size: 12px;
405435
}
406436

407437
.pid_mode {
@@ -414,7 +444,7 @@ html:not(.isBF28) .bf-only {
414444
padding: 8px 0 0 5px;
415445
font-size: 12px;
416446
border-bottom: 1px solid #ccc;
417-
color: #828282;
447+
color: #202020;
418448
font-family: 'open_sans', Arial, serif;
419449
background: #D6D6D6 linear-gradient(315deg, rgba(255, 255, 255, .2) 10%, transparent 10%, transparent 20%,
420450
rgba(255, 255, 255, .2) 20%, rgba(255, 255, 255, .2) 30%, transparent 30%, transparent 40%,
@@ -429,7 +459,8 @@ html:not(.isBF28) .bf-only {
429459
background-color: #828885;
430460
border-top-left-radius: 3px;
431461
border-top-right-radius: 3px;
432-
height: 20px;
462+
height: 18px;
463+
padding: 30px;
433464
}
434465

435466
.pid_titlebar td:first-child {
@@ -484,9 +515,7 @@ html:not(.isBF28) .bf-only {
484515
.header-dialog .number input {
485516
width: 50px;
486517
padding-left: 3px;
487-
height: 20px;
488-
line-height: 20px;
489-
text-align: left;
518+
text-align: center;
490519
border: 1px solid silver;
491520
border-radius: 3px;
492521
margin-right: 11px;
@@ -509,8 +538,6 @@ html:not(.isBF28) .bf-only {
509538
.header-dialog .static-features label{
510539
/* width: 70px; */
511540
/* padding-left: 3px; */
512-
height: 20px;
513-
line-height: 20px;
514541
text-align: left;
515542
border: 0 solid silver;
516543
border-radius: 3px;
@@ -523,8 +550,8 @@ html:not(.isBF28) .bf-only {
523550
.header-dialog .features span,
524551
.header-dialog .static-features span {
525552
padding-right: 3px;
526-
height: 20px;
527-
line-height: 20px;
553+
height: 18px;
554+
line-height: 18px;
528555
text-align: left;
529556
border: 0 solid silver;
530557
border-radius: 3px;
@@ -537,12 +564,12 @@ html:not(.isBF28) .bf-only {
537564
font-style: normal;
538565
font-family: 'open_sansregular', Arial, sans-serif;
539566
line-height: 19px;
540-
color: #7d7d7d;
567+
color: #404040;
541568
font-size: 11px;
542569
}
543570

544571
.noline {
545-
border:0;
572+
border:0;
546573
}
547574

548575
.header-dialog .resetbt {

0 commit comments

Comments
 (0)