Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jquery.scrollbar.css 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904
  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-wrapper.scroll--rtl {
  26. direction: rtl;
  27. }
  28. .scroll-element {
  29. box-sizing: content-box;
  30. display: none;
  31. }
  32. .scroll-element div {
  33. box-sizing: content-box;
  34. }
  35. .scroll-element .scroll-bar,
  36. .scroll-element .scroll-arrow {
  37. cursor: default;
  38. }
  39. .scroll-element.scroll-x.scroll-scrollx_visible, .scroll-element.scroll-y.scroll-scrolly_visible {
  40. display: block;
  41. }
  42. .scroll-textarea {
  43. border: 1px solid #cccccc;
  44. border-top-color: #999999;
  45. }
  46. .scroll-textarea > .scroll-content {
  47. overflow: hidden !important;
  48. }
  49. .scroll-textarea > .scroll-content > textarea {
  50. border: none !important;
  51. box-sizing: border-box;
  52. height: 100% !important;
  53. margin: 0;
  54. max-height: none !important;
  55. max-width: none !important;
  56. overflow: scroll !important;
  57. outline: none;
  58. padding: 2px;
  59. position: relative !important;
  60. top: 0;
  61. width: 100% !important;
  62. }
  63. .scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
  64. height: 0;
  65. width: 0;
  66. }
  67. /*************** SIMPLE INNER SCROLLBAR ***************/
  68. .scrollbar-inner > .scroll-element,
  69. .scrollbar-inner > .scroll-element div {
  70. border: none;
  71. margin: 0;
  72. padding: 0;
  73. position: absolute;
  74. z-index: 10;
  75. }
  76. .scrollbar-inner > .scroll-element div {
  77. display: block;
  78. height: 100%;
  79. left: 0;
  80. top: 0;
  81. width: 100%;
  82. }
  83. .scrollbar-inner > .scroll-element.scroll-x {
  84. bottom: 2px;
  85. height: 8px;
  86. left: 0;
  87. width: 100%;
  88. }
  89. .scrollbar-inner > .scroll-element.scroll-y {
  90. height: 100%;
  91. right: 2px;
  92. top: 0;
  93. width: 8px;
  94. }
  95. .scrollbar-inner > .scroll-element .scroll-element_outer {
  96. overflow: hidden;
  97. }
  98. .scrollbar-inner > .scroll-element .scroll-element_outer,
  99. .scrollbar-inner > .scroll-element .scroll-element_track,
  100. .scrollbar-inner > .scroll-element .scroll-bar {
  101. -webkit-border-radius: 8px;
  102. -moz-border-radius: 8px;
  103. border-radius: 8px;
  104. }
  105. .scrollbar-inner > .scroll-element .scroll-element_track,
  106. .scrollbar-inner > .scroll-element .scroll-bar {
  107. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  108. filter: alpha(opacity=40);
  109. opacity: 0.4;
  110. }
  111. .scrollbar-inner > .scroll-element .scroll-element_track {
  112. background-color: #e0e0e0;
  113. }
  114. .scrollbar-inner > .scroll-element .scroll-bar {
  115. background-color: #c2c2c2;
  116. }
  117. .scrollbar-inner > .scroll-element:hover .scroll-bar {
  118. background-color: #919191;
  119. }
  120. .scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar {
  121. background-color: #919191;
  122. }
  123. /* update scrollbar offset if both scrolls are visible */
  124. .scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track {
  125. left: -12px;
  126. }
  127. .scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track {
  128. top: -12px;
  129. }
  130. .scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  131. left: -12px;
  132. }
  133. .scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  134. top: -12px;
  135. }
  136. /*************** SIMPLE OUTER SCROLLBAR ***************/
  137. .scrollbar-outer > .scroll-element,
  138. .scrollbar-outer > .scroll-element div {
  139. border: none;
  140. margin: 0;
  141. padding: 0;
  142. position: absolute;
  143. z-index: 10;
  144. }
  145. .scrollbar-outer > .scroll-element {
  146. background-color: #ffffff;
  147. }
  148. .scrollbar-outer > .scroll-element div {
  149. display: block;
  150. height: 100%;
  151. left: 0;
  152. top: 0;
  153. width: 100%;
  154. }
  155. .scrollbar-outer > .scroll-element.scroll-x {
  156. bottom: 0;
  157. height: 12px;
  158. left: 0;
  159. width: 100%;
  160. }
  161. .scrollbar-outer > .scroll-element.scroll-y {
  162. height: 100%;
  163. right: 0;
  164. top: 0;
  165. width: 12px;
  166. }
  167. .scrollbar-outer > .scroll-element.scroll-x .scroll-element_outer {
  168. height: 8px;
  169. top: 2px;
  170. }
  171. .scrollbar-outer > .scroll-element.scroll-y .scroll-element_outer {
  172. left: 2px;
  173. width: 8px;
  174. }
  175. .scrollbar-outer > .scroll-element .scroll-element_outer {
  176. overflow: hidden;
  177. }
  178. .scrollbar-outer > .scroll-element .scroll-element_track {
  179. background-color: #eeeeee;
  180. }
  181. .scrollbar-outer > .scroll-element .scroll-element_outer,
  182. .scrollbar-outer > .scroll-element .scroll-element_track,
  183. .scrollbar-outer > .scroll-element .scroll-bar {
  184. -webkit-border-radius: 8px;
  185. -moz-border-radius: 8px;
  186. border-radius: 8px;
  187. }
  188. .scrollbar-outer > .scroll-element .scroll-bar {
  189. background-color: #d9d9d9;
  190. }
  191. .scrollbar-outer > .scroll-element .scroll-bar:hover {
  192. background-color: #c2c2c2;
  193. }
  194. .scrollbar-outer > .scroll-element.scroll-draggable .scroll-bar {
  195. background-color: #919191;
  196. }
  197. /* scrollbar height/width & offset from container borders */
  198. .scrollbar-outer > .scroll-content.scroll-scrolly_visible {
  199. left: -12px;
  200. margin-left: 12px;
  201. }
  202. .scrollbar-outer > .scroll-content.scroll-scrollx_visible {
  203. top: -12px;
  204. margin-top: 12px;
  205. }
  206. .scrollbar-outer > .scroll-element.scroll-x .scroll-bar {
  207. min-width: 10px;
  208. }
  209. .scrollbar-outer > .scroll-element.scroll-y .scroll-bar {
  210. min-height: 10px;
  211. }
  212. /* update scrollbar offset if both scrolls are visible */
  213. .scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track {
  214. left: -14px;
  215. }
  216. .scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track {
  217. top: -14px;
  218. }
  219. .scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  220. left: -14px;
  221. }
  222. .scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  223. top: -14px;
  224. }
  225. /*************** SCROLLBAR MAC OS X ***************/
  226. .scrollbar-macosx > .scroll-element,
  227. .scrollbar-macosx > .scroll-element div {
  228. background: none;
  229. border: none;
  230. margin: 0;
  231. padding: 0;
  232. position: absolute;
  233. z-index: 10;
  234. }
  235. .scrollbar-macosx > .scroll-element div {
  236. display: block;
  237. height: 100%;
  238. left: 0;
  239. top: 0;
  240. width: 100%;
  241. }
  242. .scrollbar-macosx > .scroll-element .scroll-element_track {
  243. display: none;
  244. }
  245. .scrollbar-macosx > .scroll-element .scroll-bar {
  246. background-color: #6C6E71;
  247. display: block;
  248. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  249. filter: alpha(opacity=0);
  250. opacity: 0;
  251. -webkit-border-radius: 7px;
  252. -moz-border-radius: 7px;
  253. border-radius: 7px;
  254. -webkit-transition: opacity 0.2s linear;
  255. -moz-transition: opacity 0.2s linear;
  256. -o-transition: opacity 0.2s linear;
  257. -ms-transition: opacity 0.2s linear;
  258. transition: opacity 0.2s linear;
  259. }
  260. .scrollbar-macosx:hover > .scroll-element .scroll-bar,
  261. .scrollbar-macosx > .scroll-element.scroll-draggable .scroll-bar {
  262. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  263. filter: alpha(opacity=70);
  264. opacity: 0.7;
  265. }
  266. .scrollbar-macosx > .scroll-element.scroll-x {
  267. bottom: 0px;
  268. height: 0px;
  269. left: 0;
  270. min-width: 100%;
  271. overflow: visible;
  272. width: 100%;
  273. }
  274. .scrollbar-macosx > .scroll-element.scroll-y {
  275. height: 100%;
  276. min-height: 100%;
  277. right: 0px;
  278. top: 0;
  279. width: 0px;
  280. }
  281. /* scrollbar height/width & offset from container borders */
  282. .scrollbar-macosx > .scroll-element.scroll-x .scroll-bar {
  283. height: 7px;
  284. min-width: 10px;
  285. top: -9px;
  286. }
  287. .scrollbar-macosx > .scroll-element.scroll-y .scroll-bar {
  288. left: -9px;
  289. min-height: 10px;
  290. width: 7px;
  291. }
  292. .scrollbar-macosx > .scroll-element.scroll-x .scroll-element_outer {
  293. left: 2px;
  294. }
  295. .scrollbar-macosx > .scroll-element.scroll-x .scroll-element_size {
  296. left: -4px;
  297. }
  298. .scrollbar-macosx > .scroll-element.scroll-y .scroll-element_outer {
  299. top: 2px;
  300. }
  301. .scrollbar-macosx > .scroll-element.scroll-y .scroll-element_size {
  302. top: -4px;
  303. }
  304. /* update scrollbar offset if both scrolls are visible */
  305. .scrollbar-macosx > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  306. left: -11px;
  307. }
  308. .scrollbar-macosx > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  309. top: -11px;
  310. }
  311. /*************** SCROLLBAR LIGHT ***************/
  312. .scrollbar-light > .scroll-element,
  313. .scrollbar-light > .scroll-element div {
  314. border: none;
  315. margin: 0;
  316. overflow: hidden;
  317. padding: 0;
  318. position: absolute;
  319. z-index: 10;
  320. }
  321. .scrollbar-light > .scroll-element {
  322. background-color: #ffffff;
  323. }
  324. .scrollbar-light > .scroll-element div {
  325. display: block;
  326. height: 100%;
  327. left: 0;
  328. top: 0;
  329. width: 100%;
  330. }
  331. .scrollbar-light > .scroll-element .scroll-element_outer {
  332. -webkit-border-radius: 10px;
  333. -moz-border-radius: 10px;
  334. border-radius: 10px;
  335. }
  336. .scrollbar-light > .scroll-element .scroll-element_size {
  337. background: #dbdbdb;
  338. background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+");
  339. background: -moz-linear-gradient(left, #dbdbdb 0%, #e8e8e8 100%);
  340. background: -webkit-gradient(linear, left top, right top, color-stop(0%, #dbdbdb), color-stop(100%, #e8e8e8));
  341. background: -webkit-linear-gradient(left, #dbdbdb 0%, #e8e8e8 100%);
  342. background: -o-linear-gradient(left, #dbdbdb 0%, #e8e8e8 100%);
  343. background: -ms-linear-gradient(left, #dbdbdb 0%, #e8e8e8 100%);
  344. background: linear-gradient(to right, #dbdbdb 0%, #e8e8e8 100%);
  345. -webkit-border-radius: 10px;
  346. -moz-border-radius: 10px;
  347. border-radius: 10px;
  348. }
  349. .scrollbar-light > .scroll-element.scroll-x {
  350. bottom: 0;
  351. height: 17px;
  352. left: 0;
  353. min-width: 100%;
  354. width: 100%;
  355. }
  356. .scrollbar-light > .scroll-element.scroll-y {
  357. height: 100%;
  358. min-height: 100%;
  359. right: 0;
  360. top: 0;
  361. width: 17px;
  362. }
  363. .scrollbar-light > .scroll-element .scroll-bar {
  364. background: #fefefe;
  365. background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+");
  366. background: -moz-linear-gradient(left, #fefefe 0%, #f5f5f5 100%);
  367. background: -webkit-gradient(linear, left top, right top, color-stop(0%, #fefefe), color-stop(100%, #f5f5f5));
  368. background: -webkit-linear-gradient(left, #fefefe 0%, #f5f5f5 100%);
  369. background: -o-linear-gradient(left, #fefefe 0%, #f5f5f5 100%);
  370. background: -ms-linear-gradient(left, #fefefe 0%, #f5f5f5 100%);
  371. background: linear-gradient(to right, #fefefe 0%, #f5f5f5 100%);
  372. border: 1px solid #dbdbdb;
  373. -webkit-border-radius: 10px;
  374. -moz-border-radius: 10px;
  375. border-radius: 10px;
  376. }
  377. /* scrollbar height/width & offset from container borders */
  378. .scrollbar-light > .scroll-content.scroll-scrolly_visible {
  379. left: -17px;
  380. margin-left: 17px;
  381. }
  382. .scrollbar-light > .scroll-content.scroll-scrollx_visible {
  383. top: -17px;
  384. margin-top: 17px;
  385. }
  386. .scrollbar-light > .scroll-element.scroll-x .scroll-bar {
  387. height: 10px;
  388. min-width: 10px;
  389. top: 0px;
  390. }
  391. .scrollbar-light > .scroll-element.scroll-y .scroll-bar {
  392. left: 0px;
  393. min-height: 10px;
  394. width: 10px;
  395. }
  396. .scrollbar-light > .scroll-element.scroll-x .scroll-element_outer {
  397. height: 12px;
  398. left: 2px;
  399. top: 2px;
  400. }
  401. .scrollbar-light > .scroll-element.scroll-x .scroll-element_size {
  402. left: -4px;
  403. }
  404. .scrollbar-light > .scroll-element.scroll-y .scroll-element_outer {
  405. left: 2px;
  406. top: 2px;
  407. width: 12px;
  408. }
  409. .scrollbar-light > .scroll-element.scroll-y .scroll-element_size {
  410. top: -4px;
  411. }
  412. /* update scrollbar offset if both scrolls are visible */
  413. .scrollbar-light > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  414. left: -19px;
  415. }
  416. .scrollbar-light > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  417. top: -19px;
  418. }
  419. .scrollbar-light > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track {
  420. left: -19px;
  421. }
  422. .scrollbar-light > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track {
  423. top: -19px;
  424. }
  425. /*************** SCROLLBAR RAIL ***************/
  426. .scrollbar-rail > .scroll-element,
  427. .scrollbar-rail > .scroll-element div {
  428. border: none;
  429. margin: 0;
  430. overflow: hidden;
  431. padding: 0;
  432. position: absolute;
  433. z-index: 10;
  434. }
  435. .scrollbar-rail > .scroll-element {
  436. background-color: #ffffff;
  437. }
  438. .scrollbar-rail > .scroll-element div {
  439. display: block;
  440. height: 100%;
  441. left: 0;
  442. top: 0;
  443. width: 100%;
  444. }
  445. .scrollbar-rail > .scroll-element .scroll-element_size {
  446. background-color: #999;
  447. background-color: rgba(0, 0, 0, 0.3);
  448. }
  449. .scrollbar-rail > .scroll-element .scroll-element_outer:hover .scroll-element_size {
  450. background-color: #666;
  451. background-color: rgba(0, 0, 0, 0.5);
  452. }
  453. .scrollbar-rail > .scroll-element.scroll-x {
  454. bottom: 0;
  455. height: 12px;
  456. left: 0;
  457. min-width: 100%;
  458. padding: 3px 0 2px;
  459. width: 100%;
  460. }
  461. .scrollbar-rail > .scroll-element.scroll-y {
  462. height: 100%;
  463. min-height: 100%;
  464. padding: 0 2px 0 3px;
  465. right: 0;
  466. top: 0;
  467. width: 12px;
  468. }
  469. .scrollbar-rail > .scroll-element .scroll-bar {
  470. background-color: #d0b9a0;
  471. -webkit-border-radius: 2px;
  472. -moz-border-radius: 2px;
  473. border-radius: 2px;
  474. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  475. }
  476. .scrollbar-rail > .scroll-element .scroll-element_outer:hover .scroll-bar {
  477. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  478. }
  479. /* scrollbar height/width & offset from container borders */
  480. .scrollbar-rail > .scroll-content.scroll-scrolly_visible {
  481. left: -17px;
  482. margin-left: 17px;
  483. }
  484. .scrollbar-rail > .scroll-content.scroll-scrollx_visible {
  485. margin-top: 17px;
  486. top: -17px;
  487. }
  488. .scrollbar-rail > .scroll-element.scroll-x .scroll-bar {
  489. height: 10px;
  490. min-width: 10px;
  491. top: 1px;
  492. }
  493. .scrollbar-rail > .scroll-element.scroll-y .scroll-bar {
  494. left: 1px;
  495. min-height: 10px;
  496. width: 10px;
  497. }
  498. .scrollbar-rail > .scroll-element.scroll-x .scroll-element_outer {
  499. height: 15px;
  500. left: 5px;
  501. }
  502. .scrollbar-rail > .scroll-element.scroll-x .scroll-element_size {
  503. height: 2px;
  504. left: -10px;
  505. top: 5px;
  506. }
  507. .scrollbar-rail > .scroll-element.scroll-y .scroll-element_outer {
  508. top: 5px;
  509. width: 15px;
  510. }
  511. .scrollbar-rail > .scroll-element.scroll-y .scroll-element_size {
  512. left: 5px;
  513. top: -10px;
  514. width: 2px;
  515. }
  516. /* update scrollbar offset if both scrolls are visible */
  517. .scrollbar-rail > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  518. left: -25px;
  519. }
  520. .scrollbar-rail > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  521. top: -25px;
  522. }
  523. .scrollbar-rail > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track {
  524. left: -25px;
  525. }
  526. .scrollbar-rail > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track {
  527. top: -25px;
  528. }
  529. /*************** SCROLLBAR DYNAMIC ***************/
  530. .scrollbar-dynamic > .scroll-element,
  531. .scrollbar-dynamic > .scroll-element div {
  532. background: none;
  533. border: none;
  534. margin: 0;
  535. padding: 0;
  536. position: absolute;
  537. z-index: 10;
  538. }
  539. .scrollbar-dynamic > .scroll-element div {
  540. display: block;
  541. height: 100%;
  542. left: 0;
  543. top: 0;
  544. width: 100%;
  545. }
  546. .scrollbar-dynamic > .scroll-element.scroll-x {
  547. bottom: 2px;
  548. height: 7px;
  549. left: 0;
  550. min-width: 100%;
  551. width: 100%;
  552. }
  553. .scrollbar-dynamic > .scroll-element.scroll-y {
  554. height: 100%;
  555. min-height: 100%;
  556. right: 2px;
  557. top: 0;
  558. width: 7px;
  559. }
  560. .scrollbar-dynamic > .scroll-element .scroll-element_outer {
  561. opacity: 0.3;
  562. -webkit-border-radius: 12px;
  563. -moz-border-radius: 12px;
  564. border-radius: 12px;
  565. }
  566. .scrollbar-dynamic > .scroll-element .scroll-element_size {
  567. background-color: #cccccc;
  568. opacity: 0;
  569. -webkit-border-radius: 12px;
  570. -moz-border-radius: 12px;
  571. border-radius: 12px;
  572. -webkit-transition: opacity 0.2s;
  573. -moz-transition: opacity 0.2s;
  574. -o-transition: opacity 0.2s;
  575. -ms-transition: opacity 0.2s;
  576. transition: opacity 0.2s;
  577. }
  578. .scrollbar-dynamic > .scroll-element .scroll-bar {
  579. background-color: #6c6e71;
  580. -webkit-border-radius: 7px;
  581. -moz-border-radius: 7px;
  582. border-radius: 7px;
  583. }
  584. /* scrollbar height/width & offset from container borders */
  585. .scrollbar-dynamic > .scroll-element.scroll-x .scroll-bar {
  586. bottom: 0;
  587. height: 7px;
  588. min-width: 24px;
  589. top: auto;
  590. }
  591. .scrollbar-dynamic > .scroll-element.scroll-y .scroll-bar {
  592. left: auto;
  593. min-height: 24px;
  594. right: 0;
  595. width: 7px;
  596. }
  597. .scrollbar-dynamic > .scroll-element.scroll-x .scroll-element_outer {
  598. bottom: 0;
  599. top: auto;
  600. left: 2px;
  601. -webkit-transition: height 0.2s;
  602. -moz-transition: height 0.2s;
  603. -o-transition: height 0.2s;
  604. -ms-transition: height 0.2s;
  605. transition: height 0.2s;
  606. }
  607. .scrollbar-dynamic > .scroll-element.scroll-y .scroll-element_outer {
  608. left: auto;
  609. right: 0;
  610. top: 2px;
  611. -webkit-transition: width 0.2s;
  612. -moz-transition: width 0.2s;
  613. -o-transition: width 0.2s;
  614. -ms-transition: width 0.2s;
  615. transition: width 0.2s;
  616. }
  617. .scrollbar-dynamic > .scroll-element.scroll-x .scroll-element_size {
  618. left: -4px;
  619. }
  620. .scrollbar-dynamic > .scroll-element.scroll-y .scroll-element_size {
  621. top: -4px;
  622. }
  623. /* update scrollbar offset if both scrolls are visible */
  624. .scrollbar-dynamic > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  625. left: -11px;
  626. }
  627. .scrollbar-dynamic > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  628. top: -11px;
  629. }
  630. /* hover & drag */
  631. .scrollbar-dynamic > .scroll-element:hover .scroll-element_outer,
  632. .scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer {
  633. overflow: hidden;
  634. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  635. filter: alpha(opacity=70);
  636. opacity: 0.7;
  637. }
  638. .scrollbar-dynamic > .scroll-element:hover .scroll-element_outer .scroll-element_size,
  639. .scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer .scroll-element_size {
  640. opacity: 1;
  641. }
  642. .scrollbar-dynamic > .scroll-element:hover .scroll-element_outer .scroll-bar,
  643. .scrollbar-dynamic > .scroll-element.scroll-draggable .scroll-element_outer .scroll-bar {
  644. height: 100%;
  645. width: 100%;
  646. -webkit-border-radius: 12px;
  647. -moz-border-radius: 12px;
  648. border-radius: 12px;
  649. }
  650. .scrollbar-dynamic > .scroll-element.scroll-x:hover .scroll-element_outer,
  651. .scrollbar-dynamic > .scroll-element.scroll-x.scroll-draggable .scroll-element_outer {
  652. height: 20px;
  653. min-height: 7px;
  654. }
  655. .scrollbar-dynamic > .scroll-element.scroll-y:hover .scroll-element_outer,
  656. .scrollbar-dynamic > .scroll-element.scroll-y.scroll-draggable .scroll-element_outer {
  657. min-width: 7px;
  658. width: 20px;
  659. }
  660. /*************** SCROLLBAR GOOGLE CHROME ***************/
  661. .scrollbar-chrome > .scroll-element,
  662. .scrollbar-chrome > .scroll-element div {
  663. border: none;
  664. margin: 0;
  665. overflow: hidden;
  666. padding: 0;
  667. position: absolute;
  668. z-index: 10;
  669. }
  670. .scrollbar-chrome > .scroll-element {
  671. background-color: #ffffff;
  672. }
  673. .scrollbar-chrome > .scroll-element div {
  674. display: block;
  675. height: 100%;
  676. left: 0;
  677. top: 0;
  678. width: 100%;
  679. }
  680. .scrollbar-chrome > .scroll-element .scroll-element_track {
  681. background: #f1f1f1;
  682. border: 1px solid #dbdbdb;
  683. }
  684. .scrollbar-chrome > .scroll-element.scroll-x {
  685. bottom: 0;
  686. height: 16px;
  687. left: 0;
  688. min-width: 100%;
  689. width: 100%;
  690. }
  691. .scrollbar-chrome > .scroll-element.scroll-y {
  692. height: 100%;
  693. min-height: 100%;
  694. right: 0;
  695. top: 0;
  696. width: 16px;
  697. }
  698. .scrollbar-chrome > .scroll-element .scroll-bar {
  699. background-color: #d9d9d9;
  700. border: 1px solid #bdbdbd;
  701. cursor: default;
  702. -webkit-border-radius: 2px;
  703. -moz-border-radius: 2px;
  704. border-radius: 2px;
  705. }
  706. .scrollbar-chrome > .scroll-element .scroll-bar:hover {
  707. background-color: #c2c2c2;
  708. border-color: #a9a9a9;
  709. }
  710. .scrollbar-chrome > .scroll-element.scroll-draggable .scroll-bar {
  711. background-color: #919191;
  712. border-color: #7e7e7e;
  713. }
  714. /* scrollbar height/width & offset from container borders */
  715. .scrollbar-chrome > .scroll-content.scroll-scrolly_visible {
  716. left: -16px;
  717. margin-left: 16px;
  718. }
  719. .scrollbar-chrome > .scroll-content.scroll-scrollx_visible {
  720. top: -16px;
  721. margin-top: 16px;
  722. }
  723. .scrollbar-chrome > .scroll-element.scroll-x .scroll-bar {
  724. height: 8px;
  725. min-width: 10px;
  726. top: 3px;
  727. }
  728. .scrollbar-chrome > .scroll-element.scroll-y .scroll-bar {
  729. left: 3px;
  730. min-height: 10px;
  731. width: 8px;
  732. }
  733. .scrollbar-chrome > .scroll-element.scroll-x .scroll-element_outer {
  734. border-left: 1px solid #dbdbdb;
  735. }
  736. .scrollbar-chrome > .scroll-element.scroll-x .scroll-element_track {
  737. height: 14px;
  738. left: -3px;
  739. }
  740. .scrollbar-chrome > .scroll-element.scroll-x .scroll-element_size {
  741. height: 14px;
  742. left: -4px;
  743. }
  744. .scrollbar-chrome > .scroll-element.scroll-y .scroll-element_outer {
  745. border-top: 1px solid #dbdbdb;
  746. }
  747. .scrollbar-chrome > .scroll-element.scroll-y .scroll-element_track {
  748. top: -3px;
  749. width: 14px;
  750. }
  751. .scrollbar-chrome > .scroll-element.scroll-y .scroll-element_size {
  752. top: -4px;
  753. width: 14px;
  754. }
  755. /* update scrollbar offset if both scrolls are visible */
  756. .scrollbar-chrome > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  757. left: -19px;
  758. }
  759. .scrollbar-chrome > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  760. top: -19px;
  761. }
  762. .scrollbar-chrome > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track {
  763. left: -19px;
  764. }
  765. .scrollbar-chrome > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track {
  766. top: -19px;
  767. }