light.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .lamp{
  2. width: 100vw;
  3. height: 100vh;
  4. position: relative;
  5. }
  6. .lamp__content{
  7. width: 100%;
  8. height: auto;
  9. min-height: 100vh;
  10. position: relative;
  11. /* 暗灰 */
  12. background-color: #3b3b3b;
  13. }
  14. .lampControl{
  15. width: 100%;
  16. height: auto;
  17. padding: 5px 20px;
  18. box-sizing: border-box;
  19. }
  20. .lampControl .lampControl__placeholder{
  21. width: 100%;
  22. height: 180px;
  23. }
  24. .lampControl .lampControl_chunk{
  25. width: 100%;
  26. border-radius: 5px;
  27. background-color: #fff;
  28. padding: 5px 10px;
  29. margin-top: 20px;
  30. box-sizing: border-box;
  31. box-shadow: 0 0 1px 0px #3b3b3b;
  32. }
  33. .lampControl .lampControl_title{
  34. height: 40px;
  35. font-size: 18px;
  36. font-weight: bold;
  37. margin-bottom: 5px;
  38. display: flex;
  39. align-items: center;
  40. }
  41. .lampControl__switch{
  42. width: 30px;
  43. height: 30px;
  44. border-radius: 50%;
  45. background-color: #3b3b3b;
  46. align-items: center;
  47. padding: 5px;
  48. box-sizing: border-box;
  49. }
  50. .switch-open{
  51. background-color: #f58505;
  52. }
  53. .lampControl__switch image{
  54. width: 100%;
  55. height: 100%;
  56. }
  57. .lampControl__switch-text{
  58. font-size: 18px;
  59. margin-left: 10px;
  60. }
  61. .lampControl_title{
  62. font-size: 18px;
  63. font-weight: bold;
  64. margin-bottom: 10px;
  65. display: flex;
  66. align-items: center;
  67. }
  68. .lampControl_title .subTitle{
  69. font-size: 14px;
  70. font-weight: normal;
  71. margin-left: 10px;
  72. }
  73. .lampControl_slider{
  74. width: 100%;
  75. height: 50px;
  76. }