Skip to content

Commit a190a07

Browse files
committed
add slider support
1 parent ed4ee3c commit a190a07

File tree

5 files changed

+670
-400
lines changed

5 files changed

+670
-400
lines changed

css/header_dialog.css

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +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;
58-
margin-right: 5px;
56+
opacity: 0; /* 1 is required for chromium 33+ beta to show the arrows / spinners */
57+
/* margin-left: 5px;*/
5958
}
6059

60+
/* Hide select dropdown arrow
61+
select {
62+
appearance: none;
63+
padding-left: 5px;
64+
}
65+
*/
66+
6167
.clear-both {
6268
clear: both;
6369
}
@@ -159,8 +165,7 @@ input[type="number"]::-webkit-inner-spin-button {
159165
font-weight: normal;
160166
font-size: 13px;
161167
color: #505050;
162-
text-align: center;
163-
width:100%;
168+
text-align: center;
164169
}
165170

166171
/* Parameter box other rows */
@@ -194,22 +199,26 @@ input[type="number"]::-webkit-inner-spin-button {
194199
border-top-right-radius: 3px;
195200
}
196201

197-
/* Box holding text inputs */
202+
/* Box holding numeric inputs */
198203
.header-dialog .cf input {
199204
width: calc(100% - 10px);
200205
border: 1px solid silver;
201206
border-radius: 3px;
202-
margin-left:5px;
207+
margin-left: 2px;
208+
text-align: center;
203209
}
204210

205-
/* Box holding drop down elements*/
211+
/* Box holding text down elements */
206212
.header-dialog .cf select {
213+
appearance: none; /* hide arrow at right*/
207214
width: calc(100% - 10px);
208215
border: 1px solid silver;
209216
background-color: #FFFFFF;
210217
color: black;
211-
padding-top: 2px;
212-
padding-bottom: 1px;
218+
padding-top: 1px;
219+
padding-left: 2px;
220+
text-align: center;
221+
text-align-last: center;
213222
}
214223

215224
.header-dialog .parameter th:nth-child(2) {
@@ -295,7 +304,7 @@ input[type="number"]::-webkit-inner-spin-button {
295304
.header-dialog table input {
296305
display: block;
297306
width: calc(100% - 4px);
298-
text-align: right;
307+
text-align: center;
299308
border: 0 solid #ccc;
300309
border-radius: 0;
301310
background-color: #F5F5F5;
@@ -496,7 +505,6 @@ html:not(.isBF28) .bf-only {
496505
border-bottom: 1px solid #ddd;
497506
width: 100%;
498507
float: left;
499-
500508
}
501509

502510
.header-dialog .number:last-child {
@@ -507,12 +515,11 @@ html:not(.isBF28) .bf-only {
507515
.header-dialog .number input {
508516
width: 50px;
509517
padding-left: 3px;
510-
text-align: left;
518+
text-align: center;
511519
border: 1px solid silver;
512520
border-radius: 3px;
513521
margin-right: 11px;
514522
font-weight: normal;
515-
516523
}
517524

518525
.header-dialog .other table td,
@@ -551,7 +558,7 @@ html:not(.isBF28) .bf-only {
551558
margin-right: 11px;
552559
font-weight: normal;
553560
font-size: 11px;
554-
}
561+
}
555562

556563
.header-dialog .gui_box span {
557564
font-style: normal;
@@ -562,7 +569,7 @@ html:not(.isBF28) .bf-only {
562569
}
563570

564571
.noline {
565-
border:0;
572+
border:0;
566573
}
567574

568575
.header-dialog .resetbt {

0 commit comments

Comments
 (0)