商丘12345 前端

app.css 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /*
  2. *这是单独为hello mui准备的个性化css,可以覆盖标准mui的css定义;
  3. * 在实际项目开发时,建议为App单独写一个css文件,从而实现项目的自定义皮肤功能;
  4. *
  5. * */
  6. .mui-plus header.mui-bar {
  7. display: none;
  8. }
  9. .mui-plus .mui-bar-nav~.mui-content {
  10. padding: 0;
  11. }
  12. /*hm开头的表示仅为 Hello MUI示例定义*/
  13. .hm-description {
  14. margin: .5em 0;
  15. }
  16. .hm-description>li {
  17. font-size: 14px;
  18. color: #8f8f94;
  19. }
  20. .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar {
  21. background-color: #57cebf!important;
  22. }
  23. .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar {
  24. background-color: #57cebf!important;
  25. }
  26. /*图片预览*/
  27. .mui-preview-image.mui-fullscreen {
  28. position: fixed;
  29. z-index: 20;
  30. background-color: #000;
  31. }
  32. .mui-preview-header,
  33. .mui-preview-footer {
  34. position: absolute;
  35. width: 100%;
  36. left: 0;
  37. z-index: 10;
  38. }
  39. .mui-preview-header {
  40. height: 44px;
  41. top: 0;
  42. }
  43. .mui-preview-footer {
  44. height: 50px;
  45. bottom: 0px;
  46. }
  47. .mui-preview-header .mui-preview-indicator {
  48. display: block;
  49. line-height: 25px;
  50. color: #fff;
  51. text-align: center;
  52. margin: 15px auto 4;
  53. width: 70px;
  54. background-color: rgba(0, 0, 0, 0.4);
  55. border-radius: 12px;
  56. font-size: 16px;
  57. }
  58. .mui-preview-image {
  59. display: none;
  60. -webkit-animation-duration: 0.5s;
  61. animation-duration: 0.5s;
  62. -webkit-animation-fill-mode: both;
  63. animation-fill-mode: both;
  64. }
  65. .mui-preview-image.mui-preview-in {
  66. -webkit-animation-name: fadeIn;
  67. animation-name: fadeIn;
  68. }
  69. .mui-preview-image.mui-preview-out {
  70. background: none;
  71. -webkit-animation-name: fadeOut;
  72. animation-name: fadeOut;
  73. }
  74. .mui-preview-image.mui-preview-out .mui-preview-header,
  75. .mui-preview-image.mui-preview-out .mui-preview-footer {
  76. display: none;
  77. }
  78. .mui-zoom-scroller {
  79. position: absolute;
  80. display: -webkit-box;
  81. display: -webkit-flex;
  82. display: flex;
  83. -webkit-box-align: center;
  84. -webkit-align-items: center;
  85. align-items: center;
  86. -webkit-box-pack: center;
  87. -webkit-justify-content: center;
  88. justify-content: center;
  89. left: 0;
  90. right: 0;
  91. bottom: 0;
  92. top: 0;
  93. width: 100%;
  94. height: 100%;
  95. margin: 0;
  96. -webkit-backface-visibility: hidden;
  97. }
  98. .mui-zoom {
  99. -webkit-transform-style: preserve-3d;
  100. transform-style: preserve-3d;
  101. }
  102. .mui-slider .mui-slider-group .mui-slider-item img {
  103. width: auto;
  104. height: auto;
  105. max-width: 100%;
  106. max-height: 100%;
  107. }
  108. .mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
  109. width: 100%;
  110. }
  111. .mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
  112. display: inline-table;
  113. }
  114. .mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
  115. display: table-cell;
  116. vertical-align: middle;
  117. }
  118. .mui-preview-loading {
  119. position: absolute;
  120. width: 100%;
  121. height: 100%;
  122. top: 0;
  123. left: 0;
  124. display: none;
  125. }
  126. .mui-preview-loading.mui-active {
  127. display: block;
  128. }
  129. .mui-preview-loading .mui-spinner-white {
  130. position: absolute;
  131. top: 50%;
  132. left: 50%;
  133. margin-left: -25px;
  134. margin-top: -25px;
  135. height: 50px;
  136. width: 50px;
  137. }
  138. .mui-preview-image img.mui-transitioning {
  139. -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
  140. transition: transform 0.5s ease, opacity 0.5s ease;
  141. }
  142. @-webkit-keyframes fadeIn {
  143. 0% {
  144. opacity: 0;
  145. }
  146. 100% {
  147. opacity: 1;
  148. }
  149. }
  150. @keyframes fadeIn {
  151. 0% {
  152. opacity: 0;
  153. }
  154. 100% {
  155. opacity: 1;
  156. }
  157. }
  158. @-webkit-keyframes fadeOut {
  159. 0% {
  160. opacity: 1;
  161. }
  162. 100% {
  163. opacity: 0;
  164. }
  165. }
  166. @keyframes fadeOut {
  167. 0% {
  168. opacity: 1;
  169. }
  170. 100% {
  171. opacity: 0;
  172. }
  173. }
  174. p img {
  175. max-width: 100%;
  176. height: auto;
  177. }