2021-11-03 04:21:58 +02:00
|
|
|
:root {
|
|
|
|
--body-bg-color: #2e2e2e;
|
2022-08-26 15:56:42 +03:00
|
|
|
--body-bg-color-accent: hsl(0, 0%, 25%);
|
2021-11-03 04:21:58 +02:00
|
|
|
--accent-bg-color: #d4d3d3;
|
|
|
|
--accent-color: #949494;
|
|
|
|
--grayed-text-color: #949494;
|
|
|
|
--button-accent-color: #3d3d3d;
|
|
|
|
--selected-bg-color: #2e2e2e;
|
|
|
|
--hover-bg-color: #4d4d4d;
|
2022-08-26 15:56:42 +03:00
|
|
|
--card-border-radius: 1em;
|
|
|
|
--button-border-radius: 0.5em;
|
2021-11-03 04:21:58 +02:00
|
|
|
--main-font-weight: 500;
|
|
|
|
|
|
|
|
--fonts-regular: "Noto Sans", "Liberation Sans", sans-serif;
|
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2021-11-03 04:21:58 +02:00
|
|
|
font-weight: var(--main-font-weight);
|
|
|
|
font-family: var(--fonts-regular);
|
|
|
|
background-color: var(--body-bg-color);
|
|
|
|
color: var(--accent-bg-color);
|
2022-08-26 15:56:42 +03:00
|
|
|
overflow: hidden;
|
2021-11-03 04:21:58 +02:00
|
|
|
margin: 0;
|
2022-08-26 15:56:42 +03:00
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
background: var(--body-bg-color);
|
|
|
|
background-image: radial-gradient(var(--body-bg-color-accent) 1.4px, transparent 0);
|
|
|
|
background-size: 35px 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* util */
|
|
|
|
|
|
|
|
.full-width {
|
|
|
|
width: 100%;
|
2021-11-03 04:21:58 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
/* Card */
|
|
|
|
|
|
|
|
.Keyboard,
|
|
|
|
.Card {
|
2021-11-08 00:25:27 +02:00
|
|
|
margin: 6px;
|
|
|
|
padding: 8px;
|
|
|
|
background: var(--accent-bg-color);
|
|
|
|
color: #000000;
|
|
|
|
border-radius: var(--card-border-radius);
|
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
.Keyboard,
|
|
|
|
.Card-ui-bottom {
|
|
|
|
padding: 14px;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 610px;
|
2021-11-08 00:25:27 +02:00
|
|
|
box-shadow: 0 0 28px 3px rgba(0, 0, 0, 0.40);
|
2022-08-26 15:56:42 +03:00
|
|
|
margin: 0;
|
|
|
|
border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
|
|
|
|
padding-top: 16px;
|
2021-11-08 00:25:27 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
.Card-centered-text {
|
|
|
|
text-align: center;
|
2021-11-08 00:25:27 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
/* button */
|
2021-11-08 00:25:27 +02:00
|
|
|
|
|
|
|
.button-default {
|
|
|
|
display: block;
|
|
|
|
padding: 12px;
|
|
|
|
margin: 4px;
|
|
|
|
border: none;
|
|
|
|
background-color: var(--accent-bg-color);
|
|
|
|
border-radius: var(--button-border-radius);
|
|
|
|
color: var(--button-accent-color);
|
|
|
|
min-width: 50px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-default:hover:not(.button-selected) {
|
|
|
|
color: var(--accent-bg-color);
|
|
|
|
background-color: var(--hover-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-selected {
|
|
|
|
color: var(--accent-bg-color);
|
|
|
|
background-color: var(--selected-bg-color);
|
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
/* input */
|
|
|
|
|
2021-11-08 00:25:27 +02:00
|
|
|
.input {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
border-radius: var(--button-border-radius);
|
|
|
|
margin: 4px;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
/* Touchpad */
|
|
|
|
|
|
|
|
.Touchpad {
|
2021-11-03 04:21:58 +02:00
|
|
|
width: 100%;
|
2022-08-26 15:56:42 +03:00
|
|
|
height: 100%;
|
2021-11-03 04:21:58 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
.Touchpad-touch-indicator {
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--accent-bg-color);
|
2022-01-25 17:10:35 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
/* Keyboard */
|
|
|
|
|
|
|
|
.keyboard-rows {
|
|
|
|
border-radius: 12px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-11-03 04:21:58 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
.Keyboard-row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-grow: 1;
|
2021-11-03 04:21:58 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
.Keyboard-button {
|
|
|
|
font-family: var(--fonts-regular);
|
|
|
|
font-weight: var(--main-font-weight);
|
|
|
|
padding: 8px;
|
|
|
|
background-color: var(--accent-bg-color);
|
|
|
|
color: #000000;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 50px;
|
|
|
|
width: 20px;
|
|
|
|
border: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2021-11-03 04:21:58 +02:00
|
|
|
}
|
|
|
|
|
2022-08-26 15:56:42 +03:00
|
|
|
.Keyboard-button:active {
|
|
|
|
background-color: var(--accent-color);
|
2021-11-03 04:21:58 +02:00
|
|
|
}
|