Skip to content

Commit

Permalink
configItemModal
Browse files Browse the repository at this point in the history
  • Loading branch information
Standarduser committed Jan 5, 2025
1 parent fb8ffe0 commit 21234c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion widgets/vis-homekittiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@
<div class="vis-widget_prev" style="width: 110px; height: 55px; font-size:8px; font-weight: normal;">
<div class="homekitTiles config-item config-modal vis-widget-prev-body">
<div class="vis-widget-body">
<div>
<div>
<span>MODAL</span><br>
<span>Blur: 3</span><br>
<span>Brightness: 0.3</span>
Expand Down
2 changes: 1 addition & 1 deletion widgets/vis-homekittiles/js/vis-homekittiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ vis.binds["vis-homekittiles"] = {
*/
//set css code
//var css = `#vis_container:has(.homekitTiles.config-item) ~ .ui-widget-overlay {background: ${background}; opacity: ${opacity};}`;
var css = `#vis_container:has(.homekitTiles.config-item) ~ .ui-widget-overlay {background: unset; opacity: unset; backdrop-filter: blur(${blur}px) brightness(${brightness});}`;
var css = `body:has(.homekitTiles.config-item.config-modal) .ui-widget-overlay {background: unset; opacity: unset; backdrop-filter: blur(${blur}px) brightness(${brightness});}`;

//append css to head
var head = document.head || document.getElementsByTagName('head')[0];
Expand Down

0 comments on commit 21234c7

Please sign in to comment.