From a4990dd294c08e40c86123605fbfbc78bc930a6e Mon Sep 17 00:00:00 2001 From: NumEricR Date: Sun, 25 Aug 2013 16:40:12 +0200 Subject: [PATCH 1/3] Externalize bookmarklet style --- tpl/config.twig | 2 +- tpl/css/style.css | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tpl/config.twig b/tpl/config.twig index 89d5bf8..4c91922 100644 --- a/tpl/config.twig +++ b/tpl/config.twig @@ -17,7 +17,7 @@
  • firefox: download the extension
  • chrome: download the extension
  • android: download the application
  • -
  • bookmarklet: drag & drop this link to your bookmarks bar {% trans "poche it!" %}
  • +
  • bookmarklet: drag & drop this link to your bookmarks bar {% trans "poche it!" %}
  • {% trans "Updating poche" %}

    diff --git a/tpl/css/style.css b/tpl/css/style.css index 1ae3a60..3d3c538 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -229,6 +229,13 @@ a, a:hover, a:visited { font-weight: bold; } +#bookmarklet { + padding: 5px; + border: 1px dashed #808080; + background: #fff; + cursor: move; +} + footer { clear: both; } From 8e1ed353bbd772da9002dd977fc0725c9d526c8c Mon Sep 17 00:00:00 2001 From: NumEricR Date: Sun, 25 Aug 2013 16:41:20 +0200 Subject: [PATCH 2/3] Externalize top link style --- tpl/_head.twig | 2 +- tpl/css/style.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/tpl/_head.twig b/tpl/_head.twig index 6a8258a..cab317a 100644 --- a/tpl/_head.twig +++ b/tpl/_head.twig @@ -9,4 +9,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tpl/css/style.css b/tpl/css/style.css index 3d3c538..7633534 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -236,6 +236,20 @@ a, a:hover, a:visited { cursor: move; } +.top_link { + position: fixed; + right: 15px; + bottom: 15px; + display: none; + padding: 20px; + background: #ccc; + -moz-border-radius: 40px; + -webkit-border-radius: 40px; + border-radius: 40px; + opacity: 0.9; + z-index: 2000; +} + footer { clear: both; } From e6ba0359119e93f3659876a7b1a17294f2da2b0e Mon Sep 17 00:00:00 2001 From: NumEricR Date: Sun, 25 Aug 2013 16:57:37 +0200 Subject: [PATCH 3/3] Add bookmarklet id in config page --- tpl/config.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/config.twig b/tpl/config.twig index 4c91922..9517fc3 100644 --- a/tpl/config.twig +++ b/tpl/config.twig @@ -17,7 +17,7 @@
  • firefox: download the extension
  • chrome: download the extension
  • android: download the application
  • -
  • bookmarklet: drag & drop this link to your bookmarks bar {% trans "poche it!" %}
  • +
  • bookmarklet: drag & drop this link to your bookmarks bar {% trans "poche it!" %}
  • {% trans "Updating poche" %}