Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,23 @@ body {
height: 100vh;
overflow: hidden;
}

/* Sharp-corner visual language across UI */
button,
input,
textarea,
select,
[role="button"],
[class*="panel"],
[class*="modal"],
[class*="container"],
[class*="toast"],
[class*="card"] {
border-radius: 0;
}

/* Remove rounded corners from icon rectangles as well */
svg rect {
rx: 0 !important;
ry: 0 !important;
}
4 changes: 2 additions & 2 deletions src/components/code/CodeConsole.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const formattedTime = $derived(
background: #3e3e42;
color: #cccccc;
border: none;
border-radius: 3px;
border-radius: 0;
cursor: pointer;
font-size: 11px;
transition: background 0.1s;
Expand All @@ -153,7 +153,7 @@ const formattedTime = $derived(
padding: 8px 12px;
border-left: 3px solid #f48771;
margin-bottom: 12px;
border-radius: 3px;
border-radius: 0;
}

.stdout pre,
Expand Down
4 changes: 2 additions & 2 deletions src/components/code/ConfirmModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function handleKeydown(event: KeyboardEvent) {
.modal-content {
background: #252526;
border: 1px solid #3e3e42;
border-radius: 4px;
border-radius: 0;
padding: 24px;
min-width: 300px;
max-width: 500px;
Expand All @@ -97,7 +97,7 @@ function handleKeydown(event: KeyboardEvent) {
.confirm-button {
padding: 8px 16px;
border: none;
border-radius: 3px;
border-radius: 0;
font-size: 13px;
cursor: pointer;
transition: background-color 0.1s;
Expand Down
8 changes: 4 additions & 4 deletions src/components/code/EditorLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ const executeButtonLabel = $derived(
padding: 6px 10px;
background: transparent;
border: 1px solid #3e3e42;
border-radius: 3px;
border-radius: 0;
font-size: 16px;
cursor: pointer;
transition: background-color 0.1s;
Expand All @@ -548,7 +548,7 @@ const executeButtonLabel = $derived(
background: #0e639c;
color: white;
border: none;
border-radius: 3px;
border-radius: 0;
cursor: pointer;
font-size: 13px;
font-weight: 500;
Expand All @@ -570,7 +570,7 @@ const executeButtonLabel = $derived(
background: #3e3e42;
color: #cccccc;
border: none;
border-radius: 3px;
border-radius: 0;
cursor: pointer;
font-size: 16px;
line-height: 1;
Expand Down Expand Up @@ -639,7 +639,7 @@ const executeButtonLabel = $derived(
background: transparent;
color: #cccccc;
border: none;
border-radius: 3px;
border-radius: 0;
cursor: pointer;
font-size: 13px;
transition: background 0.1s;
Expand Down
4 changes: 2 additions & 2 deletions src/components/code/ExampleSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $effect(() => {
padding: 4px 8px;
background: transparent;
border: 1px solid #3e3e42;
border-radius: 3px;
border-radius: 0;
color: #d4d4d4;
font-size: 13px;
cursor: pointer;
Expand Down Expand Up @@ -123,7 +123,7 @@ $effect(() => {
max-width: 500px;
background: #252526;
border: 1px solid #3e3e42;
border-radius: 3px;
border-radius: 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
z-index: 1000;
max-height: 400px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/comments/CommentBubble.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function handleTimestampClick(event: MouseEvent | KeyboardEvent): void {
/* Dark theme styling - match other panels */
background: rgba(0, 0, 0, 0.9);
border: 1px solid #444;
border-radius: 4px;
border-radius: 0;

/* NO ANIMATIONS */
transition: none;
Expand All @@ -101,7 +101,7 @@ function handleTimestampClick(event: MouseEvent | KeyboardEvent): void {
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
border-radius: 0;
}

.comment-bubble.preview,
Expand Down
6 changes: 3 additions & 3 deletions src/components/comments/CommentInputModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ $effect(() => {
.modal-content {
background: rgba(0, 0, 0, 0.95);
border: 1px solid #444;
border-radius: 4px;
border-radius: 0;
padding: 20px;
min-width: 400px;
max-width: 600px;
Expand All @@ -184,7 +184,7 @@ $effect(() => {
padding: 10px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid #555;
border-radius: 4px;
border-radius: 0;
color: #fff;
font-family: monospace;
font-size: 14px;
Expand Down Expand Up @@ -226,7 +226,7 @@ $effect(() => {
button {
padding: 8px 16px;
border: 1px solid #555;
border-radius: 4px;
border-radius: 0;
background: rgba(255, 255, 255, 0.05);
color: #ccc;
font-family: monospace;
Expand Down
16 changes: 8 additions & 8 deletions src/components/comments/CommentPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ onDestroy(() => {
>
<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
{#if permissions.viewersCanComment}
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
<rect x="3" y="11" width="18" height="11" rx="0" ry="0"></rect>
<path d="M7 11V7a5 5 0 0 1 9.9-1"></path>
{:else}
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
<rect x="3" y="11" width="18" height="11" rx="0" ry="0"></rect>
<path d="M7 11V7a5 5 0 0 1 10 0v4"></path>
{/if}
</svg>
Expand Down Expand Up @@ -633,7 +633,7 @@ onDestroy(() => {
max-height: 600px;
background: rgba(0, 0, 0, 0.9);
border: 1px solid #444;
border-radius: 4px;
border-radius: 0;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
overflow: hidden;
user-select: none;
Expand Down Expand Up @@ -698,7 +698,7 @@ onDestroy(() => {
padding: 8px 12px;
background: rgba(40, 40, 40, 0.8);
border: 1px solid #555;
border-radius: 4px;
border-radius: 0;
color: #ccc;
font-size: 11px;
cursor: pointer;
Expand Down Expand Up @@ -745,7 +745,7 @@ onDestroy(() => {
padding: 10px;
background: rgba(20, 20, 20, 0.6);
border: 1px solid #333;
border-radius: 4px;
border-radius: 0;
}

.comment-item:hover {
Expand Down Expand Up @@ -773,7 +773,7 @@ onDestroy(() => {
padding: 0;
background: rgba(50, 50, 50, 0.9);
border: 1px solid #555;
border-radius: 2px;
border-radius: 0;
color: #ccc;
font-size: 11px;
cursor: pointer;
Expand Down Expand Up @@ -827,7 +827,7 @@ onDestroy(() => {
padding: 4px 8px;
background: rgba(40, 40, 40, 0.6);
border: 1px solid #444;
border-radius: 3px;
border-radius: 0;
color: #aaa;
font-size: 10px;
cursor: pointer;
Expand Down Expand Up @@ -870,7 +870,7 @@ onDestroy(() => {
min-height: 56px;
background: rgba(10, 10, 10, 0.9);
border: 1px solid #444;
border-radius: 3px;
border-radius: 0;
color: #ccc;
font-family: monospace;
font-size: 11px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/DesktopFileControls.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ $effect(() => {
padding: 0.5rem 0.75rem;
background-color: #2a2a2a;
border: 1px solid #444;
border-radius: 0.375rem;
border-radius: 0;
color: #e5e7eb;
font-size: 0.875rem;
cursor: pointer;
Expand Down Expand Up @@ -210,7 +210,7 @@ $effect(() => {
padding: 0.5rem 0.75rem;
background-color: #1e293b;
border: 1px solid #475569;
border-radius: 0.375rem;
border-radius: 0;
color: #94a3b8;
font-size: 0.875rem;
font-style: italic;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/ErrorToast.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const { message, onDismiss }: Props = $props();
.error-content {
background-color: #3a1a1a;
border: 1px solid #ff4444;
border-radius: 8px;
border-radius: 0;
padding: 1rem 1.5rem;
max-width: 500px;
max-height: 80vh;
Expand All @@ -53,7 +53,7 @@ const { message, onDismiss }: Props = $props();
background-color: #ff4444;
color: #fff;
border: none;
border-radius: 4px;
border-radius: 0;
padding: 0.5rem 1rem;
font-size: 0.875rem;
cursor: pointer;
Expand Down
8 changes: 4 additions & 4 deletions src/components/ui/FileUpload.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ function triggerFileInput() {
</svg>
{:else if example.category === 'digital'}
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<rect x="4" y="4" width="16" height="16" rx="2" stroke-width="2"/>
<rect x="4" y="4" width="16" height="16" rx="0" stroke-width="2"/>
<path stroke-width="2" d="M9 9h6M9 12h6M9 15h4"/>
</svg>
{:else}
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<rect x="3" y="3" width="18" height="18" rx="2" stroke-width="2"/>
<rect x="3" y="3" width="18" height="18" rx="0" stroke-width="2"/>
<path stroke-width="2" d="M3 9h18M9 21V9"/>
</svg>
{/if}
Expand Down Expand Up @@ -306,7 +306,7 @@ function triggerFileInput() {
<style>
.file-upload {
border: 2px dashed #444;
border-radius: 8px;
border-radius: 0;
padding: 2rem;
text-align: center;
cursor: pointer;
Expand Down Expand Up @@ -440,7 +440,7 @@ function triggerFileInput() {
padding: 0;
background: #1a1a1a;
border: 1px solid #333;
border-radius: 8px;
border-radius: 0;
cursor: pointer;
text-align: left;
position: relative;
Expand Down
14 changes: 7 additions & 7 deletions src/components/ui/HeaderBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ async function handleFileInput(event: Event) {
padding: 0.5rem 1rem;
background-color: #1a1a1a;
border: 1px solid #333;
border-radius: 6px;
border-radius: 0;
}

.session-label {
Expand All @@ -388,7 +388,7 @@ async function handleFileInput(event: Event) {
font-size: 0.75rem;
font-weight: 600;
padding: 0.25rem 0.5rem;
border-radius: 4px;
border-radius: 0;
background-color: #333;
color: #888;
text-transform: uppercase;
Expand All @@ -405,7 +405,7 @@ async function handleFileInput(event: Event) {
font-size: 0.875rem;
font-weight: 500;
border: none;
border-radius: 6px;
border-radius: 0;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
Expand Down Expand Up @@ -488,7 +488,7 @@ async function handleFileInput(event: Event) {
padding: 1.5rem;
background: rgba(0, 0, 0, 0.95);
border: 1px solid #444;
border-radius: 8px;
border-radius: 0;
z-index: 1000;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
Expand Down Expand Up @@ -526,7 +526,7 @@ async function handleFileInput(event: Event) {
height: auto;
aspect-ratio: 1;
border: 4px solid #fff;
border-radius: 8px;
border-radius: 0;
background-color: #fff;
}

Expand Down Expand Up @@ -587,7 +587,7 @@ async function handleFileInput(event: Event) {
padding: 1.5rem;
background: #1a1a1a;
border: 1px solid #444;
border-radius: 8px;
border-radius: 0;
z-index: 1001;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
min-width: 320px;
Expand Down Expand Up @@ -633,7 +633,7 @@ async function handleFileInput(event: Event) {
font-size: 0.875rem;
background: #2a2a2a;
border: 1px solid #444;
border-radius: 4px;
border-radius: 0;
color: #fff;
cursor: pointer;
}
Expand Down
Loading