index.scss 843 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @import '../common/abstracts/variable';
  2. @import '../common/abstracts/mixin';
  3. @import '../wd-table/index';
  4. .wot-theme-dark {
  5. @include b(table-col) {
  6. @include when(shadow) {
  7. &::after {
  8. background: linear-gradient(270deg, rgba(17, 17, 17, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  9. }
  10. }
  11. }
  12. }
  13. @include b(table-col) {
  14. .wd-table__cell {
  15. width: 100%;
  16. }
  17. @include m(fixed) {
  18. position: sticky;
  19. z-index: 1;
  20. left: 0;
  21. }
  22. @include when(shadow) {
  23. &::after {
  24. content: ' ';
  25. position: absolute;
  26. height: 100%;
  27. right: -30rpx;
  28. top: 0;
  29. width: 30rpx;
  30. height: 100%;
  31. background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
  32. }
  33. }
  34. .wd-table__cell:last-child {
  35. @include when(border) {
  36. border-bottom: none;
  37. }
  38. }
  39. }