mirror of
https://github.com/extzzy/Meeting-Tools.git
synced 2026-07-22 08:28:23 +00:00
112 lines
9.3 KiB
CSS
112 lines
9.3 KiB
CSS
.meeting-tools-view {
|
|
height: 100%;
|
|
overflow: auto;
|
|
padding: 18px;
|
|
background: var(--background-primary);
|
|
}
|
|
|
|
.meeting-tools-view .hidden { display: none !important; }
|
|
.mt-shell { width: min(1120px, 100%); margin: 0 auto; }
|
|
.mt-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
|
|
.mt-header h1 { margin: 0; font-size: 1.55rem; letter-spacing: -0.025em; }
|
|
.mt-header-actions { display: flex; gap: 8px; }
|
|
.mt-eyebrow { margin-bottom: 4px; color: var(--interactive-accent); font-size: var(--font-ui-smaller); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
|
|
.mt-secondary { min-height: 34px; padding: 0 12px; border: 1px solid var(--background-modifier-border); border-radius: var(--radius-s); color: var(--text-normal); background: var(--background-secondary); }
|
|
.mt-panel { padding: 14px; border: 1px solid var(--background-modifier-border); border-radius: var(--radius-l); background: var(--background-secondary); }
|
|
|
|
.mt-quick-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 9px; }
|
|
.mt-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
|
|
.mt-field > span { color: var(--text-muted); font-size: var(--font-ui-smaller); font-weight: 650; }
|
|
.mt-field small { color: var(--text-faint); font-weight: 400; }
|
|
.mt-field input, .mt-field select, .mt-template-field textarea, .mt-task-row input { width: 100%; }
|
|
.mt-type { grid-column: span 6; }
|
|
.mt-date { grid-column: span 2; }
|
|
.mt-topic { grid-column: span 4; }
|
|
.mt-full { grid-column: 1 / -1; }
|
|
|
|
.mt-template-section { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--background-modifier-border); }
|
|
.mt-section-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--text-muted); font-size: var(--font-ui-smaller); font-weight: 700; text-transform: uppercase; }
|
|
.mt-section-heading span:last-child { color: var(--text-faint); font-weight: 400; text-transform: none; }
|
|
.mt-template-fields { display: grid; gap: 7px; }
|
|
.mt-template-field { display: grid; grid-template-columns: minmax(130px, .42fr) minmax(0, 1fr); align-items: center; gap: 9px; }
|
|
.mt-template-field > span { overflow: hidden; color: var(--text-muted); font-size: var(--font-ui-smaller); font-weight: 600; text-overflow: ellipsis; }
|
|
.mt-template-field textarea { min-height: 36px; max-height: none; resize: vertical; }
|
|
.mt-task-field { align-items: start; }
|
|
.mt-task-field > span { padding-top: 8px; }
|
|
.mt-task-editor, .mt-task-rows { display: grid; gap: 6px; min-width: 0; }
|
|
.mt-task-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(140px, .38fr) 145px 30px; gap: 6px; }
|
|
.mt-icon-button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; color: var(--text-muted); background: transparent; }
|
|
.meeting-tools-view button.mt-link-button { width: max-content; min-width: max-content; height: auto; min-height: 28px; justify-self: start; padding: 4px 9px; border: 1px solid var(--background-modifier-border); color: var(--text-accent); background: var(--background-primary); box-shadow: none; font-size: var(--font-ui-smaller); line-height: 1.2; white-space: nowrap; }
|
|
|
|
.mt-result-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--background-modifier-border); }
|
|
.mt-path-box { display: grid; min-width: 0; min-height: 48px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 11px; padding: 8px 11px; border: 1px solid var(--background-modifier-border); border-radius: var(--radius-s); background: var(--background-primary); }
|
|
.mt-path-box > span { color: var(--text-faint); font-size: 10px; font-weight: 650; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
|
|
.mt-path-box code { display: block; overflow: hidden; color: var(--text-accent); font-size: var(--font-ui-small); text-overflow: ellipsis; white-space: nowrap; }
|
|
.meeting-tools-view button.mt-create { min-width: 180px; height: auto; min-height: 48px; align-self: stretch; white-space: nowrap; }
|
|
.mt-message { min-height: 18px; margin: 6px 0 0; color: var(--text-success); font-size: var(--font-ui-smaller); }
|
|
.mt-message.is-error { color: var(--text-error); }
|
|
.mt-drawers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
|
|
.mt-drawers details { align-self: start; border: 1px solid var(--background-modifier-border); border-radius: var(--radius-s); background: var(--background-primary); }
|
|
.mt-drawers summary { padding: 9px 11px; cursor: pointer; color: var(--text-muted); font-size: var(--font-ui-small); font-weight: 600; }
|
|
.mt-settings { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; padding: 10px; border-top: 1px solid var(--background-modifier-border); }
|
|
.mt-drawers pre { overflow: auto; max-height: 360px; margin: 0; padding: 12px; border-top: 1px solid var(--background-modifier-border); font-size: var(--font-ui-smaller); white-space: pre-wrap; }
|
|
|
|
.mt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
|
|
.mt-stats > div { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid var(--background-modifier-border); border-radius: var(--radius-s); background: var(--background-primary); }
|
|
.mt-stats span { color: var(--text-muted); font-size: var(--font-ui-smaller); }
|
|
.mt-stats strong { font-size: 1.2rem; }
|
|
.mt-stats .is-overdue strong { color: var(--text-error); }
|
|
.mt-stats .is-done strong { color: var(--text-success); }
|
|
.mt-filters { display: grid; grid-template-columns: minmax(260px, 2fr) minmax(150px, .7fr) minmax(190px, .9fr); gap: 9px; margin-bottom: 11px; }
|
|
.mt-table-wrap { overflow: auto; max-height: calc(100vh - 300px); border: 1px solid var(--background-modifier-border); border-radius: var(--radius-s); background: var(--background-primary); }
|
|
.mt-task-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
|
|
.mt-task-table th { position: sticky; z-index: 1; top: 0; padding: 9px 10px; border-bottom: 1px solid var(--background-modifier-border); color: var(--text-faint); background: var(--background-secondary); font-size: var(--font-ui-smaller); text-align: left; text-transform: uppercase; }
|
|
.mt-task-table td { padding: 9px 10px; border-bottom: 1px solid var(--background-modifier-border); color: var(--text-muted); font-size: var(--font-ui-small); vertical-align: middle; }
|
|
.mt-task-table th:nth-child(1) { width: 34%; }
|
|
.mt-task-table th:nth-child(2) { width: 16%; }
|
|
.mt-task-table th:nth-child(3) { width: 12%; }
|
|
.mt-task-table th:nth-child(4) { width: 25%; }
|
|
.mt-task-table th:nth-child(5) { width: 13%; }
|
|
.mt-task-title { color: var(--text-normal) !important; font-weight: 600; }
|
|
.is-task-done .mt-task-title { color: var(--text-faint) !important; text-decoration: line-through; }
|
|
.meeting-tools-view button.mt-source-link { display: block; width: 100%; max-width: 100%; height: auto; min-height: 0; padding: 2px 0; overflow: visible; border: 0; color: var(--text-accent); background: transparent; box-shadow: none; line-height: 1.3; text-align: left; white-space: normal; overflow-wrap: anywhere; }
|
|
.mt-status-control { width: auto; min-width: 106px; height: 28px; padding: 0 24px 0 8px; border-radius: 999px; font-size: var(--font-ui-smaller); }
|
|
.mt-status-control.is-overdue { color: var(--text-error); }
|
|
.mt-status-control.is-done { color: var(--text-success); }
|
|
.mt-status-control:disabled { cursor: wait; opacity: .65; }
|
|
.mt-empty { margin: 0; padding: 32px; color: var(--text-faint); text-align: center; }
|
|
|
|
.mt-quick-modal { width: min(520px, calc(100vw - 80px)); }
|
|
.mt-quick-modal h2 { margin: 0 0 16px; }
|
|
.mt-quick-modal form { display: grid; gap: 14px; }
|
|
.mt-quick-modal textarea { width: 100%; min-height: 130px; resize: vertical; }
|
|
.mt-quick-hint { margin: -4px 0 0; color: var(--text-faint); font-size: var(--font-ui-smaller); line-height: 1.4; }
|
|
.mt-quick-modal .mt-message { margin: -4px 0 0; }
|
|
.mt-task-target { margin: -2px 0 0; color: var(--text-faint); font-size: var(--font-ui-smaller); overflow-wrap: anywhere; }
|
|
.mt-task-target code { color: var(--text-accent); }
|
|
.mt-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
|
.mt-modal-actions button { height: auto; min-height: 34px; padding: 5px 12px; white-space: nowrap; }
|
|
|
|
@media (max-width: 800px) {
|
|
.mt-type { grid-column: span 6; }
|
|
.mt-date, .mt-topic { grid-column: span 3; }
|
|
.mt-task-row { grid-template-columns: minmax(180px, 1fr) minmax(120px, .45fr) 130px 30px; }
|
|
.mt-stats { grid-template-columns: 1fr 1fr; }
|
|
.mt-filters { grid-template-columns: 1fr 1fr; }
|
|
.mt-search { grid-column: 1 / -1; }
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.meeting-tools-view { padding: 10px; }
|
|
.mt-header { align-items: flex-start; flex-direction: column; }
|
|
.mt-type, .mt-date, .mt-topic { grid-column: 1 / -1; }
|
|
.mt-template-field { grid-template-columns: 1fr; gap: 4px; }
|
|
.mt-task-field > span { padding-top: 0; }
|
|
.mt-task-row { grid-template-columns: 1fr 1fr 30px; }
|
|
.mt-task-row [data-task-title] { grid-column: 1 / -1; }
|
|
.mt-task-row [data-task-due] { grid-column: 2; }
|
|
.mt-result-row, .mt-drawers, .mt-settings, .mt-filters { grid-template-columns: 1fr; }
|
|
.mt-create { width: 100%; }
|
|
.mt-path-box { grid-template-columns: 1fr; gap: 4px; }
|
|
.mt-path-box code { white-space: normal; overflow-wrap: anywhere; }
|
|
}
|