2024-10-16 22:46:58 +02:00
|
|
|
:root {
|
|
|
|
font-size: 18px;
|
|
|
|
|
2024-10-17 22:48:50 +02:00
|
|
|
--theme-bg: #181818;
|
2024-10-16 22:46:58 +02:00
|
|
|
|
|
|
|
--text-color: white;
|
2024-10-17 22:48:50 +02:00
|
|
|
--button-primary: #515151;
|
|
|
|
--button-secondary: #f38633;
|
2024-10-16 22:46:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--theme-bg);
|
|
|
|
|
|
|
|
font-family: "IBM Plex", sans-serif;
|
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
2024-10-17 09:05:34 +02:00
|
|
|
user-select: none;
|
|
|
|
overflow: hidden;
|
2024-10-16 22:46:58 +02:00
|
|
|
}
|
|
|
|
|
2024-10-17 22:48:50 +02:00
|
|
|
.calculator button {
|
2024-10-16 22:46:58 +02:00
|
|
|
font-family: "Montserrat", sans-serif;
|
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: normal;
|
|
|
|
font-variation-settings: "slnt" 0;
|
2024-10-17 09:05:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-container::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: end;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.75rem;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
font-family: "IBM Plex", sans-serif;
|
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
|
|
|
|
transform: scale(1.2);
|
|
|
|
filter: blur(10px);
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 200;
|
|
|
|
|
|
|
|
transition: all 0.4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-container span {
|
2024-10-17 22:48:50 +02:00
|
|
|
|
2024-10-17 09:05:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-container span strong {
|
2024-10-17 22:48:50 +02:00
|
|
|
color: var(--text-color);
|
2024-10-17 09:05:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.history-open .history-container {
|
|
|
|
transform: scale(1);
|
|
|
|
filter: blur(0);
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.history-open .calculator {
|
|
|
|
transform: scale(0.8);
|
|
|
|
filter: blur(10px);
|
|
|
|
opacity: 0.4;
|
2024-10-17 16:38:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 80%;
|
|
|
|
bottom: -80%;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
font-family: "IBM Plex", sans-serif;
|
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
2024-10-17 22:48:50 +02:00
|
|
|
padding: 0 1rem;
|
2024-10-17 16:38:32 +02:00
|
|
|
|
|
|
|
z-index: 150;
|
|
|
|
|
|
|
|
transition: all 0.4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.settings-open .settings-container {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.settings-open .calculator {
|
|
|
|
transform: translateY(-80%);
|
2024-10-17 22:48:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-container span {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=color] {
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
border: solid 1px rgb(128, 128, 128);
|
|
|
|
outline: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=color]::-webkit-color-swatch-wrapper {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=color]::-webkit-color-swatch {
|
|
|
|
border: none;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-container button {
|
|
|
|
font-family: "IBM Plex", sans-serif;
|
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
|
|
|
color: var(--text-color);
|
|
|
|
padding: 0.4rem 0.8rem;
|
|
|
|
border: none;
|
|
|
|
background-color: var(--button-primary);
|
|
|
|
/* border: solid 1px rgb(128, 128, 128); */
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
transition: background-color 0.3s, transform 0.1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-container button:hover {
|
|
|
|
background-color: var(--button-secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-container button:active {
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-container .container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2024-10-16 22:46:58 +02:00
|
|
|
}
|