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 @@
list_expand_keyboard_
+
+
+ + keyman:hotkey_set?index=hotkey_lang_ + this.style.cursor='hand'; + + + + + +
+
- - -
- list_close_keyboard_ - location.href='keyman:package_uninstall?id=';event.cancelBubble=true;return false; -
-
- list_help_keyboard_ - location.href='keyman:package_welcome?id=';event.cancelBubble=true;return false; -
-
- -
- list_close_keyboard_ - location.href='keyman:keyboard_uninstall?id=';event.cancelBubble=true;return false; -
-
-
list_detail_keyboard_ - - - - - - - -
-
-
-
- -
- - - keyman:keyboardlanguage_install?id= - -
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ +
+
+ + + + + +
+
+ +
+
+ + + + +
+ + +
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ + + +
+ + Help + keyman:keyboardlanguage_install?id= + + + + + + + keyman:keyboard_options?id= + + + + + Disable + keyman:keyboardlanguage_install?id= + + + Uninstall + keyman:keyboardlanguage_install?id= + + +
+ + + + + +
+ qrcode- +
+ qrcode-img- +
+ +
+ + + +
 
-
- .kmx -
- -
- -
- -
- - - , - -
- - - , - -
- - - - -
- - - - - -
- - - - -
- -
- -
+
+ +
+ +
+
+ .kmx +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+ +
+ + + keyman:keyboardlanguage_install?id= + +
+
+ +
+ +
+
+ +
+
- - - javascript:showKeyboardLink('') - + +
+ +
+
+ + + , + +
+
+ +
+ +
+
+ + + , + +
+
+
+ +
+
+ + + + +
-
- qrcode- -
- return hideKeyboardLink('') -
-
-
- qrcode-img- -
- - -
-
-
-
-
 
-
@@ -324,4 +330,4 @@ - \ No newline at end of file +