demarches-normaliennes/app/assets/stylesheets/carte.scss

96 lines
1.6 KiB
SCSS
Raw Normal View History

2015-08-10 11:05:06 +02:00
// Place all the styles related to the carte controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
2015-11-25 10:26:55 +01:00
@import "bootstrap";
2015-08-10 11:05:06 +02:00
#carte-page {
#map {
height: 600px;
2018-10-10 20:01:54 +02:00
z-index: 0;
}
2018-10-10 20:01:54 +02:00
#map.edit {
2016-06-14 11:00:57 +02:00
width: 70%;
}
.list {
margin-bottom: 20px;
h3 {
margin-top: 0px;
}
ul li {
margin-bottom: 10px;
}
}
2015-11-25 10:26:55 +01:00
}
2016-06-14 11:00:57 +02:00
.leaflet-container path {
2017-04-12 10:52:14 +02:00
cursor: url("/assets/edit.png"), default !important;
2016-06-14 11:00:57 +02:00
}
#map.mode-create {
2017-04-12 10:52:14 +02:00
cursor: url("/assets/pencil.png"), crosshair !important;
}
2018-10-03 10:39:35 +02:00
#map g path.leaflet-polygon {
transition: all 0.25s;
stroke-width: 4px;
stroke-opacity: 1;
stroke: #D7217E;
position: absolute;
2018-10-10 20:01:54 +02:00
z-index: 100;
fill: #D7217E;
fill-opacity: 0.75;
}
2018-10-10 20:01:54 +02:00
#map.mode-delete path.leaflet-polygon {
cursor: no-drop !important;
2018-10-10 20:01:54 +02:00
&:hover {
fill: #4D4D4D !important;
}
}
2018-10-03 10:39:35 +02:00
#map div.leaflet-edge {
box-shadow: 0 0 0 2px #FFFFFF, 0 0 10px rgba(0, 0, 0, 0.35);
border: 5px solid #D7217E;
border-radius: 10px;
transition: opacity 0.25s;
cursor: move;
opacity: 0;
pointer-events: none;
box-sizing: border-box;
width: 0 !important;
height: 0 !important;
}
2018-10-03 10:39:35 +02:00
#map.mode-edit div.leaflet-edge {
opacity: 1;
pointer-events: all;
}
2015-08-10 11:05:06 +02:00
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
2015-08-10 11:05:06 +02:00
border-radius: 5px;
}
2015-08-10 11:05:06 +02:00
.info h4 {
margin: 0 0 5px;
2017-04-11 18:37:02 +02:00
color: #777777;
}
#search-by-address {
.algolia-autocomplete {
width: 555px;
}
.aa-dropdown-menu {
width: 555px;
}
}