aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/conversation.php2
-rw-r--r--include/main.js11
-rw-r--r--view/theme/duepuntozero/style.css11
-rw-r--r--view/theme/loozah/style.css7
-rw-r--r--view/wall_item_drop.tpl2
5 files changed, 23 insertions, 10 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 0d3123831..b536fed5f 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -392,7 +392,7 @@ function conversation(&$a, $items, $mode, $update) {
if((intval($item['contact-id']) && $item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
$dropping = true;
- $drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id'], '$delete' => t('Delete')));
+ $drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id'], '$select' => t('Select'), '$delete' => t('Delete')));
$photo = $item['photo'];
diff --git a/include/main.js b/include/main.js
index 3cc607977..5b9dae461 100644
--- a/include/main.js
+++ b/include/main.js
@@ -287,6 +287,17 @@
});
}
+function checkboxhighlight(box) {
+ if($(box).is(':checked')) {
+ $(box).addClass('checkeditem');
+ }
+ else {
+ $(box).removeClass('checkeditem');
+ }
+}
+
+
+
/**
* sprintf in javascript
* "{0} and {1}".format('zero','uno');
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 2c3700c43..a8d40886f 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -2490,17 +2490,18 @@ a.mail-list-link {
}
.item-select {
- opacity: 0.3;
- filter:alpha(opacity=30);
+ opacity: 0.1;
+ filter:alpha(opacity=10);
float: right;
margin-right: 10px;
}
-.item-select:hover {
+.item-select:hover, .checkeditem {
opacity: 1;
filter:alpha(opacity=100);
}
+
#item-delete-selected {
margin-top: 30px;
}
@@ -2521,8 +2522,8 @@ a.mail-list-link {
position: absolute;
left: 0px;
top: 0px;
- opacity: 0.3;
- filter:alpha(opacity=30);
+ opacity: 0.2;
+ filter:alpha(opacity=20);
}
#lang-select-icon:hover {
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 9ab3bb6bc..d43ab19ed 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -2519,17 +2519,18 @@ a.mail-list-link {
.item-select {
- opacity: 0.3;
- filter:alpha(opacity=30);
+ opacity: 0.1;
+ filter:alpha(opacity=10);
float: right;
margin-right: 10px;
}
-.item-select:hover {
+.item-select:hover, .checkeditem {
opacity: 1;
filter:alpha(opacity=100);
}
+
#item-delete-selected {
margin-top: 30px;
}
diff --git a/view/wall_item_drop.tpl b/view/wall_item_drop.tpl
index b10c21093..30fa6c335 100644
--- a/view/wall_item_drop.tpl
+++ b/view/wall_item_drop.tpl
@@ -2,5 +2,5 @@
<a href="item/drop/$id" onclick="return confirmDelete();" class="icon drophide" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
</div>
-<input type="checkbox" class="item-select" name="itemselected[]" value="$id" />
+<input type="checkbox" onclick="checkboxhighlight(this);" title="$select" class="item-select" name="itemselected[]" value="$id" />
<div class="wall-item-delete-end"></div>