kline.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html{
  6. /* padding-top: 220px; */
  7. /* background-color: #131623; */
  8. }
  9. /* #app{
  10. height: 100vh;
  11. width: 100vw;
  12. overflow-y: scroll;
  13. overflow-x: hidden;
  14. -webkit-overflow-scrolling: touch;
  15. } */
  16. .head{
  17. padding: 10px;
  18. }
  19. .price{
  20. display: flex;
  21. align-items: center;
  22. }
  23. .price-label{
  24. font-size: 26px;
  25. font-weight: bold;
  26. color: #38ad70;
  27. }
  28. .price-value{
  29. margin-left: 10px;
  30. font-size: 12px;
  31. color: #fff;
  32. margin-top: 4px;
  33. }
  34. .head-item{
  35. margin-top: 5px;
  36. display: flex;
  37. align-items: center;
  38. justify-content: space-between;
  39. }
  40. .head-item-cell{
  41. display: flex;
  42. flex-direction: row;
  43. align-items: center;
  44. }
  45. .hic-label{
  46. font-size: 10px;
  47. color: rgba(255,255,255,0.38);
  48. }
  49. .hic-value{
  50. margin-left: 5px;
  51. font-size: 10px;
  52. color: rgba(255,255,255,0.7);
  53. }
  54. .tabs{
  55. display: flex;
  56. flex-direction: row;
  57. align-items: center;
  58. border-bottom: 1px solid rgba(255,255,255,0.1);
  59. padding: 0 10px;
  60. }
  61. .tabs-item{
  62. margin-right: 20px;
  63. display: flex;
  64. flex-direction: column;
  65. align-items: center;
  66. }
  67. .tabs-item-text{
  68. font-size: 12px;
  69. line-height: 24px;
  70. /* color: rgba(255,255,255,0.38); */
  71. color: #131623;
  72. }
  73. .tabs-item-text-active{
  74. color: $Theme-Color;
  75. }
  76. .tabs-item-bar{
  77. width: 0;
  78. height: 2px;
  79. background-color: transparent;
  80. transition: all .2s;
  81. }
  82. .tabs-item-bar-active{
  83. width: 16px;
  84. background-color: #fff;
  85. }
  86. .category{
  87. position: sticky;
  88. top: 0;
  89. z-index: 999;
  90. background-color: #131623;
  91. margin-top: 10px;
  92. display: flex;
  93. flex-direction: row;
  94. align-items: center;
  95. justify-content: center;
  96. border-bottom: 1px solid rgba(255,255,255,0.1);
  97. padding: 0 10px;
  98. }
  99. .category-item-wrap{
  100. flex: 1;
  101. display: flex;
  102. flex-direction: row;
  103. justify-content: center;
  104. }
  105. .category-item{
  106. display: flex;
  107. flex-direction: column;
  108. align-items: center;
  109. }
  110. .category-item-text{
  111. font-size: 14px;
  112. line-height: 28px;
  113. color: rgba(255,255,255,0.38);
  114. }
  115. .category-item-text-active{
  116. color: #fff;
  117. }
  118. .category-item-bar{
  119. width: 0;
  120. height: 2px;
  121. background-color: transparent;
  122. transition: all .2s;
  123. }
  124. .category-item-bar-active{
  125. width: 100%;
  126. background-color: #fff;
  127. }
  128. .category-main{
  129. padding: 10px;
  130. }
  131. .depth-head{
  132. display: flex;
  133. flex-direction: row;
  134. align-items: center;
  135. justify-content: space-between;
  136. }
  137. .depth-head-left{
  138. flex: 1;
  139. display: flex;
  140. flex-direction: row;
  141. align-items: center;
  142. }
  143. .depth-head-center{
  144. flex: 1;
  145. display: flex;
  146. flex-direction: row;
  147. align-items: center;
  148. justify-content: center;
  149. }
  150. .depth-head-right{
  151. flex: 1;
  152. display: flex;
  153. flex-direction: row;
  154. align-items: center;
  155. justify-content: flex-end;
  156. }
  157. .depth-head-label{
  158. font-size: 10px;
  159. color: rgba(255,255,255,0.38);
  160. }
  161. .depth-head-left-index{
  162. width: 30px;
  163. margin-right: 10px;
  164. text-align: left;
  165. }
  166. .depth-head-right-index{
  167. width: 30px;
  168. margin-left: 10px;
  169. text-align: right;
  170. }
  171. .depth-main{
  172. margin-top: 15px;
  173. display: flex;
  174. flex-direction: row;
  175. }
  176. .depth-main-item{
  177. flex: 1;
  178. }
  179. .dmi-cell{
  180. position: relative;
  181. height: 30px;
  182. display: flex;
  183. flex-direction: row;
  184. }
  185. .dmi-cell-item{
  186. position: absolute;
  187. top: 0;
  188. left: 0;
  189. right: 0;
  190. bottom: 0;
  191. display: flex;
  192. flex-direction: row;
  193. align-items: center;
  194. }
  195. .dmi-cell-item-right{
  196. justify-content: flex-end;
  197. }
  198. .dmi-cell-bg{
  199. background-color: red;
  200. width: 0;
  201. height: 100%;
  202. }
  203. .dmi-cell-index{
  204. width: 30px;
  205. font-size: 12px;
  206. color: #fff;
  207. }
  208. .dmi-cell-num{
  209. flex: 1;
  210. margin: 0 10px;
  211. font-size: 12px;
  212. color: #fff;
  213. }
  214. .dmi-cell-price{
  215. font-size: 12px;
  216. color: #fff;
  217. }
  218. .transaction{
  219. }
  220. .transaction-head{
  221. display: flex;
  222. flex-direction: row;
  223. align-items: center;
  224. justify-content: space-between;
  225. }
  226. .transaction-head-item{
  227. color: rgba(255,255,255,0.38);
  228. font-size: 10px;
  229. }
  230. .transaction-main{
  231. margin-top: 10px;
  232. }
  233. .transaction-main-cell{
  234. display: flex;
  235. flex-direction: row;
  236. align-items: center;
  237. justify-content: space-between;
  238. }
  239. .tmc-label{
  240. color: #fff;
  241. font-size: 12px;
  242. height: 30px;
  243. line-height: 30px;
  244. }
  245. .tmc-time{
  246. width: 30%;
  247. }
  248. .tmc-type{
  249. text-align: center;
  250. width: 20%;
  251. }
  252. .tmc-price{
  253. text-align: center;
  254. width: 20%;
  255. }
  256. .tmc-num{
  257. text-align: right;
  258. width: 30%;
  259. }
  260. .introduction{
  261. }
  262. .introduction-name{
  263. color: #fff;
  264. font-size: 16px;
  265. font-weight: bold;
  266. padding-bottom: 20px;
  267. }
  268. .introduction-cell{
  269. margin-top: 20px;
  270. display: flex;
  271. flex-direction: row;
  272. align-items: center;
  273. justify-content: space-between;
  274. }
  275. .introduction-cell-label{
  276. color: rgba(255,255,255,0.38);
  277. font-size: 12px;
  278. }
  279. .introduction-cell-value{
  280. color: #fff;
  281. font-size: 12px;
  282. font-weight: bold;
  283. }
  284. .introduction-label{
  285. margin-top: 40px;
  286. color: #fff;
  287. font-size: 16px;
  288. font-weight: bold;
  289. }
  290. .introduction-value{
  291. margin-top: 20px;
  292. color: #fff;
  293. font-size: 14px;
  294. }
  295. .btns{
  296. position: fixed;
  297. z-index: 1000;
  298. left: 0;
  299. right: 0;
  300. bottom: 0;
  301. display: flex;
  302. flex-direction: row;
  303. align-items: center;
  304. justify-content: center;
  305. padding: 10px;
  306. box-sizing: border-box;
  307. background-color: #131623;
  308. }
  309. .btn{
  310. flex: 1;
  311. height: 40px;
  312. border-radius: 4px;
  313. line-height: 40px;
  314. text-align: center;
  315. color: #fff;
  316. font-size: 16px;
  317. }
  318. .btn-green{
  319. margin-right: 20px;
  320. background-color: #38ad70;
  321. }
  322. .btn-red{
  323. background-color: #fe5c57;
  324. }
  325. .charts-border {
  326. position: relative;
  327. }
  328. .charts {
  329. width: 100vw;
  330. height: 320px;
  331. }
  332. .charts-label {
  333. position: absolute;
  334. left: 10px;
  335. top: 5px;
  336. font-size: 10px;
  337. display: flex;
  338. justify-content: center;
  339. align-items: center;
  340. }
  341. .charts-label div {
  342. margin-right: 14px;
  343. }
  344. .charts-MA5 {
  345. color: #eef4ba;
  346. }
  347. .charts-MA10 {
  348. color: #83c1c5;
  349. }
  350. .charts-MA30 {
  351. color: #b39cd8;
  352. }
  353. .charts-bar-label {
  354. position: absolute;
  355. left: 10px;
  356. top: 76%;
  357. font-size: 10px;
  358. display: flex;
  359. justify-content: center;
  360. align-items: center;
  361. }
  362. .charts-bar-label div {
  363. margin-right: 14px;
  364. }
  365. .charts-tooltip-row {
  366. display: flex;
  367. flex-direction: row;
  368. align-items: center;
  369. justify-content: space-between;
  370. padding: 5px 0;
  371. }
  372. .ctr-label {
  373. color: #51617b;
  374. }
  375. .ctr-value {
  376. color: #acbadf;
  377. margin-left: 30px;
  378. }
  379. .price-green{
  380. color: #38ad70;
  381. }
  382. .price-red{
  383. color: #fe5c57;
  384. }
  385. iframe{
  386. border: none;
  387. }