index.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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-alert {
  6. box-sizing: border-box;
  7. margin: 0;
  8. padding: 0;
  9. color: rgba(0, 0, 0, 0.85);
  10. font-size: 14px;
  11. font-variant: tabular-nums;
  12. line-height: 1.5715;
  13. list-style: none;
  14. font-feature-settings: 'tnum';
  15. position: relative;
  16. display: flex;
  17. align-items: center;
  18. padding: 8px 15px;
  19. word-wrap: break-word;
  20. border-radius: 2px;
  21. }
  22. .ant-alert-content {
  23. flex: 1;
  24. min-width: 0;
  25. }
  26. .ant-alert-icon {
  27. margin-right: 8px;
  28. }
  29. .ant-alert-description {
  30. display: none;
  31. font-size: 14px;
  32. line-height: 22px;
  33. }
  34. .ant-alert-success {
  35. background-color: #f6ffed;
  36. border: 1px solid #b7eb8f;
  37. }
  38. .ant-alert-success .ant-alert-icon {
  39. color: #52c41a;
  40. }
  41. .ant-alert-info {
  42. background-color: #e6f7ff;
  43. border: 1px solid #91d5ff;
  44. }
  45. .ant-alert-info .ant-alert-icon {
  46. color: #1890ff;
  47. }
  48. .ant-alert-warning {
  49. background-color: #fffbe6;
  50. border: 1px solid #ffe58f;
  51. }
  52. .ant-alert-warning .ant-alert-icon {
  53. color: #faad14;
  54. }
  55. .ant-alert-error {
  56. background-color: #fff2f0;
  57. border: 1px solid #ffccc7;
  58. }
  59. .ant-alert-error .ant-alert-icon {
  60. color: #ff4d4f;
  61. }
  62. .ant-alert-error .ant-alert-description > pre {
  63. margin: 0;
  64. padding: 0;
  65. }
  66. .ant-alert-action {
  67. margin-left: 8px;
  68. }
  69. .ant-alert-close-icon {
  70. margin-left: 8px;
  71. padding: 0;
  72. overflow: hidden;
  73. font-size: 12px;
  74. line-height: 12px;
  75. background-color: transparent;
  76. border: none;
  77. outline: none;
  78. cursor: pointer;
  79. }
  80. .ant-alert-close-icon .anticon-close {
  81. color: rgba(0, 0, 0, 0.45);
  82. transition: color 0.3s;
  83. }
  84. .ant-alert-close-icon .anticon-close:hover {
  85. color: rgba(0, 0, 0, 0.75);
  86. }
  87. .ant-alert-close-text {
  88. color: rgba(0, 0, 0, 0.45);
  89. transition: color 0.3s;
  90. }
  91. .ant-alert-close-text:hover {
  92. color: rgba(0, 0, 0, 0.75);
  93. }
  94. .ant-alert-with-description {
  95. align-items: flex-start;
  96. padding: 15px 15px 15px 24px;
  97. }
  98. .ant-alert-with-description.ant-alert-no-icon {
  99. padding: 15px 15px;
  100. }
  101. .ant-alert-with-description .ant-alert-icon {
  102. margin-right: 15px;
  103. font-size: 24px;
  104. }
  105. .ant-alert-with-description .ant-alert-message {
  106. display: block;
  107. margin-bottom: 4px;
  108. color: rgba(0, 0, 0, 0.85);
  109. font-size: 16px;
  110. }
  111. .ant-alert-message {
  112. color: rgba(0, 0, 0, 0.85);
  113. }
  114. .ant-alert-with-description .ant-alert-description {
  115. display: block;
  116. }
  117. .ant-alert.ant-alert-motion-leave {
  118. overflow: hidden;
  119. opacity: 1;
  120. transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  121. }
  122. .ant-alert.ant-alert-motion-leave-active {
  123. max-height: 0;
  124. margin-bottom: 0 !important;
  125. padding-top: 0;
  126. padding-bottom: 0;
  127. opacity: 0;
  128. }
  129. .ant-alert-banner {
  130. margin-bottom: 0;
  131. border: 0;
  132. border-radius: 0;
  133. }
  134. .ant-alert.ant-alert-rtl {
  135. direction: rtl;
  136. }
  137. .ant-alert-rtl .ant-alert-icon {
  138. margin-right: auto;
  139. margin-left: 8px;
  140. }
  141. .ant-alert-rtl .ant-alert-action {
  142. margin-right: 8px;
  143. margin-left: auto;
  144. }
  145. .ant-alert-rtl .ant-alert-close-icon {
  146. margin-right: 8px;
  147. margin-left: auto;
  148. }
  149. .ant-alert-rtl.ant-alert-with-description {
  150. padding-right: 24px;
  151. padding-left: 15px;
  152. }
  153. .ant-alert-rtl.ant-alert-with-description .ant-alert-icon {
  154. margin-right: auto;
  155. margin-left: 15px;
  156. }