Add color for inactive title-bar (#84)

* Add color for inactive title-bar

* add docs

Co-authored-by: xFly.Xie <Fly.Xie@grandsys.com>
This commit is contained in:
xFly_Dragon 2020-05-18 03:14:53 +08:00 committed by GitHub
parent a482a4b6e8
commit 5803325c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View file

@ -554,6 +554,18 @@
<button aria-label="Close"></button>
</div>
</div>
`) %>
<p>
You can make a title bar "inactive" by adding <code>inactive</code> class,
useful when making more than one window.
</p>
<%- example(`
<div class="title-bar inactive">
<div class="title-bar-text">An inactive title bar</div>
<div class="title-bar-controls">
<button aria-label="Close"></button>
</div>
</div>
`) %>
</div>
</section>