scroll.less
141 lines
| 1 | /* |
| 2 | * CSS Styles that are needed by jScrollPane for it to operate correctly. |
| 3 | * |
| 4 | * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane |
| 5 | * may not operate correctly without them. |
| 6 | */ |
| 7 | |
| 8 | .jspContainer |
| 9 | { |
| 10 | /*overflow: hidden;*/ |
| 11 | position: relative; |
| 12 | } |
| 13 | |
| 14 | .jspPane |
| 15 | { |
| 16 | position: absolute; |
| 17 | } |
| 18 | |
| 19 | .jspVerticalBar |
| 20 | { |
| 21 | position: absolute; |
| 22 | top: 0; |
| 23 | right: 0; |
| 24 | width: 16px; |
| 25 | height: 100%; |
| 26 | } |
| 27 | |
| 28 | .jspHorizontalBar |
| 29 | { |
| 30 | position: absolute; |
| 31 | bottom: 0; |
| 32 | left: 0; |
| 33 | width: 100%; |
| 34 | height: 16px; |
| 35 | background: red; |
| 36 | } |
| 37 | |
| 38 | .jspVerticalBar *, |
| 39 | .jspHorizontalBar * |
| 40 | { |
| 41 | margin: 0; |
| 42 | padding: 0; |
| 43 | } |
| 44 | |
| 45 | .jspCap |
| 46 | { |
| 47 | display: none; |
| 48 | } |
| 49 | |
| 50 | .jspHorizontalBar .jspCap |
| 51 | { |
| 52 | float: left; |
| 53 | } |
| 54 | |
| 55 | .jspTrack |
| 56 | { |
| 57 | background: url("../images/slide.png") transparent no-repeat 7px; |
| 58 | position: relative; |
| 59 | background-size: 20% 100%; |
| 60 | /*height: 447px!important;*/ |
| 61 | } |
| 62 | |
| 63 | .jspDrag |
| 64 | { |
| 65 | background: url("../images/scroller.png") transparent no-repeat; |
| 66 | background-size: 100% 100%; |
| 67 | width: 17px; |
| 68 | position: relative; |
| 69 | top: 0; |
| 70 | left: 0; |
| 71 | cursor: pointer; |
| 72 | } |
| 73 | |
| 74 | .jspHorizontalBar .jspTrack, |
| 75 | .jspHorizontalBar .jspDrag |
| 76 | { |
| 77 | float: left; |
| 78 | height: 100%; |
| 79 | } |
| 80 | |
| 81 | .jspArrow |
| 82 | { |
| 83 | |
| 84 | text-indent: -20000px; |
| 85 | display: block; |
| 86 | cursor: pointer; |
| 87 | } |
| 88 | .jspArrowDown{ |
| 89 | background: url("../images/down_arrow.png") transparent no-repeat; |
| 90 | } |
| 91 | .jspArrowUp{ |
| 92 | background: url("../images/up_arrow.png") transparent no-repeat; |
| 93 | } |
| 94 | |
| 95 | .jspVerticalBar .jspArrow |
| 96 | { |
| 97 | height: 14px; |
| 98 | |
| 99 | } |
| 100 | |
| 101 | .jspHorizontalBar .jspArrow |
| 102 | { |
| 103 | width: 16px; |
| 104 | float: left; |
| 105 | height: 100%; |
| 106 | } |
| 107 | |
| 108 | .jspVerticalBar .jspArrow:focus |
| 109 | { |
| 110 | outline: none; |
| 111 | } |
| 112 | |
| 113 | .jspCorner |
| 114 | { |
| 115 | background: #eeeef4; |
| 116 | float: left; |
| 117 | height: 100%; |
| 118 | } |
| 119 | |
| 120 | /* Yuk! CSS Hack for IE6 3 pixel bug :( */ |
| 121 | * html .jspCorner |
| 122 | { |
| 123 | margin: 0 -3px 0 0; |
| 124 | } |
| 125 | |
| 126 | /* Styles specific to this particular page */ |
| 127 | .scroll-pane-before, |
| 128 | .scroll-pane-after, |
| 129 | .scroll-pane-split, |
| 130 | .scroll-pane-os |
| 131 | { |
| 132 | width: 100%; |
| 133 | height: 200px; |
| 134 | overflow: auto; |
| 135 | } |
| 136 | .horizontal-only |
| 137 | { |
| 138 | height: auto; |
| 139 | max-height: 200px; |
| 140 | } |
| 141 |