map.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @use "sass:math";
  2. $vw_base: 4480;
  3. @function vw($px) {
  4. @return math.div($px, $vw_base) * 100vw;
  5. }
  6. @function vw2($px1, $px2) {
  7. @return calc(#{$px1} - (#{$px2} / #{$vw_base}) * 100vw);
  8. }
  9. :deep(.point-info) {
  10. border: vw(7) solid #2a81fc;
  11. padding: vw(5) vw(32) vw(32);
  12. width: vw(1569);
  13. font-size: vw(38);
  14. display: flex;
  15. flex-wrap: wrap;
  16. background-color: #1c294c;
  17. color: #d5dde3;
  18. position: relative;
  19. .table-box {
  20. max-height: vw(800);
  21. overflow-y: auto;
  22. width: 100%;
  23. &::-webkit-scrollbar {
  24. width: vw(12);
  25. }
  26. }
  27. .table {
  28. border-top: vw(2) solid #3d66ae;
  29. border-right: vw(2) solid #3d66ae;
  30. display: flex;
  31. flex-wrap: wrap;
  32. width: 100%;
  33. .tr {
  34. width: 100%;
  35. display: flex;
  36. }
  37. }
  38. .point-item {
  39. display: flex;
  40. width: 100%;
  41. }
  42. .point-item-hover {
  43. cursor: pointer;
  44. &:hover {
  45. background-color: #1a326e;
  46. }
  47. }
  48. .point-item2 {
  49. display: flex;
  50. width: 100%;
  51. }
  52. .td1, {
  53. width: vw(369);
  54. }
  55. .td1, .td3 {
  56. background-color: #1a326e;
  57. padding: vw(15) vw(20);
  58. color: #c6d1e6;
  59. border-bottom: vw(2) solid #3d66ae;
  60. border-left: vw(2) solid #3d66ae;
  61. }
  62. .td2, .td4 {
  63. padding: vw(15) vw(20);
  64. border-bottom: vw(1) solid #3d66ae;
  65. border-left: vw(1) solid #3d66ae;
  66. }
  67. .td2, .td3, .td4 {
  68. flex: 1;
  69. }
  70. .close {
  71. position: absolute;
  72. top: vw(20);
  73. right: vw(60);
  74. width: vw(32);
  75. height: vw(32);
  76. background: url('@/assets/images/common/close.png') no-repeat;
  77. background-size: 100% 100%;
  78. cursor: pointer;
  79. }
  80. .title-box {
  81. width: vw(1354);
  82. height: vw(125);
  83. position: relative;
  84. background: url('@/assets/images/line.png') no-repeat;
  85. background-size: vw(163) vw(69);
  86. background-position: bottom left;
  87. padding-left: vw(25);
  88. &::before {
  89. content: "";
  90. width: vw(1309);
  91. height: vw(6.9);
  92. background-image: linear-gradient(to right, rgba(0, 191, 252, 0.35) 0, rgba(0, 191, 252, 0) 100%);
  93. display: block;
  94. position: absolute;
  95. left: vw(180);
  96. bottom: vw(30);
  97. }
  98. }
  99. .gradient-text {
  100. font-size: vw(64);
  101. }
  102. .icon1, .icon2, .icon3, .icon4 {
  103. position: absolute;
  104. top: vw(10);
  105. left: vw(10);
  106. width: vw(12);
  107. height: vw(12);
  108. background: url('@/assets/images/inputIcon1.png') no-repeat;
  109. background-size: 100% 100%;
  110. }
  111. .icon2 {
  112. left: unset;
  113. right: vw(10);
  114. transform: rotate(90deg);
  115. }
  116. .icon3 {
  117. left: unset;
  118. top: unset;
  119. right: vw(10);
  120. bottom: vw(10);
  121. transform: rotate(180deg);
  122. }
  123. .icon4 {
  124. top: unset;
  125. bottom: vw(10);
  126. transform: rotate(-90deg);
  127. }
  128. .flex {
  129. width: 100%;
  130. display: flex;
  131. justify-content: flex-end;
  132. margin-top: vw(-20);
  133. }
  134. .btn {
  135. width: vw(300);
  136. height:vw(120);
  137. background: url('@/assets/images/map/rightMenu/potentialFloodHazard/btn2.png') no-repeat;
  138. background-size: 100% 100%;
  139. display: flex;
  140. justify-content: center;
  141. align-items: center;
  142. cursor: pointer;
  143. margin-left: vw(20);
  144. color: #edfaff;
  145. .video-icon {
  146. width: vw(41);
  147. height: vw(38);
  148. background: url('@/assets/images/map/rightMenu/potentialFloodHazard/video.png') no-repeat;
  149. background-size: 100% 100%;
  150. display: flex;
  151. }
  152. }
  153. }