forked from extern/the-glorious-startpage
cleanups and readme
This commit is contained in:
parent
1738a942c1
commit
dbc4f902ca
14
README.md
14
README.md
@ -28,6 +28,7 @@
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
+ Responsive UI
|
+ Responsive UI
|
||||||
|
+ Web search Suggestions
|
||||||
+ Mobile Support with Swipe Gestures
|
+ Mobile Support with Swipe Gestures
|
||||||
+ Theme Settings - Change colors on-the-fly
|
+ Theme Settings - Change colors on-the-fly
|
||||||
+ Weather Forecast - OpenWeatherMap
|
+ Weather Forecast - OpenWeatherMap
|
||||||
@ -40,12 +41,19 @@
|
|||||||
|
|
||||||
## Keybindings
|
## Keybindings
|
||||||
|
|
||||||
+ <kbd>alt + s</kbd> - toggles dashboard
|
+ <kbd>alt + S</kbd> - toggles dashboard
|
||||||
+ <kbd>alt + e</kbd> - toggles web menu
|
+ <kbd>alt + E</kbd> - toggles web menu
|
||||||
+ <kbd>alt + x</kbd> - toggles weather screen
|
+ <kbd>alt + X</kbd> - toggles weather screen
|
||||||
+ <kbd>Escape</kbd> - close panels/toggles web menu
|
+ <kbd>Escape</kbd> - close panels/toggles web menu
|
||||||
+ <kbd>Backspace</kbd> - toggles search box
|
+ <kbd>Backspace</kbd> - toggles search box
|
||||||
|
|
||||||
|
## Swipe gestures
|
||||||
|
|
||||||
|
+ <kbd>swipe right</kbd> - opens web menu
|
||||||
|
+ <kbd>swipe left</kbd> - opens dashboard
|
||||||
|
+ <kbd>swipe up</kbd> - opens weather screen
|
||||||
|
+ <kbd>swipe down</kbd> - opens search box
|
||||||
|
|
||||||
## Customization and Settings
|
## Customization and Settings
|
||||||
|
|
||||||
#### Changing the colors and blur strength on-the-fly
|
#### Changing the colors and blur strength on-the-fly
|
||||||
|
@ -20,11 +20,12 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Show suggestion*/
|
||||||
.suggestionsShow {
|
.suggestionsShow {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*The UL*/
|
/*ul*/
|
||||||
#suggestions {
|
#suggestions {
|
||||||
|
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -43,7 +44,7 @@
|
|||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*The Li*/
|
/*li*/
|
||||||
#phrase {
|
#phrase {
|
||||||
/*Align list horizontally*/
|
/*Align list horizontally*/
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -61,8 +62,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*The Li's child*/
|
/*The li's child*/
|
||||||
|
|
||||||
.phraseButton {
|
.phraseButton {
|
||||||
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
@ -81,7 +81,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.phraseButton:focus {
|
.phraseButton:focus {
|
||||||
background: var(--base-hover-bg);
|
background: var(--base-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.phraseButton:active {
|
.phraseButton:active {
|
@ -17,7 +17,7 @@
|
|||||||
@import url('weather-screen.css');
|
@import url('weather-screen.css');
|
||||||
@import url('weather-settings.css');
|
@import url('weather-settings.css');
|
||||||
@import url('web-menu.css');
|
@import url('web-menu.css');
|
||||||
@import url('suggestions.css');
|
@import url('auto-suggestion.css');
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Colors */
|
/* Colors */
|
||||||
|
@ -12,6 +12,8 @@ searchBox.addEventListener(
|
|||||||
"keyup",
|
"keyup",
|
||||||
(event) => {
|
(event) => {
|
||||||
|
|
||||||
|
if (event.key === 'Tab') return;
|
||||||
|
|
||||||
// Number 13 is the "Enter" key on the keyboard
|
// Number 13 is the "Enter" key on the keyboard
|
||||||
if (event.key === 'Enter') {
|
if (event.key === 'Enter') {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user