Initialize the NebulaOS monorepo layout with top-level documentation, ignore rules, placeholder service/package directories, compositor docs plus a baseline Sway config, and session startup/desktop entry files. Add the first desktop shell prototype under `shells/desktop/ui` using React + Vite, including themed surface components (desktop, top bar, launcher, preview), mock Nebula APIs and shell bridge state wiring, reusable UI controls/icons, and supporting styles/config needed for local development.
174 lines
2.8 KiB
CSS
174 lines
2.8 KiB
CSS
.launcher {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(420px, calc(100vw - 20px));
|
|
max-height: min(640px, calc(100vh - 24px));
|
|
padding: 14px;
|
|
}
|
|
|
|
.launcher-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
min-height: 0;
|
|
margin: 14px 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.launcher-section h2 {
|
|
margin: 0 0 8px;
|
|
color: var(--nebula-text-secondary);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.launcher-recent,
|
|
.launcher-grid {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.launcher-recent {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.launcher-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.launcher-projects {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.launcher-empty {
|
|
margin: 8px 0 0;
|
|
color: var(--nebula-text-tertiary);
|
|
}
|
|
|
|
.app-item {
|
|
appearance: none;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
text-align: left;
|
|
border-radius: var(--nebula-radius-medium);
|
|
transition: background var(--nebula-transition-fast);
|
|
}
|
|
|
|
.app-item:hover,
|
|
.app-item:focus-visible {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.app-item--tile,
|
|
.app-item--recent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 6px 8px;
|
|
}
|
|
|
|
.app-item--row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 8px;
|
|
}
|
|
|
|
.app-item-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 11px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.app-item--recent .app-item-icon,
|
|
.app-item--row .app-item-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 9px;
|
|
}
|
|
|
|
.app-item-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-item-name {
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
font-size: 12px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-item--tile .app-item-name,
|
|
.app-item--recent .app-item-name {
|
|
text-align: center;
|
|
}
|
|
|
|
.app-item-subtitle {
|
|
color: var(--nebula-text-tertiary);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.launcher-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--nebula-border);
|
|
}
|
|
|
|
.launcher-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.launcher-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--nebula-accent-soft);
|
|
color: var(--nebula-accent-strong);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.launcher-user-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.launcher-user-name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.launcher-user-meta {
|
|
color: var(--nebula-text-tertiary);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.launcher-power {
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|