mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
multiauth
This commit is contained in:
parent
27e714111b
commit
ecfaa7198b
@ -2,10 +2,19 @@
|
|||||||
import FontIcon from '../icons/FontIcon.svelte';
|
import FontIcon from '../icons/FontIcon.svelte';
|
||||||
|
|
||||||
export let collapsed;
|
export let collapsed;
|
||||||
|
export let vertical = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div on:click|stopPropagation class="collapseButtonMarker">
|
<div on:click|stopPropagation class="collapseButtonMarker">
|
||||||
<FontIcon icon={collapsed ? 'icon triple-right' : 'icon triple-left'} />
|
<FontIcon
|
||||||
|
icon={collapsed
|
||||||
|
? vertical
|
||||||
|
? 'icon triple-down'
|
||||||
|
: 'icon triple-right'
|
||||||
|
: vertical
|
||||||
|
? 'icon triple-up'
|
||||||
|
: 'icon triple-left'}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@ -17,10 +26,12 @@
|
|||||||
top: 4px;
|
top: 4px;
|
||||||
background-color: var(--theme-bg-1);
|
background-color: var(--theme-bg-1);
|
||||||
border: 1px solid var(--theme-bg-1); */
|
border: 1px solid var(--theme-bg-1); */
|
||||||
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div:hover {
|
div:hover {
|
||||||
color: var(--theme-font-hover);
|
color: var(--theme-font-hover);
|
||||||
border: 1px solid var(--theme-font-1);
|
border: 1px solid var(--theme-font-1);
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -89,6 +89,8 @@
|
|||||||
'icon arrow-right-bold': 'mdi mdi-arrow-right-bold',
|
'icon arrow-right-bold': 'mdi mdi-arrow-right-bold',
|
||||||
'icon triple-left': 'mdi mdi-chevron-triple-left',
|
'icon triple-left': 'mdi mdi-chevron-triple-left',
|
||||||
'icon triple-right': 'mdi mdi-chevron-triple-right',
|
'icon triple-right': 'mdi mdi-chevron-triple-right',
|
||||||
|
'icon triple-up': 'mdi mdi-chevron-triple-up',
|
||||||
|
'icon triple-down': 'mdi mdi-chevron-triple-down',
|
||||||
'icon format-code': 'mdi mdi-code-tags-check',
|
'icon format-code': 'mdi mdi-code-tags-check',
|
||||||
'icon show-wizard': 'mdi mdi-comment-edit',
|
'icon show-wizard': 'mdi mdi-comment-edit',
|
||||||
'icon disconnected': 'mdi mdi-lan-disconnect',
|
'icon disconnected': 'mdi mdi-lan-disconnect',
|
||||||
|
Loading…
Reference in New Issue
Block a user