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
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
#carte-page {
|
2015-12-08 11:32:29 +01:00
|
|
|
#map {
|
2016-06-14 11:00:57 +02:00
|
|
|
margin-left: 15px;
|
|
|
|
width: 90%;
|
2015-12-08 11:32:29 +01:00
|
|
|
height: 600px;
|
|
|
|
}
|
|
|
|
|
2017-04-12 10:51:35 +02:00
|
|
|
#map.qp,
|
|
|
|
#map.cadastre {
|
2016-06-14 11:00:57 +02:00
|
|
|
width: 70%;
|
2015-12-08 11:32:29 +01:00
|
|
|
}
|
2016-01-15 11:53:00 +01:00
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
#infos-dossiers {
|
2015-12-08 11:32:29 +01:00
|
|
|
#map.mini {
|
|
|
|
height: 300px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2015-11-25 10:26:55 +01:00
|
|
|
}
|
|
|
|
|
2015-11-12 17:34:12 +01:00
|
|
|
#map section.overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
2017-04-11 18:45:35 +02:00
|
|
|
box-shadow: inset -100px 0 100px -100px rgba(0, 0, 0, 0.25);
|
2015-11-12 17:34:12 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 2001;
|
|
|
|
}
|
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
#map.mode-create {
|
2017-04-12 10:52:14 +02:00
|
|
|
cursor: url("/assets/pencil.png"), crosshair !important;
|
2015-11-10 18:08:47 +01:00
|
|
|
}
|
|
|
|
|
2015-11-25 10:26:55 +01:00
|
|
|
#map g path.tracer {
|
2015-11-12 17:34:12 +01:00
|
|
|
transition: all 0.25s;
|
|
|
|
stroke-width: 4px;
|
|
|
|
stroke-opacity: 1;
|
|
|
|
stroke: #D7217E;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1001;
|
|
|
|
fill: #D7217E;
|
2017-04-11 18:45:35 +02:00
|
|
|
fill-opacity: 0.75;
|
2015-11-12 17:34:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#map.mode-delete path {
|
|
|
|
cursor: no-drop !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#map.mode-delete path:hover {
|
2017-04-11 18:40:01 +02:00
|
|
|
fill: #4D4D4D !important;
|
2015-11-12 17:34:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#map div.polygon-elbow {
|
2017-04-11 18:45:35 +02:00
|
|
|
box-shadow: 0 0 0 2px #FFFFFF, 0 0 10px rgba(0, 0, 0, 0.35);
|
2015-11-12 17:34:12 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#map div.polygon-elbow.non-polygon {
|
|
|
|
opacity: 0 !important;
|
|
|
|
pointer-events: none !important;
|
2017-04-11 16:36:03 +02:00
|
|
|
border: 5px solid #A9A9A9;
|
2015-11-12 17:34:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#map.mode-edit div.polygon-elbow {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
#map svg.tracer {
|
2015-11-10 18:08:47 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-11-12 17:34:12 +01:00
|
|
|
z-index: 2001;
|
|
|
|
pointer-events: none;
|
2015-11-10 18:08:47 +01:00
|
|
|
}
|
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
.info {
|
|
|
|
padding: 6px 8px;
|
|
|
|
font: 14px/16px Arial, Helvetica, sans-serif;
|
2015-12-08 11:32:29 +01:00
|
|
|
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-12-08 11:32:29 +01:00
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
.info h4 {
|
|
|
|
margin: 0 0 5px;
|
2017-04-11 18:37:02 +02:00
|
|
|
color: #777777;
|
2016-06-24 16:41:44 +02:00
|
|
|
}
|
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
#search-by-address {
|
2016-06-24 16:41:44 +02:00
|
|
|
.twitter-typeahead {
|
|
|
|
width: 555px;
|
|
|
|
}
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2016-06-24 16:41:44 +02:00
|
|
|
.tt-menu {
|
|
|
|
width: 555px;
|
|
|
|
}
|
|
|
|
}
|