index.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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-typography {
  6. color: rgba(0, 0, 0, 0.85);
  7. overflow-wrap: break-word;
  8. }
  9. .ant-typography.ant-typography-secondary {
  10. color: rgba(0, 0, 0, 0.45);
  11. }
  12. .ant-typography.ant-typography-success {
  13. color: #52c41a;
  14. }
  15. .ant-typography.ant-typography-warning {
  16. color: #faad14;
  17. }
  18. .ant-typography.ant-typography-danger {
  19. color: #ff4d4f;
  20. }
  21. a.ant-typography.ant-typography-danger:active,
  22. a.ant-typography.ant-typography-danger:focus,
  23. a.ant-typography.ant-typography-danger:hover {
  24. color: #ff7875;
  25. }
  26. .ant-typography.ant-typography-disabled {
  27. color: rgba(0, 0, 0, 0.25);
  28. cursor: not-allowed;
  29. -webkit-user-select: none;
  30. -moz-user-select: none;
  31. user-select: none;
  32. }
  33. div.ant-typography,
  34. .ant-typography p {
  35. margin-bottom: 1em;
  36. }
  37. h1.ant-typography,
  38. .ant-typography h1 {
  39. margin-bottom: 0.5em;
  40. color: rgba(0, 0, 0, 0.85);
  41. font-weight: 600;
  42. font-size: 38px;
  43. line-height: 1.23;
  44. }
  45. h2.ant-typography,
  46. .ant-typography h2 {
  47. margin-bottom: 0.5em;
  48. color: rgba(0, 0, 0, 0.85);
  49. font-weight: 600;
  50. font-size: 30px;
  51. line-height: 1.35;
  52. }
  53. h3.ant-typography,
  54. .ant-typography h3 {
  55. margin-bottom: 0.5em;
  56. color: rgba(0, 0, 0, 0.85);
  57. font-weight: 600;
  58. font-size: 24px;
  59. line-height: 1.35;
  60. }
  61. h4.ant-typography,
  62. .ant-typography h4 {
  63. margin-bottom: 0.5em;
  64. color: rgba(0, 0, 0, 0.85);
  65. font-weight: 600;
  66. font-size: 20px;
  67. line-height: 1.4;
  68. }
  69. h5.ant-typography,
  70. .ant-typography h5 {
  71. margin-bottom: 0.5em;
  72. color: rgba(0, 0, 0, 0.85);
  73. font-weight: 600;
  74. font-size: 16px;
  75. line-height: 1.5;
  76. }
  77. .ant-typography + h1.ant-typography,
  78. .ant-typography + h2.ant-typography,
  79. .ant-typography + h3.ant-typography,
  80. .ant-typography + h4.ant-typography,
  81. .ant-typography + h5.ant-typography {
  82. margin-top: 1.2em;
  83. }
  84. .ant-typography div + h1,
  85. .ant-typography ul + h1,
  86. .ant-typography li + h1,
  87. .ant-typography p + h1,
  88. .ant-typography h1 + h1,
  89. .ant-typography h2 + h1,
  90. .ant-typography h3 + h1,
  91. .ant-typography h4 + h1,
  92. .ant-typography h5 + h1,
  93. .ant-typography div + h2,
  94. .ant-typography ul + h2,
  95. .ant-typography li + h2,
  96. .ant-typography p + h2,
  97. .ant-typography h1 + h2,
  98. .ant-typography h2 + h2,
  99. .ant-typography h3 + h2,
  100. .ant-typography h4 + h2,
  101. .ant-typography h5 + h2,
  102. .ant-typography div + h3,
  103. .ant-typography ul + h3,
  104. .ant-typography li + h3,
  105. .ant-typography p + h3,
  106. .ant-typography h1 + h3,
  107. .ant-typography h2 + h3,
  108. .ant-typography h3 + h3,
  109. .ant-typography h4 + h3,
  110. .ant-typography h5 + h3,
  111. .ant-typography div + h4,
  112. .ant-typography ul + h4,
  113. .ant-typography li + h4,
  114. .ant-typography p + h4,
  115. .ant-typography h1 + h4,
  116. .ant-typography h2 + h4,
  117. .ant-typography h3 + h4,
  118. .ant-typography h4 + h4,
  119. .ant-typography h5 + h4,
  120. .ant-typography div + h5,
  121. .ant-typography ul + h5,
  122. .ant-typography li + h5,
  123. .ant-typography p + h5,
  124. .ant-typography h1 + h5,
  125. .ant-typography h2 + h5,
  126. .ant-typography h3 + h5,
  127. .ant-typography h4 + h5,
  128. .ant-typography h5 + h5 {
  129. margin-top: 1.2em;
  130. }
  131. a.ant-typography-ellipsis,
  132. span.ant-typography-ellipsis {
  133. display: inline-block;
  134. max-width: 100%;
  135. }
  136. a.ant-typography,
  137. .ant-typography a {
  138. color: #1890ff;
  139. outline: none;
  140. cursor: pointer;
  141. transition: color 0.3s;
  142. text-decoration: none;
  143. }
  144. a.ant-typography:focus,
  145. .ant-typography a:focus,
  146. a.ant-typography:hover,
  147. .ant-typography a:hover {
  148. color: #40a9ff;
  149. }
  150. a.ant-typography:active,
  151. .ant-typography a:active {
  152. color: #096dd9;
  153. }
  154. a.ant-typography:active,
  155. .ant-typography a:active,
  156. a.ant-typography:hover,
  157. .ant-typography a:hover {
  158. text-decoration: none;
  159. }
  160. a.ant-typography[disabled],
  161. .ant-typography a[disabled],
  162. a.ant-typography.ant-typography-disabled,
  163. .ant-typography a.ant-typography-disabled {
  164. color: rgba(0, 0, 0, 0.25);
  165. cursor: not-allowed;
  166. }
  167. a.ant-typography[disabled]:active,
  168. .ant-typography a[disabled]:active,
  169. a.ant-typography.ant-typography-disabled:active,
  170. .ant-typography a.ant-typography-disabled:active,
  171. a.ant-typography[disabled]:hover,
  172. .ant-typography a[disabled]:hover,
  173. a.ant-typography.ant-typography-disabled:hover,
  174. .ant-typography a.ant-typography-disabled:hover {
  175. color: rgba(0, 0, 0, 0.25);
  176. }
  177. a.ant-typography[disabled]:active,
  178. .ant-typography a[disabled]:active,
  179. a.ant-typography.ant-typography-disabled:active,
  180. .ant-typography a.ant-typography-disabled:active {
  181. pointer-events: none;
  182. }
  183. .ant-typography code {
  184. margin: 0 0.2em;
  185. padding: 0.2em 0.4em 0.1em;
  186. font-size: 85%;
  187. background: rgba(150, 150, 150, 0.1);
  188. border: 1px solid rgba(100, 100, 100, 0.2);
  189. border-radius: 3px;
  190. }
  191. .ant-typography kbd {
  192. margin: 0 0.2em;
  193. padding: 0.15em 0.4em 0.1em;
  194. font-size: 90%;
  195. background: rgba(150, 150, 150, 0.06);
  196. border: 1px solid rgba(100, 100, 100, 0.2);
  197. border-bottom-width: 2px;
  198. border-radius: 3px;
  199. }
  200. .ant-typography mark {
  201. padding: 0;
  202. background-color: #ffe58f;
  203. }
  204. .ant-typography u,
  205. .ant-typography ins {
  206. text-decoration: underline;
  207. -webkit-text-decoration-skip: ink;
  208. text-decoration-skip-ink: auto;
  209. }
  210. .ant-typography s,
  211. .ant-typography del {
  212. text-decoration: line-through;
  213. }
  214. .ant-typography strong {
  215. font-weight: 600;
  216. }
  217. .ant-typography-expand,
  218. .ant-typography-edit,
  219. .ant-typography-copy {
  220. color: #1890ff;
  221. text-decoration: none;
  222. outline: none;
  223. cursor: pointer;
  224. transition: color 0.3s;
  225. margin-left: 4px;
  226. }
  227. .ant-typography-expand:focus,
  228. .ant-typography-edit:focus,
  229. .ant-typography-copy:focus,
  230. .ant-typography-expand:hover,
  231. .ant-typography-edit:hover,
  232. .ant-typography-copy:hover {
  233. color: #40a9ff;
  234. }
  235. .ant-typography-expand:active,
  236. .ant-typography-edit:active,
  237. .ant-typography-copy:active {
  238. color: #096dd9;
  239. }
  240. .ant-typography-copy-success,
  241. .ant-typography-copy-success:hover,
  242. .ant-typography-copy-success:focus {
  243. color: #52c41a;
  244. }
  245. .ant-typography-edit-content {
  246. position: relative;
  247. }
  248. div.ant-typography-edit-content {
  249. left: -12px;
  250. margin-top: -5px;
  251. margin-bottom: calc(1em - 4px - 1px);
  252. }
  253. .ant-typography-edit-content-confirm {
  254. position: absolute;
  255. right: 10px;
  256. bottom: 8px;
  257. color: rgba(0, 0, 0, 0.45);
  258. pointer-events: none;
  259. }
  260. .ant-typography-edit-content textarea {
  261. /* stylelint-disable-next-line property-no-vendor-prefix */
  262. -moz-transition: none;
  263. }
  264. .ant-typography ul,
  265. .ant-typography ol {
  266. margin: 0 0 1em;
  267. padding: 0;
  268. }
  269. .ant-typography ul li,
  270. .ant-typography ol li {
  271. margin: 0 0 0 20px;
  272. padding: 0 0 0 4px;
  273. }
  274. .ant-typography ul {
  275. list-style-type: circle;
  276. }
  277. .ant-typography ul ul {
  278. list-style-type: disc;
  279. }
  280. .ant-typography ol {
  281. list-style-type: decimal;
  282. }
  283. .ant-typography pre,
  284. .ant-typography blockquote {
  285. margin: 1em 0;
  286. }
  287. .ant-typography pre {
  288. padding: 0.4em 0.6em;
  289. white-space: pre-wrap;
  290. word-wrap: break-word;
  291. background: rgba(150, 150, 150, 0.1);
  292. border: 1px solid rgba(100, 100, 100, 0.2);
  293. border-radius: 3px;
  294. }
  295. .ant-typography pre code {
  296. display: inline;
  297. margin: 0;
  298. padding: 0;
  299. font-size: inherit;
  300. font-family: inherit;
  301. background: transparent;
  302. border: 0;
  303. }
  304. .ant-typography blockquote {
  305. padding: 0 0 0 0.6em;
  306. border-left: 4px solid rgba(100, 100, 100, 0.2);
  307. opacity: 0.85;
  308. }
  309. .ant-typography-single-line {
  310. white-space: nowrap;
  311. }
  312. .ant-typography-ellipsis-single-line {
  313. overflow: hidden;
  314. text-overflow: ellipsis;
  315. }
  316. a.ant-typography-ellipsis-single-line,
  317. span.ant-typography-ellipsis-single-line {
  318. vertical-align: bottom;
  319. }
  320. .ant-typography-ellipsis-multiple-line {
  321. /* stylelint-disable-next-line value-no-vendor-prefix */
  322. display: -webkit-box;
  323. overflow: hidden;
  324. -webkit-line-clamp: 3;
  325. /*! autoprefixer: ignore next */
  326. -webkit-box-orient: vertical;
  327. }
  328. .ant-typography-rtl {
  329. direction: rtl;
  330. }
  331. .ant-typography-rtl .ant-typography-expand,
  332. .ant-typography-rtl .ant-typography-edit,
  333. .ant-typography-rtl .ant-typography-copy {
  334. margin-right: 4px;
  335. margin-left: 0;
  336. }
  337. .ant-typography-rtl .ant-typography-expand {
  338. float: left;
  339. }
  340. div.ant-typography-edit-content.ant-typography-rtl {
  341. right: -12px;
  342. left: auto;
  343. }
  344. .ant-typography-rtl .ant-typography-edit-content-confirm {
  345. right: auto;
  346. left: 10px;
  347. }
  348. .ant-typography-rtl.ant-typography ul li,
  349. .ant-typography-rtl.ant-typography ol li {
  350. margin: 0 20px 0 0;
  351. padding: 0 4px 0 0;
  352. }