Chart.wxss 484 B

123456789101112131415161718192021222324252627
  1. /* components/Chart/Chart.wxss */
  2. .canvas {
  3. width: 100%;
  4. height: 200px;
  5. font-size: 14px;
  6. position: relative;
  7. }
  8. .canvas .btnType{
  9. position: absolute;
  10. top: -2em;
  11. border: 1px solid #1989fa;
  12. border-radius: 3px;
  13. right: 5px;
  14. color: #fff;
  15. height: 1.4em;
  16. text-align: center;
  17. line-height: 1.4em;
  18. }
  19. .canvas .btnType .chartBtn{
  20. display: inline-block;
  21. min-width: 2.5em;
  22. height: 1.4em;
  23. line-height: 1.4em;
  24. }
  25. .canvas .btnType .active{
  26. background-color: #1989fa
  27. }