feat: not-hidden combination

This commit is contained in:
relikd
2025-11-06 01:25:35 +01:00
parent 2d16cb666b
commit cfb6b17bc7
3 changed files with 7 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ body {
line-height: 1.3; line-height: 1.3;
} }
.hiddenDiv { .hidden, .not- {
display: none; display: none;
} }

View File

@@ -6,6 +6,7 @@
</head> </head>
<body> <body>
<h1>__QuickLookTitle__</h1> <h1>__QuickLookTitle__</h1>
<div class="app __AppInfoHidden__"> <div class="app __AppInfoHidden__">
<div class="floatLeft icon"><img alt="App icon" src="data:image/png;base64,__AppIcon__"/></div> <div class="floatLeft icon"><img alt="App icon" src="data:image/png;base64,__AppIcon__"/></div>
<div class="floatLeft info"> <div class="floatLeft info">
@@ -22,6 +23,10 @@
<br class="clear" /> <br class="clear" />
</div> </div>
<div class="not-__AppInfoHidden__">
Could not find any Info.plist
</div>
<div class="__ArchiveHidden__"> <div class="__ArchiveHidden__">
<h2>Archive Notes</h2> <h2>Archive Notes</h2>
<pre>__ArchiveComment__</pre> <pre>__ArchiveComment__</pre>

View File

@@ -1,6 +1,6 @@
import Foundation import Foundation
let CLASS_HIDDEN = "hiddenDiv" let CLASS_HIDDEN = "hidden"
let CLASS_VISIBLE = "" let CLASS_VISIBLE = ""
struct PreviewGenerator { struct PreviewGenerator {