bubble.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. .sm-div-graphic {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. }
  6. .divpoint-color {
  7. color: #2b2929;
  8. }
  9. .divpoint-background {
  10. background: rgba(255, 255, 255, 0.85);
  11. }
  12. .divpoint-wrap {
  13. position: relative;
  14. padding: 30px;
  15. overflow: hidden;
  16. }
  17. .divpoint .area {
  18. position: relative;
  19. min-width: 180px;
  20. }
  21. .divpoint .b-t {
  22. position: absolute;
  23. top: 0;
  24. left: 44px;
  25. right: 0;
  26. height: 1px;
  27. z-index: 10;
  28. }
  29. .divpoint .b-r {
  30. position: absolute;
  31. top: 0;
  32. right: 0;
  33. bottom: 44px;
  34. width: 1px;
  35. z-index: 10;
  36. }
  37. .divpoint .b-b {
  38. position: absolute;
  39. left: 0;
  40. right: 44px;
  41. bottom: 0;
  42. height: 1px;
  43. z-index: 10;
  44. }
  45. .divpoint .b-l {
  46. position: absolute;
  47. top: 44px;
  48. left: 0;
  49. bottom: 0;
  50. width: 1px;
  51. z-index: 10;
  52. }
  53. .divpoint .b-t-l {
  54. position: absolute;
  55. top: 0;
  56. left: 0;
  57. width: 1px;
  58. height: 62px;
  59. transform: rotate(45deg) translate(52px, -22px);
  60. z-index: 10;
  61. }
  62. .divpoint .b-b-r {
  63. position: absolute;
  64. bottom: 0;
  65. right: 0;
  66. width: 1px;
  67. height: 62px;
  68. transform: rotate(45deg) translate(-52px, 22px);
  69. z-index: 10;
  70. }
  71. .divpoint .label-wrap {
  72. padding-left: 12px;
  73. color: #fff;
  74. font-size: 16px;
  75. white-space: nowrap;
  76. overflow: hidden;
  77. }
  78. .divpoint .title {
  79. margin-top: 20px;
  80. padding: 0 12px 0 30px;
  81. height: 36px;
  82. line-height: 36px;
  83. position: relative;
  84. color: white;
  85. }
  86. .divpoint .title::before {
  87. content: '';
  88. position: absolute;
  89. bottom: -4px;
  90. left: 0;
  91. right: 0;
  92. z-index: 10;
  93. height: 2px;
  94. }
  95. .divpoint .label-content {
  96. padding: 15px 0;
  97. }
  98. .divpoint .data-li {
  99. padding: 4px 45px 4px 0;
  100. }
  101. .divpoint .data-label, .data-value {
  102. display: inline-block;
  103. }
  104. .divpoint .data-value {
  105. font-size: 14px;
  106. }
  107. .divpoint .label-num {
  108. margin-right: 3px;
  109. color: #07b3f7;
  110. font-weight: 600;
  111. }
  112. .divpoint .label-tag {
  113. display: inline-block;
  114. position: relative;
  115. margin-right: 6px;
  116. padding: 0 6px;
  117. font-weight: 600;
  118. cursor: pointer;
  119. background-color: #909399;
  120. border-radius: 4px;
  121. }
  122. .divpoint .label-tag::after {
  123. content: attr(alt);
  124. display: inline-block;
  125. position: absolute;
  126. bottom: -22px;
  127. right: -35px;
  128. z-index: -1;
  129. padding: 2px 4px;
  130. color: #fff;
  131. font-size: 14px;
  132. background-color: #333;
  133. border-radius: 3px;
  134. opacity: 0;
  135. transition: all .3s ease-in;
  136. }
  137. .divpoint .label-tag:hover::after {
  138. opacity: 1;
  139. z-index: 11;
  140. }
  141. .divpoint .data-value-status-0 {
  142. background-color: #282bf0;
  143. }
  144. .divpoint .data-value-status-1 {
  145. background-color: #b13564;
  146. }
  147. .divpoint .data-value-status-2 {
  148. background-color: #5ecd2b;
  149. }
  150. .divpoint .arrow {
  151. position: absolute;
  152. bottom: 0;
  153. left: 0;
  154. width: 45px;
  155. height: 2px;
  156. transform: rotate(-45deg) translate(5px, -15px);
  157. }
  158. .divpoint-theme-29baf1 .b-t, .divpoint-theme-29baf1 .b-r, .divpoint-theme-29baf1 .b-b, .divpoint-theme-29baf1 .b-l, .divpoint-theme-29baf1 .b-t-l, .divpoint-theme-29baf1 .b-b-r {
  159. background-color: #aacd2b;
  160. box-shadow: 0 0 10px 2px #afcd2b;
  161. }
  162. .divpoint-theme-29baf1 .area {
  163. background-image: linear-gradient(135deg, transparent 30px, #f0d2286c 30px, #f8d4056c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #f0b1286c 30px, #f3c7016c 50.1%, transparent 50%);
  164. }
  165. .divpoint-theme-29baf1 .title {
  166. background-image: linear-gradient(135deg, transparent 25px, #e9b709 25px);
  167. }
  168. .divpoint-theme-29baf1 .arrow, .divpoint-theme-29baf1 .title::before {
  169. background-color: #f1f503;
  170. }
  171. .divpoint-theme-06e34a .b-t, .divpoint-theme-06e34a .b-r, .divpoint-theme-06e34a .b-b, .divpoint-theme-06e34a .b-l, .divpoint-theme-06e34a .b-t-l, .divpoint-theme-06e34a .b-b-r {
  172. background-color: #06e34a;
  173. box-shadow: 0 0 10px 2px #06e34a;
  174. }
  175. .divpoint-theme-06e34a .area {
  176. background-image: linear-gradient(135deg, transparent 30px, #06e3486c 30px, #06e3486c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #06e3486c 30px, #06e3486c 50.1%, transparent 50%);
  177. }
  178. .divpoint-theme-06e34a .title {
  179. background-image: linear-gradient(135deg, transparent 25px, #06e34a 25px);
  180. }
  181. .divpoint-theme-06e34a .arrow, .divpoint-theme-06e34a .title::before {
  182. background-color: #06e34a;
  183. }
  184. .divpoint-theme-e3064f .b-t, .divpoint-theme-e3064f .b-r, .divpoint-theme-e3064f .b-b, .divpoint-theme-e3064f .b-l, .divpoint-theme-e3064f .b-t-l, .divpoint-theme-e3064f .b-b-r {
  185. background-color: #e3064f;
  186. box-shadow: 0 0 10px 2px #e3064f;
  187. }
  188. .divpoint-theme-e3064f .area {
  189. background-image: linear-gradient(135deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%);
  190. }
  191. .divpoint-theme-e3064f .title {
  192. background-image: linear-gradient(135deg, transparent 25px, #e3064f 25px);
  193. }
  194. .divpoint-theme-e3064f .arrow, .divpoint-theme-e3064f .title::before {
  195. background-color: #e3064f;
  196. }
  197. .divpoint-theme-e9b709 .b-t, .divpoint-theme-e9b709 .b-r, .divpoint-theme-e9b709 .b-b, .divpoint-theme-e9b709 .b-l, .divpoint-theme-e9b709 .b-t-l, .divpoint-theme-e9b709 .b-b-r {
  198. background-color: #2bcdbb;
  199. box-shadow: 0 0 10px 2px #2bcdbb;
  200. }
  201. .divpoint-theme-e9b709 .area {
  202. background-image: linear-gradient(135deg, transparent 30px, #2bcdbb 30px, #09e9de6c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%);
  203. }
  204. .divpoint-theme-e9b709 .title {
  205. background-image: linear-gradient(135deg, transparent 25px, #2bcdbb 25px);
  206. }
  207. .divpoint-theme-e9b709 .arrow, .divpoint-theme-e9b709 .title::before {
  208. background-color: #2bcdbb;
  209. }
  210. .sm-gradient-label {
  211. text-align: center;
  212. padding: 5px 30px;
  213. margin: 0;
  214. color: #fff;
  215. background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
  216. -webkit-border-radius: 5px;
  217. -moz-border-radius: 5px;
  218. border-radius: 5px;
  219. max-height: 130px;
  220. -webkit-user-select: none;
  221. -moz-user-select: none;
  222. -ms-user-select: none;
  223. user-select: none;
  224. white-space:nowrap;
  225. }
  226. .sm-gradient-label:after {
  227. content: "";
  228. position: absolute;
  229. bottom: -60px;
  230. left: calc(50% - 3px);
  231. display: block;
  232. width: 3px;
  233. height: 60px;
  234. border-right: 3px solid #2bcdbb;
  235. }