mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add some styles so the poor people who use IE <= 8 can see the clusters (Surprised no one has complained about this yet!)
This commit is contained in:
34
dist/MarkerCluster.Default.ie.css
vendored
Normal file
34
dist/MarkerCluster.Default.ie.css
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/* IE 6-8 fallback colors */
|
||||
.marker-cluster-small {
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99B5E28C,endColorstr=#99B5E28C);
|
||||
}
|
||||
.marker-cluster-small div {
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#996ECC39,endColorstr=#996ECC39);
|
||||
}
|
||||
|
||||
.marker-cluster-medium {
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F1D357,endColorstr=#99F1D357);
|
||||
}
|
||||
.marker-cluster-medium div {
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F0C20C,endColorstr=#99F0C20C);
|
||||
}
|
||||
|
||||
.marker-cluster-large {
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FD9C73,endColorstr=#99FD9C73);
|
||||
}
|
||||
.marker-cluster-large div {
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F18017,endColorstr=#99F18017);
|
||||
}
|
||||
|
||||
.marker-cluster {
|
||||
background:transparent;
|
||||
zoom:1;
|
||||
}
|
||||
.marker-cluster div {
|
||||
/* fixes the center part position. No idea why this is needed */
|
||||
margin-left: 0px;
|
||||
|
||||
background:transparent;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../src/MarkerClusterGroup.js"></script>
|
||||
<script src="../src/MarkerCluster.js"></script>
|
||||
<script src="../src/MarkerCluster.QuickHull.js"></script>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../dist/leaflet.markercluster-src.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../dist/leaflet.markercluster-src.js"></script>
|
||||
<script src="realworld.388.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../dist/leaflet.markercluster-src.js"></script>
|
||||
|
||||
<script src="realworld.10000.js"></script>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../dist/leaflet.markercluster-src.js"></script>
|
||||
|
||||
<script src="realworld.388.js"></script>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../dist/leaflet.markercluster-src.js"></script>
|
||||
|
||||
<script src="realworld.50000.1.js"></script>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../src/MarkerClusterGroup.js"></script>
|
||||
<script src="../src/MarkerCluster.js"></script>
|
||||
<script src="../src/MarkerCluster.Spiderfier.js"></script>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../src/MarkerClusterGroup.js"></script>
|
||||
<script src="../src/MarkerCluster.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
|
||||
<script src="../src/MarkerClusterGroup.js"></script>
|
||||
<script src="../src/MarkerCluster.js"></script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user