feat: add virtual keyboard ui

This commit is contained in:
DanyLE
2025-03-13 00:54:14 +01:00
parent 4da1db3bd4
commit 8020954fed
22 changed files with 2086 additions and 1706 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/dev/iohub/diya/shell">
<file alias="login-shell.css">resources/login-shell.css</file>
<file alias="virtual-keyboard.css">resources/virtual-keyboard.css</file>
<file alias="default.keymap">resources/default.keymap</file>
<!--file alias="virtuail-keyboard.ui">resources/ui/virtual-keyboard.ui</file-->
</gresource>
</gresources>

11
resources/login-shell.css Normal file
View File

@@ -0,0 +1,11 @@
@import url("resource:///dev/iohub/diya/shell/virtual-keyboard.css");
.diya-login-header {
font-size: 16px;
font-weight: bold;
}
.diya-login-status {
font-size: 12px;
color: red;
}

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/dev/iohub/diya/shell">
<file alias="login-shell.css">resources/login-shell/login-shell.css</file>
<file alias="default.keymap">resources/default.keymap</file>
</gresource>
</gresources>

View File

@@ -1,9 +0,0 @@
.header {
font-size: 16px;
font-weight: bold;
}
.status {
font-size: 12px;
color: red;
}

View File

@@ -0,0 +1,38 @@
.diya-vkb
{
background-color: transparent;
border: 1px solid orangered;
}
.diya-vkb-btn {
background-color: white;
border: 1px solid #CDC7C2;
border-radius: 3px;
min-width: 20px;
/*min-height: 30px;*/
}
.diya-vkb-btn:hover
{
background-color: #E7E6E2;
}
/*
.diya-vkb-btn label {
border: 1px solid #b81f2b;
}*/
.diya-vkb-btn-level-1 {
color: black;
}
.diya-vkb-btn-level-2 {
color: gray;
font-size: 10px;
padding-left: 3px;
}
.diya-vkb-btn-level-3 {
color: gray;
font-size: 10px;
padding-right: 3px;
}