diff --git a/assets/css/editor.css b/assets/css/editor.css index 2a79049..a05151a 100644 --- a/assets/css/editor.css +++ b/assets/css/editor.css @@ -311,9 +311,9 @@ height: auto; } -.post-editor.editor, -.scripts-view-shell.editor, -.templates-view-shell.editor { +.post-editor, +.scripts-view-shell, +.templates-view-shell { flex: 1; display: flex; flex-direction: column; @@ -371,8 +371,8 @@ } .post-editor .status-badge, -.scripts-view-shell.editor .status-badge, -.templates-view-shell.editor .status-badge { +.scripts-view-shell .status-badge, +.templates-view-shell .status-badge { padding: 2px 8px; border-radius: 10px; font-size: 11px; @@ -381,22 +381,22 @@ } .post-editor .status-badge.status-draft, -.scripts-view-shell.editor .status-badge.status-draft, -.templates-view-shell.editor .status-badge.status-draft { +.scripts-view-shell .status-badge.status-draft, +.templates-view-shell .status-badge.status-draft { background-color: rgba(204, 167, 0, 0.2); color: var(--vscode-notificationsWarningIcon-foreground, var(--vscode-editorWarning-foreground)); } .post-editor .status-badge.status-published, -.scripts-view-shell.editor .status-badge.status-published, -.templates-view-shell.editor .status-badge.status-published { +.scripts-view-shell .status-badge.status-published, +.templates-view-shell .status-badge.status-published { background-color: rgba(115, 201, 145, 0.2); color: var(--vscode-testing-iconPassed); } .post-editor .status-badge.status-archived, -.scripts-view-shell.editor .status-badge.status-archived, -.templates-view-shell.editor .status-badge.status-archived { +.scripts-view-shell .status-badge.status-archived, +.templates-view-shell .status-badge.status-archived { background-color: rgba(133, 133, 133, 0.2); color: var(--vscode-descriptionForeground); } @@ -927,8 +927,8 @@ @media (max-width: 980px) { .post-editor .editor-header, - .scripts-view-shell.editor .editor-header, - .templates-view-shell.editor .editor-header, + .scripts-view-shell .ui-editor-header, + .templates-view-shell .ui-editor-header, .post-editor .metadata-toggle-header, .post-editor .editor-toolbar { display: flex; @@ -947,9 +947,9 @@ } .post-editor .editor-toolbar-right, - .post-editor .editor-actions, - .scripts-view-shell.editor .editor-actions, - .templates-view-shell.editor .editor-actions { + .post-editor .ui-editor-actions, + .scripts-view-shell .ui-editor-actions, + .templates-view-shell .ui-editor-actions { justify-content: flex-start; } } diff --git a/assets/css/media_editor.css b/assets/css/media_editor.css index 8af0c20..c08d03e 100644 --- a/assets/css/media_editor.css +++ b/assets/css/media_editor.css @@ -3,12 +3,12 @@ font-size: 10px; } -[data-testid="media-editor"] .editor-actions button { +[data-testid="media-editor"] .ui-editor-actions button { padding: 4px 10px; font-size: 12px; } -[data-testid="media-editor"] .editor-actions button.danger:hover { +[data-testid="media-editor"] .ui-editor-actions button.danger:hover { background-color: var(--vscode-notificationsErrorIcon-foreground); } diff --git a/lib/bds/desktop/shell_live/media_editor_html/media_editor.html.heex b/lib/bds/desktop/shell_live/media_editor_html/media_editor.html.heex index 937592b..4b20d91 100644 --- a/lib/bds/desktop/shell_live/media_editor_html/media_editor.html.heex +++ b/lib/bds/desktop/shell_live/media_editor_html/media_editor.html.heex @@ -1,18 +1,18 @@ -