summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-03 22:07:05 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-03 22:07:05 -0700
commit8926eeab4501724ce4627ae9cff97963f2bd2b72 (patch)
tree31ec51f06c2959c98f4d5f0288bd0c7b0c59acec /ext/fg
parentf535683e9b35aabe0c481bf5e4b040dc40d019e7 (diff)
WIP
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/css/frame.css5
-rw-r--r--ext/fg/img/add_expression.png (renamed from ext/fg/img/icon_add_expression.png)bin733 -> 733 bytes
-rw-r--r--ext/fg/img/add_kanji.pngbin0 -> 733 bytes
-rw-r--r--ext/fg/img/add_reading.png (renamed from ext/fg/img/icon_add_reading.png)bin286 -> 286 bytes
-rw-r--r--ext/fg/img/icon_copy_definition.pngbin663 -> 0 bytes
-rw-r--r--ext/fg/js/client.js2
6 files changed, 6 insertions, 1 deletions
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/icon_add_expression.png b/ext/fg/img/add_expression.png
index 6332fefe..6332fefe 100644
--- a/ext/fg/img/icon_add_expression.png
+++ b/ext/fg/img/add_expression.png
Binary files differ
diff --git a/ext/fg/img/add_kanji.png b/ext/fg/img/add_kanji.png
new file mode 100644
index 00000000..6332fefe
--- /dev/null
+++ b/ext/fg/img/add_kanji.png
Binary files differ
diff --git a/ext/fg/img/icon_add_reading.png b/ext/fg/img/add_reading.png
index 41ff8335..41ff8335 100644
--- a/ext/fg/img/icon_add_reading.png
+++ b/ext/fg/img/add_reading.png
Binary files 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
--- a/ext/fg/img/icon_copy_definition.png
+++ /dev/null
Binary files 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)
);