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

Add class alts for aria-labels

Fixes #91
This commit is contained in:
Vincent Langlois
2024-01-21 11:16:50 -05:00
parent 09f403c086
commit 46f66b6be7
2 changed files with 48 additions and 6 deletions

View File

@@ -254,31 +254,36 @@ input[type="reset"]:disabled,
outline: none;
}
.title-bar-controls button[aria-label="Minimize"] {
.title-bar-controls button[aria-label="Minimize"],
.title-bar-controls button.minimize {
background-image: svg-load("./icon/minimize.svg");
background-repeat: no-repeat;
background-position: bottom 3px left 4px;
}
.title-bar-controls button[aria-label="Maximize"] {
.title-bar-controls button[aria-label="Maximize"],
.title-bar-controls button.maximize {
background-image: svg-load("./icon/maximize.svg");
background-repeat: no-repeat;
background-position: top 2px left 3px;
}
.title-bar-controls button[aria-label="Restore"] {
.title-bar-controls button[aria-label="Restore"],
.title-bar-controls button.restore {
background-image: svg-load("./icon/restore.svg");
background-repeat: no-repeat;
background-position: top 2px left 3px;
}
.title-bar-controls button[aria-label="Help"] {
.title-bar-controls button[aria-label="Help"],
.title-bar-controls button.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"] {
.title-bar-controls button[aria-label="Close"],
.title-bar-controls button.close {
margin-left: 2px;
background-image: svg-load("./icon/close.svg");
background-repeat: no-repeat;