_jqueryscrollbar.scss 17 KB

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