diff --git a/windows/src/desktop/kmshell/xml/config.css b/windows/src/desktop/kmshell/xml/config.css index 94472acae7..01e91cbdd9 100644 --- a/windows/src/desktop/kmshell/xml/config.css +++ b/windows/src/desktop/kmshell/xml/config.css @@ -428,6 +428,71 @@ table tr margin: 0 8px 0 0; } +/* grid styles */ +.grid-container { + display: grid; + position: relative; + grid-template-columns: max-content 250px ; +} + +.grid_item +{ + position: relative; + font-size: 11px; + font-weight: bold; + margin: 0px; + padding: 5px; + background: #ffffff; +} + +.grid_debug_text::before +{ + content: 'Name:'; + position: relative; +} + +/* Just for testing layout */ +.grid_item::before { + /* content: 'Name:'; + position:relative; + */ + /* font-size: 25px; + font-weight: bold; + top: 10px; + left: 15px;*/ + +} + + +.grid_item_text +{ + content: 'blah detail'; + position: relative; + font-size: 11px; + font-weight: normal; + + margin: 0px; + background: #f0f0ff; + clear: both; +} + +.grid_col_span_2 +{ + grid-column: span 2; +} + + +.grid_rows_hide{ + grid-template-rows: minmax(11px, auto) minmax(11px, auto) minmax(11px, auto) repeat(10, 0px); + +} + +.grid_rows_hide [data-hide] { + visibility: hidden; +} + + + /* Keyboard Styles */ .keyboard_header { @@ -1052,4 +1117,4 @@ th white-space: normal; font-size: 12pt; padding: 8px; -} \ No newline at end of file +} diff --git a/windows/src/desktop/kmshell/xml/config.js b/windows/src/desktop/kmshell/xml/config.js index 36651ba3e5..0e67ab785e 100644 --- a/windows/src/desktop/kmshell/xml/config.js +++ b/windows/src/desktop/kmshell/xml/config.js @@ -200,6 +200,14 @@ document.addEventListener("DOMContentLoaded", windowResize); return false; } + function advanced_detail(event,n) { + var k = document.getElementById('list_'+n); + $(k).toggleClass('expanded'); + k.focus(); + save_state(); + return false; + } + var loading_state = false; function save_state() { @@ -313,4 +321,4 @@ function showKeyboardLink(id) { function hideKeyboardLink(id) { var e = document.getElementById('qrcode-'+id); e.className='qrcode'; -} \ No newline at end of file +} diff --git a/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl b/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl index 7fece5194e..9713bf7887 100644 --- a/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl +++ b/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl @@ -127,185 +127,191 @@
+ -|
-
-
-
-
-
-
- |
-
-
-
-
-
|
- ||||||||||||||||||||||||