Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stylelint] function-url-quotes/ #983

Merged
merged 1 commit into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
}],

"at-rule-no-vendor-prefix": null,
"function-url-quotes": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null
Expand Down
26 changes: 13 additions & 13 deletions src/css/maplibre-gl.css
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
@media (-ms-high-contrast: active) {
.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon,
.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon {
@svg-load ctrl-compass-white url(svg/maplibregl-ctrl-compass.svg) {
@svg-load ctrl-compass-white url("svg/maplibregl-ctrl-compass.svg") {
fill: #fff;
#south { fill: #999; }
}
Expand All @@ -314,53 +314,53 @@
}
}

@svg-load ctrl-geolocate url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #333;
#stroke { display: none; }
}

@svg-load ctrl-geolocate-white url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-white url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #fff;
#stroke { display: none; }
}

@svg-load ctrl-geolocate-black url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-black url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #000;
#stroke { display: none; }
}

@svg-load ctrl-geolocate-disabled url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-disabled url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #aaa;
#stroke { fill: #f00; }
}

@svg-load ctrl-geolocate-disabled-white url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-disabled-white url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #999;
#stroke { fill: #f00; }
}

@svg-load ctrl-geolocate-disabled-black url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-disabled-black url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #666;
#stroke { fill: #f00; }
}

@svg-load ctrl-geolocate-active url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-active url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #33b5e5;
#stroke { display: none; }
}

@svg-load ctrl-geolocate-active-error url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-active-error url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #e58978;
#stroke { display: none; }
}

@svg-load ctrl-geolocate-background url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-background url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #33b5e5;
#stroke { display: none; }
#dot { display: none; }
}

@svg-load ctrl-geolocate-background-error url(svg/maplibregl-ctrl-geolocate.svg) {
@svg-load ctrl-geolocate-background-error url("svg/maplibregl-ctrl-geolocate.svg") {
fill: #e54e33;
#stroke { display: none; }
#dot { display: none; }
Expand Down Expand Up @@ -494,7 +494,7 @@ a.mapboxgl-ctrl-logo.mapboxgl-compact {
@media (-ms-high-contrast: active) {
a.maplibregl-ctrl-logo,
a.mapboxgl-ctrl-logo {
@svg-load ctrl-logo-white url(svg/maplibregl-ctrl-logo.svg) {
@svg-load ctrl-logo-white url("svg/maplibregl-ctrl-logo.svg") {
#outline { opacity: 1; }
#fill { opacity: 1; }
}
Expand All @@ -507,7 +507,7 @@ a.mapboxgl-ctrl-logo.mapboxgl-compact {
@media (-ms-high-contrast: black-on-white) {
a.maplibregl-ctrl-logo,
a.mapboxgl-ctrl-logo {
@svg-load ctrl-logo-black url(svg/maplibregl-ctrl-logo.svg) {
@svg-load ctrl-logo-black url("svg/maplibregl-ctrl-logo.svg") {
#outline { opacity: 1; fill: #fff; stroke: #fff; }
#fill { opacity: 1; fill: #000; }
}
Expand Down