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.

768 lines
24 KiB

  1. //==
  2. $ax5grid-border: 1px solid #ccc !default;
  3. $ax5grid-bg: #fff !default;
  4. $ax5grid-font-size: 12px !default;
  5. $ax5grid-column-border: 1px solid #ccc !default;
  6. //== header
  7. $ax5grid-header-column-color: #222 !default;
  8. $ax5grid-header-column-border: 1px solid #ccc !default;
  9. $ax5grid-header-column-box-shadow: inset 1px 1px 0px 0px #fff !default;
  10. $ax5grid-header-column-bg-colors: (#FFFFFF, #F0F0F0) !default;
  11. $ax5grid-header-column-hover-bg-colors: (#eee, #eee) !default;
  12. $ax5grid-header-column-resizer-color: #ff3300 !default;
  13. $ax5grid-header-column-resizer-size: 4px !default;
  14. $ax5grid-header-sorter-size: 9px !default;
  15. $ax5grid-header-sorter-color: #000 !default;
  16. //== aside
  17. $ax5grid-aside-border: 1px solid darken(#ccc, 0%) !default;
  18. $ax5grid-aside-bg: #f2f2f2 !default;
  19. $ax5grid-aside-column-shadow: inset 1px 1px 0px 0px #fff !default;
  20. $ax5grid-frozen-line-border: 1px solid darken(#ccc, 10%) !default;
  21. //== footsum
  22. $ax5grid-footsum-bg: #ffe7e2 !default;
  23. $ax5grid-footsum-line-border: 1px solid darken(#ccc, 10%) !default;
  24. //== page
  25. $ax5grid-page-border: 1px solid #ccc !default;
  26. $ax5grid-page-bg-colors: (#FFFFFF, #F0F0F0) !default;
  27. $ax5grid-page-navigation-padding: 5px !default;
  28. $ax5grid-page-navigation-font-size: 12px !default;
  29. $ax5grid-page-navigation-btn-min-width: 20px !default;
  30. $ax5grid-page-navigation-btn-border: 0px none !default;
  31. $ax5grid-page-navigation-btn-border-radius: 5px !default;
  32. $ax5grid-page-navigation-btn-bg: transparent !default;
  33. $ax5grid-page-navigation-btn-font-size: 11px !default;
  34. $ax5grid-page-navigation-btn-color: #222 !default;
  35. $ax5grid-page-navigation-btn-hover-bg: #888 !default;
  36. $ax5grid-page-navigation-btn-hover-color: #fff !default;
  37. $ax5grid-page-status-font-size: 12px !default;
  38. $ax5grid-page-status-padding: 10px !default;
  39. $ax5grid-page-status-color: #222 !default;
  40. //== scroll
  41. $ax5grid-scroll-track-border: 1px solid #ccc !default;
  42. $ax5grid-scroll-track-bg: #f3f3f3 !default;
  43. $ax5grid-scroll-corner-bg: #EAEDEF !default;
  44. $ax5grid-scroll-bar-border-radius: 10px !default;
  45. $ax5grid-scroll-bar-border: 0px solid #fff !default;
  46. $ax5grid-scroll-bar-bg: #ccc !default;
  47. $ax5grid-scroll-bar-hover-border: 0px solid #ccc !default;
  48. $ax5grid-scroll-bar-hover-bg: #bababa !default;
  49. //== body.row
  50. $ax5grid-row-bg-0: #f3f3f3 !default;
  51. $ax5grid-row-bg-1: #fff !default;
  52. $ax5grid-row-bg-2: #f3f3f3 !default;
  53. $ax5grid-row-bg-3: #fff !default;
  54. $ax5grid-row-hover-bg: lighten(#cce2f3, 5%) !default;
  55. $ax5grid-row-grouping-bg: #ffffe7 !default;
  56. $ax5grid-row-selected: lighten(#b1d7fe, 10%) !default;
  57. //== body.cell
  58. $ax5grid-cell-padding-row-selector: 5px !default;
  59. $ax5grid-cell-padding: 3px 5px !default;
  60. $ax5grid-cell-checkbox-border: 1px solid #ccc !default;
  61. $ax5grid-cell-checkbox-border-radius: 3px !default;
  62. $ax5grid-cell-checkbox-bg-colors: (#FFFFFF, #F0F0F0) !default;
  63. $ax5grid-cell-disable-checkbox-bg-colors: (darken(nth($ax5grid-cell-checkbox-bg-colors, 2), 10%), darken(nth($ax5grid-cell-checkbox-bg-colors, 1), 10%)) !default;
  64. $ax5grid-cell-checkbox-arrow-color: $brand-primary !default;
  65. $ax5grid-cell-focused-box-shadow: inset 0px 0px 1px 1px #0581f2 !default;
  66. $ax5grid-cell-focused-bg: lighten(#b1d7fe, 10%) !default;
  67. $ax5grid-cell-focused-color: #000 !default;
  68. $ax5grid-cell-selected-border-color: #ccc !default;
  69. $ax5grid-cell-selected-bg: #b1d7fe !default;
  70. $ax5grid-cell-selected-color: #000 !default;
  71. //== resizer
  72. $ax5grid-resizer-color: #ff3300 !default;
  73. $ax5grid-resizer-size: 2px !default;
  74. // mixins
  75. @mixin gridBoxModal() {
  76. margin: 0;
  77. padding: 0;
  78. }
  79. @mixin gridColumn($container) {
  80. box-sizing: border-box;
  81. overflow: hidden;
  82. position: relative;
  83. padding: 0;
  84. font-size: $ax5grid-font-size;
  85. border: 0 none;
  86. &.hasBorder {
  87. border-right: $ax5grid-column-border;
  88. border-bottom: $ax5grid-column-border;
  89. }
  90. &.isLastColumn {
  91. }
  92. &.lineNumberColumn {
  93. }
  94. &.focused {
  95. box-shadow: $ax5grid-cell-focused-box-shadow;
  96. }
  97. @if ($container == "header") {
  98. cursor: pointer;
  99. box-shadow: $ax5grid-header-column-box-shadow;
  100. &:hover {
  101. @include ax-background(top, $ax5grid-header-column-hover-bg-colors);
  102. }
  103. &[data-ax5grid-column-row="null"] {
  104. box-shadow: none;
  105. }
  106. }
  107. &[data-ax5grid-column-row="null"] {
  108. border-right: 0 none;
  109. }
  110. &[data-ax5grid-column-selected] {
  111. background: $ax5grid-cell-selected-bg;
  112. border-color: $ax5grid-cell-selected-border-color;
  113. color: $ax5grid-cell-selected-color;
  114. }
  115. &[data-ax5grid-column-focused] {
  116. box-shadow: $ax5grid-cell-focused-box-shadow;
  117. background: $ax5grid-cell-focused-bg;
  118. color: $ax5grid-cell-focused-color;
  119. }
  120. &[data-ax5grid-column-attr="rowSelector"] {
  121. cursor: pointer;
  122. [data-ax5grid-cellHolder] {
  123. padding: $ax5grid-cell-padding-row-selector;
  124. }
  125. .checkBox {
  126. display: inline-block;
  127. position: relative;
  128. border: $ax5grid-cell-checkbox-border;
  129. border-radius: $ax5grid-cell-checkbox-border-radius;
  130. @include ax-background(top, $ax5grid-cell-checkbox-bg-colors);
  131. height: 100%;
  132. width: 100%;
  133. &:after {
  134. content: '';
  135. width: 60%;
  136. height: 40%;
  137. position: absolute;
  138. top: 20%;
  139. right: 20%;
  140. border: 0.2em solid $ax5grid-cell-checkbox-arrow-color;
  141. border-top: none;
  142. border-right: none;
  143. background: transparent;
  144. opacity: 0.0;
  145. @include transform(rotate(-50deg));
  146. }
  147. }
  148. &[data-ax5grid-selected="true"] {
  149. .checkBox {
  150. &:after {
  151. opacity: 1;
  152. }
  153. }
  154. }
  155. }
  156. &[data-ax5grid-column-attr="lineNumber"] {
  157. }
  158. [data-ax5grid-cellHolder] {
  159. // 그리드 셀표현 : 그리드의 컬럼텍스트가 여기에 출력됨
  160. display: block;
  161. box-sizing: border-box;
  162. padding: $ax5grid-cell-padding;
  163. font-size: $ax5grid-font-size;
  164. white-space: nowrap;
  165. overflow: hidden;
  166. text-overflow: ellipsis;
  167. @if ($container == "header") {
  168. //text-align: center;
  169. }
  170. &[data-ax5grid-text-align="left"] {
  171. text-align: left;
  172. }
  173. &[data-ax5grid-text-align="center"] {
  174. text-align: center;
  175. }
  176. &[data-ax5grid-text-align="right"] {
  177. text-align: right;
  178. }
  179. &[data-ax5grid-cellHolder="multiLine"] {
  180. white-space: normal;
  181. }
  182. [data-ax5grid-editor] {
  183. position: absolute;
  184. left: 0;
  185. top: 0;
  186. width: 100%;
  187. height: 100%;
  188. border: 0 none;
  189. background: $ax5grid-bg;
  190. &::-ms-clear {
  191. display: none;
  192. }
  193. }
  194. [data-ax5select] {
  195. position: absolute;
  196. display: block;
  197. left: 0;
  198. top: 0;
  199. width: 100%;
  200. height: 100%;
  201. border: 0px none;
  202. background: $ax5grid-bg;
  203. .ax5select-display {
  204. height: 100%;
  205. border-radius: 0;
  206. }
  207. }
  208. [data-ax5grid-editor="checkbox"] {
  209. display: inline-block;
  210. position: relative;
  211. border: $ax5grid-cell-checkbox-border;
  212. border-radius: $ax5grid-cell-checkbox-border-radius;
  213. @include ax-background(top, $ax5grid-cell-checkbox-bg-colors);
  214. height: 100%;
  215. &:after {
  216. content: '';
  217. width: 60%;
  218. height: 40%;
  219. position: absolute;
  220. top: 20%;
  221. right: 20%;
  222. border: 0.2em solid $ax5grid-cell-checkbox-arrow-color;
  223. border-top: none;
  224. border-right: none;
  225. background: transparent;
  226. opacity: 0.0;
  227. @include transform(rotate(-50deg));
  228. }
  229. &[data-ax5grid-checked="true"] {
  230. &:after {
  231. opacity: 1.0;
  232. }
  233. }
  234. }
  235. [data-ax5grid-tnode-arrow] {
  236. display: inline-block;
  237. box-sizing: content-box;
  238. text-align: right;
  239. text-shadow: 0 -1px #fff;
  240. padding: 0 5px 0 0;
  241. }
  242. a[data-ax5grid-tnode-arrow] {
  243. cursor: pointer;
  244. text-decoration: none;
  245. &:hover {
  246. text-decoration: none;
  247. }
  248. }
  249. [data-ax5grid-tnode-item="group"] {
  250. display: inline-block;
  251. }
  252. [data-ax5grid-tnode-item="item"] {
  253. display: inline-block;
  254. }
  255. }
  256. }
  257. @mixin gridRowBackground() {
  258. &.tr-0 {
  259. background: $ax5grid-row-bg-0;
  260. }
  261. &.tr-1 {
  262. background: $ax5grid-row-bg-1;
  263. }
  264. &.tr-2 {
  265. background: $ax5grid-row-bg-2;
  266. }
  267. &.tr-3 {
  268. background: $ax5grid-row-bg-3;
  269. }
  270. &.hover {
  271. background: $ax5grid-row-hover-bg;
  272. }
  273. &[data-ax5grid-grouping-tr="true"] {
  274. background: $ax5grid-row-grouping-bg;
  275. }
  276. &[data-ax5grid-selected="true"] {
  277. background: $ax5grid-row-selected;
  278. td {
  279. //color: #fff;
  280. //box-shadow: inset 1px 1px 0px 0px #fff;
  281. &[data-ax5grid-column-attr="rowSelector"],
  282. &[data-ax5grid-column-attr="lineNumber"] {
  283. box-shadow: none;
  284. }
  285. &[data-ax5grid-column-attr="rowSelector"] {
  286. .checkBox {
  287. &:after {
  288. opacity: 1;
  289. }
  290. }
  291. }
  292. }
  293. }
  294. &[data-ax5grid-disable-selection="true"] {
  295. // background: $ax5grid-row-selected;
  296. td {
  297. &[data-ax5grid-column-attr="rowSelector"] {
  298. .checkBox {
  299. cursor: not-allowed;
  300. @include ax-background(top, $ax5grid-cell-disable-checkbox-bg-colors);
  301. &:after {
  302. opacity: 0;
  303. }
  304. }
  305. }
  306. }
  307. }
  308. // mergeCells 대상 컬럼 배경생 통일.
  309. td.merged {
  310. background: $ax5grid-row-bg-1;
  311. }
  312. }
  313. @mixin gridPanel($container) {
  314. [data-ax5grid-panel] {
  315. @include gridBoxModal();
  316. position: absolute;
  317. overflow: hidden;
  318. /*
  319. overflow: hidden;
  320. -webkit-overflow-scrolling: touch;
  321. transform: translate3d(0, 0, 0);
  322. */
  323. table {
  324. table-layout: fixed;
  325. border-collapse: separate;
  326. border-spacing: 0;
  327. border: 0 none;
  328. width: 100%;
  329. @if ($container == "header") {
  330. height: 100%;
  331. }
  332. tr {
  333. border-bottom: 0 none;
  334. @include gridRowBackground();
  335. td {
  336. @include gridColumn($container);
  337. }
  338. }
  339. }
  340. &[data-ax5grid-panel="aside-header"] {
  341. border-right: $ax5grid-aside-border;
  342. table {
  343. tr {
  344. td {
  345. text-align: center;
  346. }
  347. }
  348. }
  349. }
  350. &[data-ax5grid-panel="top-aside-body"],
  351. &[data-ax5grid-panel="aside-body"],
  352. &[data-ax5grid-panel="bottom-aside-body"] {
  353. border-right: $ax5grid-aside-border;
  354. background: $ax5grid-aside-bg;
  355. table {
  356. tr {
  357. background: $ax5grid-aside-bg;
  358. td {
  359. text-align: center;
  360. box-shadow: $ax5grid-aside-column-shadow;
  361. }
  362. }
  363. }
  364. }
  365. &[data-ax5grid-panel="left-header"],
  366. &[data-ax5grid-panel="top-left-body"],
  367. &[data-ax5grid-panel="left-body"],
  368. &[data-ax5grid-panel="bottom-left-body"] {
  369. border-right: $ax5grid-frozen-line-border; /// frozen Line color
  370. }
  371. &[data-ax5grid-panel="top-aside-body"],
  372. &[data-ax5grid-panel="top-left-body"],
  373. &[data-ax5grid-panel="top-body"],
  374. &[data-ax5grid-panel="top-right-body"] {
  375. border-bottom: $ax5grid-frozen-line-border; /// frozen Line color
  376. }
  377. &[data-ax5grid-panel="bottom-aside-body"],
  378. &[data-ax5grid-panel="bottom-left-body"],
  379. &[data-ax5grid-panel="bottom-body"],
  380. &[data-ax5grid-panel="bottom-right-body"] {
  381. border-top: $ax5grid-footsum-line-border; /// footSum Line color
  382. }
  383. &[data-ax5grid-panel="bottom-aside-body"],
  384. &[data-ax5grid-panel="bottom-left-body"],
  385. &[data-ax5grid-panel="bottom-body"],
  386. &[data-ax5grid-panel="bottom-right-body"] {
  387. background: $ax5grid-footsum-bg;
  388. }
  389. [data-ax5grid-panel-scroll] {
  390. position: absolute;
  391. left: 0;
  392. top: 0;
  393. }
  394. }
  395. }
  396. @mixin scrollBar($type) {
  397. position: absolute;
  398. top: 0;
  399. left: 0;
  400. @include border-top-radius($ax5grid-scroll-bar-border-radius);
  401. @include border-bottom-radius($ax5grid-scroll-bar-border-radius);
  402. box-sizing: border-box;
  403. border: $ax5grid-scroll-bar-border;
  404. background: $ax5grid-scroll-bar-bg;
  405. @if ($type == "vertical-bar") {
  406. cursor: ns-resize;
  407. } @else {
  408. cursor: ew-resize;
  409. }
  410. &:hover {
  411. border: $ax5grid-scroll-bar-hover-border;
  412. background: $ax5grid-scroll-bar-hover-bg;
  413. }
  414. }
  415. @mixin resizer($type: "horizontal") {
  416. display: none;
  417. &.live {
  418. display: block;
  419. position: absolute;
  420. top: 0;
  421. left: 0;
  422. background: $ax5grid-resizer-color;
  423. opacity: 0.5;
  424. @if ($type == "vertical") {
  425. height: $ax5grid-resizer-size;
  426. width: 100%;
  427. cursor: row-resize;
  428. } @else {
  429. height: 100%;
  430. width: $ax5grid-resizer-size;
  431. cursor: col-resize;
  432. }
  433. }
  434. }
  435. // body
  436. [data-ax5grid] {
  437. box-sizing: border-box;
  438. *,
  439. *:before,
  440. *:after {
  441. box-sizing: border-box;
  442. }
  443. [data-ax5grid-container="root"] {
  444. @include gridBoxModal();
  445. position: relative;
  446. background: $ax5grid-bg;
  447. border: $ax5grid-border;
  448. overflow: hidden;
  449. [data-ax5grid-container="hidden"] {
  450. @include gridBoxModal();
  451. position: absolute;
  452. //z-index: 100;
  453. left: -100%;
  454. top: -100%;
  455. height: 100%;
  456. width: 100%;
  457. }
  458. [data-ax5grid-container="header"] {
  459. user-select: none;
  460. @include gridBoxModal();
  461. position: relative;
  462. overflow: hidden;
  463. @include ax-background(top, $ax5grid-header-column-bg-colors);
  464. border: 0px none;
  465. border-bottom: $ax5grid-header-column-border;
  466. @include gridPanel("header");
  467. color: $ax5grid-header-column-color;
  468. [data-ax5grid-column-resizer] {
  469. position: absolute;
  470. right: 0;
  471. top: 0;
  472. width: $ax5grid-header-column-resizer-size;
  473. height: 100%;
  474. cursor: col-resize;
  475. &:hover {
  476. background: $ax5grid-header-column-resizer-color;
  477. opacity: 0.5;
  478. }
  479. }
  480. [data-ax5grid-column-sort] {
  481. position: relative;
  482. //right: 0;
  483. //top: 2px;
  484. width: 10px;
  485. height: 10px;
  486. display: inline-block;
  487. @mixin sort-arrow($arrow-size, $ratio-0, $ratio-1, $arrow-color, $opacity, $direction) {
  488. position: absolute;
  489. content: ' ';
  490. width: 0;
  491. height: 0;
  492. display: inline-block;
  493. border-left: $arrow-size/$ratio-0 solid transparent;
  494. border-right: $arrow-size/$ratio-0 solid transparent;
  495. @if ($direction == "up") {
  496. border-bottom: ($arrow-size)/$ratio-1 solid $arrow-color;
  497. } @else {
  498. border-top: ($arrow-size)/$ratio-1 solid $arrow-color;
  499. }
  500. background: transparent;
  501. opacity: $opacity;
  502. }
  503. &:before {
  504. top: 0;
  505. left: 0;
  506. @include sort-arrow($ax5grid-header-sorter-size, 2.5, 2.2, $ax5grid-header-sorter-color, 0.3, "up");
  507. }
  508. &:after {
  509. bottom: 0;
  510. left: 0;
  511. @include sort-arrow($ax5grid-header-sorter-size, 2.5, 2.2, $ax5grid-header-sorter-color, 0.3, "down");
  512. }
  513. &[data-ax5grid-column-sort-order="asc"] {
  514. &:before {
  515. top: 2px;
  516. left: 0;
  517. @include sort-arrow($ax5grid-header-sorter-size + 1, 2.5, 2.0, $ax5grid-header-sorter-color, 0.8, "up");
  518. }
  519. &:after {
  520. display: none;
  521. }
  522. }
  523. &[data-ax5grid-column-sort-order="desc"] {
  524. &:before {
  525. display: none;
  526. }
  527. &:after {
  528. bottom: 2px;
  529. left: 0;
  530. @include sort-arrow($ax5grid-header-sorter-size + 1, 2.5, 2.0, $ax5grid-header-sorter-color, 0.8, "down");
  531. }
  532. }
  533. }
  534. [data-ax5grid-column-filter] {
  535. // 개발중..
  536. $filter-size: 10px;
  537. position: absolute;
  538. left: 0;
  539. top: 0;
  540. width: 10px;
  541. height: 10px;
  542. cursor: pointer;
  543. &:before {
  544. content: ' ';
  545. width: 0;
  546. height: 0;
  547. display: inline-block;
  548. border-left: $filter-size/2 solid transparent;
  549. border-right: $filter-size/2 solid transparent;
  550. border-top: ($filter-size) solid #000;
  551. background: transparent;
  552. opacity: 1;
  553. }
  554. }
  555. }
  556. [data-ax5grid-container="body"] {
  557. @include gridBoxModal();
  558. position: relative;
  559. overflow: hidden;
  560. @include gridPanel("body");
  561. /*
  562. @keyframes fadein {
  563. from { opacity: 0; }
  564. to { opacity: 1; }
  565. }
  566. [data-ax5grid-panel-scroll="body"]{
  567. table {
  568. @include animation(fadein 0.3s);
  569. }
  570. }
  571. */
  572. }
  573. [data-ax5grid-container="page"] {
  574. @include gridBoxModal();
  575. position: absolute;
  576. bottom: 0;
  577. left: 0;
  578. width: 100%;
  579. overflow: hidden;
  580. @include ax-background(top, $ax5grid-page-bg-colors);
  581. border: 0px none;
  582. border-top: $ax5grid-page-border;
  583. [data-ax5grid-page="holder"] {
  584. @include gridBoxModal();
  585. display: table;
  586. //table-layout: fixed;
  587. width: 100%;
  588. height: 100%;
  589. [data-ax5grid-page="navigation"] {
  590. @include gridBoxModal();
  591. display: table-cell;
  592. vertical-align: middle;
  593. text-align: left;
  594. padding-left: $ax5grid-page-navigation-padding;
  595. font-size: $ax5grid-page-navigation-font-size;
  596. [data-ax5grid-page-navigation="holder"] {
  597. display: table;
  598. [data-ax5grid-page-navigation="cell"], [data-ax5grid-page-navigation="cell-paging"] {
  599. display: table-cell;
  600. vertical-align: middle;
  601. }
  602. [data-ax5grid-page-navigation="cell-paging"] {
  603. padding: 0 $ax5grid-page-navigation-padding;
  604. }
  605. [data-ax5grid-page-move] {
  606. box-sizing: border-box;
  607. min-width: $ax5grid-page-navigation-btn-min-width;
  608. border-radius: $ax5grid-page-navigation-btn-border-radius;
  609. padding: 1px;
  610. border: $ax5grid-page-navigation-btn-border;
  611. background: $ax5grid-page-navigation-btn-bg;
  612. font-size: $ax5grid-page-navigation-btn-font-size;
  613. color: $ax5grid-page-navigation-btn-color;
  614. outline: 0;
  615. &[data-ax5grid-page-selected="true"], &:active {
  616. background-color: $ax5grid-page-navigation-btn-hover-bg;
  617. color: $ax5grid-page-navigation-btn-hover-color;
  618. }
  619. &:hover {
  620. text-decoration: underline;
  621. }
  622. }
  623. }
  624. }
  625. [data-ax5grid-page="status"] {
  626. @include gridBoxModal();
  627. display: table-cell;
  628. text-align: right;
  629. vertical-align: middle;
  630. padding-right: $ax5grid-page-status-padding;
  631. font-size: $ax5grid-page-status-font-size;
  632. color: $ax5grid-page-status-color;
  633. }
  634. }
  635. }
  636. [data-ax5grid-container="scroller"] {
  637. @include gridBoxModal();
  638. position: absolute;
  639. right: 0px;
  640. bottom: 0px;
  641. $scroller-size: 15px;
  642. [data-ax5grid-scroller="vertical"] {
  643. box-sizing: border-box;
  644. position: absolute;
  645. display: none;
  646. right: 0;
  647. bottom: 0;
  648. width: $scroller-size;
  649. height: 100%;
  650. background: $ax5grid-scroll-track-bg;
  651. border-left: $ax5grid-scroll-track-border;
  652. [data-ax5grid-scroller="vertical-bar"] {
  653. @include scrollBar("vertical-bar");
  654. }
  655. }
  656. [data-ax5grid-scroller="horizontal"] {
  657. box-sizing: border-box;
  658. position: absolute;
  659. display: none;
  660. right: 0;
  661. bottom: 0;
  662. height: $scroller-size;
  663. width: 100%;
  664. background: $ax5grid-scroll-track-bg;
  665. border-top: $ax5grid-scroll-track-border;
  666. [data-ax5grid-scroller="horizontal-bar"] {
  667. @include scrollBar("horizontal-bar");
  668. }
  669. }
  670. [data-ax5grid-scroller="corner"] {
  671. position: absolute;
  672. display: none;
  673. right: 0px;
  674. bottom: 0px;
  675. width: $scroller-size;
  676. height: $scroller-size;
  677. background: $ax5grid-scroll-corner-bg;
  678. border-top: $ax5grid-scroll-track-border;
  679. border-left: $ax5grid-scroll-track-border;
  680. }
  681. }
  682. [data-ax5grid-resizer="horizontal"] {
  683. @include resizer("horizontal");
  684. }
  685. [data-ax5grid-resizer="vertical"] {
  686. @include resizer("vertical");
  687. }
  688. }
  689. }