Terminal layout: another approach

This commit is contained in:
Sebastian Krzyszkowiak
2020-07-18 04:52:26 +02:00
parent f5a5282219
commit 97da44f059
3 changed files with 68 additions and 15 deletions

View File

@ -1,38 +1,44 @@
--- ---
outlines: outlines:
default: { width: 35.33, height: 52 } default: { width: 35.33, height: 46 }
action: { width: 59, height: 52 } action: { width: 59, height: 46 }
altline: { width: 52.67, height: 52 } altline: { width: 52.67, height: 46 }
wide: { width: 59, height: 52 } wide: { width: 59, height: 46 }
spaceline: { width: 140, height: 52 } spaceline: { width: 140, height: 46 }
special: { width: 44, height: 52 } special: { width: 44, height: 46 }
small: { width: 59, height: 22 }
views: views:
base: base:
- "Ctrl Alt ↑ ↓ ← →"
- "q w e r t y u i o p" - "q w e r t y u i o p"
- "a s d f g h j k l" - "a s d f g h j k l"
- "Shift_L z x c v b n m BackSpace" - "Shift_L z x c v b n m BackSpace"
- "show_numbers preferences space show_actions Return" - "show_numbers preferences space show_actions Return"
upper: upper:
- "Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Y U I O P" - "Q W E R T Y U I O P"
- "A S D F G H J K L" - "A S D F G H J K L"
- "Shift_L Z X C V B N M BackSpace" - "Shift_L Z X C V B N M BackSpace"
- "show_numbers preferences space show_actions Return" - "show_numbers preferences space show_actions Return"
numbers: numbers:
- "Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0" - "1 2 3 4 5 6 7 8 9 0"
- "* # $ / & - _ + ( )" - "* # $ / & - _ + ( )"
- "show_symbols , \" ' colon ; ! ? BackSpace" - "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters preferences space period Return" - "show_letters preferences space period Return"
symbols: symbols:
- "Ctrl Alt ↑ ↓ ← →"
- "~ ` | · √ π τ ÷ × ¶" - "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° @ { }" - "© ® £ € ¥ ^ ° @ { }"
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace" - "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
- "show_letters preferences space period Return" - "show_letters preferences space period Return"
actions: actions:
- "Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6" - "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12" - "F7 F8 F9 F10 F11 F12"
- "Esc Tab Del PgUp ↑ PgDn" - "Esc Tab Pause Insert Up Del"
- "show_letters Home End ← ↓ →" - "show_letters Menu Break Left Down Right"
buttons: buttons:
Shift_L: Shift_L:
@ -132,28 +138,67 @@ buttons:
Del: Del:
outline: "action" outline: "action"
keysym: "Delete" keysym: "Delete"
Home: Insert:
outline: "action" outline: "action"
keysym: "Insert"
Menu:
outline: "action"
keysym: "Menu"
Pause:
outline: "action"
keysym: "Pause"
Menu:
outline: "action"
keysym: "Menu"
Break:
outline: "action"
keysym: "Break"
Home:
outline: "small"
keysym: "Home" keysym: "Home"
End: End:
outline: "action" outline: "small"
keysym: "End" keysym: "End"
PgUp: PgUp:
outline: "action" outline: "small"
keysym: "Page_Up" keysym: "Page_Up"
PgDn: PgDn:
outline: "action" outline: "small"
keysym: "Page_Down" keysym: "Page_Down"
"↑": "↑":
outline: "action" outline: "small"
keysym: "Up" keysym: "Up"
"↓": "↓":
outline: "action" outline: "small"
keysym: "Down" keysym: "Down"
"←": "←":
outline: "action" outline: "small"
keysym: "Left" keysym: "Left"
"→": "→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action" outline: "action"
keysym: "Right" keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Ctrl"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"

View File

@ -40,6 +40,10 @@ sq_button.action {
font-size: 0.75em; font-size: 0.75em;
} }
sq_button.small {
font-size: 0.5em;
}
#Return { #Return {
background: #1c71d8; background: #1c71d8;
border-color: #1a5fb4; border-color: #1a5fb4;

View File

@ -43,6 +43,10 @@ sq_button.action {
font-size: 0.75em; font-size: 0.75em;
} }
sq_button.small {
font-size: 0.5em;
}
#Return { #Return {
background: @theme_selected_bg_color; /* #1c71d8; */ background: @theme_selected_bg_color; /* #1c71d8; */
border-color: @borders; /*#1a5fb4;*/ border-color: @borders; /*#1a5fb4;*/