Skip to content
Open
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
119 changes: 119 additions & 0 deletions src/components/core/model/FieldMetaDataForm.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
overflow-y: auto;
overflow-x: hidden;
padding: 0.5rem;
background:
radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 7%, transparent), transparent 32%),
linear-gradient(180deg, color-mix(in srgb, var(--background) 96%, transparent), color-mix(in srgb, var(--background) 92%, var(--card) 8%));
}

.solid-field-form-frame {
Expand All @@ -34,6 +37,17 @@
width: 100%;
flex-direction: column;
gap: 1rem;
padding: 1rem;
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
border-radius: 16px;
background: linear-gradient(
180deg,
color-mix(in srgb, var(--card) 98%, var(--background) 2%),
color-mix(in srgb, var(--card) 92%, var(--background) 8%)
);
box-shadow:
0 14px 32px rgba(15, 23, 42, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.solid-field-form-header {
Expand All @@ -48,14 +62,30 @@
color: var(--muted-foreground);
}

.solid-field-form-shell .creat-field-form {
width: 100%;
padding: 0;
border-radius: 0;
background: transparent;
}

.solid-field-form-tabs .solid-notebook-tablist {
width: 100% !important;
padding: 0 0.25rem;
border-bottom-color: color-mix(in srgb, var(--border) 84%, transparent);
}

.solid-field-form-tabs .solid-notebook-content {
padding-top: 0.85rem;
}

.solid-field-form-tabs .solid-tabs-panel {
border-radius: 14px;
background: color-mix(in srgb, var(--background) 52%, var(--card) 48%);
border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
padding: 0.9rem;
}

.solid-field-form-actions {
display: flex;
align-items: center;
Expand All @@ -66,6 +96,95 @@
border-top: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
}

.solid-field-dialog .solid-radix-dialog-body.solid-dialog-body-flush {
background: var(--background);
}

.solid-field-dialog .solid-radix-dialog-header {
background: linear-gradient(
180deg,
color-mix(in srgb, var(--card) 96%, var(--background) 4%),
color-mix(in srgb, var(--card) 92%, var(--background) 8%)
);
border-bottom: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
}

html.dark .solid-field-dialog .solid-radix-dialog-header,
[data-theme="dark"] .solid-field-dialog .solid-radix-dialog-header {
background: linear-gradient(
180deg,
color-mix(in srgb, var(--card) 96%, #172554 4%),
color-mix(in srgb, var(--card) 88%, #020617 12%)
);
border-bottom-color: color-mix(in srgb, var(--border) 72%, #334155 28%);
}

html.dark .solid-field-form-scroll,
[data-theme="dark"] .solid-field-form-scroll {
background:
radial-gradient(circle at top right, color-mix(in srgb, var(--primary) 10%, transparent), transparent 34%),
linear-gradient(180deg, color-mix(in srgb, var(--background) 96%, #020617 4%), color-mix(in srgb, var(--background) 90%, #0b1220 10%));
}

html.dark .solid-field-form-frame,
[data-theme="dark"] .solid-field-form-frame {
border-color: color-mix(in srgb, var(--border) 72%, #334155 28%);
background: linear-gradient(
180deg,
color-mix(in srgb, var(--card) 96%, #172554 4%),
color-mix(in srgb, var(--card) 88%, #020617 12%)
);
box-shadow:
0 20px 44px rgba(2, 6, 23, 0.32),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html.dark .solid-field-form-tabs .solid-notebook-tablist,
[data-theme="dark"] .solid-field-form-tabs .solid-notebook-tablist {
border-bottom-color: color-mix(in srgb, var(--border) 72%, #334155 28%);
}

html.dark .solid-field-form-tabs .solid-tabs-panel,
[data-theme="dark"] .solid-field-form-tabs .solid-tabs-panel {
background: color-mix(in srgb, var(--background) 74%, var(--card) 26%);
border-color: color-mix(in srgb, var(--border) 72%, #334155 28%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html.dark .solid-field-form-actions,
[data-theme="dark"] .solid-field-form-actions {
border-top-color: color-mix(in srgb, var(--border) 72%, #334155 28%);
}

html.dark .solid-field-form-shell .solid-file-icon-btn,
[data-theme="dark"] .solid-field-form-shell .solid-file-icon-btn {
border-color: color-mix(in srgb, var(--border) 72%, #334155 28%);
background: color-mix(in srgb, var(--background) 72%, var(--card) 28%);
color: color-mix(in srgb, var(--foreground) 84%, transparent);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html.dark .solid-field-form-shell .solid-file-icon-btn:hover:not(:disabled),
[data-theme="dark"] .solid-field-form-shell .solid-file-icon-btn:hover:not(:disabled) {
background: color-mix(in srgb, var(--accent) 48%, #172554 22%);
border-color: color-mix(in srgb, var(--primary) 26%, var(--border) 74%);
color: var(--foreground);
}

html.dark .solid-field-form-shell .solid-file-icon-btn.is-danger,
[data-theme="dark"] .solid-field-form-shell .solid-file-icon-btn.is-danger {
background: color-mix(in srgb, #7f1d1d 38%, var(--card) 62%);
border-color: color-mix(in srgb, #ef4444 28%, var(--border) 72%);
color: #fecaca;
}

html.dark .solid-field-form-shell .solid-file-icon-btn.is-danger:hover:not(:disabled),
[data-theme="dark"] .solid-field-form-shell .solid-file-icon-btn.is-danger:hover:not(:disabled) {
background: color-mix(in srgb, #991b1b 44%, var(--card) 56%);
border-color: color-mix(in srgb, #f87171 34%, var(--border) 66%);
color: #fee2e2;
}

@media (max-width: 640px) {
.solid-field-form-scroll {
padding: 0.75rem;
Expand Down
64 changes: 64 additions & 0 deletions src/components/core/module/ModuleMetadataExplorer.css
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,70 @@
opacity: 0.45;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_gutter,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_scroller,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_content {
background: color-mix(in srgb, #0f172a 92%, var(--surface-card, #111827) 8%) !important;
color: #e5edf8 !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_gutter {
color: #94a3b8 !important;
border-right: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_gutter-active-line,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_active-line,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_marker-layer .ace_active-line {
background: rgba(148, 163, 184, 0.12) !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_marker-layer .ace_selection {
background: rgba(96, 165, 250, 0.22) !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_marker-layer .ace_bracket {
border: 1px solid rgba(148, 163, 184, 0.55) !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_cursor {
border-left-color: #f8fafc !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_print-margin {
background: rgba(148, 163, 184, 0.12) !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_constant,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_constant.ace_numeric,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_constant.ace_language {
color: #f59e0b !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_string {
color: #86efac !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_keyword,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_meta {
color: #93c5fd !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_variable,
[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_variable.ace_parameter {
color: #fda4af !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_comment {
color: #64748b !important;
}

[data-theme="dark"] .solid-module-explorer-jsoneditor .ace-jsoneditor .ace_invalid {
color: #fecaca !important;
background: rgba(220, 38, 38, 0.28) !important;
}

@media (max-width: 1200px) {
.solid-module-explorer-workspace {
grid-template-columns: 1fr !important;
Expand Down
Loading