_google-map.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /* Google map */
  2. #map {
  3. height: 550px;
  4. }
  5. .arrow_box {
  6. width: 22px;
  7. height: 22px;
  8. border-radius: 100%;
  9. -webkit-border-top-left-radius: 100%;
  10. -webkit-border-top-right-radius: 100%;
  11. -webkit-border-bottom-right-radius: 100%;
  12. -webkit-border-bottom-left-radius: 100%;
  13. position: relative;
  14. opacity: .8;
  15. cursor: pointer;
  16. span {
  17. width: 100%;
  18. height: 100%;
  19. border: 1px solid;
  20. opacity: 0.2;
  21. display: inline-block;
  22. border-radius: 100%;
  23. -webkit-border-top-left-radius: 100%;
  24. -webkit-border-top-right-radius: 100%;
  25. -webkit-border-bottom-right-radius: 100%;
  26. -webkit-border-bottom-left-radius: 100%;
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. &:first-child {
  31. animation: markerWave 1.5s .45s cubic-bezier(.4,0,.2,1) infinite forwards;
  32. -webkit-animation: markerWave 1.5s .45s cubic-bezier(.4,0,.2,1) infinite forwards;
  33. +span {
  34. animation: markerWave 1.5s .45s cubic-bezier(0,0,.2,1) infinite forwards;
  35. -webkit-animation: markerWave 1.5s .45s cubic-bezier(0,0,.2,1) infinite forwards;
  36. }
  37. }
  38. &:last-child {
  39. opacity: 0.1;
  40. }
  41. }
  42. // map marker style 02
  43. &.marker02 {
  44. width: 18px;
  45. height: 18px;
  46. span {
  47. border: 0;
  48. }
  49. &:after {
  50. content: "";
  51. width: 45px;
  52. height: 62px;
  53. background: url("../images/marker02.png") left center no-repeat;
  54. background-size: cover;
  55. position: absolute;
  56. left: -15px;
  57. top: -58px;
  58. float: left;
  59. }
  60. }
  61. // map marker style 03
  62. &.marker03 {
  63. width: 16px;
  64. height: 16px;
  65. @include prefix(transform, rotateX(-0deg), webkit);
  66. span {
  67. background-color: transparent !important;
  68. }
  69. }
  70. }
  71. @keyframes markerWave{
  72. 0% {
  73. transform:scale(1);
  74. opacity:.8
  75. }
  76. 20% {
  77. opacity:.8
  78. }
  79. 100% {
  80. transform:scale(5.5);
  81. opacity:0
  82. }
  83. }
  84. @-webkit-keyframes markerWave{
  85. 0% {
  86. -webkit-transform:scale(1);
  87. opacity:.8
  88. }
  89. 20% {
  90. opacity:.8
  91. }
  92. 100% {
  93. -webkit-transform:scale(5.5);
  94. opacity:0
  95. }
  96. }
  97. .infowindow {
  98. color: var(--dark-gray);
  99. font-weight: 400;
  100. line-height: 26px;
  101. font-size: 15px;
  102. letter-spacing: -.5px;
  103. padding: 25px 25px 25px 25px !important;
  104. text-align: center;
  105. .mb-3 {
  106. margin-bottom: 5px !important;
  107. font-weight: 600;
  108. font-size: 16px;
  109. letter-spacing: -.25px;
  110. }
  111. p {
  112. color: var(--medium-gray);
  113. font-size: 15px;
  114. margin-bottom: 5px;
  115. letter-spacing: -.25px;
  116. line-height: 24px;
  117. }
  118. :last-child {
  119. margin-bottom: 0;
  120. }
  121. }
  122. .gm-style {
  123. .gm-style-iw-c {
  124. padding: 0 !important;
  125. border-radius: 0;
  126. max-width: 230px !important;
  127. @include box-shadow(0 20px 60px rgba(0,0,0,.08));
  128. }
  129. .gm-style-iw-d {
  130. overflow: auto !important;
  131. }
  132. .gm-style-iw-t::after{
  133. background: var(--dark-gray);
  134. @include box-shadow(0 20px 60px rgba(0,0,0,.08));
  135. }
  136. }
  137. .gm-ui-hover-effect {
  138. opacity: .8;
  139. top: -2px !important;
  140. right: 2px !important;
  141. width: 25px !important;
  142. display: none !important;
  143. height: 25px !important;
  144. img {
  145. width: 17px !important;
  146. height: 17px !important;
  147. margin: 6px !important;
  148. }
  149. }
  150. .google-maps-link {
  151. text-align: center;
  152. a {
  153. font-size: 12px;
  154. font-weight: 400;
  155. display: block;
  156. background-color: var(--dark-gray);
  157. color: var(--white);
  158. padding: 15px;
  159. letter-spacing: .5px;
  160. &:hover {
  161. text-decoration: none;
  162. }
  163. }
  164. }
  165. .gmnoprint .gm-style-mtc,
  166. .gmnoprint .gm-svpc {
  167. display:none;
  168. }
  169. .gm-style a[title] {
  170. display: none !important;
  171. }
  172. .gmnoprint .gm-style-cc,
  173. .gmnoprint.gm-style-cc,
  174. .gm-style-cc,
  175. .gmnoscreen {
  176. display: none !important;
  177. }
  178. .gm-style .gm-style-iw-tc::after {
  179. background: var(--dark-gray);
  180. }
  181. @media screen {
  182. .gm-style .gmnoscreen,
  183. .gmnoscreen {
  184. display:none;
  185. }
  186. }