global.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. @charset "UTF-8";
  2. @import "base/reset";
  3. @import "base/mixins";
  4. // @import "base/ui-dialog";
  5. @import "plugin/nprogress";
  6. @import "plugin/swiper";
  7. @import "page/video";
  8. .fade-transition {
  9. transition: opacity .3s ease;
  10. }
  11. .fade-enter, .fade-leave {
  12. opacity: 0;
  13. }
  14. .fade-enter-active, .fade-leave-active {
  15. transition: opacity .4s ease;
  16. }
  17. .fade-enter, .fade-leave-to {
  18. opacity: 0
  19. }
  20. .common-transit{
  21. transition: transform 300ms;
  22. }
  23. .common-enter, .common-leave-active {
  24. opacity: 0;
  25. transform: translate3d(0, 300px, 0);
  26. }
  27. .common-leave-active {
  28. position: absolute;
  29. }
  30. html,body{
  31. min-height: 100%;
  32. // background-color: #efefef;
  33. font-family: Microsoft Yahei,sans-serif;
  34. font-size: px2rem(24);
  35. a{
  36. text-decoration: none;
  37. }
  38. }
  39. #app{
  40. height: 100%;
  41. -webkit-overflow-scrolling: touch;
  42. }
  43. .hidden{
  44. display: none;
  45. }
  46. .o-wrap{
  47. position: relative;
  48. height: 100%;
  49. }
  50. .o-wrapout{
  51. width: 100%;
  52. height: 100%;
  53. }
  54. .hide_nav .o-container {
  55. padding-bottom: 0;
  56. }
  57. .hide_nav .o-nav {
  58. display: none;
  59. }
  60. .o-container{
  61. height: 100%;
  62. position: relative;
  63. background-color: #efefef;
  64. &:after{
  65. position: fixed;
  66. z-index: 11;
  67. content: "";
  68. top: 0;
  69. left: 0;
  70. right: 0;
  71. bottom: 0;
  72. background: #000;
  73. opacity: 0;
  74. display: none;
  75. transition: opacity .2s ease;
  76. }
  77. &.o-rendering{
  78. &:after{
  79. opacity: 0.75;
  80. display: block;
  81. transition: opacity .2s ease;
  82. }
  83. }
  84. &.o-trans-fading{
  85. -webkit-transition: -webkit-transform .5s ease;
  86. transition: transform .5s ease;
  87. position: fixed;
  88. -webkit-transform: translate3d(100%, 0px, 0px);
  89. transform: translate3d(100%, 0px, 0px);
  90. }
  91. }
  92. .mint-msgbox-wrapper{
  93. .mint-msgbox{
  94. background: #f8f8f8;
  95. border-radius: px2rem(20);
  96. width: 80%;
  97. &.ui-loading{ //加载
  98. width: 100px;
  99. .mint-msgbox-content{
  100. border-bottom: none;
  101. }
  102. .mint-msgbox-btns{
  103. display: none;
  104. }
  105. }
  106. }
  107. }
  108. .weui-loadmore,.loading-com{
  109. text-align: center;
  110. line-height: px2rem(60);
  111. color: #999;
  112. img{
  113. width: px2rem(60);
  114. height: px2rem(60);
  115. }
  116. }