index.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. .ant-hash-code {
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. justify-content: center;
  8. box-sizing: border-box;
  9. margin: 0;
  10. padding: 0;
  11. color: rgba(0, 0, 0, 0.85);
  12. font-size: 14px;
  13. line-height: 1.5715;
  14. list-style: none;
  15. cursor: pointer;
  16. }
  17. .ant-hash-code-header-copy {
  18. margin-left: 8px;
  19. cursor: pointer;
  20. opacity: 0.45;
  21. }
  22. .ant-hash-code-header {
  23. display: flex;
  24. justify-content: left;
  25. width: 100%;
  26. height: 22px;
  27. padding-bottom: 8px;
  28. }
  29. .ant-hash-code-header .ant-hash-code-header-title {
  30. font-size: 14px;
  31. line-height: 1.5715;
  32. text-align: center;
  33. opacity: 0.45;
  34. }
  35. .ant-hash-code-header .ant-hash-code-header-logo {
  36. display: flex;
  37. flex: 1;
  38. justify-content: right;
  39. }
  40. .ant-hash-code-double {
  41. width: 172px;
  42. }
  43. .ant-hash-code-double.ant-hash-code-primary {
  44. width: 220px;
  45. }
  46. .ant-hash-code-single {
  47. display: flex;
  48. flex-direction: row-reverse;
  49. width: 236px;
  50. }
  51. .ant-hash-code-single.ant-hash-code-primary {
  52. width: 284px;
  53. }
  54. .ant-hash-code-single .ant-hash-code-header-copy {
  55. margin-top: 8px;
  56. }
  57. .ant-hash-code-strip {
  58. width: 350px;
  59. }
  60. .ant-hash-code-strip.ant-hash-code-primary {
  61. width: 398px;
  62. }
  63. .ant-hash-code-rect {
  64. display: flex;
  65. flex-direction: row-reverse;
  66. width: 196px;
  67. }
  68. .ant-hash-code-rect.ant-hash-code-primary {
  69. width: 244px;
  70. }
  71. .ant-hash-code-primary {
  72. padding: 24px;
  73. background-color: #1890ff;
  74. border-radius: 24px;
  75. }
  76. .ant-hash-code-primary .ant-hash-code-header-copy {
  77. opacity: 1;
  78. }
  79. .ant-hash-code-primary .ant-hash-code-header-title,
  80. .ant-hash-code-primary .ant-hash-code-header-copy,
  81. .ant-hash-code-primary .ant-hash-code-header-logo {
  82. color: rgba(255, 255, 255, 0.85);
  83. }
  84. .ant-hash-code-contant {
  85. width: 100%;
  86. height: 100%;
  87. }
  88. .ant-hash-code-code-value {
  89. display: flex;
  90. flex-wrap: wrap;
  91. gap: 0 10px;
  92. justify-content: space-between;
  93. height: 35px;
  94. overflow: hidden;
  95. }
  96. .ant-hash-code-code-value-block {
  97. height: 16px;
  98. font-size: 14px;
  99. font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  100. }
  101. .ant-hash-code-value-primary .ant-hash-code-code-value-block {
  102. color: #fff;
  103. }
  104. .ant-hash-code-texaure-double {
  105. width: 175px;
  106. height: 36px;
  107. }
  108. .ant-hash-code-texaure {
  109. position: absolute;
  110. margin-top: -35px;
  111. overflow: hidden;
  112. }
  113. .ant-hash-code-texaure-single {
  114. width: 210px;
  115. height: 28px;
  116. margin-top: -21px;
  117. }
  118. .ant-hash-code-texaure-strip {
  119. width: 350px;
  120. height: 36px;
  121. }
  122. .ant-hash-code-texaure-rect {
  123. width: 175px;
  124. height: 72px;
  125. margin-top: -71px;
  126. }