Load leaflet CSS before our styles
This way we don't have to use the `!important` flag to override styles.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
@import "fonts";
|
@import "fonts";
|
||||||
@import "font-awesome-sprockets";
|
@import "font-awesome-sprockets";
|
||||||
@import "font-awesome";
|
@import "font-awesome";
|
||||||
|
@import "leaflet";
|
||||||
@import "icons";
|
@import "icons";
|
||||||
@import "mixins/*";
|
@import "mixins/*";
|
||||||
@import "admin";
|
@import "admin";
|
||||||
@@ -29,7 +30,6 @@
|
|||||||
@import "jquery-ui/autocomplete";
|
@import "jquery-ui/autocomplete";
|
||||||
@import "autocomplete_overrides";
|
@import "autocomplete_overrides";
|
||||||
@import "jquery-ui/sortable";
|
@import "jquery-ui/sortable";
|
||||||
@import "leaflet";
|
|
||||||
@import "sticky_overrides";
|
@import "sticky_overrides";
|
||||||
@import "tags";
|
@import "tags";
|
||||||
@import "admin/**/*";
|
@import "admin/**/*";
|
||||||
|
|||||||
@@ -2596,25 +2596,25 @@ table {
|
|||||||
.leaflet-bar a {
|
.leaflet-bar a {
|
||||||
|
|
||||||
&.leaflet-disabled {
|
&.leaflet-disabled {
|
||||||
color: #525252 !important;
|
color: #525252;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-container {
|
.leaflet-container {
|
||||||
|
|
||||||
.leaflet-control-attribution {
|
.leaflet-control-attribution {
|
||||||
background: rgba(255, 255, 255, 0.9) !important;
|
background: rgba(255, 255, 255, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $link !important;
|
color: $link;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-bottom,
|
.leaflet-bottom,
|
||||||
.leaflet-pane,
|
.leaflet-pane,
|
||||||
.leaflet-top {
|
.leaflet-top {
|
||||||
z-index: 4 !important;
|
z-index: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 24. Homepage
|
// 24. Homepage
|
||||||
|
|||||||
Reference in New Issue
Block a user