add compact startup, recent files closer
This commit is contained in:
parent
00729eb6b1
commit
d95f78d755
3 changed files with 15 additions and 4 deletions
|
|
@ -1064,7 +1064,7 @@ var gs_kiri_init = exports;
|
||||||
container = $('container'),
|
container = $('container'),
|
||||||
welcome = $('welcome'),
|
welcome = $('welcome'),
|
||||||
controller = settings().controller,
|
controller = settings().controller,
|
||||||
compact = controller.compact,
|
compact = controller.compact || SETUP.compact,
|
||||||
dark = controller.dark;
|
dark = controller.dark;
|
||||||
|
|
||||||
WIN.addEventListener("resize", API.dialog.update);
|
WIN.addEventListener("resize", API.dialog.update);
|
||||||
|
|
@ -1263,7 +1263,7 @@ var gs_kiri_init = exports;
|
||||||
]
|
]
|
||||||
]),
|
]),
|
||||||
|
|
||||||
workspace: UC.newGroup(LANG.ws_menu),
|
workspace: UC.newGroup(LANG.ws_menu, undefined, {modes:ALL, expert:true}),
|
||||||
wsTable: UC.newTableRow([
|
wsTable: UC.newTableRow([
|
||||||
[
|
[
|
||||||
UI.saveButton =
|
UI.saveButton =
|
||||||
|
|
@ -1271,7 +1271,7 @@ var gs_kiri_init = exports;
|
||||||
],[
|
],[
|
||||||
UC.newButton(LANG.ws_cler, API.space.clear)
|
UC.newButton(LANG.ws_cler, API.space.clear)
|
||||||
]
|
]
|
||||||
]),
|
], {modes:ALL, expert:true}),
|
||||||
|
|
||||||
layout: UC.newGroup(LANG.op_menu),
|
layout: UC.newGroup(LANG.op_menu),
|
||||||
expert: UC.newBoolean(LANG.op_xprt_s, booleanSave, {title:LANG.op_xprt_l}),
|
expert: UC.newBoolean(LANG.op_xprt_s, booleanSave, {title:LANG.op_xprt_l}),
|
||||||
|
|
@ -1616,6 +1616,8 @@ var gs_kiri_init = exports;
|
||||||
API.dialog.show("catalog");
|
API.dialog.show("catalog");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$('cache-close').onclick = API.dialog.hide;
|
||||||
|
|
||||||
UI.toolMetric.onclick = updateTool;
|
UI.toolMetric.onclick = updateTool;
|
||||||
UI.toolType.onchange = updateTool;
|
UI.toolType.onchange = updateTool;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
<!-- file load catalog -->
|
<!-- file load catalog -->
|
||||||
<div id="catalog" class="dialog">
|
<div id="catalog" class="dialog">
|
||||||
<div id="catalogBody" class="flow-col">
|
<div id="catalogBody" class="flow-col">
|
||||||
<label id="localCache">recent files</label>
|
<label id="localCache">recent files<button id="cache-close">x</button></label>
|
||||||
<div id="catalogList"></div>
|
<div id="catalogList"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,15 @@ input[type=range]::-moz-focus-outer {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
|
#localCache {
|
||||||
|
border-bottom: 1px solid #ddd !important;
|
||||||
|
padding-bottom: 8px !important;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
#localCache button {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
#widget-info {
|
#widget-info {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue