feat: add SSO workspace, named shares and Debian release tooling
This commit is contained in:
1 parent
833d908884
commit
87bc33e675
106 files changed
+4160
-5637
No files matched your search
@@ -0,0 +1,400 @@
|
||||
/* Lightweight workspace: system fonts, solid surfaces, no blur or filter layers. */
|
||||
:root {
|
||||
--blue: #3563e9;
|
||||
--dark-blue: #244bc2;
|
||||
--background: #f4f6fa;
|
||||
--surfacePrimary: #fff;
|
||||
--surfaceSecondary: #edf1f8;
|
||||
--textPrimary: #64718a;
|
||||
--textSecondary: #202b40;
|
||||
--borderPrimary: #e2e7f0;
|
||||
--borderSecondary: #c9d2e3;
|
||||
--divider: #e9edf4;
|
||||
--hover: #edf2ff;
|
||||
--action: #53617a;
|
||||
--iconPrimary: #5375da;
|
||||
--workspace-radius: 12px;
|
||||
}
|
||||
:root.dark {
|
||||
--blue: #88a7ff;
|
||||
--dark-blue: #6c92f2;
|
||||
--background: #10151f;
|
||||
--surfacePrimary: #19212f;
|
||||
--surfaceSecondary: #242f42;
|
||||
--textPrimary: #a0adc3;
|
||||
--textSecondary: #e7edf8;
|
||||
--borderPrimary: #2a3549;
|
||||
--borderSecondary: #44516a;
|
||||
--divider: #2a3549;
|
||||
--hover: #273650;
|
||||
--action: #b1bed5;
|
||||
--iconPrimary: #9bb8ff;
|
||||
}
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font: inherit;
|
||||
}
|
||||
button,
|
||||
a,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--blue);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
header {
|
||||
box-shadow: none;
|
||||
padding-inline: 18px;
|
||||
border-bottom: 1px solid var(--borderPrimary);
|
||||
}
|
||||
header img {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.workspace-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 13em;
|
||||
font-size: 16px;
|
||||
font-weight: 650;
|
||||
letter-spacing: -0.4px;
|
||||
}
|
||||
.workspace-brand i {
|
||||
padding: 7px;
|
||||
border-radius: 9px;
|
||||
background: var(--hover);
|
||||
color: var(--blue);
|
||||
font-size: 22px;
|
||||
}
|
||||
.workspace-overview {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 8px 0 24px;
|
||||
}
|
||||
.workspace-overview h1 {
|
||||
font-size: 28px;
|
||||
line-height: 1.2;
|
||||
margin: 6px 0 0;
|
||||
letter-spacing: -0.8px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.workspace-count {
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: 20px;
|
||||
padding: 5px 12px;
|
||||
color: var(--textPrimary);
|
||||
font-size: 12px;
|
||||
}
|
||||
.share__box {
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: 12px;
|
||||
box-shadow: none;
|
||||
}
|
||||
header .action {
|
||||
border-radius: 9px;
|
||||
}
|
||||
header .action:hover,
|
||||
nav .action:hover {
|
||||
background: var(--hover);
|
||||
}
|
||||
nav {
|
||||
padding: 22px 12px 12px;
|
||||
border-inline-end: 1px solid var(--borderPrimary);
|
||||
background: var(--surfacePrimary);
|
||||
}
|
||||
nav .action {
|
||||
border-radius: 9px;
|
||||
padding: 11px 14px;
|
||||
font-size: 14px;
|
||||
margin-block: 3px;
|
||||
text-align: start;
|
||||
}
|
||||
nav .action i {
|
||||
font-size: 21px;
|
||||
margin-inline-end: 10px;
|
||||
}
|
||||
nav > div {
|
||||
border-top: 0;
|
||||
margin-top: 18px;
|
||||
}
|
||||
nav > .action:first-of-type {
|
||||
background: var(--surfaceSecondary);
|
||||
font-weight: 600;
|
||||
}
|
||||
nav #logout {
|
||||
margin-top: 26px;
|
||||
}
|
||||
nav .credits {
|
||||
font-size: 11px;
|
||||
color: var(--textPrimary);
|
||||
}
|
||||
main {
|
||||
margin: 0 24px 24px auto;
|
||||
width: calc(100% - 19em);
|
||||
}
|
||||
.breadcrumbs {
|
||||
height: 64px;
|
||||
font-size: 13px;
|
||||
border: 0;
|
||||
}
|
||||
.breadcrumbs a {
|
||||
border-radius: 6px;
|
||||
}
|
||||
#listing.list {
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: var(--workspace-radius);
|
||||
overflow: hidden;
|
||||
background: var(--surfacePrimary);
|
||||
}
|
||||
main #listing.list {
|
||||
min-height: 0;
|
||||
}
|
||||
#listing.list .item {
|
||||
padding: 11px 16px;
|
||||
min-height: 58px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--divider);
|
||||
}
|
||||
#listing.list .item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
#listing .item .name {
|
||||
color: var(--textSecondary);
|
||||
font-weight: 500;
|
||||
}
|
||||
#listing .item .size,
|
||||
#listing .item .modified {
|
||||
font-size: 12px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
#listing .item[aria-selected="true"] .name {
|
||||
color: inherit;
|
||||
}
|
||||
#listing .item:hover {
|
||||
background: var(--hover);
|
||||
}
|
||||
#listing.mosaic .item {
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: var(--workspace-radius);
|
||||
padding: 16px;
|
||||
box-shadow: none;
|
||||
}
|
||||
#listing.mosaic .item:hover {
|
||||
box-shadow: none !important;
|
||||
border-color: var(--blue);
|
||||
}
|
||||
#listing.mosaic .item i {
|
||||
font-size: 42px;
|
||||
}
|
||||
@supports (content-visibility: auto) {
|
||||
#listing.list .item {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 58px;
|
||||
}
|
||||
}
|
||||
.card {
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: var(--workspace-radius);
|
||||
box-shadow: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
.card-title {
|
||||
padding: 20px 24px;
|
||||
border-bottom: 1px solid var(--divider);
|
||||
}
|
||||
.card-title h2 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.3px;
|
||||
}
|
||||
.card-content {
|
||||
padding: 20px 24px;
|
||||
}
|
||||
.card-action {
|
||||
border-top: 1px solid var(--divider);
|
||||
padding: 12px 20px;
|
||||
}
|
||||
.card.floating {
|
||||
box-shadow: 0 16px 56px #0003;
|
||||
}
|
||||
.input,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
select {
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--borderSecondary);
|
||||
background: var(--surfacePrimary);
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
.input:focus,
|
||||
input:focus,
|
||||
select:focus {
|
||||
border-color: var(--blue);
|
||||
}
|
||||
.button {
|
||||
border-radius: 8px;
|
||||
text-transform: none;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: wait;
|
||||
}
|
||||
.share-key-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
border: 1px solid var(--borderSecondary);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.share-key-field span {
|
||||
padding: 10px 12px;
|
||||
color: var(--textPrimary);
|
||||
background: var(--surfaceSecondary);
|
||||
}
|
||||
.share-key-field .input {
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.field-hint {
|
||||
font-size: 12px;
|
||||
color: var(--textPrimary);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.sso-welcome {
|
||||
margin: 8vh auto 40px;
|
||||
padding: 42px 32px;
|
||||
width: calc(100% - 32px);
|
||||
max-width: 440px;
|
||||
text-align: center;
|
||||
background: var(--surfacePrimary);
|
||||
border: 1px solid var(--borderPrimary);
|
||||
border-radius: 20px;
|
||||
}
|
||||
.sso-symbol {
|
||||
display: flex;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
margin: 0 auto 24px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 18px;
|
||||
background: var(--hover);
|
||||
color: var(--blue);
|
||||
}
|
||||
.sso-symbol i {
|
||||
font-size: 34px;
|
||||
}
|
||||
.eyebrow {
|
||||
color: var(--textPrimary);
|
||||
font-size: 10px;
|
||||
letter-spacing: 2px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.sso-welcome h1 {
|
||||
font-size: 32px;
|
||||
margin: 8px 0 12px;
|
||||
letter-spacing: -1px;
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
.sso-welcome p {
|
||||
color: var(--textPrimary);
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
.sso-signin {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 13px;
|
||||
background: #3563e9;
|
||||
color: white;
|
||||
border: 0;
|
||||
}
|
||||
.sso-welcome small {
|
||||
display: block;
|
||||
margin-top: 24px;
|
||||
font-size: 11px;
|
||||
color: var(--textPrimary);
|
||||
}
|
||||
@media (min-width: 737px) and (max-width: 1024px) {
|
||||
nav {
|
||||
width: 13em;
|
||||
}
|
||||
main {
|
||||
width: calc(100% - 16em);
|
||||
margin-inline-end: 18px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 736px) {
|
||||
header {
|
||||
padding-inline: 8px;
|
||||
}
|
||||
header .menu-button {
|
||||
order: -1;
|
||||
}
|
||||
.workspace-brand {
|
||||
min-width: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
.workspace-brand i {
|
||||
display: none;
|
||||
}
|
||||
.workspace-overview {
|
||||
margin: 6px 0 18px;
|
||||
}
|
||||
.workspace-overview h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
main {
|
||||
width: calc(100% - 24px);
|
||||
margin: 0 12px 16px;
|
||||
}
|
||||
nav {
|
||||
padding: 16px 12px;
|
||||
}
|
||||
.breadcrumbs {
|
||||
height: 52px;
|
||||
}
|
||||
#listing.list .item {
|
||||
padding: 10px 12px;
|
||||
min-height: 56px;
|
||||
}
|
||||
#listing.mosaic .item {
|
||||
padding: 12px;
|
||||
}
|
||||
.card.floating {
|
||||
width: calc(100% - 24px);
|
||||
max-height: calc(100vh - 32px);
|
||||
overflow: auto;
|
||||
}
|
||||
.sso-welcome {
|
||||
margin: 4vh auto;
|
||||
padding: 32px 24px;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user