feat: webui

This commit is contained in:
2024-03-22 22:01:30 +07:00
parent cc57d5c8dc
commit 3fc3f1badd
9 changed files with 651 additions and 147 deletions

61
web/assets/style.css Normal file
View File

@ -0,0 +1,61 @@
* {
margin: 0;
padding: 0;
font-family: "Be Vietnam Pro", sans-serif;
}
.theme-dark {
background-color: #303030;
color: #fff;
}
header {
font-size: 32px;
padding: 10px;
background-color: #ffffff50;
}
.block {
width: fit-content;
border: 1px solid #fff;
border-radius: 10px;
margin: auto;
padding: 10px;
justify-content: center;
align-items: center;
}
button {
padding: 5px;
background-color: #303030;
color: #fff;
border: 1px solid #fff;
border-radius: 10px;
transition-duration: 0.2s;
cursor: pointer;
}
button:hover {
background-color: #444;
}
button:active {
background-color: #222;
}
input[type="password"],
input[type="text"] {
padding: 5px;
margin: 5px;
background-color: #303030;
color: #fff;
border: 1px solid #fff;
border-radius: 10px;
}
input[type="checkbox"] {
margin-bottom: 10px;
background-color: #303030;
color: #fff;
border: 1px solid #fff;
}