jquery.scrollbar.scss 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793
  1. /*************** SCROLLBAR BASE CSS ***************/
  2. .scroll-wrapper {
  3. overflow: hidden !important;
  4. padding: 0 !important;
  5. position: relative;
  6. & > .scroll-content {
  7. border: none !important;
  8. box-sizing: content-box !important;
  9. height: auto;
  10. left: 0;
  11. margin: 0;
  12. max-height: none;
  13. max-width: none !important;
  14. overflow: scroll !important;
  15. padding: 0;
  16. position: relative !important;
  17. top: 0;
  18. width: auto !important;
  19. &::-webkit-scrollbar {
  20. height: 0;
  21. width: 0;
  22. }
  23. }
  24. &.scroll--rtl {
  25. direction: rtl;
  26. }
  27. }
  28. .scroll-element {
  29. box-sizing: content-box;
  30. display: none;
  31. div {
  32. box-sizing: content-box;
  33. }
  34. .scroll-bar,
  35. .scroll-arrow {
  36. cursor: default;
  37. }
  38. &.scroll-x.scroll-scrollx_visible,
  39. &.scroll-y.scroll-scrolly_visible {
  40. display: block;
  41. }
  42. }
  43. .scroll-textarea {
  44. border: 1px solid #cccccc;
  45. border-top-color: #999999;
  46. & > .scroll-content {
  47. overflow: hidden !important;
  48. & > textarea {
  49. border: none !important;
  50. box-sizing: border-box;
  51. height: 100% !important;
  52. margin: 0;
  53. max-height: none !important;
  54. max-width: none !important;
  55. overflow: scroll !important;
  56. outline: none;
  57. padding: 2px;
  58. position: relative !important;
  59. top: 0;
  60. width: 100% !important;
  61. &::-webkit-scrollbar {
  62. height: 0;
  63. width: 0;
  64. }
  65. }
  66. }
  67. }
  68. /*************** SIMPLE INNER SCROLLBAR ***************/
  69. .scrollbar-inner > .scroll-element,
  70. .scrollbar-inner > .scroll-element div
  71. {
  72. border: none;
  73. margin: 0;
  74. padding: 0;
  75. position: absolute;
  76. z-index: 10;
  77. }
  78. .scrollbar-inner > .scroll-element div {
  79. display: block;
  80. height: 100%;
  81. left: 0;
  82. top: 0;
  83. width: 100%;
  84. }
  85. .scrollbar-inner > .scroll-element.scroll-x {
  86. bottom: 2px;
  87. height: 8px;
  88. left: 0;
  89. width: 100%;
  90. }
  91. .scrollbar-inner > .scroll-element.scroll-y {
  92. height: 100%;
  93. right: 2px;
  94. top: 0;
  95. width: 8px;
  96. }
  97. .scrollbar-inner > .scroll-element .scroll-element_outer {
  98. overflow: hidden;
  99. }
  100. .scrollbar-inner > .scroll-element .scroll-element_outer,
  101. .scrollbar-inner > .scroll-element .scroll-element_track,
  102. .scrollbar-inner > .scroll-element .scroll-bar {
  103. -webkit-border-radius: 8px;
  104. -moz-border-radius: 8px;
  105. border-radius: 8px;
  106. }
  107. .scrollbar-inner > .scroll-element .scroll-element_track,
  108. .scrollbar-inner > .scroll-element .scroll-bar {
  109. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  110. filter: alpha(opacity=40);
  111. opacity: 0.4;
  112. }
  113. .scrollbar-inner > .scroll-element .scroll-element_track { background-color: #e0e0e0; }
  114. .scrollbar-inner > .scroll-element .scroll-bar { background-color: #c2c2c2; }
  115. .scrollbar-inner > .scroll-element:hover .scroll-bar { background-color: #919191; }
  116. .scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar { background-color: #919191; }
  117. /* update scrollbar offset if both scrolls are visible */
  118. .scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -12px; }
  119. .scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -12px; }
  120. .scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -12px; }
  121. .scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -12px; }
  122. /*************** SIMPLE OUTER SCROLLBAR ***************/
  123. .scrollbar-outer > .scroll-element,
  124. .scrollbar-outer > .scroll-element div
  125. {
  126. border: none;
  127. margin: 0;
  128. padding: 0;
  129. position: absolute;
  130. z-index: 10;
  131. }
  132. .scrollbar-outer > .scroll-element {
  133. background-color: #ffffff;
  134. }
  135. .scrollbar-outer > .scroll-element div {
  136. display: block;
  137. height: 100%;
  138. left: 0;
  139. top: 0;
  140. width: 100%;
  141. }
  142. .scrollbar-outer > .scroll-element.scroll-x {
  143. bottom: 0;
  144. height: 12px;
  145. left: 0;
  146. width: 100%;
  147. }
  148. .scrollbar-outer > .scroll-element.scroll-y {
  149. height: 100%;
  150. right: 0;
  151. top: 0;
  152. width: 12px;
  153. }
  154. .scrollbar-outer > .scroll-element.scroll-x .scroll-element_outer { height: 8px; top: 2px; }
  155. .scrollbar-outer > .scroll-element.scroll-y .scroll-element_outer { left: 2px; width: 8px; }
  156. .scrollbar-outer > .scroll-element .scroll-element_outer { overflow: hidden; }
  157. .scrollbar-outer > .scroll-element .scroll-element_track { background-color: #eeeeee; }
  158. .scrollbar-outer > .scroll-element .scroll-element_outer,
  159. .scrollbar-outer > .scroll-element .scroll-element_track,
  160. .scrollbar-outer > .scroll-element .scroll-bar {
  161. -webkit-border-radius: 8px;
  162. -moz-border-radius: 8px;
  163. border-radius: 8px;
  164. }
  165. .scrollbar-outer > .scroll-element .scroll-bar { background-color: #d9d9d9; }
  166. .scrollbar-outer > .scroll-element .scroll-bar:hover { background-color: #c2c2c2; }
  167. .scrollbar-outer > .scroll-element.scroll-draggable .scroll-bar { background-color: #919191; }
  168. /* scrollbar height/width & offset from container borders */
  169. .scrollbar-outer > .scroll-content.scroll-scrolly_visible { left: -12px; margin-left: 12px; }
  170. .scrollbar-outer > .scroll-content.scroll-scrollx_visible { top: -12px; margin-top: 12px; }
  171. .scrollbar-outer > .scroll-element.scroll-x .scroll-bar { min-width: 10px; }
  172. .scrollbar-outer > .scroll-element.scroll-y .scroll-bar { min-height: 10px; }
  173. /* update scrollbar offset if both scrolls are visible */
  174. .scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -14px; }
  175. .scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -14px; }
  176. .scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -14px; }
  177. .scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -14px; }
  178. /*************** SCROLLBAR MAC OS X ***************/
  179. .scrollbar-macosx > .scroll-element,
  180. .scrollbar-macosx > .scroll-element div
  181. {
  182. background: none;
  183. border: none;
  184. margin: 0;
  185. padding: 0;
  186. position: absolute;
  187. z-index: 10;
  188. }
  189. .scrollbar-macosx > .scroll-element div {
  190. display: block;
  191. height: 100%;
  192. left: 0;
  193. top: 0;
  194. width: 100%;
  195. }
  196. .scrollbar-macosx > .scroll-element .scroll-element_track { display: none; }
  197. .scrollbar-macosx > .scroll-element .scroll-bar {
  198. background-color: #6C6E71;
  199. display: block;
  200. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  201. filter: alpha(opacity=0);
  202. opacity: 0;
  203. -webkit-border-radius: 7px;
  204. -moz-border-radius: 7px;
  205. border-radius: 7px;
  206. -webkit-transition: opacity 0.2s linear;
  207. -moz-transition: opacity 0.2s linear;
  208. -o-transition: opacity 0.2s linear;
  209. -ms-transition: opacity 0.2s linear;
  210. transition: opacity 0.2s linear;
  211. }
  212. .scrollbar-macosx:hover > .scroll-element .scroll-bar,
  213. .scrollbar-macosx > .scroll-element.scroll-draggable .scroll-bar {
  214. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  215. filter: alpha(opacity=70);
  216. opacity: 0.7;
  217. }
  218. .scrollbar-macosx > .scroll-element.scroll-x {
  219. bottom: 0px;
  220. height: 0px;
  221. left: 0;
  222. min-width: 100%;
  223. overflow: visible;
  224. width: 100%;
  225. }
  226. .scrollbar-macosx > .scroll-element.scroll-y {
  227. height: 100%;
  228. min-height: 100%;
  229. right: 0px;
  230. top: 0;
  231. width: 0px;
  232. }
  233. /* scrollbar height/width & offset from container borders */
  234. .scrollbar-macosx > .scroll-element.scroll-x .scroll-bar { height: 7px; min-width: 10px; top: -9px; }
  235. .scrollbar-macosx > .scroll-element.scroll-y .scroll-bar { left: -9px; min-height: 10px; width: 7px; }
  236. .scrollbar-macosx > .scroll-element.scroll-x .scroll-element_outer { left: 2px; }
  237. .scrollbar-macosx > .scroll-element.scroll-x .scroll-element_size { left: -4px; }
  238. .scrollbar-macosx > .scroll-element.scroll-y .scroll-element_outer { top: 2px; }
  239. .scrollbar-macosx > .scroll-element.scroll-y .scroll-element_size { top: -4px; }
  240. /* update scrollbar offset if both scrolls are visible */
  241. .scrollbar-macosx > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -11px; }
  242. .scrollbar-macosx > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -11px; }
  243. /*************** SCROLLBAR LIGHT ***************/
  244. .scrollbar-light > .scroll-element,
  245. .scrollbar-light > .scroll-element div {
  246. border: none;
  247. margin: 0;
  248. overflow: hidden;
  249. padding: 0;
  250. position: absolute;
  251. z-index: 10;
  252. }
  253. .scrollbar-light > .scroll-element {
  254. background-color: #ffffff;
  255. }
  256. .scrollbar-light > .scroll-element div {
  257. display: block;
  258. height: 100%;
  259. left: 0;
  260. top: 0;
  261. width: 100%;
  262. }
  263. .scrollbar-light > .scroll-element .scroll-element_outer {
  264. -webkit-border-radius: 10px;
  265. -moz-border-radius: 10px;
  266. border-radius: 10px;
  267. }
  268. .scrollbar-light > .scroll-element .scroll-element_size {
  269. background: #dbdbdb;
  270. background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+');
  271. background: -moz-linear-gradient(left, #dbdbdb 0%, #e8e8e8 100%);
  272. background: -webkit-gradient(linear, left top, right top, color-stop(0%,#dbdbdb), color-stop(100%,#e8e8e8));
  273. background: -webkit-linear-gradient(left, #dbdbdb 0%,#e8e8e8 100%);
  274. background: -o-linear-gradient(left, #dbdbdb 0%,#e8e8e8 100%);
  275. background: -ms-linear-gradient(left, #dbdbdb 0%,#e8e8e8 100%);
  276. background: linear-gradient(to right, #dbdbdb 0%,#e8e8e8 100%);
  277. -webkit-border-radius: 10px;
  278. -moz-border-radius: 10px;
  279. border-radius: 10px;
  280. }
  281. .scrollbar-light > .scroll-element.scroll-x {
  282. bottom: 0;
  283. height: 17px;
  284. left: 0;
  285. min-width: 100%;
  286. width: 100%;
  287. }
  288. .scrollbar-light > .scroll-element.scroll-y {
  289. height: 100%;
  290. min-height: 100%;
  291. right: 0;
  292. top: 0;
  293. width: 17px;
  294. }
  295. .scrollbar-light > .scroll-element .scroll-bar {
  296. background: #fefefe;
  297. background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+');
  298. background: -moz-linear-gradient(left, #fefefe 0%, #f5f5f5 100%);
  299. background: -webkit-gradient(linear, left top, right top, color-stop(0%,#fefefe), color-stop(100%,#f5f5f5));
  300. background: -webkit-linear-gradient(left, #fefefe 0%,#f5f5f5 100%);
  301. background: -o-linear-gradient(left, #fefefe 0%,#f5f5f5 100%);
  302. background: -ms-linear-gradient(left, #fefefe 0%,#f5f5f5 100%);
  303. background: linear-gradient(to right, #fefefe 0%,#f5f5f5 100%);
  304. border: 1px solid #dbdbdb;
  305. -webkit-border-radius: 10px;
  306. -moz-border-radius: 10px;
  307. border-radius: 10px;
  308. }
  309. /* scrollbar height/width & offset from container borders */
  310. .scrollbar-light > .scroll-content.scroll-scrolly_visible { left: -17px; margin-left: 17px; }
  311. .scrollbar-light > .scroll-content.scroll-scrollx_visible { top: -17px; margin-top: 17px; }
  312. .scrollbar-light > .scroll-element.scroll-x .scroll-bar { height: 10px; min-width: 10px; top: 0px; }
  313. .scrollbar-light > .scroll-element.scroll-y .scroll-bar { left: 0px; min-height: 10px; width: 10px; }
  314. .scrollbar-light > .scroll-element.scroll-x .scroll-element_outer { height: 12px; left: 2px; top: 2px; }
  315. .scrollbar-light > .scroll-element.scroll-x .scroll-element_size { left: -4px; }
  316. .scrollbar-light > .scroll-element.scroll-y .scroll-element_outer { left: 2px; top: 2px; width: 12px; }
  317. .scrollbar-light > .scroll-element.scroll-y .scroll-element_size { top: -4px; }
  318. /* update scrollbar offset if both scrolls are visible */
  319. .scrollbar-light > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -19px; }
  320. .scrollbar-light > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -19px; }
  321. .scrollbar-light > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -19px; }
  322. .scrollbar-light > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -19px; }
  323. /*************** SCROLLBAR RAIL ***************/
  324. .scrollbar-rail > .scroll-element,
  325. .scrollbar-rail > .scroll-element div
  326. {
  327. border: none;
  328. margin: 0;
  329. overflow: hidden;
  330. padding: 0;
  331. position: absolute;
  332. z-index: 10;
  333. }
  334. .scrollbar-rail > .scroll-element {
  335. background-color: #ffffff;
  336. }
  337. .scrollbar-rail > .scroll-element div {
  338. display: block;
  339. height: 100%;
  340. left: 0;
  341. top: 0;
  342. width: 100%;
  343. }
  344. .scrollbar-rail > .scroll-element .scroll-element_size {
  345. background-color: #999;
  346. background-color: rgba(0, 0, 0, 0.3);
  347. }
  348. .scrollbar-rail > .scroll-element .scroll-element_outer:hover .scroll-element_size {
  349. background-color: #666;
  350. background-color: rgba(0, 0, 0, 0.5);
  351. }
  352. .scrollbar-rail > .scroll-element.scroll-x {
  353. bottom: 0;
  354. height: 12px;
  355. left: 0;
  356. min-width: 100%;
  357. padding: 3px 0 2px;
  358. width: 100%;
  359. }
  360. .scrollbar-rail > .scroll-element.scroll-y {
  361. height: 100%;
  362. min-height: 100%;
  363. padding: 0 2px 0 3px;
  364. right: 0;
  365. top: 0;
  366. width: 12px;
  367. }
  368. .scrollbar-rail > .scroll-element .scroll-bar {
  369. background-color: #d0b9a0;
  370. -webkit-border-radius: 2px;
  371. -moz-border-radius: 2px;
  372. border-radius: 2px;
  373. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  374. }
  375. .scrollbar-rail > .scroll-element .scroll-element_outer:hover .scroll-bar {
  376. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  377. }
  378. /* scrollbar height/width & offset from container borders */
  379. .scrollbar-rail > .scroll-content.scroll-scrolly_visible { left: -17px; margin-left: 17px; }
  380. .scrollbar-rail > .scroll-content.scroll-scrollx_visible { margin-top: 17px; top: -17px; }
  381. .scrollbar-rail > .scroll-element.scroll-x .scroll-bar { height: 10px; min-width: 10px; top: 1px; }
  382. .scrollbar-rail > .scroll-element.scroll-y .scroll-bar { left: 1px; min-height: 10px; width: 10px; }
  383. .scrollbar-rail > .scroll-element.scroll-x .scroll-element_outer { height: 15px; left: 5px; }
  384. .scrollbar-rail > .scroll-element.scroll-x .scroll-element_size { height: 2px; left: -10px; top: 5px; }
  385. .scrollbar-rail > .scroll-element.scroll-y .scroll-element_outer { top: 5px; width: 15px; }
  386. .scrollbar-rail > .scroll-element.scroll-y .scroll-element_size { left: 5px; top: -10px; width: 2px; }
  387. /* update scrollbar offset if both scrolls are visible */
  388. .scrollbar-rail > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -25px; }
  389. .scrollbar-rail > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -25px; }
  390. .scrollbar-rail > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -25px; }
  391. .scrollbar-rail > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -25px; }
  392. /*************** SCROLLBAR DYNAMIC ***************/
  393. .scrollbar-dynamic > .scroll-element,
  394. .scrollbar-dynamic > .scroll-element div
  395. {
  396. background: none;
  397. border: none;
  398. margin: 0;
  399. padding: 0;
  400. position: absolute;
  401. z-index: 10;
  402. }
  403. .scrollbar-dynamic > .scroll-element div {
  404. display: block;
  405. height: 100%;
  406. left: 0;
  407. top: 0;
  408. width: 100%;
  409. }
  410. .scrollbar-dynamic > .scroll-element.scroll-x {
  411. bottom: 2px;
  412. height: 7px;
  413. left: 0;
  414. min-width: 100%;
  415. width: 100%;
  416. }
  417. .scrollbar-dynamic > .scroll-element.scroll-y {
  418. height: 100%;
  419. min-height: 100%;
  420. right: 2px;
  421. top: 0;
  422. width: 7px;
  423. }
  424. .scrollbar-dynamic > .scroll-element .scroll-element_outer {
  425. opacity: 0.3;
  426. -webkit-border-radius: 12px;
  427. -moz-border-radius: 12px;
  428. border-radius: 12px;
  429. }
  430. .scrollbar-dynamic > .scroll-element .scroll-element_size {
  431. background-color: #cccccc;
  432. opacity: 0;
  433. -webkit-border-radius: 12px;
  434. -moz-border-radius: 12px;
  435. border-radius: 12px;
  436. -webkit-transition: opacity 0.2s;
  437. -moz-transition: opacity 0.2s;
  438. -o-transition: opacity 0.2s;
  439. -ms-transition: opacity 0.2s;
  440. transition: opacity 0.2s;
  441. }
  442. .scrollbar-dynamic > .scroll-element .scroll-bar {
  443. background-color: #6c6e71;
  444. -webkit-border-radius: 7px;
  445. -moz-border-radius: 7px;
  446. border-radius: 7px;
  447. }
  448. /* scrollbar height/width & offset from container borders */
  449. .scrollbar-dynamic > .scroll-element.scroll-x .scroll-bar {
  450. bottom: 0;
  451. height: 7px;
  452. min-width: 24px;
  453. top: auto;
  454. }
  455. .scrollbar-dynamic > .scroll-element.scroll-y .scroll-bar {
  456. left: auto;
  457. min-height: 24px;
  458. right: 0;
  459. width: 7px;
  460. }
  461. .scrollbar-dynamic > .scroll-element.scroll-x .scroll-element_outer {
  462. bottom: 0;
  463. top: auto;
  464. left: 2px;
  465. -webkit-transition: height 0.2s;
  466. -moz-transition: height 0.2s;
  467. -o-transition: height 0.2s;
  468. -ms-transition: height 0.2s;
  469. transition: height 0.2s;
  470. }
  471. .scrollbar-dynamic > .scroll-element.scroll-y .scroll-element_outer {
  472. left: auto;
  473. right: 0;
  474. top: 2px;
  475. -webkit-transition: width 0.2s;
  476. -moz-transition: width 0.2s;
  477. -o-transition: width 0.2s;
  478. -ms-transition: width 0.2s;
  479. transition: width 0.2s;
  480. }
  481. .scrollbar-dynamic > .scroll-element.scroll-x .scroll-element_size { left: -4px; }
  482. .scrollbar-dynamic > .scroll-element.scroll-y .scroll-element_size { top: -4px; }
  483. /* update scrollbar offset if both scrolls are visible */
  484. .scrollbar-dynamic > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -11px; }
  485. .scrollbar-dynamic > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -11px; }
  486. /* hover & drag */
  487. .scrollbar-dynamic > .scroll-element:hover .scroll-element_outer,
  488. .scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer {
  489. overflow: hidden;
  490. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  491. filter: alpha(opacity=70);
  492. opacity: 0.7;
  493. }
  494. .scrollbar-dynamic > .scroll-element:hover .scroll-element_outer .scroll-element_size,
  495. .scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer .scroll-element_size {
  496. opacity: 1;
  497. }
  498. .scrollbar-dynamic > .scroll-element:hover .scroll-element_outer .scroll-bar,
  499. .scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer .scroll-bar {
  500. height: 100%;
  501. width: 100%;
  502. -webkit-border-radius: 12px;
  503. -moz-border-radius: 12px;
  504. border-radius: 12px;
  505. }
  506. .scrollbar-dynamic > .scroll-element.scroll-x:hover .scroll-element_outer,
  507. .scrollbar-dynamic > .scroll-element.scroll-x.scroll-draggable .scroll-element_outer {
  508. height: 20px;
  509. min-height: 7px;
  510. }
  511. .scrollbar-dynamic > .scroll-element.scroll-y:hover .scroll-element_outer,
  512. .scrollbar-dynamic > .scroll-element.scroll-y.scroll-draggable .scroll-element_outer {
  513. min-width: 7px;
  514. width: 20px;
  515. }
  516. /*************** SCROLLBAR GOOGLE CHROME ***************/
  517. .scrollbar-chrome > .scroll-element,
  518. .scrollbar-chrome > .scroll-element div
  519. {
  520. border: none;
  521. margin: 0;
  522. overflow: hidden;
  523. padding: 0;
  524. position: absolute;
  525. z-index: 10;
  526. }
  527. .scrollbar-chrome > .scroll-element {
  528. background-color: #ffffff;
  529. }
  530. .scrollbar-chrome > .scroll-element div {
  531. display: block;
  532. height: 100%;
  533. left: 0;
  534. top: 0;
  535. width: 100%;
  536. }
  537. .scrollbar-chrome > .scroll-element .scroll-element_outer {}
  538. .scrollbar-chrome > .scroll-element .scroll-element_track {
  539. background: #f1f1f1;
  540. border: 1px solid #dbdbdb;
  541. }
  542. .scrollbar-chrome > .scroll-element.scroll-x {
  543. bottom: 0;
  544. height: 16px;
  545. left: 0;
  546. min-width: 100%;
  547. width: 100%;
  548. }
  549. .scrollbar-chrome > .scroll-element.scroll-y {
  550. height: 100%;
  551. min-height: 100%;
  552. right: 0;
  553. top: 0;
  554. width: 16px;
  555. }
  556. .scrollbar-chrome > .scroll-element .scroll-bar {
  557. background-color: #d9d9d9;
  558. border: 1px solid #bdbdbd;
  559. cursor: default;
  560. -webkit-border-radius: 2px;
  561. -moz-border-radius: 2px;
  562. border-radius: 2px;
  563. }
  564. .scrollbar-chrome > .scroll-element .scroll-bar:hover {
  565. background-color: #c2c2c2;
  566. border-color: #a9a9a9;
  567. }
  568. .scrollbar-chrome > .scroll-element.scroll-draggable .scroll-bar {
  569. background-color: #919191;
  570. border-color: #7e7e7e;
  571. }
  572. /* scrollbar height/width & offset from container borders */
  573. .scrollbar-chrome > .scroll-content.scroll-scrolly_visible { left: -16px; margin-left: 16px; }
  574. .scrollbar-chrome > .scroll-content.scroll-scrollx_visible { top: -16px; margin-top: 16px; }
  575. .scrollbar-chrome > .scroll-element.scroll-x .scroll-bar { height: 8px; min-width: 10px; top: 3px; }
  576. .scrollbar-chrome > .scroll-element.scroll-y .scroll-bar { left: 3px; min-height: 10px; width: 8px; }
  577. .scrollbar-chrome > .scroll-element.scroll-x .scroll-element_outer { border-left: 1px solid #dbdbdb; }
  578. .scrollbar-chrome > .scroll-element.scroll-x .scroll-element_track { height: 14px; left: -3px; }
  579. .scrollbar-chrome > .scroll-element.scroll-x .scroll-element_size { height: 14px; left: -4px; }
  580. .scrollbar-chrome > .scroll-element.scroll-y .scroll-element_outer { border-top: 1px solid #dbdbdb; }
  581. .scrollbar-chrome > .scroll-element.scroll-y .scroll-element_track { top: -3px; width: 14px; }
  582. .scrollbar-chrome > .scroll-element.scroll-y .scroll-element_size { top: -4px; width: 14px; }
  583. /* update scrollbar offset if both scrolls are visible */
  584. .scrollbar-chrome > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -19px; }
  585. .scrollbar-chrome > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -19px; }
  586. .scrollbar-chrome > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -19px; }
  587. .scrollbar-chrome > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -19px; }