edit example text colors/buttons changed

pull/1/head
Ozbolt Menegatti 4 years ago
parent b860fa4807
commit 87c310464f

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

@ -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",

Loading…
Cancel
Save