camera.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. box-shadow: 0 0 1px 0px #3b3b3b;
  91. box-sizing: border-box;
  92. padding: 10px;
  93. }
  94. .lampControl__scan .lampControl__item{
  95. width: 100%;
  96. height: auto;
  97. border-radius: 5px;
  98. background-color: #fff;
  99. padding: 15px 10px;
  100. font-size: larger;
  101. box-sizing: border-box;
  102. display: flex;
  103. align-items: center;
  104. justify-content: center;
  105. box-shadow: 0 0 1px 0px #3b3b3b;
  106. }
  107. .lampControl__item:active{
  108. background-color: #f78e16;
  109. box-shadow: 0 0 3px 0px #858484;
  110. color: #fff;
  111. }