2023-05-15 06:58:12 +00:00
|
|
|
<button vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1683622560 " + c.classes}' @click="c.handleClick(event)">
|
2023-05-12 10:57:42 +00:00
|
|
|
<vg-comp expr="c.SymbolSlot"></vg-comp><vg-comp expr="c.DefaultSlot"></vg-comp>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.d3c-1683622560 {
|
|
|
|
display: flex;
|
2023-05-15 08:22:29 +00:00
|
|
|
align-items: center;
|
2023-05-17 10:34:48 +00:00
|
|
|
gap: 0.5em;
|
2023-05-12 10:57:42 +00:00
|
|
|
text-decoration: none;
|
2023-05-16 16:10:24 +00:00
|
|
|
padding: 0.3em 0.5em;
|
2023-05-15 08:22:29 +00:00
|
|
|
margin: 0.5em 0;
|
2023-05-12 10:57:42 +00:00
|
|
|
border-radius: 4px;
|
2023-05-18 11:55:48 +00:00
|
|
|
border: 1px solid var(--d3c-color-border);
|
|
|
|
background-color: var(--d3c-color-background);
|
|
|
|
color: var(--d3c-color-text);
|
2023-05-12 10:57:42 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-05-15 08:22:29 +00:00
|
|
|
font-size: 1em;
|
|
|
|
font-family: "Segoe UI", sans-serif;
|
2023-05-17 10:34:48 +00:00
|
|
|
min-height: 2em;
|
2023-05-15 09:24:25 +00:00
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2023-05-17 10:34:48 +00:00
|
|
|
.d3c-1683622560.d3c-button-vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-05-15 09:24:25 +00:00
|
|
|
.d3c-1633357633-sidebar .d3c-1683622560, .d3c-1633357633-menu .d3c-1683622560 {
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
2023-05-12 10:57:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.d3c-1683622560:hover {
|
2023-05-18 11:55:48 +00:00
|
|
|
background-color: var(--d3c-color-hovered);
|
2023-05-12 10:57:42 +00:00
|
|
|
}
|
|
|
|
|
2023-05-15 09:24:25 +00:00
|
|
|
.d3c-1683622560:active {
|
2023-05-18 11:55:48 +00:00
|
|
|
background-color: var(--d3c-color-clicked);
|
2023-05-12 10:57:42 +00:00
|
|
|
}
|
|
|
|
|
2023-05-15 09:24:25 +00:00
|
|
|
.d3c-1683622560-selected {
|
2023-05-18 11:55:48 +00:00
|
|
|
background-color: var(--d3c-color-selected) !important;
|
2023-05-15 09:24:25 +00:00
|
|
|
}
|
|
|
|
|
2023-05-12 10:57:42 +00:00
|
|
|
.d3c-1633357633-sidebar-minimized .d3c-1683622560 > *:not(:first-child) {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-05-15 06:58:12 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="application/x-go">
|
|
|
|
import (
|
|
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
|
|
)
|
|
|
|
</script>
|