diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js
index 183eb4510..e96020b8d 100644
--- a/apps/spreadsheeteditor/main/app/controller/Main.js
+++ b/apps/spreadsheeteditor/main/app/controller/Main.js
@@ -904,6 +904,13 @@ define([
} else checkWarns();
Common.Gateway.documentReady();
+
+ $('#header-logo').children(0).click(e => {
+ e.stopImmediatePropagation();
+
+ $(':root').toggleClass('theme-dark');
+ // getComputedStyle(document.documentElement).getPropertyValue('--background-normal');
+ })
},
onLicenseChanged: function(params) {
diff --git a/apps/spreadsheeteditor/main/app/view/Spellcheck.js b/apps/spreadsheeteditor/main/app/view/Spellcheck.js
index 16eb9d8c5..9936afa21 100644
--- a/apps/spreadsheeteditor/main/app/view/Spellcheck.js
+++ b/apps/spreadsheeteditor/main/app/view/Spellcheck.js
@@ -51,14 +51,22 @@ define([
el: '#left-panel-spellcheck',
template: _.template([
- '
',
- '',
- '
',
- '
',
- '
',
- '
',
- '
',
- '
<%= scope.txtComplete %>
',
+ '
',
+ '',
+ '
',
+ '
',
+ '
',
+ '
',
+ '
',
+ '',
+ '
',
+ '
',
+ '',
+ '<%= scope.txtComplete %>' ,
+ '
',
'
'
].join('')),
diff --git a/apps/spreadsheeteditor/main/resources/less/app.less b/apps/spreadsheeteditor/main/resources/less/app.less
index d0b4e1f00..671ed44c0 100644
--- a/apps/spreadsheeteditor/main/resources/less/app.less
+++ b/apps/spreadsheeteditor/main/resources/less/app.less
@@ -10,6 +10,7 @@
// Bootstrap overwrite
@import "../../../../common/main/resources/less/variables.less";
@import "../../../../common/main/resources/less/colors-table.less";
+@import "../../../../common/main/resources/less/colors-table-dark.less";
//
// Bootstrap
@@ -131,6 +132,7 @@
@import "celleditor.less";
@import "formuladialog.less";
@import "filterdialog.less";
+@import "spellcheck.less";
@import "sprites/iconssmall@1x";
@import "sprites/iconsbig@1x";
diff --git a/apps/spreadsheeteditor/main/resources/less/spellcheck.less b/apps/spreadsheeteditor/main/resources/less/spellcheck.less
new file mode 100644
index 000000000..a86131602
--- /dev/null
+++ b/apps/spreadsheeteditor/main/resources/less/spellcheck.less
@@ -0,0 +1,50 @@
+
+#spellcheck-box {
+ padding: 20px 15px 0;
+ width: 100%;
+ position: relative;
+ overflow: hidden;
+}
+
+#spellcheck-current-word {
+ vertical-align: top;
+ width: 100%;
+ display: inline-block;
+}
+
+#spellcheck-next {
+ display: inline-block;
+}
+
+#spellcheck-suggestions-list {
+ width: 100%;
+ height: 116px;
+ background-color: @background-normal;
+ margin-bottom: 8px;
+}
+
+#spellcheck-change {
+ display: inline-block;
+ padding-bottom: 16px;
+}
+
+#spellcheck-ignore {
+ margin-left: 9px;
+ display: inline-block;
+}
+
+#spellcheck-add-to-dictionary {
+ min-width: 110px;
+ display: block;
+ margin-bottom: 16px;
+}
+
+#spellcheck-dictionary-language {
+ margin-top: 3px;
+ padding-bottom: 16px;
+ display: flex;
+}
+
+#spellcheck-complete {
+ display: flex;
+}
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/main/resources/less/variables.less b/apps/spreadsheeteditor/main/resources/less/variables.less
index 5e97db181..65d0a2b3b 100644
--- a/apps/spreadsheeteditor/main/resources/less/variables.less
+++ b/apps/spreadsheeteditor/main/resources/less/variables.less
@@ -1,6 +1,7 @@
//
// Variables
// --------------------------------------------------
+@header-background-color: var(--toolbar-header-spreadsheet);
// Active color
// -------------------------