| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<style type="text/css"> |
| 8 |
#oneThumbSlider { |
| 9 |
position: relative; |
| 10 |
width: 1000px; |
| 11 |
background: grey; |
| 12 |
height: 20px; |
| 13 |
} |
| 14 |
|
| 15 |
#oneThumbSlider.test-slider-vertical { |
| 16 |
height: 1000px; |
| 17 |
width: 20px; |
| 18 |
} |
| 19 |
|
| 20 |
#twoThumbSlider { |
| 21 |
position: relative; |
| 22 |
/* Extra 20px is so distance between thumb centers is 1000px */ |
| 23 |
width: 1020px; |
| 24 |
} |
| 25 |
|
| 26 |
#valueThumb, #extentThumb { |
| 27 |
position: absolute; |
| 28 |
width: 20px; |
| 29 |
} |
| 30 |
|
| 31 |
#thumb { |
| 32 |
position: absolute; |
| 33 |
width: 20px; |
| 34 |
height: 20px; |
| 35 |
background: black; |
| 36 |
top: 5px; |
| 37 |
} |
| 38 |
|
| 39 |
.test-slider-vertical > #thumb { |
| 40 |
left: 5px; |
| 41 |
top: auto; |
| 42 |
} |
| 43 |
|
| 44 |
#rangeHighlight { |
| 45 |
position: absolute; |
| 46 |
} |
| 47 |
</style> |
| 48 |
<div id="sandbox"> |
| 49 |
</div> |