index.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. /* stylelint-disable */
  4. /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
  5. .ant-image {
  6. position: relative;
  7. display: inline-block;
  8. }
  9. .ant-image-img {
  10. width: 100%;
  11. height: auto;
  12. vertical-align: middle;
  13. }
  14. .ant-image-img-placeholder {
  15. background-color: #f5f5f5;
  16. background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=');
  17. background-repeat: no-repeat;
  18. background-position: center center;
  19. background-size: 30%;
  20. }
  21. .ant-image-mask {
  22. position: absolute;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. left: 0;
  27. display: flex;
  28. align-items: center;
  29. justify-content: center;
  30. color: #fff;
  31. background: rgba(0, 0, 0, 0.5);
  32. cursor: pointer;
  33. opacity: 0;
  34. transition: opacity 0.3s;
  35. }
  36. .ant-image-mask-info {
  37. padding: 0 4px;
  38. overflow: hidden;
  39. white-space: nowrap;
  40. text-overflow: ellipsis;
  41. }
  42. .ant-image-mask-info .anticon {
  43. -webkit-margin-end: 4px;
  44. margin-inline-end: 4px;
  45. }
  46. .ant-image-mask:hover {
  47. opacity: 1;
  48. }
  49. .ant-image-placeholder {
  50. position: absolute;
  51. top: 0;
  52. right: 0;
  53. bottom: 0;
  54. left: 0;
  55. }
  56. .ant-image-preview {
  57. pointer-events: none;
  58. height: 100%;
  59. text-align: center;
  60. }
  61. .ant-image-preview.ant-zoom-enter,
  62. .ant-image-preview.antzoom-appear {
  63. transform: none;
  64. opacity: 0;
  65. animation-duration: 0.3s;
  66. -webkit-user-select: none;
  67. -moz-user-select: none;
  68. user-select: none;
  69. }
  70. .ant-image-preview-mask {
  71. position: fixed;
  72. top: 0;
  73. right: 0;
  74. bottom: 0;
  75. left: 0;
  76. z-index: 1000;
  77. height: 100%;
  78. background-color: rgba(0, 0, 0, 0.45);
  79. }
  80. .ant-image-preview-mask-hidden {
  81. display: none;
  82. }
  83. .ant-image-preview-wrap {
  84. position: fixed;
  85. top: 0;
  86. right: 0;
  87. bottom: 0;
  88. left: 0;
  89. overflow: auto;
  90. outline: 0;
  91. -webkit-overflow-scrolling: touch;
  92. }
  93. .ant-image-preview-body {
  94. position: absolute;
  95. top: 0;
  96. right: 0;
  97. bottom: 0;
  98. left: 0;
  99. overflow: hidden;
  100. }
  101. .ant-image-preview-img {
  102. max-width: 100%;
  103. max-height: 100%;
  104. vertical-align: middle;
  105. transform: scale3d(1, 1, 1);
  106. cursor: grab;
  107. transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  108. -webkit-user-select: none;
  109. -moz-user-select: none;
  110. user-select: none;
  111. pointer-events: auto;
  112. }
  113. .ant-image-preview-img-wrapper {
  114. position: absolute;
  115. top: 0;
  116. right: 0;
  117. bottom: 0;
  118. left: 0;
  119. transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  120. }
  121. .ant-image-preview-img-wrapper::before {
  122. display: inline-block;
  123. width: 1px;
  124. height: 50%;
  125. margin-right: -1px;
  126. content: '';
  127. }
  128. .ant-image-preview-moving .ant-image-preview-img {
  129. cursor: grabbing;
  130. }
  131. .ant-image-preview-moving .ant-image-preview-img-wrapper {
  132. transition-duration: 0s;
  133. }
  134. .ant-image-preview-wrap {
  135. z-index: 1080;
  136. }
  137. .ant-image-preview-operations {
  138. box-sizing: border-box;
  139. margin: 0;
  140. padding: 0;
  141. color: rgba(0, 0, 0, 0.85);
  142. font-size: 14px;
  143. font-variant: tabular-nums;
  144. line-height: 1.5715;
  145. font-feature-settings: 'tnum';
  146. position: absolute;
  147. top: 0;
  148. right: 0;
  149. z-index: 1;
  150. display: flex;
  151. flex-direction: row-reverse;
  152. align-items: center;
  153. width: 100%;
  154. color: rgba(255, 255, 255, 0.85);
  155. list-style: none;
  156. background: rgba(0, 0, 0, 0.1);
  157. pointer-events: auto;
  158. }
  159. .ant-image-preview-operations-operation {
  160. margin-left: 12px;
  161. padding: 12px;
  162. cursor: pointer;
  163. }
  164. .ant-image-preview-operations-operation-disabled {
  165. color: rgba(255, 255, 255, 0.25);
  166. pointer-events: none;
  167. }
  168. .ant-image-preview-operations-operation:last-of-type {
  169. margin-left: 0;
  170. }
  171. .ant-image-preview-operations-icon {
  172. font-size: 18px;
  173. }
  174. .ant-image-preview-switch-left,
  175. .ant-image-preview-switch-right {
  176. position: absolute;
  177. top: 50%;
  178. right: 10px;
  179. z-index: 1;
  180. display: flex;
  181. align-items: center;
  182. justify-content: center;
  183. width: 44px;
  184. height: 44px;
  185. margin-top: -22px;
  186. color: rgba(255, 255, 255, 0.85);
  187. background: rgba(0, 0, 0, 0.1);
  188. border-radius: 50%;
  189. cursor: pointer;
  190. pointer-events: auto;
  191. }
  192. .ant-image-preview-switch-left-disabled,
  193. .ant-image-preview-switch-right-disabled {
  194. color: rgba(255, 255, 255, 0.25);
  195. cursor: not-allowed;
  196. }
  197. .ant-image-preview-switch-left-disabled > .anticon,
  198. .ant-image-preview-switch-right-disabled > .anticon {
  199. cursor: not-allowed;
  200. }
  201. .ant-image-preview-switch-left > .anticon,
  202. .ant-image-preview-switch-right > .anticon {
  203. font-size: 18px;
  204. }
  205. .ant-image-preview-switch-left {
  206. left: 10px;
  207. }
  208. .ant-image-preview-switch-right {
  209. right: 10px;
  210. }