This commit is contained in:
+295
-44
@@ -1,6 +1,6 @@
|
||||
:root {
|
||||
color: #1f2933;
|
||||
background: #f5f7fa;
|
||||
background: #e7edf3;
|
||||
font-family:
|
||||
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
sans-serif;
|
||||
@@ -13,37 +13,75 @@
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 360px;
|
||||
width: 720px;
|
||||
min-width: 720px;
|
||||
height: 620px;
|
||||
margin: 0;
|
||||
background: #f5f7fa;
|
||||
overflow: hidden;
|
||||
background:
|
||||
linear-gradient(135deg, rgb(255 255 255 / 72%), rgb(218 228 238 / 72%)),
|
||||
#e7edf3;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
button,
|
||||
a {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.desktop-canvas {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.app-window {
|
||||
position: absolute;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
padding: 16px;
|
||||
grid-template-rows: auto auto 1fr auto;
|
||||
width: min(700px, calc(100vw - 20px));
|
||||
height: min(600px, calc(100vh - 20px));
|
||||
overflow: hidden;
|
||||
border: 1px solid #bcccdc;
|
||||
border-radius: 8px;
|
||||
background: #f8fafc;
|
||||
box-shadow: 0 18px 48px rgb(16 42 67 / 18%);
|
||||
}
|
||||
|
||||
.masthead {
|
||||
.window-titlebar {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
gap: 16px;
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid #d9e2ec;
|
||||
background: #ffffff;
|
||||
cursor: grab;
|
||||
user-select: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.window-titlebar:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 4px;
|
||||
margin: 0 0 2px;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1 {
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #102a43;
|
||||
font-size: 22px;
|
||||
font-size: 20px;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
@@ -70,64 +108,244 @@ h1 {
|
||||
color: #8d6e00;
|
||||
}
|
||||
|
||||
.panel {
|
||||
.badge.quiet {
|
||||
border-color: #d9e2ec;
|
||||
background: #f5f7fa;
|
||||
color: #52616f;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
border: 1px solid #d9e2ec;
|
||||
border-radius: 8px;
|
||||
padding: 14px;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 1px;
|
||||
border-bottom: 1px solid #d9e2ec;
|
||||
background: #d9e2ec;
|
||||
}
|
||||
|
||||
.tool-button,
|
||||
.icon-button,
|
||||
.visit-button {
|
||||
border: 0;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.tool-button {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
min-height: 58px;
|
||||
padding: 8px 6px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 8px 24px rgb(16 42 67 / 8%);
|
||||
color: #334e68;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.config-list {
|
||||
.tool-button svg {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
stroke-width: 2.25;
|
||||
}
|
||||
|
||||
.tool-button span {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tool-button[data-active="true"] {
|
||||
background: #e6f6ff;
|
||||
color: #075985;
|
||||
}
|
||||
|
||||
.tool-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
.content-panel {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin: 0;
|
||||
grid-template-rows: auto 1fr;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.config-list div {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
.view-header {
|
||||
padding: 14px 16px 10px;
|
||||
border-bottom: 1px solid #edf2f7;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
dt {
|
||||
.view-header h2 {
|
||||
color: #102a43;
|
||||
font-size: 17px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.view-header p {
|
||||
margin-top: 3px;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
.view-content {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 10px;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.item-card {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
border: 1px solid #d9e2ec;
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.item-heading {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
color: #102a43;
|
||||
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
line-height: 1.25;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
a.item-title:hover,
|
||||
.repo-link:hover,
|
||||
.url-text:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-subtitle {
|
||||
margin-top: 3px;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.meta-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
color: #52616f;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.meta-grid strong {
|
||||
color: #243b53;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.commit-message {
|
||||
color: #243b53;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.linked-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.link-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
border: 1px solid #9fb3c8;
|
||||
border-radius: 999px;
|
||||
padding: 2px 7px;
|
||||
background: #f0f4f8;
|
||||
color: #334e68;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.path-text {
|
||||
overflow-wrap: anywhere;
|
||||
color: #334e68;
|
||||
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.repo-link-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.repo-link,
|
||||
.url-text {
|
||||
overflow-wrap: anywhere;
|
||||
color: #0b6bcb;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.visit-button {
|
||||
flex: 0 0 auto;
|
||||
border-radius: 6px;
|
||||
padding: 10px 12px;
|
||||
padding: 7px 10px;
|
||||
background: #0b6bcb;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.7;
|
||||
.empty-state {
|
||||
border: 1px dashed #bcccdc;
|
||||
border-radius: 8px;
|
||||
padding: 18px;
|
||||
color: #52616f;
|
||||
background: #ffffff;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: #829ab1;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.statusbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
min-height: 42px;
|
||||
border-top: 1px solid #d9e2ec;
|
||||
padding: 8px 10px 8px 14px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
#status {
|
||||
min-height: 20px;
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #52616f;
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#status[data-tone="success"] {
|
||||
@@ -137,3 +355,36 @@ button:disabled {
|
||||
#status[data-tone="error"] {
|
||||
color: #b42318;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
display: inline-grid;
|
||||
flex: 0 0 auto;
|
||||
place-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 6px;
|
||||
background: #eef4f9;
|
||||
color: #334e68;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-button:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.icon-button svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
body {
|
||||
width: 420px;
|
||||
min-width: 420px;
|
||||
}
|
||||
|
||||
.meta-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user