u-popup.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. .u-drawer.data-v-17becaea {
  8. display: block;
  9. position: fixed;
  10. top: 0;
  11. left: 0;
  12. right: 0;
  13. bottom: 0;
  14. overflow: hidden;
  15. }
  16. .u-drawer-content.data-v-17becaea {
  17. display: block;
  18. position: absolute;
  19. z-index: 1003;
  20. -webkit-transition: all 0.25s linear;
  21. transition: all 0.25s linear;
  22. }
  23. .u-drawer__scroll-view.data-v-17becaea {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .u-drawer-left.data-v-17becaea {
  28. top: 0;
  29. bottom: 0;
  30. left: 0;
  31. background-color: #ffffff;
  32. }
  33. .u-drawer-right.data-v-17becaea {
  34. right: 0;
  35. top: 0;
  36. bottom: 0;
  37. background-color: #ffffff;
  38. }
  39. .u-drawer-top.data-v-17becaea {
  40. top: 0;
  41. left: 0;
  42. right: 0;
  43. background-color: #ffffff;
  44. }
  45. .u-drawer-bottom.data-v-17becaea {
  46. bottom: 0;
  47. left: 0;
  48. right: 0;
  49. background-color: #ffffff;
  50. }
  51. .u-drawer-center.data-v-17becaea {
  52. display: -webkit-box;
  53. display: -webkit-flex;
  54. display: flex;
  55. -webkit-box-orient: horizontal;
  56. -webkit-box-direction: normal;
  57. -webkit-flex-direction: row;
  58. flex-direction: row;
  59. flex-direction: column;
  60. bottom: 0;
  61. left: 0;
  62. right: 0;
  63. top: 0;
  64. -webkit-box-pack: center;
  65. -webkit-justify-content: center;
  66. justify-content: center;
  67. -webkit-box-align: center;
  68. -webkit-align-items: center;
  69. align-items: center;
  70. opacity: 0;
  71. z-index: 99999;
  72. }
  73. .u-mode-center-box.data-v-17becaea {
  74. min-width: 100rpx;
  75. min-height: 100rpx;
  76. display: block;
  77. position: relative;
  78. background-color: #ffffff;
  79. }
  80. .u-drawer-content-visible.u-drawer-center.data-v-17becaea {
  81. -webkit-transform: scale(1);
  82. transform: scale(1);
  83. opacity: 1;
  84. }
  85. .u-animation-zoom.data-v-17becaea {
  86. -webkit-transform: scale(1.15);
  87. transform: scale(1.15);
  88. }
  89. .u-drawer-content-visible.data-v-17becaea {
  90. -webkit-transform: translate3D(0px, 0px, 0px) !important;
  91. transform: translate3D(0px, 0px, 0px) !important;
  92. }
  93. .u-close.data-v-17becaea {
  94. position: absolute;
  95. z-index: 3;
  96. }
  97. .u-close--top-left.data-v-17becaea {
  98. top: 30rpx;
  99. left: 30rpx;
  100. }
  101. .u-close--top-right.data-v-17becaea {
  102. top: 30rpx;
  103. right: 30rpx;
  104. }
  105. .u-close--bottom-left.data-v-17becaea {
  106. bottom: 30rpx;
  107. left: 30rpx;
  108. }
  109. .u-close--bottom-right.data-v-17becaea {
  110. right: 30rpx;
  111. bottom: 30rpx;
  112. }