index.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .box {
  2. width: 331px;
  3. margin-bottom: 15px;
  4. background: hsl(0, 0%, 100%);
  5. border-radius: 25px;
  6. box-shadow: 0 0 2px rgba(0, 0, 0, 0.07), 0 4px 10px rgba(0, 0, 0, 0.05);
  7. .content {
  8. .env {
  9. position: relative;
  10. display: flex;
  11. .modeshow {
  12. position: absolute;
  13. top: 55px;
  14. left: 114px;
  15. color: #c4c4c4;
  16. .mode {
  17. margin-right: 4px;
  18. }
  19. }
  20. .envLeft {
  21. flex: 1 1 auto;
  22. height: 140px;
  23. padding-top: 24px;
  24. padding-left: 30px;
  25. // .envnum {
  26. // display: flex;
  27. // flex-direction: row;
  28. // align-items: flex-start;
  29. // padding-top: 5px;
  30. // padding-bottom: 5px;
  31. // color: #1b144e;
  32. // font-weight: 400;
  33. // font-size: 32px;
  34. // font-family: Montserrat;
  35. // line-height: 32px;
  36. // .unit {
  37. // color: #c4c4c4;
  38. // font-weight: 800;
  39. // font-size: 12px;
  40. // font-family: Mulish;
  41. // font-style: normal;
  42. // line-height: 15px;
  43. // }
  44. // }
  45. }
  46. .envRight {
  47. width: 165px;
  48. height: 140px;
  49. .roomAirImg {
  50. width: 165px;
  51. height: 140px;
  52. }
  53. }
  54. }
  55. .airStatus {
  56. color: rgba(196, 196, 196, 1);
  57. font-weight: 400;
  58. font-size: 14px;
  59. font-family: PingFang SC;
  60. line-height: 20px;
  61. .airStatusText {
  62. display: inline-block;
  63. padding-top: 10px;
  64. }
  65. .airStatusbox {
  66. display: flex;
  67. align-items: center;
  68. padding-top: 28px;
  69. .airStatusImg {
  70. width: 12px;
  71. height: 12px;
  72. margin-right: 3px;
  73. }
  74. .statusText {
  75. display: inline-block;
  76. width: 120px;
  77. overflow: hidden;
  78. font-size: 11px;
  79. line-height: 18px;
  80. white-space: nowrap;
  81. text-overflow: ellipsis;
  82. }
  83. }
  84. }
  85. .airBtn {
  86. position: absolute;
  87. top: 103px;
  88. right: 15px;
  89. }
  90. }
  91. .expend {
  92. .item {
  93. display: flex;
  94. align-items: center;
  95. justify-content: space-between;
  96. height: 60px;
  97. padding-right: 14px;
  98. padding-left: 27px;
  99. color: rgba(196, 196, 196, 1);
  100. font-weight: 400;
  101. font-size: 14px;
  102. line-height: 20px;
  103. border-top: 1px solid rgba(196, 196, 196, 0.4);
  104. .itemRight {
  105. display: flex;
  106. }
  107. .itemBg {
  108. display: flex;
  109. align-items: center;
  110. justify-content: center;
  111. width: 42px;
  112. height: 42px;
  113. background: rgba(196, 196, 196, 0.2);
  114. border-radius: 50%;
  115. cursor: pointer;
  116. }
  117. .itemBg:hover {
  118. background: rgba(196, 196, 196, 0.3);
  119. }
  120. .itemBg:nth-child(1) {
  121. margin-right: 20px;
  122. }
  123. .itemImg {
  124. width: 20px;
  125. height: 20px;
  126. }
  127. }
  128. }
  129. }