Skip to content

Build your personal knowledge base with Trilium Notes

1.0 KB
Raw Blame
.sync-status {
    box-sizing: border-box;
}

.sync-status .sync-status-icon {
    display: inline-block;
    position: relative;
    top: -5px;
    font-size: 110%;
}

.sync-status .sync-status-sub-icon {
    font-size: 40%;
    position: absolute;
    inset-inline-start: 0;
    top: 16px;
}

.sync-status .sync-status-icon span {
    border: none !important;
}

.sync-status-icon:not(.sync-status-in-progress):hover {
    background-color: var(--hover-item-background-color);
    cursor: pointer;
}

.sync-status-widget {
    position: relative;
    overflow: hidden;
}

.sync-status-widget .sync-status-progress {
    position: absolute;
    bottom: 2px;
    inset-inline: 7px;
    border-radius: 6px;
    overflow: hidden;
    height: 3px;
    background-color: var(--hover-item-background-color);
    pointer-events: none;

    &::after {
        content: "";
        display: block;
        width: var(--sync-progress);
        height: 100%;
        background-color: var(--main-text-color);
        transition: width 200ms ease-out;
    }
}