edit example text colors/buttons changed

This commit is contained in:
Ozbolt Menegatti 2020-01-26 13:40:17 +01:00
parent b860fa4807
commit 87c310464f
2 changed files with 6 additions and 6 deletions

View File

@ -227,11 +227,11 @@
} }
.example-component-headword { .example-component-headword {
color: @navy; color: @orange;
} }
.example-component-collocate { .example-component-collocate {
color: @teal; color: @purple;
} }
.example-component-other { .example-component-other {

View File

@ -39,13 +39,13 @@ def edit_example(example):
divs = [] divs = []
buttons_right = lambda idx: [ buttons_right = lambda idx: [
h("span.example-component-button.example-component-headword", 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", 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", 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", 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", h("span.example-component-button",
{"on": {"click": message.msg(message.ExampleComponentAdd(example_original, idx))}}, "+"), {"on": {"click": message.msg(message.ExampleComponentAdd(example_original, idx))}}, "+"),
h("span.example-component-button", h("span.example-component-button",