Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. <div id="wrapper">
  2. <div id="scroller">
  3. ... divs, boxes generated by jQuery ...
  4. </div>
  5. </div>
  6.  
  7. #wrapper {
  8. margin-left: 45px;
  9. position: absolute;
  10. width: 900px;
  11. overflow: hidden;
  12. }
  13. #scroller {
  14. width: 100%;
  15. height: 100px;
  16. margin: 0px auto;
  17. overflow: auto;
  18. }
  19.  
  20. #scroller div.line {
  21. position: absolute;
  22. margin-left: 2.5px;
  23. margin-top: 39px;
  24. border-bottom: 3px solid;
  25. border-color: #dd4b39;
  26. }
  27. #scroller div.ranges {
  28. position: absolute;
  29. width: 90%;
  30. text-align:left;
  31. margin-left: 5px;
  32. margin-top: 70px;
  33. }
  34. #scroller box.range {
  35. position:absolute;
  36. display: inline-block;
  37. width: 30px;
  38. height: 15px;
  39. border-radius: 15%;
  40. -moz-box-shadow:0px 0px 10px 1px #777777;
  41. -webkit-box-shadow:0px 0px 10px 1px #777777;
  42. -ms-box-shadow:0px 0px 10px 1px #777777;
  43. -o-box-shadow:0px 0px 10px 1px #777777;
  44. box-shadow:0px 0px 10px 1px #777777;
  45. background-image: -ms-linear-gradient(top left, #A8A8A8 0%, #BFBFBF 100%);
  46. background-image: -moz-linear-gradient(top left, #A8A8A8 0%, #BFBFBF 100%);
  47. background-image: -o-linear-gradient(top left, #A8A8A8 0%, #BFBFBF 100%);
  48. background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #A8A8A8), color-stop(1, #BFBFBF));
  49. background-image: -webkit-linear-gradient(top left, #A8A8A8 0%, #BFBFBF 100%);
  50. background-image: linear-gradient(to bottom right, #A8A8A8 0%, #BFBFBF 100%);
  51. z-index: 2;
  52. }
  53. #scroller div.lrange {
  54. position:absolute;
  55. display: inline-block;
  56. width: 15px;
  57. height: 100px;
  58. margin-top: -70px;
  59. border-right: 1px dotted;
  60. border-color: #dd4b39;
  61. }
  62. #scroller div.circle_small {
  63. position: absolute;
  64. cursor: pointer;
  65. display: inline-block;
  66. margin: 0 3px;
  67. margin-top: 32.5px;
  68. width: 15px;
  69. height: 15px;
  70. border-radius: 50%;
  71. background: #CC3524;
  72. background: -webkit-linear-gradient(top, #d14836, #dd4b39);
  73. background: -moz-linear-gradient(top, #d14836, #dd4b39);
  74. background: -ms-linear-gradient(top, #d14836, #dd4b39);
  75. background: -o-linear-gradient(top, #d14836, #dd4b39);
  76. background: -linear-gradient(top, #d14836, #dd4b39);
  77. }
  78. #scroller div.circle_big {
  79. position: absolute;
  80. cursor: pointer;
  81. display: inline-block;
  82. margin: 0px 3px;
  83. width: 40px;
  84. height: 40px;
  85. margin-top: 20px;
  86. border-radius: 50%;
  87. background: #CC3524;
  88. background: -webkit-linear-gradient(top, #d14836, #dd4b39);
  89. background: -moz-linear-gradient(top, #d14836, #dd4b39);
  90. background: -ms-linear-gradient(top, #d14836, #dd4b39);
  91. background: -o-linear-gradient(top, #d14836, #dd4b39);
  92. background: -linear-gradient(top, #d14836, #dd4b39);
  93. }
  94. #scroller div.circle_label {
  95. cursor: pointer;
  96. text-align: center;
  97. font-size: 20px;
  98. padding: 8px;
  99. }
  100.  
  101. <div style="-webkit-overflow-scrolling: touch;overflow-y: scroll;">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement