Last change
on this file since 29693 was 29693, checked in by bmt11, 9 years ago |
Added slider for wind control but the black box is a bug I have no figured out for some time now
Camera control is disabled whilst using the slider also :)
|
File size:
913 bytes
|
Line | |
---|
1 | #slider {
|
---|
2 | width: 50vw;
|
---|
3 | height: 50px;
|
---|
4 | position: relative;
|
---|
5 | margin: 0 auto;
|
---|
6 | margin-top: 20px;
|
---|
7 | background: url('../images/slider-graphics.png') no-repeat left top;
|
---|
8 | background-color: transparent;
|
---|
9 | border: none;
|
---|
10 | border-color: transparent;
|
---|
11 | outline: 0;
|
---|
12 | color: transparent;
|
---|
13 | z-index: 0;
|
---|
14 | }
|
---|
15 |
|
---|
16 | #speed {
|
---|
17 | position: absolute;
|
---|
18 | left: 24px;
|
---|
19 | margin: 0 auto;
|
---|
20 | height: 15px;
|
---|
21 | width: 300px;
|
---|
22 | background: url('../images/speed-empty.png') no-repeat left top;
|
---|
23 | border: none;
|
---|
24 | outline: 0;
|
---|
25 | }
|
---|
26 |
|
---|
27 | #speed .ui-slider-range-min {
|
---|
28 | height: 15px;
|
---|
29 | position: absolute;
|
---|
30 | background: url('../images/speed-full.png') no-repeat left top;
|
---|
31 | opacity: 0.5;
|
---|
32 | border: none;
|
---|
33 | outline: 0;
|
---|
34 | }
|
---|
35 |
|
---|
36 | #speed .ui-slider-handle{
|
---|
37 | width: 38px;
|
---|
38 | height: 39px;
|
---|
39 | background: url('../images/slider-knob.png') no-repeat left top;
|
---|
40 | position: absolute;
|
---|
41 | margin-left: -15px;
|
---|
42 | margin-top: -8px;
|
---|
43 | border: none;
|
---|
44 | outline: 0;
|
---|
45 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.