feat: simplify public shares and add compact link management
This commit is contained in:
1 parent
5dda0dc5f3
commit
7fc7465f71
15 files changed
+417
-273
No files matched your search
@@ -1,4 +1,117 @@
|
||||
/* Lightweight workspace: system fonts, solid surfaces, no blur or filter layers. */
|
||||
.share-option {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: 10px;
|
||||
background: var(--background);
|
||||
}
|
||||
.share-option-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
.share-option-toggle input {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
accent-color: var(--blue);
|
||||
}
|
||||
.share-expiration-fields {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(80px, 1fr) minmax(110px, 2fr);
|
||||
gap: 10px;
|
||||
}
|
||||
.share-expiration-fields .input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.shares-table-wrap {
|
||||
overflow-x: auto;
|
||||
}
|
||||
.card-content .shares-table {
|
||||
table-layout: fixed;
|
||||
min-width: 780px;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.shares-table th,
|
||||
.shares-table td {
|
||||
padding: 12px 14px;
|
||||
text-align: start;
|
||||
vertical-align: middle;
|
||||
border-bottom: 1px solid var(--borderPrimary);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.shares-table th {
|
||||
font-size: 12px;
|
||||
color: var(--textPrimary);
|
||||
font-weight: 500;
|
||||
}
|
||||
.shares-table th:first-child {
|
||||
width: 40%;
|
||||
}
|
||||
.shares-table th:last-child {
|
||||
width: 154px;
|
||||
}
|
||||
.shares-table td {
|
||||
font-size: 13px;
|
||||
}
|
||||
.shares-table tbody tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.shares-table .share-link-actions {
|
||||
margin: 0;
|
||||
}
|
||||
.shares-table .share-link-actions .action {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
flex-basis: 34px;
|
||||
}
|
||||
.shares-table .managed-share-key {
|
||||
font-size: 11px;
|
||||
}
|
||||
.visually-hidden {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.share-download-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 20px;
|
||||
}
|
||||
.share__box__element .share-download-primary {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 48px;
|
||||
padding: 12px 18px;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
background: var(--blue);
|
||||
color: var(--surfacePrimary);
|
||||
text-decoration: none;
|
||||
}
|
||||
.share__box__element .share-download-primary i {
|
||||
display: block;
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
}
|
||||
.share__box__element .share-download-primary:hover {
|
||||
background: var(--dark-blue);
|
||||
}
|
||||
.dashboard .row.share-management > .column {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
|
||||
Reference in new issue
Block a user