light.wxss 2.3 KB

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