mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
* Add isNumber * Update babel, remove lodash deps * develop first commit * Fix zIndex * Add readme * Fix tests * Fix build issues * Update travis build
34 lines
647 B
Sass
34 lines
647 B
Sass
@function stripUnits($number)
|
|
@return $number / ($number * 0 + 1)
|
|
|
|
$marker-width: 40px !default
|
|
$marker-height: 40px !default
|
|
$marker-border-width: 5px !default
|
|
$marker-font-size: 14px !default
|
|
|
|
|
|
.marker
|
|
position: absolute
|
|
cursor: pointer
|
|
width: $marker-width
|
|
height: $marker-height
|
|
left: -$marker-width / 2
|
|
top: -$marker-height / 2
|
|
|
|
border: $marker-border-width solid #004336
|
|
border-radius: 50%
|
|
background-color: white
|
|
text-align: center
|
|
color: #333
|
|
|
|
font-size: $marker-font-size
|
|
font-weight: bold
|
|
display: flex
|
|
align-items: center
|
|
justify-content: center
|
|
|
|
.text
|
|
|
|
:export
|
|
markerSize: stripUnits($marker-width)
|