keyboard: tweaks an fixes
This commit is contained in:
parent
0c6d6cc12c
commit
f478e463fc
2 changed files with 15 additions and 4 deletions
|
|
@ -6,10 +6,10 @@ var UiWidget = require('./ui-widget'),
|
|||
raw = require('nanohtml/raw')
|
||||
|
||||
const numericLayout = [
|
||||
'{sep} 7 8 9',
|
||||
'{sep} 6 7 8',
|
||||
'{sep} 1 2 3',
|
||||
'{sep} 0 . {enter}'
|
||||
'{sep} + 7 8 9',
|
||||
'{sep} - 4 5 6',
|
||||
'{sep} * 1 2 3',
|
||||
'{sep} / 0 . {enter}'
|
||||
]
|
||||
const keysDisplay = {
|
||||
'{esc}': locales('keyboard_escape'),
|
||||
|
|
|
|||
|
|
@ -40,6 +40,13 @@ osc-keyboard {
|
|||
}
|
||||
}
|
||||
|
||||
.enter {
|
||||
position: relative;
|
||||
--alpha-fill: 0.1;
|
||||
--color-fill: var(--color-accent);
|
||||
@include pseudo-fill($z: 1);
|
||||
|
||||
}
|
||||
|
||||
.tab, .shift {
|
||||
flex: 1.5;
|
||||
|
|
@ -70,4 +77,8 @@ osc-keyboard {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
font-size: 80%
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue