fix: preserve SSO identities and polish sharing interface

This commit is contained in:
SantaSpeen committed 2026-10-21 21:47:13 +03:00
1 parent 2e3b56f250
commit bd9bf33bc9
22 files changed
+430 -106

No files matched your search

+155
View File
@@ -1,4 +1,159 @@
/* Lightweight workspace: system fonts, solid surfaces, no blur or filter layers. */
.user-record-id {
display: block;
color: var(--textPrimary);
font-size: 11px;
}
.without-sidebar main {
width: auto;
max-width: 1200px;
margin: 0 auto 24px;
padding-inline: 24px;
}
.without-sidebar .menu-button {
display: none;
}
.sidebar-profile {
display: inline-flex;
flex-direction: column;
min-width: 0;
max-width: calc(100% - 38px);
}
.sidebar-profile strong,
.sidebar-profile small {
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-profile small {
color: var(--textPrimary);
font-weight: 400;
font-size: 11px;
}
nav .disk-usage {
margin: 28px 4px 12px;
padding: 14px;
border: 1px solid var(--borderPrimary);
border-radius: 12px;
background: var(--background);
}
.disk-usage-heading {
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--textSecondary);
}
.disk-usage progress {
display: block;
width: 100%;
height: 6px;
margin: 10px 0;
border: 0;
border-radius: 8px;
overflow: hidden;
background: var(--borderPrimary);
accent-color: var(--blue);
}
.disk-usage progress::-webkit-progress-bar {
background: var(--borderPrimary);
}
.disk-usage progress::-webkit-progress-value {
background: var(--blue);
border-radius: 8px;
}
.disk-usage progress::-moz-progress-bar {
background: var(--blue);
border-radius: 8px;
}
.disk-usage small {
display: block;
font-size: 11px;
color: var(--textPrimary);
}
.profile-summary {
display: flex;
flex-direction: column;
gap: 4px;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid var(--divider);
overflow-wrap: anywhere;
}
.profile-summary strong {
font-size: 20px;
color: var(--textSecondary);
}
#share.card {
width: min(620px, calc(100vw - 32px));
max-width: calc(100vw - 32px);
}
#share .card-content {
padding: 20px;
}
.share-links {
display: grid;
gap: 12px;
}
.share-link-card {
padding: 14px;
border: 1px solid var(--borderPrimary);
border-radius: 10px;
background: var(--background);
}
.share-link-details {
min-width: 0;
}
.share-link-name {
display: block;
overflow-wrap: anywhere;
color: var(--textSecondary);
font-weight: 600;
}
.share-link-details small {
display: flex;
align-items: center;
gap: 6px;
margin-top: 7px;
color: var(--textPrimary);
}
.share-link-details small i {
font-size: 16px;
}
.share-link-actions {
display: flex;
justify-content: flex-end;
gap: 6px;
margin-top: 8px;
}
.share-link-actions .action {
border: 1px solid var(--borderPrimary);
border-radius: 8px;
width: 38px;
height: 36px;
padding: 4px;
}
.share-link-actions .action:hover {
background: var(--hover);
}
.share-link-actions .share-link-delete {
color: var(--red);
}
.share-link-actions .action:disabled {
opacity: 0.4;
cursor: default;
}
.share__box__info {
max-width: 560px;
}
.share__box__center svg {
max-width: min(240px, 100%);
height: auto;
padding: 12px;
background: white;
border-radius: 10px;
}
.share__box__icon i {
font-size: 80px;
}
:root {
--blue: #3563e9;
--dark-blue: #244bc2;