Add Color
This commit is contained in:
parent
71a6a160f6
commit
e34f2ad03b
@ -1 +1 @@
|
|||||||
$ff_color: #dc0067;
|
$ff_color: #df316c;
|
@ -2,14 +2,14 @@ header {
|
|||||||
min-height: 10vh; }
|
min-height: 10vh; }
|
||||||
|
|
||||||
#outer-container {
|
#outer-container {
|
||||||
border-top: 5px solid #dc0067;
|
border-top: 5px solid #df316c;
|
||||||
margin: 5vh auto 0 auto; }
|
margin: 5vh auto 0 auto; }
|
||||||
#outer-container .row {
|
#outer-container .row {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto; }
|
margin-right: auto; }
|
||||||
|
|
||||||
.dropdown-content li > a, .dropdown-content li > span {
|
.dropdown-content li > a, .dropdown-content li > span {
|
||||||
color: #dc0067; }
|
color: #df316c; }
|
||||||
|
|
||||||
.input-field {
|
.input-field {
|
||||||
padding: 0 !important; }
|
padding: 0 !important; }
|
||||||
@ -19,21 +19,21 @@ header {
|
|||||||
|
|
||||||
.page-footer {
|
.page-footer {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
background-color: #dc0067; }
|
background-color: #df316c; }
|
||||||
|
|
||||||
#backtohome {
|
#backtohome {
|
||||||
background-color: #dc0067; }
|
background-color: #df316c; }
|
||||||
|
|
||||||
header {
|
header {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
.btn.navigation.next {
|
.btn.navigation.next {
|
||||||
background-color: #dc0067; }
|
background-color: #df316c; }
|
||||||
|
|
||||||
#img_router_front, #img_router_back {
|
#img_router_front, #img_router_back {
|
||||||
max-width: 200px; }
|
max-width: 200px; }
|
||||||
|
|
||||||
#download {
|
#download {
|
||||||
background-color: #dc0067; }
|
background-color: #df316c; }
|
||||||
|
|
||||||
/*# sourceMappingURL=community.css.map */
|
/*# sourceMappingURL=community.css.map */
|
||||||
|
@ -2,14 +2,14 @@ header {
|
|||||||
min-height: 10vh; }
|
min-height: 10vh; }
|
||||||
|
|
||||||
#outer-container {
|
#outer-container {
|
||||||
border-top: 5px solid #dc0067;
|
border-top: 5px solid #df316c;
|
||||||
margin: 5vh auto 0 auto; }
|
margin: 5vh auto 0 auto; }
|
||||||
#outer-container .row {
|
#outer-container .row {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto; }
|
margin-right: auto; }
|
||||||
|
|
||||||
.dropdown-content li > a, .dropdown-content li > span {
|
.dropdown-content li > a, .dropdown-content li > span {
|
||||||
color: #dc0067; }
|
color: #df316c; }
|
||||||
|
|
||||||
.input-field {
|
.input-field {
|
||||||
padding: 0 !important; }
|
padding: 0 !important; }
|
||||||
@ -19,7 +19,7 @@ header {
|
|||||||
|
|
||||||
.page-footer {
|
.page-footer {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
background-color: #dc0067; }
|
background-color: #df316c; }
|
||||||
|
|
||||||
#inner-container {
|
#inner-container {
|
||||||
padding: 1.5rem; }
|
padding: 1.5rem; }
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"0"
|
"community_id":"0",
|
||||||
|
"color":"#f44336"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"1"
|
"community_id":"1",
|
||||||
|
"color":"#e91e63"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id": "2"
|
"community_id": "2",
|
||||||
|
"color":"#9c27b0"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"3"
|
"community_id":"3",
|
||||||
|
"color":"#673ab7"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"4"
|
"community_id":"4",
|
||||||
|
"color":"#795548"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"5"
|
"community_id":"5",
|
||||||
|
"color":"#3f51b5"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"6"
|
"community_id":"6",
|
||||||
|
"color":"#8bc34a"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"7"
|
"community_id":"7",
|
||||||
|
"color":"#00bcd4"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"8"
|
"community_id":"8",
|
||||||
|
"color":"#009688"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id": "10"
|
"community_id": "10",
|
||||||
|
"color":"#2196f3"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"9"
|
"community_id":"9",
|
||||||
|
"color":"#4caf50"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"12"
|
"community_id":"12",
|
||||||
|
"color":"#ff9800"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
{
|
{
|
||||||
"type":"Feature",
|
"type":"Feature",
|
||||||
"properties":{
|
"properties":{
|
||||||
"community_id":"14"
|
"community_id":"14",
|
||||||
|
"color":"#ff5722"
|
||||||
},
|
},
|
||||||
"geometry":{
|
"geometry":{
|
||||||
"type":"Polygon",
|
"type":"Polygon",
|
||||||
|
@ -13,11 +13,12 @@ $(document).ready(function() {
|
|||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
communityiesGeoJson.forEach(function (i) {
|
communityiesGeoJson.forEach(function (i) {
|
||||||
$.getJSON( i.geojson, function( data ) {
|
$.getJSON( i.geojson, function( data ) {
|
||||||
|
console.log(data)
|
||||||
var community = L.geoJSON(data, {
|
var community = L.geoJSON(data, {
|
||||||
style: {
|
style: {
|
||||||
fillColor: "#dc0067",
|
fillColor: data.features[0].properties.color,
|
||||||
fillOpacity: 0.25,
|
fillOpacity: 0.25,
|
||||||
color: '#dc0067',
|
color: data.features[0].properties.color,
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
weight: 2
|
weight: 2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user