New launcher stylesheets and texts

This commit is contained in:
Dakedres 2024-04-22 13:51:51 -06:00
parent 2e758b2570
commit 33227ec881
2 changed files with 35 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"app": { "app": {
"id": "xash", "id": "xash",
"categories": "Game", "categories": "Game",
"version": "0.0.0b" "version": "0.1.0b"
}, },
"emf": { "emf": {
"id": "emf", "id": "emf",
@ -13,6 +13,12 @@
"modPath": "/a/.config/xash/mods/", "modPath": "/a/.config/xash/mods/",
"saves": "/a/.config/xash/saves/" "saves": "/a/.config/xash/saves/"
}, },
"storage": {
"baseKey": ".config/xash/saves",
"objectsInFilesystem": {
"ext": ".jso"
}
},
"manifestScheme": { "manifestScheme": {
"definitions": {}, "definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
@ -67,5 +73,11 @@
"pattern": "^.*$" "pattern": "^.*$"
} }
} }
},
"messages": {
"noMods": {
"header": "No mods installed",
"content": "You will need to install a mod to run with Xash93D. You can open the mods folder with the button below."
}
} }
} }

View File

@ -22,6 +22,10 @@
padding: 0; padding: 0;
} }
.xash3d_launcher .notice {
padding: 2px 10px;
}
.xash3d_launcher .mod { .xash3d_launcher .mod {
margin-bottom: 6px; margin-bottom: 6px;
} }
@ -40,8 +44,7 @@
margin: 2px 0 2px 5px; margin: 2px 0 2px 5px;
} }
.xash3d_launcher .info h5 { .xash3d_launcher .info h4 {
font-size: 8px;
margin: 0 margin: 0
} }
@ -63,6 +66,23 @@
opacity: .6; opacity: .6;
} }
.xash3d_launcher ~ footer div {
padding: 2px 1px 1px 1px;
vertical-align: middle;
}
.xash3d_launcher ~ footer .version {
color: #555;
}
.xash3d_launcher ~ footer .controls {
float: right;
}
.xash3d_launcher ~ footer button {
margin-left: 5px;
}
span.ui_menu__item__ico > img[src="/c/sys/skins/w93/xash"], span.ui_menu__item__ico > img[src="/c/sys/skins/w93/xash"],
div.ui_icon__file img[src="/c/sys/skins/w93/xash"] { div.ui_icon__file img[src="/c/sys/skins/w93/xash"] {
display: block; display: block;