mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
The new launcher (Windows and Linux: the game's own look, music and settings, saves and mods pages, smaller updates in parts), benchmark mode (Find my best settings: the game tours four places by itself and writes its results), Quit and Restart in the pause menu under Mods, Squadala! in the Mods menu, battle music above 60 fps, menu text, the controller in the menus with the game in the background, the whole GameBanana list, RX 580 and RX 5000/6000 shader fixes, the pipeline cache kept through an update, async present black flashes, and faster builds.
130 lines
8.7 KiB
CSS
130 lines
8.7 KiB
CSS
/* The launcher's own additions on top of the approved look (v3.css) and the prototype's interaction styles (proto.css). */
|
||
|
||
/* no game read yet: no game art anywhere (the crest stands in on the working screens) */
|
||
.noart .gamelogo, .noart .rlogo .aura, .noart .rlogo .glowl, .noart .mini .aura, .noart .logo .aura { display: none; }
|
||
.noart .mini { background: url(img/crest.png) center / 92px no-repeat; }
|
||
.gamelogo[src=""] { visibility: hidden; }
|
||
|
||
/* the bar with nothing to show (benchmark run) */
|
||
.bar.bare { display: none; }
|
||
|
||
/* off buttons: visible, quiet, and they say why when pressed (the launcher sends a toast) */
|
||
.play.off { filter: grayscale(.85) brightness(.6); cursor: not-allowed; }
|
||
.row-set.off { opacity: .5; }
|
||
.row-set.danger b, .row-set.danger em { color: #ff8a92; }
|
||
|
||
/* the reveal's choice rows can be 2 or 3 (NVIDIA: DLSS) */
|
||
.choices { display: grid; gap: 0 40px; }
|
||
.choices > div.bad b, .choices > div.bad small { color: #ff8a92; }
|
||
|
||
/* the working screen */
|
||
.workfoot { position: absolute; left: 64px; bottom: 26px; font-size: 13.5px; color: var(--text3); }
|
||
.workfoot .lnk { color: var(--gold); }
|
||
.workerr { position: absolute; left: 230px; width: 820px; top: 470px; text-align: center; }
|
||
.workerr p { margin-top: 18px; font-size: 14px; color: var(--text3); } .workerr .lnk { color: var(--gold); }
|
||
#s-work.failed .center h1 { color: #ffd6d9; }
|
||
#s-work.failed .nowmusic, #s-work.failed .workfoot { display: none; }
|
||
.drawer { position: absolute; left: 0; right: 0; bottom: 0; height: 0; overflow: hidden; z-index: 12; background: rgba(8, 7, 6, .97);
|
||
border-top: 1px solid rgba(224, 178, 62, .4); transition: height .25s ease; }
|
||
.drawer.open { height: 330px; }
|
||
.drawer .dhead { display: flex; gap: 22px; align-items: baseline; padding: 14px 64px 8px; font-size: 14px; }
|
||
.drawer .dhead b { flex: 1; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 19px; color: var(--gold-hi); }
|
||
.drawer .dhead .lnk { color: var(--gold); cursor: pointer; }
|
||
.drawer pre { margin: 0 64px; height: 270px; overflow: auto; font: 12.5px/1.45 'Cascadia Mono', Consolas, 'DejaVu Sans Mono', monospace; color: var(--text2); white-space: pre-wrap; }
|
||
|
||
/* sheets: lists to choose from and questions */
|
||
.opts.many { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; max-height: 420px; overflow: auto; }
|
||
.opts.many .opt:first-of-type, .opts.many .opt:nth-of-type(2) { margin-top: 18px; }
|
||
.opt.sel > span:last-child::before { content: '\25C6'; color: var(--gold-hi); }
|
||
.asktext { margin-top: 12px; max-height: 360px; overflow: auto; font-size: 14px; color: var(--text2); line-height: 1.5; }
|
||
.asktext p + p { margin-top: 8px; }
|
||
.sheet { width: 600px; }
|
||
|
||
/* saves */
|
||
.sc.empty .p { display: grid; place-items: center; background: rgba(10, 9, 8, .45); }
|
||
.sc.empty .p span { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 18px; color: var(--text3); }
|
||
|
||
/* mods */
|
||
.modtabs { position: absolute; left: 64px; top: 170px; display: flex; gap: 26px; font-size: 15px; color: var(--text3); }
|
||
.modtabs span { padding-bottom: 6px; cursor: pointer; } .modtabs span.on { color: var(--gold-hi); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }
|
||
.search { left: auto !important; right: 64px; top: 160px !important; width: 360px !important; padding: 0 !important; }
|
||
.search input { width: 100%; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; }
|
||
.search input::placeholder { color: var(--text3); }
|
||
.mods { top: 222px !important; max-height: 500px; overflow-y: auto; align-content: start; }
|
||
.mods::-webkit-scrollbar { width: 6px; } .mods::-webkit-scrollbar-thumb { background: rgba(224, 178, 62, .35); }
|
||
.mod { grid-template-columns: 64px 1fr auto !important; gap: 14px; }
|
||
.mod .mi { width: 64px; height: 40px; background-size: cover; background-position: center; outline: 1px solid rgba(224, 178, 62, .3); }
|
||
.mod .mi.none { background: rgba(255, 255, 255, .04); }
|
||
.mod em.offm { color: var(--text3); }
|
||
.mod.more b { color: var(--gold); }
|
||
.modnote { position: absolute; left: 64px; right: 64px; bottom: 26px; font-size: 13.5px; color: var(--text2); }
|
||
.modnote b { color: var(--gold-hi); }
|
||
|
||
/* home with no save yet: no picture, the title alone */
|
||
#s-home.nopic .frame, #s-home.nopic .glow { display: none; }
|
||
|
||
/* in the real window: the bar is the title bar */
|
||
.bar { app-region: drag; -webkit-app-region: drag; }
|
||
.bar .nav a, .bar .state, .bar .spk, .bar .wc span { app-region: no-drag; -webkit-app-region: no-drag; }
|
||
.nochrome .wc { display: none; }
|
||
.hosted #protonote, .hosted #jump { display: none; }
|
||
.choices > div > div { min-width: 0; flex: 1; }
|
||
.choices b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.choices small { display: block; margin: 2px 0 0 !important; }
|
||
.choices .ch { flex: none; margin-left: 18px; }
|
||
.found4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 1100px; left: 90px; right: 90px; }
|
||
.choices label { white-space: nowrap; }
|
||
.choices > div { padding: 16px 22px; }
|
||
|
||
/* settings: a long value (a folder) keeps to its column */
|
||
.row-set > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
/* mods: a description keeps its paragraphs */
|
||
.asktext.modesc { white-space: pre-line; }
|
||
.whatsnew h4 .lnk { font-family: Commissioner, sans-serif; font-style: normal; font-size: 13px; color: var(--gold); margin-left: 4px; }
|
||
.sheet:has(.opts.many) { width: 720px; }
|
||
.opts.many .opt { padding: 12px 14px; }
|
||
.opt > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
/* a long text in a sheet scrolls with the launcher's own thin bar, not the system's */
|
||
.asktext::-webkit-scrollbar { width: 6px; } .asktext::-webkit-scrollbar-thumb { background: rgba(224, 178, 62, .35); }
|
||
.asktext::-webkit-scrollbar-button { display: none; } .asktext { padding-right: 10px; }
|
||
/* settings: the list scrolls inside the page (it is longer than the window) */
|
||
.set { max-height: 572px; overflow-y: auto; padding-right: 14px; }
|
||
.set::-webkit-scrollbar { width: 6px; } .set::-webkit-scrollbar-thumb { background: rgba(224, 178, 62, .35); }
|
||
.opts.grid::-webkit-scrollbar { width: 6px; } .opts.grid::-webkit-scrollbar-thumb { background: rgba(224, 178, 62, .35); }
|
||
/* (Cormorant's old-style figures read "1" as "ı": lining figures everywhere) */
|
||
body { font-variant-numeric: lining-nums; }
|
||
/* Mods: the tabs under the title, not over it */
|
||
.modtabs { top: 216px !important; }
|
||
.search { top: 206px !important; }
|
||
.mods { top: 268px !important; max-height: 470px !important; }
|
||
.whatsnew p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 440px; }
|
||
/* benchmark places without a picture of their own: the hall's warm dark, the name carries it */
|
||
.place.noimg { background: radial-gradient(120% 140% at 30% 0%, #2a2112 0%, #15110b 60%, #0a0908 100%); }
|
||
.place.noimg::after { background: none; }
|
||
/* Settings: Launcher and the game's own tabs */
|
||
.settabs { position: absolute; left: 64px; top: 196px; display: flex; gap: 26px; font-size: 15px; color: var(--text3); }
|
||
.settabs span { padding-bottom: 6px; cursor: pointer; } .settabs span.on { color: var(--gold-hi); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }
|
||
#s-settings .set { top: 246px !important; max-height: 520px !important; overflow-y: auto; padding-right: 12px; }
|
||
.gnote { font-size: 13px; color: var(--text3); margin: 0 0 4px; }
|
||
.row-set.gs .slider { width: 260px; }
|
||
.row-set .gval { min-width: 110px; display: inline-block; }
|
||
#s-settings .benchcard { top: 246px; }
|
||
.dot.grey { background: #8a8578; box-shadow: none; }
|
||
/* benchmark: running, and the results' frame-time lines */
|
||
.brun .bline { margin-top: 10px; font-size: 18px; color: var(--text); }
|
||
.brun .bhint { margin-top: 8px; font-size: 14px; color: var(--text2); max-width: 720px; }
|
||
.place .pg { position: absolute; left: 14px; right: 14px; top: 12px; height: 46px; z-index: 1; }
|
||
.spark { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
|
||
.spark polyline { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
|
||
.spark.b polyline { stroke: var(--emerald); }
|
||
.spark .l60 { stroke: rgba(243, 234, 213, .25); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
|
||
.place .vs { font-style: normal; color: var(--emerald); } .place .vs strong { color: var(--emerald); }
|
||
.place.two { height: 150px; }
|
||
.place > div.two { display: grid; grid-template-columns: 1fr; gap: 2px; align-items: end; }
|
||
.place > div.two b { margin-bottom: 4px; }
|
||
.place > div.two span { display: flex; align-items: baseline; gap: 6px; }
|
||
.place > div.two span i { font-style: normal; font-size: 12.5px; color: var(--text3); min-width: 96px; }
|
||
.place.two .pg { height: 40px; }
|
||
.recs .compare { margin-top: 14px; width: 100%; }
|
||
.recs .act .qlink { white-space: nowrap; }
|