From 87c310464f371fbc7e708a2e75e06b0225e5312e Mon Sep 17 00:00:00 2001 From: Ozbolt Menegatti Date: Sun, 26 Jan 2020 13:40:17 +0100 Subject: [PATCH] edit example text colors/buttons changed --- res/main.less | 4 ++-- src/view/modals.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/main.less b/res/main.less index 3d006e8..f8926ea 100644 --- a/res/main.less +++ b/res/main.less @@ -227,11 +227,11 @@ } .example-component-headword { - color: @navy; + color: @orange; } .example-component-collocate { - color: @teal; + color: @purple; } .example-component-other { diff --git a/src/view/modals.py b/src/view/modals.py index 71df35c..e9d96d3 100644 --- a/src/view/modals.py +++ b/src/view/modals.py @@ -39,13 +39,13 @@ def edit_example(example): divs = [] buttons_right = lambda idx: [ h("span.example-component-button.example-component-headword", - {"on": {"click": role_msg(idx, "headword")}}, "■"), + {"on": {"click": role_msg(idx, "headword")}}, "H"), h("span.example-component-button.example-component-collocate", - {"on": {"click": role_msg(idx, "collocate")}}, "■"), + {"on": {"click": role_msg(idx, "collocate")}}, "C"), h("span.example-component-button.example-component-other", - {"on": {"click": role_msg(idx, "other")}}, "■"), + {"on": {"click": role_msg(idx, "other")}}, "O"), h("span.example-component-button.example-component-none", - {"on": {"click": role_msg(idx, "none")}}, "■"), + {"on": {"click": role_msg(idx, "none")}}, "N"), h("span.example-component-button", {"on": {"click": message.msg(message.ExampleComponentAdd(example_original, idx))}}, "+"), h("span.example-component-button",