From be43981e259bc833a92b3289246c9c75189b1c45 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 17 Apr 2016 17:23:53 -0700 Subject: Adding dictionary switcher stubs --- ext/bg/js/templates.js | 2 +- ext/fg/css/popup.css | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index 7c9febcb..0b7d83e7 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -11,7 +11,7 @@ templates['defs.html'] = template({"1":function(container,depth0,helpers,partial return "\n\n \n \n \n \n \n \n" + + "/css/popup.css\">\n \n \n
\n \n
\n\n" + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.defs : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + " \n\n"; },"usePartial":true,"useData":true}); diff --git a/ext/fg/css/popup.css b/ext/fg/css/popup.css index 76c2589a..668ad867 100644 --- a/ext/fg/css/popup.css +++ b/ext/fg/css/popup.css @@ -50,6 +50,26 @@ body { white-space: nowrap; } +.dictionary { + position: fixed; + right: 0px; + bottom: 0px; +} + +.dictionary a { + background-color: #333; + color: #eee; + display: inline-block; + font-size: 16px; + opacity: 0.75; + padding: 0.3em; + text-decoration: none; +} + +.dictionary a:hover { + opacity: 1.0; +} + ol { padding-left: 1.2em; } -- cgit v1.2.3