light.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .lamp{
  2. width: 100vw;
  3. height: 100vh;
  4. position: relative;
  5. background-color: #3b3b3b;
  6. }
  7. .lamp_header{
  8. width: 100%;
  9. height: 40px;
  10. background-color: #fff;
  11. box-sizing: border-box;
  12. }
  13. .lamp__content{
  14. width: 100%;
  15. height: auto;
  16. min-height: 100vh;
  17. position: relative;
  18. height: calc(100% - 40px);
  19. /* 暗灰 */
  20. background-color: #3b3b3b;
  21. box-sizing: border-box;
  22. padding-bottom: 40px;
  23. overflow: hidden;
  24. }
  25. .lampControl{
  26. width: 100%;
  27. height: auto;
  28. padding: 5px 20px;
  29. box-sizing: border-box;
  30. }
  31. .lampControl .lampControl__placeholder{
  32. width: 100%;
  33. height: 180px;
  34. }
  35. .lampControl .lampControl_chunk{
  36. width: 100%;
  37. border-radius: 5px;
  38. background-color: #fff;
  39. padding: 5px 10px;
  40. margin-top: 20px;
  41. box-sizing: border-box;
  42. box-shadow: 0 0 1px 0px #3b3b3b;
  43. }
  44. .lampControl .lampControl_title{
  45. height: 40px;
  46. font-size: 18px;
  47. font-weight: bold;
  48. margin-bottom: 5px;
  49. display: flex;
  50. align-items: center;
  51. }
  52. .lampControl__switch{
  53. width: 30px;
  54. height: 30px;
  55. border-radius: 50%;
  56. background-color: #3b3b3b;
  57. align-items: center;
  58. padding: 5px;
  59. box-sizing: border-box;
  60. }
  61. .switch-open{
  62. background-color: #f58505;
  63. }
  64. .lampControl__switch image{
  65. width: 100%;
  66. height: 100%;
  67. }
  68. .lampControl__switch-text{
  69. font-size: 18px;
  70. margin-left: 10px;
  71. }
  72. .lampControl_title{
  73. font-size: 18px;
  74. font-weight: bold;
  75. margin-bottom: 10px;
  76. display: flex;
  77. align-items: center;
  78. }
  79. .lampControl_title .subTitle{
  80. font-size: 14px;
  81. font-weight: normal;
  82. margin-left: 10px;
  83. }
  84. .lampControl_slider{
  85. width: 100%;
  86. height: 50px;
  87. }
  88. .lampControl__scan{
  89. width: 100%;
  90. height: calc(100% - 40px);
  91. border-radius: 5px;
  92. box-shadow: 0 0 1px 0px #3b3b3b;
  93. display: flex;
  94. align-items: center;
  95. justify-content: center;
  96. box-sizing: border-box;
  97. }
  98. .lampControl__scan .scanBtn{
  99. width: 130px;
  100. height: 130px;
  101. border-radius: 50%;
  102. background-color: #f58505;
  103. color:#fff;
  104. padding: 5px;
  105. font-size: larger;
  106. box-sizing: border-box;
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. box-shadow: 0 0 1px 0px #3b3b3b;
  111. }
  112. .scanBtn:active{
  113. background-color: #f78e16;
  114. box-shadow: 0 0 3px 0px #858484;
  115. }