the-glorious-startpage/css/style.css
2020-06-04 11:49:17 +08:00

148 lines
3.9 KiB
CSS

@import url('normalize.css');
@import url('body-background.css');
@import url('bar.css');
@import url('top-panel.css');
@import url('clock.css');
@import url('dock.css');
@import url('dock-buttons.css');
@import url('centered-box.css');
@import url('centered-box-overlay.css');
@import url('profile-image.css');
@import url('search-box.css');
@import url('dashboard.css');
@import url('greeter-date-message.css');
@import url('search-engine-settings.css');
@import url('theme-engine.css');
@import url('weather-screen.css');
@import url('weather-settings.css');
:root {
/* Colors */
--base-bg: #00000060;
--base-color: #f2f2f2;
--base-container: #f2f2f220;
--base-hover-bg: #f2f2f240;
--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;
}
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;
}
/* roboto-300 - latin */
@font-face {
font-family: 'roboto-light';
font-style: normal;
font-weight: 300;
src: url('../fonts/roboto-v20-latin-300.eot'); /* IE9 Compat Modes */
src: local('Roboto Light'), local('Roboto-Light'),
url('../fonts/roboto-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/roboto-v20-latin-300.woff') format('woff'), /* Modern Browsers */
url('../fonts/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/roboto-v20-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
font-family: 'roboto';
font-style: normal;
font-weight: 400;
src: url('../fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Roboto'), local('Roboto-Regular'),
url('../fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
font-family: 'roboto-bold';
font-style: normal;
font-weight: 700;
src: url('../fonts/roboto-v20-latin-700.eot'); /* IE9 Compat Modes */
src: local('Roboto Bold'), local('Roboto-Bold'),
url('../fonts/roboto-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/roboto-v20-latin-700.woff') format('woff'), /* Modern Browsers */
url('../fonts/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/roboto-v20-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
/*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;
}