webgl_rxdz_test.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. #mapDiv{
  2. width: 100%;
  3. height: 100vh;
  4. background-color: #fff;
  5. }
  6. .map {
  7. position: relative; /* 作为子元素的相对定位元素 */
  8. width: 100%;
  9. height: 100%;
  10. overflow: hidden;
  11. }
  12. #labels {
  13. position: absolute; /* 把Label定位在容器内 */
  14. left: 0; /* 默认定位在左上角 */
  15. top: 0;
  16. color: white;
  17. }
  18. #labels>div {
  19. position: absolute; /* 让我们的容器决定尺寸 */
  20. left: 0; /* 默认定位在左上角 */
  21. top: 0;
  22. cursor: pointer; /* 当悬浮时,变为一个小手 */
  23. font-size:12px;
  24. user-select: none; /* 不允许文字被选中 */
  25. white-space: nowrap;
  26. text-shadow:
  27. -1px -1px 0 #000,
  28. 0 -1px 0 #000,
  29. 1px -1px 0 #000,
  30. 1px 0 0 #000,
  31. 1px 1px 0 #000,
  32. 0 1px 0 #000,
  33. -1px 1px 0 #000,
  34. -1px 0 0 #000;
  35. }
  36. #labels>div:hover {
  37. color: red;
  38. }
  39. canvas:focus {
  40. outline:none;
  41. }
  42. canvas { width:100vw; height:calc(100vh - 200px);z-index: 10; }
  43. #canvas_webgl{
  44. /* background: url(resources/images/daikanyama.jpg) no-repeat center center; */
  45. /* background:#6d0909;
  46. background-size: cover; */
  47. /* transition: height 1s; */
  48. }
  49. /* 生成截屏的画布对象 */
  50. #canvas {
  51. width: 100vw;
  52. z-index: -1;
  53. position: absolute;
  54. left:0px;
  55. }
  56. .location-view{
  57. position: absolute;
  58. top: 100px;
  59. right: 20px;
  60. width: 80px;
  61. height: 80px;
  62. border-radius: 24px;
  63. background: radial-gradient(50.00% 50.00% at 50.00% 50.00%, #fff 0%, #f7f7f7 67.98%, #fff 100%);
  64. border: 2px solid #d6d6d6;
  65. }
  66. .area-view{
  67. position: absolute;
  68. top:10px;
  69. left:30px;
  70. width:100%;
  71. font-size: 24px;
  72. font-family: "Verdana";
  73. font-weight: 400;
  74. z-index: 301;
  75. .style1{
  76. margin-top:10px;
  77. }
  78. .style2{
  79. font-weight: 700;
  80. font-size: 28px;
  81. }
  82. .style3{
  83. font-size: 24px;
  84. }
  85. span{
  86. font-size: 28px;
  87. }
  88. .reduce{
  89. // width: 92px;
  90. height: 72px;
  91. border-radius: 12px;
  92. color: #fa9f40;
  93. background: rgba(250, 159, 64, 0.12);
  94. font-size: 24px;
  95. margin-right:10px;
  96. padding:4px 10px;
  97. }
  98. }
  99. .tran{
  100. transition-timing-function: linear;
  101. transition: height 1s;
  102. }
  103. .voice-mask{
  104. position: fixed;
  105. left:0px;
  106. top:0px;
  107. width: 100vw;
  108. height:100vh;
  109. z-index: 11;
  110. background: rgba(0, 0, 0, 0.5);
  111. }
  112. .canvas-view{
  113. position:relative;
  114. }
  115. .lable-view{
  116. position:absolute;
  117. width:100vw;
  118. }
  119. .word-view{
  120. position: absolute;
  121. left: 0;
  122. top: 0;
  123. user-select: none;
  124. z-index: 12;
  125. text-align: center;
  126. border-radius: 5px;
  127. }
  128. .word{
  129. font-family: "Verdana";
  130. font-weight: 400;
  131. height: 40px;
  132. line-height: 40px;
  133. padding:0px 10px;
  134. border-radius: 20px;
  135. background: #fff;
  136. font-size:26px;
  137. color: #1d1d1d;
  138. }
  139. .number-view{
  140. width: 30px;
  141. height: 30px;
  142. line-height: 30px;
  143. background: #fff;
  144. color: #121212;
  145. font-weight: 700;
  146. font-size: 28px;
  147. font-family: "DIN Alternate Bold";
  148. border-radius: 30px;
  149. }
  150. .number-more{
  151. width: 40px;
  152. height: 40px;
  153. line-height: 40px;
  154. border-radius: 30px;
  155. }
  156. .active{
  157. background: #faad5c;
  158. color: #fff;
  159. }
  160. .submit-btn{
  161. position: absolute;
  162. top:42px;
  163. right:20px;
  164. width: 140px;
  165. height: 64px;
  166. border-radius: 32px;
  167. backdrop-filter: blur(40px);
  168. background-color: rgba(255, 156, 56, 1);
  169. font-family: "Verdana Bold";
  170. font-weight: 700;
  171. font-size: 28px;
  172. color: #fff;
  173. text-align:center;
  174. line-height:64px;
  175. z-index: 302;
  176. }
  177. .submit-btn1{
  178. left:20px;
  179. }
  180. .voice-view{
  181. width: 614px;
  182. height: 312px;
  183. border-radius: 40px;
  184. background: #fff;
  185. box-shadow: 0 -6px 12px #0000001f;
  186. position: absolute;
  187. left:50%;
  188. top:50%;
  189. transform: translate(-50%,-50%);
  190. text-align:center;
  191. }
  192. .voice-tips{
  193. font-size: 28px;
  194. color: rgba(36, 36, 36, 0.51);
  195. margin-top:12px;
  196. }
  197. .voice-gif{
  198. width: 100%;
  199. margin-top:56px;
  200. }
  201. .change-view{
  202. position: absolute;
  203. top: -100px;
  204. left: 50%;
  205. transform: translateX(-50%);
  206. width: 196px;
  207. height: 74px;
  208. border-radius: 20px;
  209. background: #3c3c3c;
  210. font-family: "Verdana";
  211. font-weight: 400;
  212. font-size: 28px;
  213. color: #fff;
  214. }