From cee9b61a79e93d24bec050e71d1bf31b915ce853 Mon Sep 17 00:00:00 2001 From: Gaurang Tandon <1gaurangtandon@gmail.com> Date: Sat, 15 Aug 2015 13:19:17 +0530 Subject: [PATCH 01/15] v2.5.4 update --- css/options.css | 35 +++++++--- css/popup.css | 2 +- css/reset.css | 2 +- html/options.html | 23 +++--- html/popup.html | 2 +- js/background.js | 4 +- js/detector.js | 7 +- js/options.js | 174 +++++++++++++++++++++------------------------- js/popup.js | 8 +-- 9 files changed, 131 insertions(+), 126 deletions(-) diff --git a/css/options.css b/css/options.css index 6bc98a6..793008a 100644 --- a/css/options.css +++ b/css/options.css @@ -283,6 +283,19 @@ ol{ display: none; } +#help dd a{ + color: #1143BB; +} + +#help dd a[data-target="#tryit"]{ + display: inline-block; + min-width: 150px; + max-width: 350px; + margin: 10px 0; + color: #1143BB; + cursor: pointer; +} + #help h3{ font-size: 26px; margin-bottom: 15px; @@ -319,35 +332,39 @@ ol{ font-size: 15px; } -.tryit{ +#tryit{ margin: auto; width: 70%; height: 210px; border: 1px solid grey; } -.tryit .nav{ +#tryit .nav{ width: 100%; height: 30px; background: rgb(232, 232, 232); } -.tryit .nav p{ +#tryit .nav span{ + padding-left: 10px; +} + +#tryit .nav p{ display: inline-block; height: 100%; max-width: 200px; padding: 5px; cursor: pointer; min-width: 50px; - margin: auto 10px; + margin: auto 0 auto 5px; font-family: 'Segoe UI', Tahoma, sans-serif; } -.tryit .nav .show{ +#tryit .nav .show{ background: white; } -.tryit > .show{ +#tryit > .show{ display: block; height: 180px; width: 100%; @@ -358,11 +375,11 @@ ol{ overflow-y: auto; } -.tryit textarea{ +#tryit textarea{ resize: none; } -.tryit > :not(.nav):not(.show){ +#tryit > :not(.nav):not(.show){ display: none; } @@ -656,4 +673,4 @@ td{ width: 55px; height: 55px; } -} +} \ No newline at end of file diff --git a/css/popup.css b/css/popup.css index dcf4cb5..166fda0 100644 --- a/css/popup.css +++ b/css/popup.css @@ -716,4 +716,4 @@ body.darkened .fade{ .zoom75 .new_user_msg button{ font-size: 25px; -} +} \ No newline at end of file diff --git a/css/reset.css b/css/reset.css index d190e90..6b2c685 100644 --- a/css/reset.css +++ b/css/reset.css @@ -33,4 +33,4 @@ body { table { border-collapse: collapse; border-spacing: 0; -} +} \ No newline at end of file diff --git a/html/options.html b/html/options.html index a523df1..812a1ae 100644 --- a/html/options.html +++ b/html/options.html @@ -84,14 +84,15 @@
Heads up! "Using a snippet" means performing snippet substitution in a web page with an already created snippet. "Creating a snippet" means creating a new snippet in the popup box.
-Click the question you want to know about. Try the features as you learn them in this editor.
+Click the question you want to know about. Try the features in this editor
-