1
0
mirror of https://github.com/jdan/98.css.git synced 2026-05-05 06:01:22 +09:00

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
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>