From 8926eeab4501724ce4627ae9cff97963f2bd2b72 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 3 May 2016 22:07:05 -0700 Subject: WIP --- ext/fg/css/frame.css | 5 +++++ ext/fg/img/add_expression.png | Bin 0 -> 733 bytes ext/fg/img/add_kanji.png | Bin 0 -> 733 bytes ext/fg/img/add_reading.png | Bin 0 -> 286 bytes ext/fg/img/icon_add_expression.png | Bin 733 -> 0 bytes ext/fg/img/icon_add_reading.png | Bin 286 -> 0 bytes ext/fg/img/icon_copy_definition.png | Bin 663 -> 0 bytes ext/fg/js/client.js | 2 +- 8 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 ext/fg/img/add_expression.png create mode 100644 ext/fg/img/add_kanji.png create mode 100644 ext/fg/img/add_reading.png delete mode 100644 ext/fg/img/icon_add_expression.png delete mode 100644 ext/fg/img/icon_add_reading.png delete mode 100644 ext/fg/img/icon_copy_definition.png (limited to 'ext/fg') diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css index d28816f8..956ade8b 100644 --- a/ext/fg/css/frame.css +++ b/ext/fg/css/frame.css @@ -68,6 +68,11 @@ body { display: block; } +.action-icons .inactive { + -webkit-filter: grayscale(100%); + opacity: 0.25; +} + /* term styles */ .term-expression { diff --git a/ext/fg/img/add_expression.png b/ext/fg/img/add_expression.png new file mode 100644 index 00000000..6332fefe Binary files /dev/null and b/ext/fg/img/add_expression.png differ diff --git a/ext/fg/img/add_kanji.png b/ext/fg/img/add_kanji.png new file mode 100644 index 00000000..6332fefe Binary files /dev/null and b/ext/fg/img/add_kanji.png differ diff --git a/ext/fg/img/add_reading.png b/ext/fg/img/add_reading.png new file mode 100644 index 00000000..41ff8335 Binary files /dev/null and b/ext/fg/img/add_reading.png differ diff --git a/ext/fg/img/icon_add_expression.png b/ext/fg/img/icon_add_expression.png deleted file mode 100644 index 6332fefe..00000000 Binary files a/ext/fg/img/icon_add_expression.png and /dev/null differ diff --git a/ext/fg/img/icon_add_reading.png b/ext/fg/img/icon_add_reading.png deleted file mode 100644 index 41ff8335..00000000 Binary files a/ext/fg/img/icon_add_reading.png and /dev/null differ diff --git a/ext/fg/img/icon_copy_definition.png b/ext/fg/img/icon_copy_definition.png deleted file mode 100644 index 195dc6d6..00000000 Binary files a/ext/fg/img/icon_copy_definition.png and /dev/null differ diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js index 8393e58c..1f7f7633 100644 --- a/ext/fg/js/client.js +++ b/ext/fg/js/client.js @@ -105,7 +105,7 @@ class Client { } else { range.setLength(length); renderText( - {defs: results, root: this.fgRoot}, + {defs: results, root: this.fgRoot, options: this.options}, 'term-list.html', (content) => this.showPopup(range, content) ); -- cgit v1.2.3