excel.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /**Variable**/
  2. /*excel*/
  3. .vxe-table {
  4. &.vxe-excel {
  5. &.c--checked {
  6. cursor: default;
  7. .vxe-header--column {
  8. .vxe-resizable {
  9. cursor: default;
  10. }
  11. }
  12. }
  13. .vxe-header--column {
  14. padding: 4px 0;
  15. font-size: 12px;
  16. transition: none;
  17. cursor: default;
  18. }
  19. .vxe-body--column {
  20. padding: 0;
  21. transition: none;
  22. height: inherit;
  23. line-height: 24px;
  24. vertical-align: top;
  25. cursor: cell;
  26. &.col--actived {
  27. .vxe-cell {
  28. padding: 0;
  29. }
  30. }
  31. .vxe-cell {
  32. padding: 0 2px;
  33. word-break: break-all;
  34. .vxe-input--wrapper {
  35. height: inherit;
  36. position: relative;
  37. .vxe-textarea {
  38. position: absolute;
  39. overflow: hidden;
  40. padding: 0 2px;
  41. }
  42. .vxe-textarea,
  43. .vxe-textarea:focus {
  44. border-radius: 0;
  45. border: 0;
  46. outline: $vxe-table-column-checked-border-width solid $vxe-primary-color;
  47. }
  48. }
  49. }
  50. }
  51. }
  52. }
  53. @keyframes shine {
  54. 0% {
  55. background-position: -1px -1px;
  56. }
  57. 100% {
  58. background-position: -12px -12px;
  59. }
  60. }