@forward "../shared/workspace";

body {
    --vault-profile-color: var(--workspace-foreground-faint);
    --vault-profile-color-hover: var(--workspace-foreground-muted);
}

.workspace-sidedock-vault-profile {
    --icon-color: var(--workspace-foreground-muted);
    --icon-color-hover: var(--workspace-foreground);
    --icon-opacity: var(--icon-opacity-inactive);
    --icon-opacity-hover: 1;
}

body:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
    background: none;
}

body:not(.is-mobile)
    .workspace-split.mod-left-split
    .workspace-sidedock-vault-profile
    .workspace-drawer-vault-switcher-icon {
    color: var(--workspace-foreground-faint);
}

@media (hover: hover) {
    body:not(.is-mobile)
        .workspace-split.mod-left-split
        .workspace-sidedock-vault-profile
        .workspace-drawer-vault-switcher:hover
        .workspace-drawer-vault-switcher-icon {
        color: var(--workspace-foreground-muted);
    }
}

body:not(.is-mobile).fas-vault-menu-top {
    .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
        order: -1;
        padding-bottom: 0;
    }
    .mod-sidedock.mod-left-split {
        padding-bottom: 6px;
    }
}
