This commit is contained in:
+301
-150
@@ -1,6 +1,6 @@
|
||||
:root {
|
||||
color: #1f2933;
|
||||
background: #e7edf3;
|
||||
background: #f5f7fa;
|
||||
font-family:
|
||||
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
sans-serif;
|
||||
@@ -13,14 +13,20 @@
|
||||
}
|
||||
|
||||
body {
|
||||
width: 720px;
|
||||
min-width: 720px;
|
||||
height: 620px;
|
||||
min-width: 360px;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
background:
|
||||
linear-gradient(135deg, rgb(255 255 255 / 72%), rgb(218 228 238 / 72%)),
|
||||
#e7edf3;
|
||||
background: #f5f7fa;
|
||||
}
|
||||
|
||||
button,
|
||||
a,
|
||||
select,
|
||||
input,
|
||||
textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
@@ -28,49 +34,18 @@ a {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.desktop-canvas {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
.side-panel-shell,
|
||||
.app-panel {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.app-window {
|
||||
position: absolute;
|
||||
.app-panel {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto 1fr auto;
|
||||
width: min(700px, calc(100vw - 20px));
|
||||
height: min(600px, calc(100vh - 20px));
|
||||
grid-template-rows: auto 1fr auto;
|
||||
overflow: hidden;
|
||||
border: 1px solid #bcccdc;
|
||||
border-radius: 8px;
|
||||
background: #f8fafc;
|
||||
box-shadow: 0 18px 48px rgb(16 42 67 / 18%);
|
||||
}
|
||||
|
||||
.window-titlebar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
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 2px;
|
||||
color: #52616f;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1,
|
||||
@@ -81,37 +56,8 @@ p {
|
||||
|
||||
h1 {
|
||||
color: #102a43;
|
||||
font-size: 20px;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.badge {
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid #bcccdc;
|
||||
border-radius: 999px;
|
||||
padding: 5px 9px;
|
||||
background: #ffffff;
|
||||
color: #334e68;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.badge[data-tone="success"] {
|
||||
border-color: #7bc47f;
|
||||
background: #e3f9e5;
|
||||
color: #1b5e20;
|
||||
}
|
||||
|
||||
.badge[data-tone="warning"] {
|
||||
border-color: #f7c948;
|
||||
background: #fffbea;
|
||||
color: #8d6e00;
|
||||
}
|
||||
|
||||
.badge.quiet {
|
||||
border-color: #d9e2ec;
|
||||
background: #f5f7fa;
|
||||
color: #52616f;
|
||||
font-size: 18px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
@@ -124,35 +70,35 @@ h1 {
|
||||
|
||||
.tool-button,
|
||||
.icon-button,
|
||||
.visit-button {
|
||||
.visit-button,
|
||||
.primary-button {
|
||||
border: 0;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.tool-button {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 4px;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
min-height: 58px;
|
||||
padding: 8px 6px;
|
||||
min-height: 50px;
|
||||
padding: 7px 4px;
|
||||
background: #ffffff;
|
||||
color: #334e68;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tool-button svg {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
stroke-width: 2.25;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
stroke-width: 2.3;
|
||||
}
|
||||
|
||||
.tool-button span {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
line-height: 1.1;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -164,7 +110,7 @@ h1 {
|
||||
|
||||
.tool-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.45;
|
||||
opacity: 0.42;
|
||||
}
|
||||
|
||||
.content-panel {
|
||||
@@ -174,55 +120,128 @@ h1 {
|
||||
}
|
||||
|
||||
.view-header {
|
||||
padding: 14px 16px 10px;
|
||||
padding: 10px 12px 8px;
|
||||
border-bottom: 1px solid #edf2f7;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.view-header h2 {
|
||||
color: #102a43;
|
||||
font-size: 17px;
|
||||
font-size: 15px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.view-header p {
|
||||
margin-top: 3px;
|
||||
margin-top: 2px;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.view-content {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: 12px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.repo-list {
|
||||
display: grid;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.compact-list {
|
||||
display: grid;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.repo-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(150px, 1fr) 70px 58px minmax(86px, 0.8fr);
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #d9e2ec;
|
||||
border-radius: 0;
|
||||
padding: 3px 6px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.repo-row:first-child {
|
||||
border-top: 1px solid #d9e2ec;
|
||||
}
|
||||
|
||||
.workspace-row,
|
||||
.url-row {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid #d9e2ec;
|
||||
padding: 3px 6px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.workspace-row {
|
||||
grid-template-columns: minmax(128px, 0.9fr) minmax(120px, 1fr);
|
||||
}
|
||||
|
||||
.url-row {
|
||||
grid-template-columns: minmax(150px, 1fr) auto;
|
||||
}
|
||||
|
||||
.workspace-row:first-child,
|
||||
.url-row:first-child {
|
||||
border-top: 1px solid #d9e2ec;
|
||||
}
|
||||
|
||||
.repo-main {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.row-main {
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.item-card {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
gap: 8px;
|
||||
border: 1px solid #d9e2ec;
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
border-radius: 7px;
|
||||
padding: 9px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.dense-card {
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.item-heading {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #102a43;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
font-size: 12px;
|
||||
font-weight: 850;
|
||||
line-height: 1.25;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
h2.item-title {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
a.item-title:hover,
|
||||
@@ -231,39 +250,37 @@ a.item-title:hover,
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-subtitle {
|
||||
margin-top: 3px;
|
||||
.repo-meta {
|
||||
overflow: hidden;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.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;
|
||||
.repo-link-cell {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.commit-message {
|
||||
color: #243b53;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #52616f;
|
||||
font-size: 10px;
|
||||
line-height: 1.2;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.linked-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
gap: 6px;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.link-chip {
|
||||
@@ -271,59 +288,189 @@ a.item-title:hover,
|
||||
align-items: center;
|
||||
border: 1px solid #9fb3c8;
|
||||
border-radius: 999px;
|
||||
padding: 2px 7px;
|
||||
padding: 1px 6px;
|
||||
background: #f0f4f8;
|
||||
color: #334e68;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
font-size: 10px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.path-text {
|
||||
overflow-wrap: anywhere;
|
||||
color: #334e68;
|
||||
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
font-size: 10px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.repo-link-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.repo-link,
|
||||
.url-text {
|
||||
overflow-wrap: anywhere;
|
||||
color: #0b6bcb;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
font-size: 11px;
|
||||
font-weight: 750;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.visit-button {
|
||||
.visit-button,
|
||||
.secondary-button,
|
||||
.primary-button {
|
||||
flex: 0 0 auto;
|
||||
border-radius: 6px;
|
||||
padding: 7px 10px;
|
||||
padding: 4px 7px;
|
||||
background: #0b6bcb;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.secondary-button {
|
||||
border: 1px solid #9fb3c8;
|
||||
background: #eef4f9;
|
||||
color: #243b53;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
width: 100%;
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.primary-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.48;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
border: 1px dashed #bcccdc;
|
||||
border-radius: 8px;
|
||||
padding: 18px;
|
||||
border-radius: 7px;
|
||||
padding: 14px;
|
||||
color: #52616f;
|
||||
background: #ffffff;
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: #829ab1;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.form-stack {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.form-stack label,
|
||||
fieldset {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.form-stack label > span,
|
||||
legend {
|
||||
color: #52616f;
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #d9e2ec;
|
||||
border-radius: 7px;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.radio-row {
|
||||
display: flex;
|
||||
grid-template-columns: auto 1fr;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
color: #243b53;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="file"],
|
||||
textarea,
|
||||
select {
|
||||
width: 100%;
|
||||
min-height: 32px;
|
||||
border: 1px solid #bcccdc;
|
||||
border-radius: 6px;
|
||||
padding: 6px 8px;
|
||||
background: #ffffff;
|
||||
color: #102a43;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 112px;
|
||||
line-height: 1.35;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
input[readonly] {
|
||||
background: #f0f4f8;
|
||||
color: #334e68;
|
||||
}
|
||||
|
||||
.issue-card {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.target-summary {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
border: 1px solid #d9e2ec;
|
||||
border-radius: 6px;
|
||||
padding: 6px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.target-summary > span:first-child,
|
||||
.attachment-heading > span {
|
||||
color: #52616f;
|
||||
font-size: 10px;
|
||||
font-weight: 850;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.attachment-section {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.attachment-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.attachment-list {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
margin: 0;
|
||||
padding-left: 16px;
|
||||
color: #334e68;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.checkbox-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
color: #243b53;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -331,10 +478,10 @@ a.item-title:hover,
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
min-height: 42px;
|
||||
gap: 8px;
|
||||
min-height: 38px;
|
||||
border-top: 1px solid #d9e2ec;
|
||||
padding: 8px 10px 8px 14px;
|
||||
padding: 6px 8px 6px 10px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
@@ -342,8 +489,8 @@ a.item-title:hover,
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #52616f;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -360,8 +507,8 @@ a.item-title:hover,
|
||||
display: inline-grid;
|
||||
flex: 0 0 auto;
|
||||
place-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 6px;
|
||||
background: #eef4f9;
|
||||
color: #334e68;
|
||||
@@ -374,17 +521,21 @@ a.item-title:hover,
|
||||
}
|
||||
|
||||
.icon-button svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
body {
|
||||
width: 420px;
|
||||
min-width: 420px;
|
||||
@media (max-width: 430px) {
|
||||
.repo-row {
|
||||
grid-template-columns: minmax(130px, 1fr) 62px 58px;
|
||||
}
|
||||
|
||||
.meta-grid {
|
||||
.repo-link-cell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.workspace-row,
|
||||
.url-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user