kline.css 5.7 KB

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