mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 00:23:14 +00:00
Misc UI tweak
This commit is contained in:
@@ -102,6 +102,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
sts-button.active {
|
||||
background: #7A2C34E3;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
// Hierarchy (TODO: Probably move this)
|
||||
.hierarchy {
|
||||
overflow: auto;
|
||||
|
||||
@@ -13,6 +13,7 @@ import {
|
||||
import { match } from "@storyteller/utility";
|
||||
import { LitElement, html, unsafeCSS } from "lit";
|
||||
import { customElement, state } from "lit/decorators.js";
|
||||
import { classMap } from "lit/directives/class-map.js";
|
||||
|
||||
import "./button.element";
|
||||
import "./help.element";
|
||||
@@ -217,6 +218,7 @@ export class AppElement extends LitElement {
|
||||
Save Scene
|
||||
</sts-button>
|
||||
<sts-button
|
||||
class=${classMap({ active: this.showHelp })}
|
||||
icon="circle-info"
|
||||
@click=${this.toggleHelp}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user