From e4283a79b9a4b566d1475655d60d4a1c6485b62d Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Wed, 12 May 2021 23:48:41 +0200 Subject: [PATCH] improve dialog style --- src/editor/components/seDropdown.js | 2 +- src/editor/components/seExplorerButton.js | 2 +- src/editor/dialogs/SePlainAlertDialog.js | 2 +- src/editor/dialogs/editorPreferencesDialog.js | 16 +++++++-- src/editor/dialogs/exportDialog.js | 8 ++--- src/editor/dialogs/imagePropertiesDialog.js | 3 +- src/editor/dialogs/svgSourceDialog.js | 18 +++++++--- .../extensions/ext-imagelib/ext-imagelib.js | 4 +-- .../extensions/ext-mathjax/ext-mathjax.js | 2 +- .../extensions/ext-storage/storageDialog.js | 4 +-- src/editor/images/textmarker_bottom.svg | 3 ++ src/editor/images/textmarker_top.svg | 6 ++-- src/editor/images/tool_placemark.svg | 11 ++++++ src/editor/svgedit.css | 35 ++----------------- 14 files changed, 59 insertions(+), 57 deletions(-) diff --git a/src/editor/components/seDropdown.js b/src/editor/components/seDropdown.js index 91b24afb..450a6e3d 100644 --- a/src/editor/components/seDropdown.js +++ b/src/editor/components/seDropdown.js @@ -40,7 +40,7 @@ class Dropdown extends ListComboBox { ::slotted(*) { padding: 4px; background: #E8E8E8; - border: 1px solid #B0B0B0; + border: 1px solid #5a6162; width: 100%; } [part~="popup"] { diff --git a/src/editor/components/seExplorerButton.js b/src/editor/components/seExplorerButton.js index 4d5a5b50..04126acb 100644 --- a/src/editor/components/seExplorerButton.js +++ b/src/editor/components/seExplorerButton.js @@ -67,7 +67,7 @@ template.innerHTML = ` .menu-item { line-height: 1em; padding: 0.5em; - border: 1px solid #B0B0B0; + border: 1px solid #5a6162; background: #E8E8E8; margin-bottom: -1px; white-space: nowrap; diff --git a/src/editor/dialogs/SePlainAlertDialog.js b/src/editor/dialogs/SePlainAlertDialog.js index 2cc06e8c..a3b2c0b1 100644 --- a/src/editor/dialogs/SePlainAlertDialog.js +++ b/src/editor/dialogs/SePlainAlertDialog.js @@ -52,7 +52,7 @@ export default class SePlainAlertDialog extends PlainAlertDialog { background: #DDD; overflow: auto; text-align: left; - border: 1px solid #B0B0B0; + border: 1px solid #5a6162; padding: 1em; border-radius: 5px; -moz-border-radius: 5px; diff --git a/src/editor/dialogs/editorPreferencesDialog.js b/src/editor/dialogs/editorPreferencesDialog.js index 8d81006c..9b7e793c 100644 --- a/src/editor/dialogs/editorPreferencesDialog.js +++ b/src/editor/dialogs/editorPreferencesDialog.js @@ -71,7 +71,8 @@ template.innerHTML = ` } #svg_prefs #svg_prefs_container { padding: 10px; - background-color: #B0B0B0; + background-color: #5a6162; + color: #c5c5c5; border: 1px outset #777; opacity: 1.0; font-family: Verdana, Helvetica, sans-serif; @@ -83,6 +84,17 @@ template.innerHTML = ` margin-left: 1em; overflow: auto; } + + #tool_prefs_save { + width: 30%; + background-color: #c79605; + margin-left: 20%; + } + + #tool_prefs_cancel { + width: 30%; + background-color: #c8c8c8; + } #svg_prefs #svg_docprops_prefs { float: left; @@ -138,11 +150,9 @@ template.innerHTML = `