mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 23:49:41 +02:00
chore: bump version to 0.1520
This commit is contained in:
@@ -145,6 +145,74 @@ html.mobile-init .file-browser-panel {
|
||||
max-width: 280px;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
/* ---- Settings Modal: Tablet Optimizations ---- */
|
||||
|
||||
.modal-tabs {
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: none;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.modal-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.modal-tab-btn {
|
||||
padding: 0.4rem 0.75rem;
|
||||
font-size: 0.7rem;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Settings grid stays 2-col on tablet but tighter */
|
||||
.settings-grid {
|
||||
gap: 0.4rem 0.75rem;
|
||||
}
|
||||
|
||||
.settings-item {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
/* Event type grid - slightly tighter */
|
||||
.event-type-grid {
|
||||
grid-template-columns: 1fr 40px 40px 40px;
|
||||
gap: 5px 6px;
|
||||
}
|
||||
|
||||
.event-label {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
/* ---- Subagent Windows: Tablet Optimizations ---- */
|
||||
|
||||
.subagent-window {
|
||||
width: 320px;
|
||||
height: 280px;
|
||||
min-width: 240px;
|
||||
min-height: 160px;
|
||||
}
|
||||
|
||||
.subagent-window-header {
|
||||
padding: 0.35rem 0.5rem;
|
||||
}
|
||||
|
||||
.subagent-window-title .id {
|
||||
font-size: 0.7rem;
|
||||
max-width: 180px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.subagent-window-title .status {
|
||||
font-size: 0.55rem;
|
||||
}
|
||||
|
||||
.subagent-window-body {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
@@ -1022,6 +1090,245 @@ html.mobile-init .file-browser-panel {
|
||||
.mobile-case-picker-footer {
|
||||
padding-bottom: calc(12px + var(--safe-area-bottom));
|
||||
}
|
||||
|
||||
/* ---- Settings Modal: Mobile Optimizations ---- */
|
||||
|
||||
/* Scrollable tabs row - prevent overflow on small screens */
|
||||
.modal-tabs {
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: none;
|
||||
gap: 0.25rem;
|
||||
padding: 0 0.75rem 0.5rem 0.75rem;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.modal-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.modal-tab-btn {
|
||||
padding: 0.35rem 0.6rem;
|
||||
font-size: 0.65rem;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Settings grid - single column on phones */
|
||||
.settings-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.settings-grid-3col {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.settings-item {
|
||||
padding: 0.35rem 0.5rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.settings-item-label {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.settings-section-header {
|
||||
font-size: 0.6rem;
|
||||
padding: 0.35rem 0 0.2rem 0;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* Form rows - compact on mobile */
|
||||
.form-row {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.form-row label {
|
||||
font-size: 0.7rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.form-row .form-hint {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
.form-row input[type="text"],
|
||||
.form-row input[type="number"],
|
||||
.form-row .form-select,
|
||||
.form-row select {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.35rem 0.5rem;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.form-row-switch {
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.form-row-switch > label:first-child {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.form-section-header {
|
||||
font-size: 0.6rem;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
/* Event type grid - tighter on mobile */
|
||||
.event-type-grid {
|
||||
grid-template-columns: 1fr 36px 36px 36px;
|
||||
gap: 4px 4px;
|
||||
padding: 6px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.event-header {
|
||||
font-size: 0.55rem;
|
||||
}
|
||||
|
||||
.event-label {
|
||||
font-size: 0.65rem;
|
||||
}
|
||||
|
||||
.event-type-grid input[type="checkbox"] {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
/* Modal footer buttons - full width on mobile */
|
||||
.form-actions {
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.form-actions .btn-toolbar {
|
||||
flex: 1;
|
||||
min-height: 36px !important;
|
||||
max-height: 36px !important;
|
||||
height: 36px !important;
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
|
||||
/* ---- Subagent Windows: Mobile Optimizations ---- */
|
||||
|
||||
/* Full-width stacked windows at bottom on phones */
|
||||
.subagent-window {
|
||||
position: fixed !important;
|
||||
left: 0 !important;
|
||||
right: 0 !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
height: 40vh !important;
|
||||
min-height: 150px !important;
|
||||
max-height: 50vh !important;
|
||||
bottom: calc(40px + var(--safe-area-bottom)) !important;
|
||||
top: auto !important;
|
||||
border-radius: 8px 8px 0 0;
|
||||
resize: none;
|
||||
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
/* Hide resize handle on mobile */
|
||||
.subagent-window::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Compact subagent window header */
|
||||
.subagent-window-header {
|
||||
padding: 0.3rem 0.5rem;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.subagent-window-title {
|
||||
gap: 0.25rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.subagent-window-title .icon {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.subagent-window-title .id {
|
||||
font-size: 0.65rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 45vw;
|
||||
}
|
||||
|
||||
.subagent-window-title .status {
|
||||
font-size: 0.5rem;
|
||||
padding: 0.05rem 0.2rem;
|
||||
}
|
||||
|
||||
.subagent-model-badge {
|
||||
font-size: 0.5rem !important;
|
||||
padding: 0.05rem 0.2rem !important;
|
||||
}
|
||||
|
||||
.subagent-window-actions button {
|
||||
font-size: 0.8rem;
|
||||
padding: 0.3rem 0.5rem;
|
||||
min-width: 32px;
|
||||
min-height: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.subagent-window-body {
|
||||
font-size: 0.65rem;
|
||||
padding: 0.35rem;
|
||||
}
|
||||
|
||||
.subagent-window-body .activity-line {
|
||||
gap: 0.2rem;
|
||||
padding: 0.1rem 0;
|
||||
}
|
||||
|
||||
.subagent-window-body .activity-line .time {
|
||||
font-size: 0.55rem;
|
||||
}
|
||||
|
||||
.subagent-window-body .activity-line .tool-name {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
.subagent-window-body .activity-line .tool-detail {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
/* Parent label in subagent window - compact */
|
||||
.subagent-window-parent {
|
||||
padding: 0.15rem 0.5rem;
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
/* ---- Tab Subagent Badges: Smaller on Mobile ---- */
|
||||
|
||||
.session-tab .tab-subagent-badge {
|
||||
height: 14px;
|
||||
padding: 0 3px;
|
||||
border-radius: 7px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.session-tab .tab-subagent-badge .subagent-label {
|
||||
font-size: 0.45rem;
|
||||
}
|
||||
|
||||
/* Subagent dropdown - full width bottom sheet on mobile */
|
||||
.subagent-dropdown {
|
||||
position: fixed !important;
|
||||
left: 8px !important;
|
||||
right: 8px !important;
|
||||
bottom: calc(40px + var(--safe-area-bottom) + 8px) !important;
|
||||
top: auto !important;
|
||||
min-width: auto !important;
|
||||
max-width: none !important;
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user