index.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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-drawer {
  6. position: fixed;
  7. z-index: 1000;
  8. width: 0%;
  9. height: 100%;
  10. transition: width 0s ease 0.3s, height 0s ease 0.3s;
  11. }
  12. .ant-drawer-content-wrapper {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  17. }
  18. .ant-drawer .ant-drawer-content {
  19. width: 100%;
  20. height: 100%;
  21. }
  22. .ant-drawer-left,
  23. .ant-drawer-right {
  24. top: 0;
  25. width: 0%;
  26. height: 100%;
  27. }
  28. .ant-drawer-left .ant-drawer-content-wrapper,
  29. .ant-drawer-right .ant-drawer-content-wrapper {
  30. height: 100%;
  31. }
  32. .ant-drawer-left.ant-drawer-open,
  33. .ant-drawer-right.ant-drawer-open {
  34. width: 100%;
  35. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  36. }
  37. .ant-drawer-left {
  38. left: 0;
  39. }
  40. .ant-drawer-left .ant-drawer-content-wrapper {
  41. left: 0;
  42. }
  43. .ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper {
  44. box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
  45. }
  46. .ant-drawer-right {
  47. right: 0;
  48. }
  49. .ant-drawer-right .ant-drawer-content-wrapper {
  50. right: 0;
  51. }
  52. .ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {
  53. box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
  54. }
  55. .ant-drawer-right.ant-drawer-open.no-mask {
  56. right: 1px;
  57. transform: translateX(1px);
  58. }
  59. .ant-drawer-top,
  60. .ant-drawer-bottom {
  61. left: 0;
  62. width: 100%;
  63. height: 0%;
  64. }
  65. .ant-drawer-top .ant-drawer-content-wrapper,
  66. .ant-drawer-bottom .ant-drawer-content-wrapper {
  67. width: 100%;
  68. }
  69. .ant-drawer-top.ant-drawer-open,
  70. .ant-drawer-bottom.ant-drawer-open {
  71. height: 100%;
  72. transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  73. }
  74. .ant-drawer-top {
  75. top: 0;
  76. }
  77. .ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper {
  78. box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
  79. }
  80. .ant-drawer-bottom {
  81. bottom: 0;
  82. }
  83. .ant-drawer-bottom .ant-drawer-content-wrapper {
  84. bottom: 0;
  85. }
  86. .ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper {
  87. box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
  88. }
  89. .ant-drawer-bottom.ant-drawer-open.no-mask {
  90. bottom: 1px;
  91. transform: translateY(1px);
  92. }
  93. .ant-drawer.ant-drawer-open .ant-drawer-mask {
  94. height: 100%;
  95. opacity: 1;
  96. transition: none;
  97. animation: antdDrawerFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  98. pointer-events: auto;
  99. }
  100. .ant-drawer-title {
  101. flex: 1;
  102. margin: 0;
  103. color: rgba(0, 0, 0, 0.85);
  104. font-weight: 500;
  105. font-size: 16px;
  106. line-height: 22px;
  107. }
  108. .ant-drawer-content {
  109. position: relative;
  110. z-index: 1;
  111. overflow: auto;
  112. background-color: #fff;
  113. background-clip: padding-box;
  114. border: 0;
  115. }
  116. .ant-drawer-close {
  117. display: inline-block;
  118. margin-right: 12px;
  119. color: rgba(0, 0, 0, 0.45);
  120. font-weight: 700;
  121. font-size: 16px;
  122. font-style: normal;
  123. line-height: 1;
  124. text-align: center;
  125. text-transform: none;
  126. text-decoration: none;
  127. background: transparent;
  128. border: 0;
  129. outline: 0;
  130. cursor: pointer;
  131. transition: color 0.3s;
  132. text-rendering: auto;
  133. }
  134. .ant-drawer-close:focus,
  135. .ant-drawer-close:hover {
  136. color: rgba(0, 0, 0, 0.75);
  137. text-decoration: none;
  138. }
  139. .ant-drawer-header {
  140. position: relative;
  141. display: flex;
  142. align-items: center;
  143. justify-content: space-between;
  144. padding: 16px 24px;
  145. color: rgba(0, 0, 0, 0.85);
  146. background: #fff;
  147. border-bottom: 1px solid #f0f0f0;
  148. border-radius: 2px 2px 0 0;
  149. }
  150. .ant-drawer-header-title {
  151. display: flex;
  152. flex: 1;
  153. align-items: center;
  154. justify-content: space-between;
  155. }
  156. .ant-drawer-header-close-only {
  157. padding-bottom: 0;
  158. border: none;
  159. }
  160. .ant-drawer-wrapper-body {
  161. display: flex;
  162. flex-flow: column nowrap;
  163. width: 100%;
  164. height: 100%;
  165. }
  166. .ant-drawer-body {
  167. flex-grow: 1;
  168. padding: 24px;
  169. overflow: auto;
  170. font-size: 14px;
  171. line-height: 1.5715;
  172. word-wrap: break-word;
  173. }
  174. .ant-drawer-footer {
  175. flex-shrink: 0;
  176. padding: 10px 16px;
  177. border-top: 1px solid #f0f0f0;
  178. }
  179. .ant-drawer-mask {
  180. position: absolute;
  181. top: 0;
  182. left: 0;
  183. width: 100%;
  184. height: 0;
  185. background-color: rgba(0, 0, 0, 0.45);
  186. opacity: 0;
  187. transition: opacity 0.3s linear, height 0s ease 0.3s;
  188. pointer-events: none;
  189. }
  190. .ant-drawer .ant-picker-clear {
  191. background: #fff;
  192. }
  193. @keyframes antdDrawerFadeIn {
  194. 0% {
  195. opacity: 0;
  196. }
  197. 100% {
  198. opacity: 1;
  199. }
  200. }
  201. .ant-drawer-rtl {
  202. direction: rtl;
  203. }
  204. .ant-drawer-rtl .ant-drawer-close {
  205. margin-right: 0;
  206. margin-left: 12px;
  207. }