feat: add virtual keyboard ui
This commit is contained in:
1461
resources/default-full.keymap
Normal file
1461
resources/default-full.keymap
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
9
resources/gresource-login.xml
Normal file
9
resources/gresource-login.xml
Normal 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
11
resources/login-shell.css
Normal 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;
|
||||
}
|
@@ -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>
|
@@ -1,9 +0,0 @@
|
||||
.header {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.status {
|
||||
font-size: 12px;
|
||||
color: red;
|
||||
}
|
38
resources/virtual-keyboard.css
Normal file
38
resources/virtual-keyboard.css
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user