aboutsummaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-22 05:32:15 +0100
committerhellekin <hellekin@cepheide.org>2021-01-22 05:32:15 +0100
commitb54a8458d5029b3494165b7430e21b3ae34ecc0c (patch)
tree32ea6fc6b8774f672325fec52f0ffc97229a9568 /app/assets
parent1c1aead78192982e221179de6688b944e5b01bf6 (diff)
downloadincommon-map-b54a8458d5029b3494165b7430e21b3ae34ecc0c.tar.gz
Upgrade Rails and add StimulusJS support
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/application.scss (renamed from app/assets/stylesheets/application.css)8
-rw-r--r--app/assets/stylesheets/sections.scss3
-rw-r--r--app/assets/stylesheets/taxonomies.scss2
3 files changed, 12 insertions, 1 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.scss
index d05ea0f..94d00ec 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.scss
@@ -10,6 +10,12 @@
* files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*
- *= require_tree .
+ *= require normalize.css/normalize.css
*= require_self
+ *= require leaflet
+ *= require leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css
+ *= require leaflet.markercluster/dist/MarkerCluster.css
+ *= require leaflet.markercluster/dist/MarkerCluster.Default.css
+ *= require_tree .
+ *
*/
diff --git a/app/assets/stylesheets/sections.scss b/app/assets/stylesheets/sections.scss
new file mode 100644
index 0000000..d540c09
--- /dev/null
+++ b/app/assets/stylesheets/sections.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the sections controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/taxonomies.scss b/app/assets/stylesheets/taxonomies.scss
index 4e227da..b1fabcd 100644
--- a/app/assets/stylesheets/taxonomies.scss
+++ b/app/assets/stylesheets/taxonomies.scss
@@ -68,9 +68,11 @@ button[data-action="taxonomy#toggle"] {
font-weight: bold;
ol {
display: block;
+ z-index: 1002;
}
li.active {
text-align: right;
+ z-index: 1002;
}
}