Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
$sync-clients-panel-padding-y: 0.85rem;
$sync-clients-panel-padding-x: 0.95rem;
$sync-clients-icon-col-width: 1rem;
$sync-clients-icon-col-gap: 0.45rem;
$sync-path-rail-padding: 0.45rem;
$sync-client-card-radius: 0.9rem;
.app-sync-clients {
--sync-client-card-shadow: none;
--sync-client-card-selected-border: transparent;
--sync-client-details-border: transparent;
--sync-client-details-bg: transparent;
--sync-client-subtle-color: inherit;
--sync-client-path-empty-border: transparent;
--sync-client-path-empty-bg: transparent;
--sync-path-actions-separator: transparent;
--sync-path-border: transparent;
--sync-path-hover-border: transparent;
--sync-path-hover-bg: transparent;
font-size: calc(var(--font-size-base) * 0.832);
display: flex;
flex-direction: column;
gap: 0.75rem;
flex: 1 1 auto !important;
padding: 0.6rem;
overflow: auto;
.sync-client-card {
margin: 0;
border-radius: $sync-client-card-radius;
overflow: visible;
cursor: default;
transition: box-shadow 0.16s ease, border-color 0.16s ease;
box-shadow: var(--sync-client-card-shadow);
}
.sync-client-card > .card-body {
border-radius: inherit;
}
.sync-client-card--selected {
border-color: var(--sync-client-card-selected-border);
}
.sync-client-layout {
display: grid;
grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
border-radius: inherit;
min-width: 0;
}
.sync-client-details {
padding: $sync-clients-panel-padding-y $sync-clients-panel-padding-x;
border-right: 1px solid var(--sync-client-details-border);
background: var(--sync-client-details-bg);
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
min-width: 0;
}
.sync-client-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.65rem;
margin-bottom: 0.8rem;
}
.sync-client-title {
font-size: calc(var(--font-size-base) * 1.0453333);
font-weight: 600;
line-height: 1.2;
}
.sync-client-subtitle {
font-size: var(--font-size-xs);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.sync-client-subtitle,
.sync-client-paths-header {
color: var(--sync-client-subtle-color);
}
.sync-client-current-indicator {
fill: currentColor;
}
.sync-client-meta-line {
display: flex;
align-items: center;
min-width: 0;
font-size: var(--font-size-sm);
> .lucide {
font-size: calc(var(--font-size-base) * 1.024);
margin-right: $sync-clients-icon-col-gap;
}
}
.sync-client-meta-line + .sync-client-meta-line {
margin-top: 0.2rem;
}
.osIcon {
font-size: calc(var(--font-size-base) * 1.152);
margin-right: $sync-clients-icon-col-gap;
width: $sync-clients-icon-col-width;
min-width: $sync-clients-icon-col-width;
flex: 0 0 $sync-clients-icon-col-width;
text-align: center;
}
.sync-client-paths {
display: flex;
flex-direction: column;
gap: 0.45rem;
padding: $sync-clients-panel-padding-y $sync-clients-panel-padding-x;
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
min-width: 0;
}
.sync-client-paths-header {
display: flex;
align-items: center;
justify-content: space-between;
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: var(--font-size-xs);
font-weight: 600;
padding: 0 0.15rem;
}
.sync-path-card {
cursor: default;
margin: 0;
border-color: var(--sync-path-border);
border-radius: 0.7rem;
}
.sync-path-card.dialog-check-card--interactive:hover {
background: var(--sync-path-hover-bg);
border-color: var(--sync-path-hover-border);
box-shadow: 0 2px 5px rgb(0 0 0 / 8%);
}
.sync-path-image {
height: 36px;
width: 36px;
object-fit: contain;
flex-shrink: 0;
}
.sync-path-row {
min-height: 58px;
}
.sync-path-main {
min-width: 0;
flex: 1 1 auto;
}
.sync-path-badges {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
gap: 0.5rem;
padding-right: $sync-path-rail-padding;
height: 100%;
flex-shrink: 0;
}
.sync-path-side {
display: flex;
align-items: stretch;
margin-left: 0.4rem;
align-self: stretch;
flex-shrink: 0;
}
.sync-path-actions {
display: flex;
align-self: stretch;
align-items: center;
justify-content: flex-end;
gap: 0.25rem;
padding-left: $sync-path-rail-padding;
border-left: 1px solid var(--sync-path-actions-separator);
}
.sync-client-path-empty {
padding: 0.7rem 0.35rem;
text-align: center;
font-size: var(--font-size-sm);
border-radius: 0.65rem;
border: 1px dashed var(--sync-client-path-empty-border);
background: var(--sync-client-path-empty-bg);
}
@media (max-width: 991.98px) {
.sync-client-layout {
grid-template-columns: minmax(0, 1fr);
}
.sync-client-details {
border-right: 0;
border-bottom: 1px solid var(--sync-client-details-border);
border-bottom-left-radius: 0;
border-top-right-radius: inherit;
}
.sync-client-paths {
border-top-right-radius: 0;
border-bottom-left-radius: inherit;
}
}
@media (max-width: 767.98px) {
.sync-path-side {
margin-left: 0.25rem;
}
}
@media (max-width: 575.98px) {
.sync-client-details,
.sync-client-paths {
padding: 0.75rem;
}
.sync-client-title {
font-size: calc(var(--font-size-base) * 0.96);
}
.sync-path-row {
flex-wrap: wrap;
align-items: flex-start !important;
gap: 0.45rem;
white-space: normal !important;
overflow: visible !important;
text-overflow: clip !important;
}
.sync-path-main {
flex: 1 1 100%;
}
.sync-path-side {
width: 100%;
margin-left: 0;
flex-direction: column;
align-items: stretch;
gap: 0.35rem;
.sync-path-badges {
align-items: flex-start;
flex-direction: row;
flex-wrap: wrap;
gap: 0.35rem;
padding-right: 0;
height: auto;
justify-content: flex-start;
}
.sync-path-actions {
border-left: 0;
padding-left: 0;
width: 100%;
justify-content: flex-end;
}
}
}
}
:host-context(body.theme-light) .app-sync-clients {
--sync-path-border: #b6c9df;
--sync-path-hover-border: rgb(52 94 146 / 48%);
}
:host-context(body.theme-dark) .app-sync-clients {
--sync-path-border: #455b65;
--sync-path-hover-border: rgb(146 173 204 / 40%);
}