diff --git a/README.md b/README.md
index 518ca1c..34d4d9f 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@
+ Web Search Suggestions
+ Mobile Support with Swipe Gestures
+ Theme Settings - Change colors on-the-fly
-+ Weather Forecast - OpenWeatherMap Integration
++ Weather Forecast - OpenWeatherMap and Geolocation Integration
+ Search Engine Selection
+ Dynamic Background
+ Web Menu with Fuzzy Search
@@ -117,10 +117,17 @@ Setting up your OpenWeatherMap credential is a breeze.
- OpenWeatherMap is the weather provider, so go to OpenWeatherMap's [website](https://home.openweathermap.org/).
- Register, log-in, and then go [here](https://home.openweathermap.org/api_keys) to generate your very own API keys.
-+ After getting you API key, you have to get your City ID.
-+ Put your API key and City ID in the `Weather Settings`.
++ After this you can choose two locator modes - `Geolocation` and `City`.
++ In City Mode, you have to get your City ID in OpenWeatherMap website.
++ While `Geolocation` mode offers GPS tracking. You don't need to get an ID. Note that you must allow the location permission request.
++ Put your API key in the `Weather Settings`.
++ It's recommended to still put your City ID if you plan to use the `geolocation` mode.
+ Apply.
+**Note:**
+
++ If you're using firefox and you're planning to use the `geolocation`, make sure to set the value of `geo.provider.network.url` to `https://location.services.mozilla.com/v1/geolocate?key=test` in `about:config`. **Google changed its policies, so now it requires a valid API key when accessing their geolocation service. This tells us that you need a valid API key in place of** `%GOOGLE_LOCATION_SERVICE_API_KEY%`. - [Citation](https://stackoverflow.com/questions/61032115/unknown-error-acquiring-position-geolocationpositionerror-code-2-firefox-linux).
+
#### Changing the default search engine
Google is the default search engine of the search bar, if you want to change it to DuckDuckGo or something:
@@ -151,6 +158,8 @@ The background image changes based on time.
+ If you're using firefox and blur effect is not enabled, open `about:config`, accept the risks, find `layout.css.backdrop-filter.enabled`, and set it to true to enable it. Refresh the startpage.
++ If you're using firefox and planning to use the geolocation, set the value of `geo.provider.network.url` to `https://location.services.mozilla.com/v1/geolocate?key=test` in `about:config`.
+
+ The code could be better, this is my first time writing a startpage from the ground up. I will improve this from time to time.
+ Found a bug, error or do you have a suggestion? Feel free to open an issue or pull request.
diff --git a/css/weather-settings.css b/css/weather-settings.css
index f5dd179..3d9767b 100644
--- a/css/weather-settings.css
+++ b/css/weather-settings.css
@@ -46,6 +46,8 @@
height: auto;
width: 100%;
margin-top: 5px;
+
+ transition: all var(--transition-speed);
}
.weatherSettingsLabels {
@@ -55,6 +57,14 @@
text-align: left;
}
+.hideWeatherSettings {
+ height: 0;
+ opacity: 0;
+ pointer-events: none;
+ transition: height var(--transition-speed),
+ opacity var(--transition-speed);
+}
+
.weatherSettingsInputs {
height: 32px;
width: 100%;
@@ -76,7 +86,8 @@
align-items: center;
}
-#weatherSelectUnits {
+#weatherSelectUnits,
+#weatherSelectLocator {
background: var(--base-container);
color: var(--base-color);
@@ -85,23 +96,27 @@
appearance: none;
}
-#weatherSelectUnits:hover {
+#weatherSelectUnits:hover,
+#weatherSelectLocator:hover {
outline: none !important;
cursor: pointer;
background: var(--base-hover-bg) !important;
}
-#weatherSelectUnits:focus {
+#weatherSelectUnits:focus,
+#weatherSelectLocator:focus {
outline: none !important;
background: var(--base-focus-bg) !important;
}
-#weatherSelectUnits:active {
+#weatherSelectUnits:active,
+#weatherSelectLocator:active {
outline: none !important;
background: var(--base-active-bg) !important;
}
-#weatherSelectUnits option {
+#weatherSelectUnits option,
+#weatherSelectLocator option {
color: initial;
border: none;
}
diff --git a/index.html b/index.html
index e0146fa..75001fe 100644
--- a/index.html
+++ b/index.html
@@ -101,6 +101,14 @@
+