diff --git a/src/App.vue b/src/App.vue index 855fe92..42e6dc4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,6 +24,7 @@ const importError = ref('') const fileInput = ref(null) const placingPreset = ref(null) const selectedCapabilityIds = ref([]) +const presentationMode = ref(false) type TransferKind = 'received' | 'sent' | 'stored' interface TransferChange { key: string; status: 'added' | 'removed' | 'changed' | 'same'; incoming?: unknown; outgoing?: unknown } interface TransferRecord { id: string; kind: TransferKind; scenarioName: string; stepNumber: number; stepExplanation: string; senderId: string; destinationId: string; payload: string; incoming: string; outgoing: string; changes: TransferChange[]; timestamp: string } @@ -169,7 +170,7 @@ onUnmounted(stopAnimation) diff --git a/src/main.ts b/src/main.ts index d7ea190..9422e95 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import App from './App.vue' import './style.css' import './inspector.css' import './transformation.css' +import './presentation.css' import './style.css' createApp(App).mount('#app') diff --git a/src/presentation.css b/src/presentation.css new file mode 100644 index 0000000..5752086 --- /dev/null +++ b/src/presentation.css @@ -0,0 +1 @@ +.guided-card{padding:13px 17px;border-color:#394a78;background:linear-gradient(90deg,rgba(49,63,108,.58),rgba(17,23,36,.82))}.guided-card strong{display:block;color:#f2f5ff;margin-top:4px;font-size:14px}.guided-card p{display:inline;color:#8996af;font-size:11px;margin-left:10px}.presentation-toggle{position:fixed;right:24px;top:24px;z-index:15}.presentation .edit-control,.presentation .icon-button,.presentation .danger-icon,.presentation .primary,.presentation .text-danger{display:none}.presentation .inspector input,.presentation .inspector select,.presentation .inspector textarea{pointer-events:none;opacity:.78}.presentation .inspector .data-tabs button{pointer-events:auto}.presentation .inspector-content{padding-bottom:12px}