jquery.scrollbar.css 22 KB

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