aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-03 15:14:31 -0800
committerfriendica <info@friendica.com>2013-11-03 15:14:31 -0800
commit72287b24783edcaf44d1d93bb901729d1af0375a (patch)
tree8e1fb9365df21ba43f62d82af68ec555d2447342 /view/theme
parent4d470f2d7017fcee94d0d5a548ff40018b358542 (diff)
downloadvolse-hubzilla-72287b24783edcaf44d1d93bb901729d1af0375a.tar.gz
volse-hubzilla-72287b24783edcaf44d1d93bb901729d1af0375a.tar.bz2
volse-hubzilla-72287b24783edcaf44d1d93bb901729d1af0375a.zip
fix the saved search term delete icons in redbasic so they are hidden by default. This is a bit harder using font-based icons than it was with images that could easily be hidden. We'll do it with opacity instead of visibility or display css settings.
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css6
-rw-r--r--view/theme/redbasic/js/redbasic.js34
2 files changed, 21 insertions, 19 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index b672b572c..9ecb23f5e 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -3448,4 +3448,8 @@ text-decoration: none;
#menulist {
list-style-type: none;
-} \ No newline at end of file
+}
+
+.savedsearchdrop {
+ opacity: 0;
+}
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index e7a682911..a97e906bf 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -66,24 +66,22 @@ $('.sidebar-group-element').hover(
);
-//$('.saved-search-li a').hover(
-// function() {
-// id = $(this).attr('id');
-// $('#dropicon-' + id).css('visibility','visible');},
-// function() {
-// id = $(this).attr('id');
-// $('#dropicon-' + id).css('visibility','hidden');}
-// );
-
-//$('.savedsearchterm').hover(
-// function() {
-// id = $(this).attr('id');
-// $('#dropicon-' + id).css('visibility','visible');},
-//
-// function() {
-// id = $(this).attr('id');
-// $('#dropicon-' + id).css('visibility','hidden');
-// });
+$('.savedsearchdrop').hover(
+ function() {
+ $(this).css('opacity','1.0');},
+ function() {
+ $(this).css('opacity','0');}
+ );
+
+$('.savedsearchterm').hover(
+ function() {
+ id = $(this).attr('id');
+ $('#dropicon-' + id).css('opacity','1.0');},
+
+ function() {
+ id = $(this).attr('id');
+ $('#dropicon-' + id).css('opacity','0');
+ });
});