chore: cleanup
This commit is contained in:
parent
60aa0cb96e
commit
076dfb3752
2 changed files with 11 additions and 7 deletions
|
|
@ -1287,7 +1287,7 @@ export default function Layout(props: ParentProps) {
|
||||||
</div>
|
</div>
|
||||||
<div class="shrink-0 w-full pt-3 pb-3 flex flex-col items-center gap-2">
|
<div class="shrink-0 w-full pt-3 pb-3 flex flex-col items-center gap-2">
|
||||||
<Tooltip placement={sidebarProps.mobile ? "bottom" : "right"} value="Settings">
|
<Tooltip placement={sidebarProps.mobile ? "bottom" : "right"} value="Settings">
|
||||||
<IconButton icon="settings-gear" variant="ghost" size="large" onClick={command.show} />
|
<IconButton disabled icon="settings-gear" variant="ghost" size="large" />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip placement={sidebarProps.mobile ? "bottom" : "right"} value="Help">
|
<Tooltip placement={sidebarProps.mobile ? "bottom" : "right"} value="Help">
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,12 @@
|
||||||
[data-slot="icon-svg"] {
|
[data-slot="icon-svg"] {
|
||||||
color: var(--icon-strong-base);
|
color: var(--icon-strong-base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
background-color: var(--icon-strong-disabled);
|
||||||
|
color: var(--icon-invert-base);
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-variant="ghost"] {
|
&[data-variant="ghost"] {
|
||||||
|
|
@ -99,6 +105,10 @@
|
||||||
/* color: var(--icon-selected); */
|
/* color: var(--icon-selected); */
|
||||||
/* } */
|
/* } */
|
||||||
}
|
}
|
||||||
|
&:disabled {
|
||||||
|
color: var(--icon-invert-base);
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-size="normal"] {
|
&[data-size="normal"] {
|
||||||
|
|
@ -129,12 +139,6 @@
|
||||||
letter-spacing: var(--letter-spacing-normal);
|
letter-spacing: var(--letter-spacing-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled {
|
|
||||||
background-color: var(--icon-strong-disabled);
|
|
||||||
color: var(--icon-invert-base);
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue