mirror of
https://github.com/jdan/98.css.git
synced 2025-09-09 05:30:49 +02:00
Add help title-bar button (#72)
* newlines * add now.json * add newlines * remove now.json * re-add now.json with version field
This commit is contained in:
@@ -496,6 +496,16 @@
|
||||
<button aria-label="Close"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="title-bar">
|
||||
<div class="title-bar-text">A Helpful Bar</div>
|
||||
<div class="title-bar-controls">
|
||||
<button aria-label="Help"></button>
|
||||
<button aria-label="Close"></button>
|
||||
</div>
|
||||
</div>
|
||||
`) %>
|
||||
</div>
|
||||
</section>
|
||||
|
8
icon/help.svg
Normal file
8
icon/help.svg
Normal file
@@ -0,0 +1,8 @@
|
||||
<svg width="6" height="9" viewBox="0 0 6 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect y="1" width="2" height="2" fill="black"/>
|
||||
<rect x="1" width="4" height="1" fill="black"/>
|
||||
<rect x="4" y="1" width="2" height="2" fill="black"/>
|
||||
<rect x="3" y="3" width="2" height="1" fill="black"/>
|
||||
<rect x="2" y="4" width="2" height="2" fill="black"/>
|
||||
<rect x="2" y="7" width="2" height="2" fill="black"/>
|
||||
</svg>
|
After Width: | Height: | Size: 411 B |
@@ -219,6 +219,12 @@ button::-moz-focus-inner {
|
||||
background-position: top 2px left 3px;
|
||||
}
|
||||
|
||||
.title-bar-controls button[aria-label="Help"] {
|
||||
background-image: svg-load("./icon/help.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: top 2px left 5px;
|
||||
}
|
||||
|
||||
.title-bar-controls button[aria-label="Close"] {
|
||||
margin-left: 2px;
|
||||
background-image: svg-load("./icon/close.svg");
|
||||
|
Reference in New Issue
Block a user