Skip to content

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

chore: making advanced search translucent

Ilian Sapundshievaac2c39c44b2
diff --git a/package-lock.json b/package-lock.json
index dac7496a3..867574fbb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -197,7 +197,7 @@
"yarn": "please-use-npm"
},
"optionalDependencies": {
- "@tagspacespro/tagspacespro": "5.0.28"
+ "@tagspacespro/tagspacespro": "5.0.29"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -13596,9 +13596,9 @@
}
},
"node_modules/@tagspacespro/tagspacespro": {
- "version": "5.0.28",
- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.28/c880b1ecb2c5879844c15a4b28f138dbdb4cdea0",
- "integrity": "sha512-k/RL19/laPq090csEqWRd1ajJyIIwSi6Vsgws/RfqhdPjMWGohoNIzEF/c8gnTmw5JQxzWFMkq+JepBhL3c1Jg==",
+ "version": "5.0.29",
+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.29/b9e614e8df15659036600969f73f8cbdae418aa4",
+ "integrity": "sha512-TSQOX3gV+FnmnZiVVd75NWmiFK3TyH06aoloEdw+IIiHZ3ot2QRONcfGNArtESIykzeh7JAEScg1ETc9TDwzkw==",
"license": "Proprietary",
"optional": true
},
@@ -59235,9 +59235,9 @@
}
},
"@tagspacespro/tagspacespro": {
- "version": "5.0.28",
- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.28/c880b1ecb2c5879844c15a4b28f138dbdb4cdea0",
- "integrity": "sha512-k/RL19/laPq090csEqWRd1ajJyIIwSi6Vsgws/RfqhdPjMWGohoNIzEF/c8gnTmw5JQxzWFMkq+JepBhL3c1Jg==",
+ "version": "5.0.29",
+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.29/b9e614e8df15659036600969f73f8cbdae418aa4",
+ "integrity": "sha512-TSQOX3gV+FnmnZiVVd75NWmiFK3TyH06aoloEdw+IIiHZ3ot2QRONcfGNArtESIykzeh7JAEScg1ETc9TDwzkw==",
"optional": true
},
"@teamsupercell/typings-for-css-modules-loader": {
diff --git a/src/renderer/components/SearchBox.tsx b/src/renderer/components/SearchBox.tsx
index 8103d4a27..0cd78d5ca 100644
--- a/src/renderer/components/SearchBox.tsx
+++ b/src/renderer/components/SearchBox.tsx
@@ -17,6 +17,7 @@
*/
import React, { useState } from 'react';
+import { alpha, useTheme } from '@mui/material/styles';
import Popover from '@mui/material/Popover';
import SearchPopover from '-/components/SearchPopover';
import SearchAutocomplete from '-/components/SearchAutocomplete';
@@ -28,6 +29,7 @@ interface Props {
}
function SearchBox(props: Props) {
+ const theme = useTheme();
const { searchQuery } = useDirectoryContentContext();
const [anchorSearch, setAnchorSearch] = useState<HTMLButtonElement | null>(
null,
@@ -59,6 +61,8 @@ function SearchBox(props: Props) {
style: {
overflow: 'hidden',
height: 720,
+ background: alpha(theme.palette.background.default, 0.9),
+ backdropFilter: 'blur(5px)',
},
},
}}