Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcrb3 committed Jun 5, 2024
1 parent 7686e21 commit a9b1214
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
}

.myButtonClass {
background-color: #293a29;
background-color: #32522ec9;
/* Verd */
border: none;
color: white;
Expand All @@ -232,8 +232,7 @@
}

.myButtonClass:hover {
background-color: #45a049;
/* Verd més fosc al passar per sobre */
background-color: #a14529;
color: white;
}

Expand All @@ -246,8 +245,8 @@
}

.highlighted-button {
background-color: #45a049;
border: 2px solid rgb(92, 53, 1);
background-color: #a14529;
border: 1px solid white;
}

@keyframes spin {
Expand Down Expand Up @@ -293,7 +292,7 @@
}
</style>

<script type="module" crossorigin src="/assets/index-CCUiSdr8.js"></script>
<script type="module" crossorigin src="/assets/index-Dpqo7aj2.js"></script>
</head>

<body>
Expand Down
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
}

.myButtonClass {
background-color: #293a29;
background-color: #32522ec9;
/* Verd */
border: none;
color: white;
Expand All @@ -232,8 +232,7 @@
}

.myButtonClass:hover {
background-color: #45a049;
/* Verd més fosc al passar per sobre */
background-color: #a14529;
color: white;
}

Expand All @@ -246,8 +245,8 @@
}

.highlighted-button {
background-color: #45a049;
border: 2px solid rgb(92, 53, 1);
background-color: #a14529;
border: 1px solid white;
}

@keyframes spin {
Expand Down
11 changes: 7 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ function addGeometry(servei, button) {
paint: {
'fill-color': '#fee899',
'fill-opacity': 0.8,


}
});
}, "water-name-lakeline-z12");

const geometry = copia[i].geometry;

Expand Down Expand Up @@ -153,9 +155,10 @@ function addGeometry(servei, button) {
button.classList.add('highlighted-button');
}
}
setTimeout(function () {
map.fitBounds(bbox, { padding: 200 });
}, 0);

map.fitBounds(bbox, { padding: 150 });


}
function onTextFormSubmit(event) {
event.preventDefault();
Expand Down

0 comments on commit a9b1214

Please sign in to comment.