Skip to content

Commit

Permalink
Merge pull request #4515 from consul/application_css
Browse files Browse the repository at this point in the history
Fix order loading custom styles
  • Loading branch information
javierm committed Jun 2, 2021
2 parents f18d163 + b549eb4 commit 99361a9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@import "fonts";
@import "font-awesome-sprockets";
@import "font-awesome";
@import "leaflet";
@import "icons";
@import "mixins/*";
@import "admin";
Expand All @@ -19,7 +20,6 @@
@import "notification_item";
@import "community";
@import "stats";
@import "custom";
@import "c3";
@import "annotator.min";
@import "amsify.suggestags";
Expand All @@ -29,7 +29,6 @@
@import "jquery-ui/autocomplete";
@import "autocomplete_overrides";
@import "jquery-ui/sortable";
@import "leaflet";
@import "sticky_overrides";
@import "tags";
@import "admin/**/*";
Expand All @@ -38,3 +37,6 @@
@import "sdg_management/*";
@import "sdg_management/**/*";
@import "widgets/**/*";

@import "custom";
@import "custom/**/*";
7 changes: 3 additions & 4 deletions app/assets/stylesheets/custom.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Overrides and adds customized styles in this file
// Read more on documentation:
// * English: https://github.com/consul/consul/blob/master/CUSTOMIZE_EN.md#css
// * Spanish: https://github.com/consul/consul/blob/master/CUSTOMIZE_ES.md#css
// Override and add customized styles in this file.
//
// You can also create SCSS files in the app/assets/stylesheets/custom/
// folder and they will be loaded automatically.
Empty file.
8 changes: 4 additions & 4 deletions app/assets/stylesheets/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2596,25 +2596,25 @@ table {
.leaflet-bar a {

&.leaflet-disabled {
color: #525252 !important;
color: #525252;
}
}

.leaflet-container {

.leaflet-control-attribution {
background: rgba(255, 255, 255, 0.9) !important;
background: rgba(255, 255, 255, 0.9);
}

a {
color: $link !important;
color: $link;
}
}

.leaflet-bottom,
.leaflet-pane,
.leaflet-top {
z-index: 4 !important;
z-index: 4;
}

// 24. Homepage
Expand Down

0 comments on commit 99361a9

Please sign in to comment.