Improve UI

This commit is contained in:
DanyLE 2022-12-16 21:17:20 +01:00 committed by Dany LE
parent e1c1895070
commit bc77329294
3 changed files with 4 additions and 3 deletions

View File

@ -472,7 +472,7 @@ namespace OS {
.css("user-select", "none") .css("user-select", "none")
.css("cursor", "default"); .css("cursor", "default");
$(this.refs.dragger).on("pointerdown", (e) => { $(this.refs.dragger).on("pointerdown", (e) => {
//e.preventDefault(); e.originalEvent.preventDefault();
const offset = $(this).offset(); const offset = $(this).offset();
offset.top = e.clientY - offset.top; offset.top = e.clientY - offset.top;
offset.left = e.clientX - offset.left; offset.left = e.clientX - offset.left;

View File

@ -26,6 +26,7 @@ afx-app-window[data-id="marketplace-win"] ul[data-id='app-detail'] {
} }
afx-app-window[data-id="marketplace-win"] afx-tab-bar { afx-app-window[data-id="marketplace-win"] afx-tab-bar {
border-top: 1px solid #c3c3c3; border-top: 1px solid #c3c3c3;
border-bottom: 1px solid #c3c3c3;
} }
afx-app-window[data-id="marketplace-win"] afx-hbox[data-id="search-container"] input{ afx-app-window[data-id="marketplace-win"] afx-hbox[data-id="search-container"] input{
border: 0; border: 0;
@ -117,7 +118,7 @@ afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"] afx-l
afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"] > div.list-container > ul li:hover { afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"] > div.list-container > ul li:hover {
background-color: transparent; background-color: transparent;
} }
afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"]> div.list-container > ul .afx-list-item:nth-child(even) li afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"]> div.list-container > ul .afx-list-item li
{ {
background-color: transparent; background-color: transparent;
} }

View File

@ -16,7 +16,7 @@
<afx-vbox data-id = "container"> <afx-vbox data-id = "container">
<afx-hbox data-height = "35" data-id="app-header"> <afx-hbox data-height = "35" data-id="app-header">
<afx-button data-id = "appname" iconclass = "bi bi-backspace-fill"></afx-button> <afx-button data-id = "appname" iconclass = "bi bi-backspace-fill"></afx-button>
<div style = "display: flex;justify-content: end;"> <div style = "display: flex;justify-content: flex-end;">
<afx-button data-id = "bt-remove" text = "__(Uninstall)" iconclass = "bi bi-trash-fill"></afx-button> <afx-button data-id = "bt-remove" text = "__(Uninstall)" iconclass = "bi bi-trash-fill"></afx-button>
<afx-button data-id = "bt-exec" text = "__(Launch)" iconclass = "fa fa-cog"></afx-button> <afx-button data-id = "bt-exec" text = "__(Launch)" iconclass = "fa fa-cog"></afx-button>
<afx-button data-id = "bt-install" text = "__(Install)" iconclass = "bi bi-cloud-download-fill" ></afx-button> <afx-button data-id = "bt-install" text = "__(Install)" iconclass = "bi bi-cloud-download-fill" ></afx-button>