Skip to content

Commit

Permalink
Rename CSS classes from mapboxgl-* to maplibre-* #83 - Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Jun 25, 2021
1 parent 36647c0 commit 7cc4cbd
Show file tree
Hide file tree
Showing 27 changed files with 329 additions and 329 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"declaration-block-semicolon-newline-after": "always-multi-line",
"block-opening-brace-space-before": "always-multi-line",
"declaration-block-single-line-max-declarations": 3,
"selector-class-pattern": "mapboxgl-[a-z-]+",
"selector-class-pattern": "maplibregl-[a-z-]+",
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["svg-load"]
}]
Expand Down
2 changes: 1 addition & 1 deletion bench/gl-stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
window.performance.now = () => now;
</script>
<script src="../dist/maplibre-gl.js"></script>
<style>.mapboxgl-canary { background-color: salmon; }</style>
<style>.maplibregl-canary { background-color: salmon; }</style>
</head>
<body style="margin: 0; padding: 0"><div id="map" style="width: 500px; height: 500px"></div></body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion build/rollup_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {createFilter} from 'rollup-pluginutils';
import strip from '@rollup/plugin-strip';

// Common set of plugins/transformations shared across different rollup
// builds (main mapboxgl bundle, style-spec package, benchmarks bundle)
// builds (main maplibre bundle, style-spec package, benchmarks bundle)

export const plugins = (minified, production) => [
flow(),
Expand Down
2 changes: 1 addition & 1 deletion debug/chinese.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
body { margin: 0; padding: 0; }
html, body, #map { height: 100%; }

.mapboxgl-marker {
.maplibregl-marker {
width: 10px;
height: 10px;
background: red;
Expand Down
2 changes: 1 addition & 1 deletion debug/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
transition-duration: 200ms;
}

#map.blur .mapboxgl-canvas-container {
#map.blur .maplibregl-canvas-container {
opacity: 0.6;
-webkit-filter: blur(2px);
filter: blur(2px);
Expand Down
Loading

0 comments on commit 7cc4cbd

Please sign in to comment.