mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 04:14:12 +01:00
hide some tools
This commit is contained in:
10 files changed
+25
-10
No files matched your search
@@ -29,7 +29,12 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
overflow: hidden;
|
||||
|
||||
&[data-disabled="true"] {
|
||||
opacity: 0.25;
|
||||
opacity: calc(1 / 8);
|
||||
cursor: not-allowed;
|
||||
|
||||
.link {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,6 +81,7 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
<div
|
||||
style={{ backgroundImage: `url(/media/tools/banners/${tool.id}.webp)` }}
|
||||
class="container"
|
||||
data-disabled={String(tool.disabled ?? false)}
|
||||
>
|
||||
<LinkI18n
|
||||
{locale}
|
||||
@@ -87,8 +93,7 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
<div
|
||||
class="background"
|
||||
style={{ backgroundImage: `url(/media/tools/banners/${tool.id}.webp)` }}
|
||||
>
|
||||
</div>
|
||||
></div>
|
||||
|
||||
<div class="content" data-minor={minor}>
|
||||
<div class="wrapper">
|
||||
|
||||
Reference in new issue
Block a user