Skip to content
Snippets Groups Projects
Commit 924d0f41 authored by Heider, Martin's avatar Heider, Martin
Browse files

working use cases now: a switch which flips and colors the svg to show on /...

working use cases now: a switch which flips and colors the svg to show on / off, a selector which allows to set a font, icons that show when hovered, with an extra disabled icon.
parent 21e16939
No related branches found
No related tags found
No related merge requests found
svg {
i:has(svg) {
margin: 1rem;
}
i:has(svg):not(.disabled) {
fill: black;
}
svg:hover {
i:has(svg):not(.disabled):hover {
fill: olivedrab;
cursor: pointer;
}
.i {
i:has(svg).disabled {
fill: gray;
}
.i:hover {
fill: red;
i:has(svg).disabled:hover {
cursor: not-allowed;
}
input[type="checkbox"] + label {
......
......@@ -15,8 +15,11 @@ export const Content = `
</form>
<div><div><div><div>
<i class="i">` + i.overview_icon + `</i>
<i>` + i.overview_icon + i.overview_icon + i.overview_icon + `</i>
<i class="disabled">` + i.overview_icon + `</i>
<i>` + i.overview_icon + `</i>
<i>` + i.overview_icon + `</i>
<i>` + i.overview_icon + `</i>
<i>` + i.overview_icon + `</i>
</div></div></div></div>
`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment