-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathleaflet-beautify-marker-icon.css
executable file
·38 lines (33 loc) · 1.08 KB
/
leaflet-beautify-marker-icon.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
Leaflet.BeautifyIcon, a plugin that adds colorful iconic markers for Leaflet by giving full control of style to end user, It has also ability to adjust font awesome
and glyphicon icons
(c) 2016-2017, Muhammad Arslan Sajid
http://leafletjs.com
*/
.beautify-marker {
text-align: center;
font-weight: 700;
font-family: monospace;
position:absolute;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.beautify-marker.circle {
border-radius: 100%;
}
.beautify-marker.circle-dot, .beautify-marker.doughnut {
border-radius: 100%;
}
.beautify-marker.marker {
border-top-left-radius: 50%;
border-top-right-radius: 50% 100%;
border-bottom-left-radius: 100% 50%;
border-bottom-right-radius: 0%;
/* rotating 45deg clockwise to get the corner bottom center */
transform: rotate(45deg);
}
.beautify-marker.marker > * {
/* rotating 45deg counterclock to adjust marker content back to normal */
transform: rotate(-45deg);
}