Skip to content

TagSpaces is an offline, open source, document manager with tagging support

making selected files in the grid perspective more visible

uggrockefe97342dc5f
diff --git a/data/ext/perspectiveGrid/extension.css b/data/ext/perspectiveGrid/extension.css
index 1e605c90b..d51b86c2a 100644
--- a/data/ext/perspectiveGrid/extension.css
+++ b/data/ext/perspectiveGrid/extension.css
@@ -42,7 +42,8 @@
font-size: 14px;
line-height: 120%;
color: #333333;
- background-color: rgba(255,255,255,0.7);
+ background-color: white;
+ opacity: 0.7;
z-index: 99;
position: absolute;
left: 0px;
@@ -52,6 +53,10 @@
padding: 5px;
}
+.ui-selected .titleInFileTile {
+ background-color: #1DD19F;
+}
+
.tagsInFileTile {
position: absolute;
z-index: 100;
@@ -107,3 +112,5 @@
vertical-align: text-top;
border: 0px lightgray solid;
}
+
+
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index a41ba5fa1..59c0b7791 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -493,11 +493,11 @@ define(function(require, exports, module) {
var $stateTag = $(this).find("i");
if ($stateTag.hasClass("fa-square-o")) {
$stateTag.removeClass("fa-square-o").addClass("fa fa-check-square");
- $(this).parent().parent().addClass("ui-selected");
+ $(this).parent().addClass("ui-selected");
TSCORE.selectedFiles.push(filePath);
} else {
$stateTag.removeClass("fa-check-square").addClass("fa-square-o");
- $(this).parent().parent().removeClass("ui-selected");
+ $(this).parent().removeClass("ui-selected");
TSCORE.selectedFiles.splice(TSCORE.selectedFiles.indexOf(filePath), 1);
}
self.handleElementActivation();