forked from extern/the-glorious-startpage
cleanup
This commit is contained in:
parent
17b685c3ae
commit
f53b65c247
92
css/base.css
Normal file
92
css/base.css
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
:root {
|
||||||
|
/* Colors */
|
||||||
|
--base-bg: #00000060;
|
||||||
|
--base-color: #f2f2f2;
|
||||||
|
--base-container: #f2f2f220;
|
||||||
|
|
||||||
|
--base-hover-bg: #f2f2f230;
|
||||||
|
--base-focus-bg: #f2f2f245;
|
||||||
|
--base-active-bg: #fefefe60;
|
||||||
|
|
||||||
|
--blur-strength: 6px;
|
||||||
|
|
||||||
|
--panel-bg: var(--base-bg);
|
||||||
|
--panel-color: var(--base-color);
|
||||||
|
|
||||||
|
--transition-speed: 300ms;
|
||||||
|
|
||||||
|
--rounded-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
/*Font rendering*/
|
||||||
|
-webkit-font-smoothing: antialiased !important;
|
||||||
|
-moz-osx-font-smoothing: grayscale !important;
|
||||||
|
text-rendering: optimizeLegibility !important;
|
||||||
|
font-variant-ligatures: none !important;
|
||||||
|
|
||||||
|
/*Disable tap hightlight color on mobile devices*/
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
background: #1a1a1a;
|
||||||
|
color: var(--foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
height: 100% !important;
|
||||||
|
position: fixed !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Placeholder*/
|
||||||
|
::placeholder {
|
||||||
|
color: var(--base-color);
|
||||||
|
opacity: 0.75;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Scrollbar*/
|
||||||
|
/* width */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Track */
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: var(--base-container);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--base-active-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle on hover */
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: var(--base-hover-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Hide focus elements outline*/
|
||||||
|
input:focus,
|
||||||
|
textarea:focus,
|
||||||
|
select:focus{
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
text-align: center;
|
||||||
|
text-align-last: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
option {
|
||||||
|
text-align: left;
|
||||||
|
}
|
@ -1,3 +1,5 @@
|
|||||||
|
/*Load all CSS*/
|
||||||
|
@import url('base.css');
|
||||||
@import url('font-face.css');
|
@import url('font-face.css');
|
||||||
@import url('normalize.css');
|
@import url('normalize.css');
|
||||||
@import url('body-background.css');
|
@import url('body-background.css');
|
||||||
@ -17,98 +19,4 @@
|
|||||||
@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('auto-suggestion.css');
|
@import url('auto-suggestion.css');
|
||||||
|
|
||||||
:root {
|
|
||||||
/* Colors */
|
|
||||||
--base-bg: #00000060;
|
|
||||||
--base-color: #f2f2f2;
|
|
||||||
--base-container: #f2f2f220;
|
|
||||||
|
|
||||||
--base-hover-bg: #f2f2f230;
|
|
||||||
--base-focus-bg: #f2f2f245;
|
|
||||||
--base-active-bg: #fefefe60;
|
|
||||||
|
|
||||||
--blur-strength: 6px;
|
|
||||||
|
|
||||||
--panel-bg: var(--base-bg);
|
|
||||||
--panel-color: var(--base-color);
|
|
||||||
|
|
||||||
--transition-speed: 300ms;
|
|
||||||
|
|
||||||
--rounded-radius: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
/*Font rendering*/
|
|
||||||
-webkit-font-smoothing: antialiased !important;
|
|
||||||
-moz-osx-font-smoothing: grayscale !important;
|
|
||||||
text-rendering: optimizeLegibility !important;
|
|
||||||
font-variant-ligatures: none !important;
|
|
||||||
|
|
||||||
/*Disable tap hightlight color on mobile devices*/
|
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
background: #1a1a1a;
|
|
||||||
color: var(--foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
html, body {
|
|
||||||
height: 100% !important;
|
|
||||||
position: fixed !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Scrollbar*/
|
|
||||||
|
|
||||||
/*Placeholder*/
|
|
||||||
::placeholder {
|
|
||||||
color: var(--base-color);
|
|
||||||
opacity: 0.75;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* width */
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Track */
|
|
||||||
::-webkit-scrollbar-track {
|
|
||||||
background: var(--base-container);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle */
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background: var(--base-active-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle on hover */
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
|
||||||
background: var(--base-hover-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Hide focus elements outline*/
|
|
||||||
input:focus,
|
|
||||||
textarea:focus,
|
|
||||||
select:focus{
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
text-align: center;
|
|
||||||
text-align-last: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
option {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
12
index.html
12
index.html
@ -128,11 +128,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id='searchEngineContainer'>
|
<div id='searchEngineContainer'>
|
||||||
<select id='searchEngineSelect'>
|
<select id='searchEngineSelect'>
|
||||||
<option value='google'>Google</option>
|
<option value='google'>Google</option>
|
||||||
<option value='duckduckgo'>Duckduckgo</option>
|
<option value='duckduckgo'>Duckduckgo</option>
|
||||||
<option value='ecosia'>Ecosia</option>
|
<option value='ecosia'>Ecosia</option>
|
||||||
<option value='yahoo'>Yahoo</option>
|
<option value='yahoo'>Yahoo</option>
|
||||||
<option value='bing'>Bing</option>
|
<option value='bing'>Bing</option>
|
||||||
</select>
|
</select>
|
||||||
<button type='button' id='searchEngineAsDefault'>Set as Default</button>
|
<button type='button' id='searchEngineAsDefault'>Set as Default</button>
|
||||||
</div>
|
</div>
|
||||||
@ -230,8 +230,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src='js/config.js'></script>
|
<script src='js/config.js'></script>
|
||||||
<script src='js/body-background-set.js'></script>
|
<script src='js/body-background-set.js'></script>
|
||||||
<script src='js/clock.js'></script>
|
<script src='js/clock.js'></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user