From 81a9e25eab7246bb2795a81d095d1ff8bd482ca8 Mon Sep 17 00:00:00 2001 From: Jette Petzold Date: Tue, 14 May 2024 12:20:18 +0200 Subject: [PATCH] fixed incorrect import --- .../src-diagram-snippets/css/diagram.css | 2 - .../css/sprotty-vscode.css | 118 ------------------ .../src-diagram-snippets/css/sprotty.css | 95 -------------- 3 files changed, 215 deletions(-) delete mode 100644 extension/src-diagram-snippets/css/sprotty-vscode.css delete mode 100644 extension/src-diagram-snippets/css/sprotty.css diff --git a/extension/src-diagram-snippets/css/diagram.css b/extension/src-diagram-snippets/css/diagram.css index ab4f78df..ba4f25e1 100644 --- a/extension/src-diagram-snippets/css/diagram.css +++ b/extension/src-diagram-snippets/css/diagram.css @@ -19,8 +19,6 @@ @import "./sidebar.css"; @import "./theme.css"; @import "./stpa-diagram.css"; -@import "./fta-diagram.css"; -@import "./context-menu.css"; .header { text-decoration-line: underline; diff --git a/extension/src-diagram-snippets/css/sprotty-vscode.css b/extension/src-diagram-snippets/css/sprotty-vscode.css deleted file mode 100644 index 3b2231cf..00000000 --- a/extension/src-diagram-snippets/css/sprotty-vscode.css +++ /dev/null @@ -1,118 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2017-2018 TypeFox and others. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the Eclipse - * Public License v. 2.0 are satisfied: GNU General Public License, version 2 - * with the GNU Classpath Exception which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - ********************************************************************************/ - -html, body { - width: 100%; - height: 100%; - padding: 0px; -} - -.sprotty { - display: flex; - height: 100%; -} - -.sprotty-hidden { - height: 0px !important; -} - -svg { - width: 100%; - flex: 1; - border-style: none; - border-width: 0px; -} - -svg:focus { - border-width: 0; -} - -.sprotty-status { - position: absolute; - top: 5px; - left: 10px; - display: flex; - align-items: center; -} - -.sprotty-status .fatal { - color: var(--vscode-editorError-foreground) -} - -.sprotty-status .error { - color: var(--vscode-editorError-foreground) -} - -.sprotty-status .warning { - color: var(--vscode-editorWarning-foreground) -} - -.sprotty-status .info { - color: var(--vscode-editorInfo-foreground) -} - -.sprotty-error { - fill: var(--vscode-editorError-foreground); - color: var(--vscode-editorError-foreground); -} - -.sprotty-warning { - fill: var(--vscode-editorWarning-foreground); - color: var(--vscode-editorWarning-foreground); -} - -.sprotty-info { - fill: var(--vscode-editorInfo-foreground); - color: var(--vscode-editorInfo-foreground); -} - -.sprotty-infoRow .fa { - margin-right: 8px; -} - -.sprotty-status .ok { - visibility: hidden; -} - -.sprotty-status-message { - visibility: hidden; - padding-left: 10px; -} - -.sprotty-status:hover .sprotty-status-message { - visibility: visible; -} - -.sprotty-popup { - position: absolute; - background: #FFE9BE; - border-radius: 0px; - border: none; - max-width: initial; - min-width: initial; - z-index: 1; - padding: 8px; -} - -.sprotty-infoRow { - font-size: small; - margin-bottom: 8px; -} - -.sprotty-infoTitle { - display: block; - font-weight: bold; -} diff --git a/extension/src-diagram-snippets/css/sprotty.css b/extension/src-diagram-snippets/css/sprotty.css deleted file mode 100644 index 1a04b7fe..00000000 --- a/extension/src-diagram-snippets/css/sprotty.css +++ /dev/null @@ -1,95 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2017-2018 TypeFox and others. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the Eclipse - * Public License v. 2.0 are satisfied: GNU General Public License, version 2 - * with the GNU Classpath Exception which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - ********************************************************************************/ - -.sprotty { - padding: 0px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -.sprotty-root { - position: relative; -} - -.sprotty-hidden { - display: block; - position: absolute; - width: 0px; - height: 0px; -} - -.sprotty-popup { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - position: absolute; - background: white; - border-radius: 5px; - border: 1px solid; - max-width: 400px; - min-width: 100px; -} - -.sprotty-popup > div { - margin: 10px; -} - -.sprotty-popup-closed { - display: none; -} - -.sprotty-projection-bar.horizontal { - position: absolute; - width: 100%; - height: 20px; - left: 0; - bottom: 0; -} - -.sprotty-projection-bar.vertical { - position: absolute; - width: 20px; - height: 100%; - right: 0; - top: 0; -} - -.sprotty-viewport { - z-index: 1; - border-style: solid; - border-width: 2px; -} - -.sprotty-projection-bar.horizontal .sprotty-projection, -.sprotty-projection-bar.horizontal .sprotty-viewport { - position: absolute; - height: 100%; - top: 0; -} - -.sprotty-projection-bar.vertical .sprotty-projection, -.sprotty-projection-bar.vertical .sprotty-viewport { - position: absolute; - width: 100%; - left: 0; -} - -@keyframes spin { - 100% { - transform:rotate(360deg); - } -} - -.animation-spin { - animation: spin 1.5s linear infinite; -}