filter.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .DrawerPage {
  2. position: fixed;
  3. width: 100vw;
  4. height: 100vh;
  5. left: 0vw;
  6. background-color: #f1f1f1;
  7. transition: all 0.4s;
  8. }
  9. .DrawerPage.show {
  10. transform: scale(0.9, 0.9);
  11. left: 50vw;
  12. box-shadow: 0 0 60rpx rgba(0, 0, 0, 0.2);
  13. transform-origin: 0;
  14. }
  15. .DrawerWindow {
  16. position: absolute;
  17. width: 50vw;
  18. height: 100vh;
  19. left: 0;
  20. top: 0;
  21. transform: scale(0.9, 0.9) translateX(-100%);
  22. opacity: 0;
  23. pointer-events: none;
  24. transition: all 0.4s;
  25. }
  26. .DrawerWindow.show {
  27. transform: scale(1, 1) translateX(0%);
  28. opacity: 1;
  29. pointer-events: all;
  30. }
  31. .DrawerClose {
  32. position: absolute;
  33. width: 40vw;
  34. height: 100vh;
  35. right: 0;
  36. top: 0;
  37. color: transparent;
  38. padding-bottom: 30rpx;
  39. display: flex;
  40. align-items: flex-end;
  41. justify-content: center;
  42. background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
  43. letter-spacing: 5px;
  44. font-size: 50rpx;
  45. opacity: 0;
  46. pointer-events: none;
  47. transition: all 0.4s;
  48. }
  49. .DrawerClose.show {
  50. opacity: 1;
  51. pointer-events: all;
  52. width: 50vw;
  53. color: #fff;
  54. }
  55. .DrawerPage .cu-bar.tabbar .action button.icon {
  56. width: 64rpx;
  57. height: 64rpx;
  58. line-height: 64rpx;
  59. margin: 0;
  60. display: inline-block;
  61. }
  62. .DrawerPage .cu-bar.tabbar .action .cu-avatar {
  63. margin: 0;
  64. }
  65. .DrawerPage .nav {
  66. flex: 1;
  67. }
  68. .DrawerPage .nav .cu-item.cur {
  69. border-bottom: 0;
  70. position: relative;
  71. }
  72. .DrawerPage .nav .cu-item.cur::after {
  73. content: "";
  74. width: 10rpx;
  75. height: 10rpx;
  76. background-color: currentColor;
  77. position: absolute;
  78. bottom: 10rpx;
  79. border-radius: 10rpx;
  80. left: 0;
  81. right: 0;
  82. margin: auto;
  83. }
  84. .DrawerPage .cu-bar.tabbar .action {
  85. flex: initial;
  86. }