Files
mp-silma-ai-aide/src/styles.css
T

595 lines
8.5 KiB
CSS
Raw Normal View History

2026-07-17 14:08:03 -05:00
:root {
color: #1f2933;
2026-07-17 15:45:30 -05:00
background: #f5f7fa;
2026-07-17 14:08:03 -05:00
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
* {
box-sizing: border-box;
}
body {
2026-07-17 15:45:30 -05:00
min-width: 360px;
width: 100vw;
height: 100vh;
2026-07-17 14:08:03 -05:00
margin: 0;
overflow: hidden;
2026-07-17 15:45:30 -05:00
background: #f5f7fa;
}
button,
a,
select,
input,
textarea {
font: inherit;
2026-07-17 14:08:03 -05:00
}
button,
a {
-webkit-tap-highlight-color: transparent;
}
2026-07-17 15:45:30 -05:00
.side-panel-shell,
.app-panel {
width: 100%;
height: 100%;
min-height: 0;
}
2026-07-17 15:45:30 -05:00
.app-panel {
2026-07-17 14:08:03 -05:00
display: grid;
2026-07-17 15:45:30 -05:00
grid-template-rows: auto 1fr auto;
overflow: hidden;
background: #f8fafc;
2026-07-17 14:08:03 -05:00
}
h1,
h2,
p {
2026-07-17 14:08:03 -05:00
margin: 0;
}
h1 {
2026-07-17 14:08:03 -05:00
color: #102a43;
2026-07-17 15:45:30 -05:00
font-size: 18px;
line-height: 1.1;
}
.toolbar {
2026-07-17 14:08:03 -05:00
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 1px;
border-bottom: 1px solid #d9e2ec;
background: #d9e2ec;
}
.tool-button,
.icon-button,
2026-07-17 15:45:30 -05:00
.visit-button,
2026-07-17 15:51:15 -05:00
.danger-button,
2026-07-17 15:45:30 -05:00
.primary-button {
border: 0;
}
.tool-button {
display: grid;
justify-items: center;
2026-07-17 15:45:30 -05:00
gap: 3px;
min-width: 0;
2026-07-17 15:45:30 -05:00
min-height: 50px;
padding: 7px 4px;
2026-07-17 14:08:03 -05:00
background: #ffffff;
color: #334e68;
cursor: pointer;
}
.tool-button svg {
2026-07-17 15:45:30 -05:00
width: 17px;
height: 17px;
stroke-width: 2.3;
2026-07-17 14:08:03 -05:00
}
.tool-button span {
max-width: 100%;
overflow: hidden;
2026-07-17 15:45:30 -05:00
font-size: 10px;
font-weight: 800;
line-height: 1.1;
text-overflow: ellipsis;
white-space: nowrap;
}
.tool-button[data-active="true"] {
background: #e6f6ff;
color: #075985;
}
.tool-button:disabled {
cursor: not-allowed;
2026-07-17 15:45:30 -05:00
opacity: 0.42;
}
.content-panel {
display: grid;
grid-template-rows: auto 1fr;
min-height: 0;
}
.view-header {
2026-07-17 15:45:30 -05:00
padding: 10px 12px 8px;
border-bottom: 1px solid #edf2f7;
background: #f8fafc;
}
.view-header h2 {
color: #102a43;
2026-07-17 15:45:30 -05:00
font-size: 15px;
line-height: 1.2;
}
.view-header p {
2026-07-17 15:45:30 -05:00
margin-top: 2px;
color: #52616f;
2026-07-17 15:45:30 -05:00
font-size: 11px;
line-height: 1.35;
}
.view-content {
2026-07-17 14:08:03 -05:00
display: grid;
align-content: start;
2026-07-17 15:45:30 -05:00
gap: 8px;
min-height: 0;
overflow-y: auto;
2026-07-17 15:45:30 -05:00
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;
2026-07-17 15:45:30 -05:00
gap: 8px;
border: 1px solid #d9e2ec;
2026-07-17 15:45:30 -05:00
border-radius: 7px;
padding: 9px;
background: #ffffff;
}
2026-07-17 15:45:30 -05:00
.dense-card {
gap: 7px;
}
.item-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
2026-07-17 15:45:30 -05:00
gap: 9px;
}
.item-title {
2026-07-17 15:45:30 -05:00
min-width: 0;
overflow: hidden;
color: #102a43;
2026-07-17 15:45:30 -05:00
font-size: 12px;
font-weight: 850;
line-height: 1.25;
text-decoration: none;
2026-07-17 15:45:30 -05:00
text-overflow: ellipsis;
white-space: nowrap;
}
h2.item-title {
white-space: normal;
}
a.item-title:hover,
.repo-link:hover,
.url-text:hover {
text-decoration: underline;
2026-07-17 14:08:03 -05:00
}
2026-07-17 15:45:30 -05:00
.repo-meta {
overflow: hidden;
color: #52616f;
2026-07-17 15:45:30 -05:00
font-size: 10px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
2026-07-17 14:08:03 -05:00
}
2026-07-17 15:45:30 -05:00
.repo-link-cell {
min-width: 0;
overflow: hidden;
}
.commit-message {
2026-07-17 15:45:30 -05:00
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;
2026-07-17 15:45:30 -05:00
gap: 6px;
2026-07-17 14:08:03 -05:00
color: #52616f;
2026-07-17 15:45:30 -05:00
font-size: 11px;
2026-07-17 14:08:03 -05:00
}
.link-chip {
display: inline-flex;
align-items: center;
border: 1px solid #9fb3c8;
border-radius: 999px;
2026-07-17 15:45:30 -05:00
padding: 1px 6px;
background: #f0f4f8;
color: #334e68;
2026-07-17 15:45:30 -05:00
font-size: 10px;
font-weight: 850;
}
.path-text {
2026-07-17 14:08:03 -05:00
overflow-wrap: anywhere;
color: #334e68;
2026-07-17 14:08:03 -05:00
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
2026-07-17 15:45:30 -05:00
font-size: 10px;
line-height: 1.3;
2026-07-17 14:08:03 -05:00
}
.repo-link-list {
display: flex;
flex-wrap: wrap;
2026-07-17 15:45:30 -05:00
gap: 4px;
min-width: 0;
}
.repo-link,
.url-text {
overflow-wrap: anywhere;
color: #0b6bcb;
2026-07-17 15:45:30 -05:00
font-size: 11px;
font-weight: 750;
text-decoration: none;
}
2026-07-17 15:45:30 -05:00
.visit-button,
2026-07-17 15:51:15 -05:00
.danger-button,
2026-07-17 15:45:30 -05:00
.secondary-button,
.primary-button {
flex: 0 0 auto;
2026-07-17 14:08:03 -05:00
border-radius: 6px;
2026-07-17 15:45:30 -05:00
padding: 4px 7px;
2026-07-17 14:08:03 -05:00
background: #0b6bcb;
color: #ffffff;
cursor: pointer;
2026-07-17 15:45:30 -05:00
font-size: 11px;
font-weight: 850;
}
2026-07-17 15:51:15 -05:00
.url-actions {
display: grid;
gap: 3px;
}
.danger-button {
background: #fee4e2;
color: #9f1d14;
}
2026-07-17 15:45:30 -05:00
.secondary-button {
border: 1px solid #9fb3c8;
background: #eef4f9;
color: #243b53;
}
2026-07-17 15:51:15 -05:00
.secondary-button:disabled {
cursor: wait;
opacity: 0.6;
}
2026-07-17 15:45:30 -05:00
.primary-button {
width: 100%;
min-height: 34px;
}
.primary-button:disabled {
cursor: not-allowed;
opacity: 0.48;
2026-07-17 14:08:03 -05:00
}
.empty-state {
border: 1px dashed #bcccdc;
2026-07-17 15:45:30 -05:00
border-radius: 7px;
padding: 14px;
color: #52616f;
background: #ffffff;
2026-07-17 15:45:30 -05:00
font-size: 12px;
text-align: center;
}
.muted {
color: #829ab1;
2026-07-17 15:45:30 -05:00
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;
}
2026-07-17 15:51:15 -05:00
.screenshot-list {
display: grid;
gap: 5px;
}
.screenshot-item {
display: grid;
grid-template-columns: 64px minmax(0, 1fr);
align-items: center;
gap: 7px;
min-width: 0;
margin: 0;
border: 1px solid #d9e2ec;
border-radius: 6px;
padding: 4px;
background: #ffffff;
}
.screenshot-item img {
display: block;
width: 64px;
height: 40px;
border-radius: 4px;
object-fit: cover;
}
.screenshot-item figcaption {
min-width: 0;
overflow: hidden;
color: #334e68;
font-size: 10px;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
2026-07-17 15:45:30 -05:00
.checkbox-row {
display: flex;
align-items: center;
gap: 7px;
color: #243b53;
font-size: 12px;
}
.statusbar {
display: flex;
align-items: center;
justify-content: space-between;
2026-07-17 15:45:30 -05:00
gap: 8px;
min-height: 38px;
border-top: 1px solid #d9e2ec;
2026-07-17 15:45:30 -05:00
padding: 6px 8px 6px 10px;
background: #ffffff;
2026-07-17 14:08:03 -05:00
}
#status {
min-width: 0;
overflow: hidden;
2026-07-17 14:08:03 -05:00
color: #52616f;
2026-07-17 15:45:30 -05:00
font-size: 11px;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
2026-07-17 14:08:03 -05:00
}
#status[data-tone="success"] {
color: #1b5e20;
}
#status[data-tone="error"] {
color: #b42318;
}
.icon-button {
display: inline-grid;
flex: 0 0 auto;
place-items: center;
2026-07-17 15:45:30 -05:00
width: 28px;
height: 28px;
border-radius: 6px;
background: #eef4f9;
color: #334e68;
cursor: pointer;
}
.icon-button:disabled {
cursor: wait;
opacity: 0.65;
}
.icon-button svg {
2026-07-17 15:45:30 -05:00
width: 15px;
height: 15px;
}
2026-07-17 15:45:30 -05:00
@media (max-width: 430px) {
.repo-row {
grid-template-columns: minmax(130px, 1fr) 62px 58px;
}
.repo-link-cell {
display: none;
}
2026-07-17 15:45:30 -05:00
.workspace-row,
.url-row {
grid-template-columns: 1fr;
}
}