leftslip.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .nut-leftslip {
  2. position: relative;
  3. overflow: hidden;
  4. &:first-child .nut-slip-main {
  5. border-top: 1px solid #d8d8d8;
  6. }
  7. .slip-main {
  8. padding: 10px;
  9. position: relative;
  10. overflow: hidden;
  11. display: flex;
  12. border-bottom: 1px solid #d8d8d8;
  13. background: #fff;
  14. }
  15. .nut-leftslip-item {
  16. transition: all 0.6s ease;
  17. }
  18. .delbtn {
  19. position: absolute;
  20. right: -52px;
  21. top: 0;
  22. min-width: 40px;
  23. height: 100%;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. // transform: translateX(100%);
  28. background: #ff4949;
  29. color: #fff;
  30. padding: 0 5px;
  31. font-size: 14px;
  32. span {
  33. // width: 40px;
  34. display: flex;
  35. position: absolute;
  36. right: 0;
  37. width: 50px;
  38. align-items: center;
  39. justify-content: center;
  40. height: 100%;
  41. }
  42. }
  43. .slipbtns {
  44. position: absolute;
  45. right: 0;
  46. top: 0;
  47. // width: 80px;
  48. height: 100%;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. transform: translateX(100%);
  53. a {
  54. display: flex;
  55. width: 40px;
  56. background: #ff4949;
  57. color: #fff;
  58. height: 100%;
  59. padding: 0 5px;
  60. font-size: 14px;
  61. align-items: center;
  62. justify-content: center;
  63. text-align: center;
  64. }
  65. }
  66. }