u-popup.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. /* uni.scss */
  28. .u-drawer.data-v-17becaea {
  29. display: block;
  30. position: fixed;
  31. top: 0;
  32. left: 0;
  33. right: 0;
  34. bottom: 0;
  35. overflow: hidden;
  36. }
  37. .u-drawer-content.data-v-17becaea {
  38. display: block;
  39. position: absolute;
  40. z-index: 1003;
  41. transition: all 0.25s linear;
  42. }
  43. .u-drawer__scroll-view.data-v-17becaea {
  44. width: 100%;
  45. height: 100%;
  46. }
  47. .u-drawer-left.data-v-17becaea {
  48. top: 0;
  49. bottom: 0;
  50. left: 0;
  51. background-color: #ffffff;
  52. }
  53. .u-drawer-right.data-v-17becaea {
  54. right: 0;
  55. top: 0;
  56. bottom: 0;
  57. background-color: #ffffff;
  58. }
  59. .u-drawer-top.data-v-17becaea {
  60. top: 0;
  61. left: 0;
  62. right: 0;
  63. background-color: #ffffff;
  64. }
  65. .u-drawer-bottom.data-v-17becaea {
  66. bottom: 0;
  67. left: 0;
  68. right: 0;
  69. background-color: #ffffff;
  70. }
  71. .u-drawer-center.data-v-17becaea {
  72. display: flex;
  73. flex-direction: row;
  74. flex-direction: column;
  75. bottom: 0;
  76. left: 0;
  77. right: 0;
  78. top: 0;
  79. justify-content: center;
  80. align-items: center;
  81. opacity: 0;
  82. z-index: 99999;
  83. }
  84. .u-mode-center-box.data-v-17becaea {
  85. min-width: 100rpx;
  86. min-height: 100rpx;
  87. display: block;
  88. position: relative;
  89. background-color: #ffffff;
  90. }
  91. .u-drawer-content-visible.u-drawer-center.data-v-17becaea {
  92. -webkit-transform: scale(1);
  93. transform: scale(1);
  94. opacity: 1;
  95. }
  96. .u-animation-zoom.data-v-17becaea {
  97. -webkit-transform: scale(1.15);
  98. transform: scale(1.15);
  99. }
  100. .u-drawer-content-visible.data-v-17becaea {
  101. -webkit-transform: translate3D(0px, 0px, 0px) !important;
  102. transform: translate3D(0px, 0px, 0px) !important;
  103. }
  104. .u-close.data-v-17becaea {
  105. position: absolute;
  106. z-index: 3;
  107. }
  108. .u-close--top-left.data-v-17becaea {
  109. top: 30rpx;
  110. left: 30rpx;
  111. }
  112. .u-close--top-right.data-v-17becaea {
  113. top: 30rpx;
  114. right: 30rpx;
  115. }
  116. .u-close--bottom-left.data-v-17becaea {
  117. bottom: 30rpx;
  118. left: 30rpx;
  119. }
  120. .u-close--bottom-right.data-v-17becaea {
  121. right: 30rpx;
  122. bottom: 30rpx;
  123. }
  124. .u-footer.data-v-17becaea {
  125. position: fixed;
  126. width: 750rpx;
  127. bottom: 10rpx;
  128. display: flex;
  129. justify-content: center;
  130. }