tn-popup.wxss 2.6 KB

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