common.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*!
  2. * WeUI v2.3.0 (https://github.com/weui/weui-wxss)
  3. * Copyright 2020 Tencent, Inc.
  4. * Licensed under the MIT license
  5. */
  6. /* @import '../components/weui-wxss/dist/style/weui.wxss'; */
  7. page {
  8. height: 100%;
  9. display: flex;
  10. justify-content: center;
  11. }
  12. .page {
  13. min-height: 100%;
  14. background-color: var(--weui-BG-1);
  15. color: var(--weui-FG-0);
  16. font-size: 16px;
  17. font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
  18. max-width: 600px;
  19. }
  20. image {
  21. max-width: 100%;
  22. max-height: 100%
  23. }
  24. .link {
  25. display: inline;
  26. color: var(--weui-LINK)
  27. }
  28. .fadeIn {
  29. -webkit-animation: a .3s forwards;
  30. animation: a .3s forwards
  31. }
  32. .fadeOut {
  33. -webkit-animation: b .3s forwards;
  34. animation: b .3s forwards
  35. }
  36. @-webkit-keyframes a {
  37. 0% {
  38. opacity: 0
  39. }
  40. to {
  41. opacity: 1
  42. }
  43. }
  44. @keyframes a {
  45. 0% {
  46. opacity: 0
  47. }
  48. to {
  49. opacity: 1
  50. }
  51. }
  52. @-webkit-keyframes b {
  53. 0% {
  54. opacity: 1
  55. }
  56. to {
  57. opacity: 0
  58. }
  59. }
  60. @keyframes b {
  61. 0% {
  62. opacity: 1
  63. }
  64. to {
  65. opacity: 0
  66. }
  67. }
  68. .weui-msg__extra-area {
  69. position: static
  70. }
  71. .page__hd {
  72. padding: 40px
  73. }
  74. .page__bd {
  75. padding-bottom: 40px
  76. }
  77. .page__bd_spacing {
  78. padding-left: 15px;
  79. padding-right: 15px
  80. }
  81. .page__ft {
  82. padding-top: 40px;
  83. padding-bottom: 10px;
  84. padding-bottom: calc(10px + constant(safe-area-inset-bottom));
  85. padding-bottom: calc(10px + env(safe-area-inset-bottom));
  86. text-align: center
  87. }
  88. [data-weui-theme=dark] .page__ft image {
  89. -webkit-filter: invert(100) hue-rotate(180deg);
  90. filter: invert(100) hue-rotate(180deg)
  91. }
  92. .page__title {
  93. text-align: left;
  94. font-size: 20px;
  95. font-weight: 400
  96. }
  97. .page__desc {
  98. margin-top: 5px;
  99. color: var(--weui-FG-1);
  100. text-align: left;
  101. font-size: 14px
  102. }
  103. .weui-cell_example:before {
  104. left: 52px
  105. }
  106. @media (prefers-color-scheme: dark) {
  107. page {
  108. background-color: #1F1F1F;
  109. }
  110. }