This commit is contained in:
ManeraKai 2024-08-16 13:44:31 +03:00
parent 7ed399d6b4
commit ef9b247a91
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 7 additions and 3 deletions

View File

@ -50,11 +50,11 @@
}), }),
]} ]}
> >
<div class="slot" slot="item" let:item> <div class={"slot " + (!_options[item.value].enabled && "disabled")} slot="item" let:item>
<ServiceIcon details={item} /> <ServiceIcon details={item} />
{item.label} {item.label}
</div> </div>
<div class="slot" slot="selection" let:selection> <div class={"slot " + (!_options[selection.value].enabled && "disabled")} slot="selection" let:selection>
<ServiceIcon details={selection} /> <ServiceIcon details={selection} />
{selection.label} {selection.label}
</div> </div>
@ -181,10 +181,10 @@
--width: 210px; --width: 210px;
--background: var(--bg-secondary); --background: var(--bg-secondary);
--list-background: var(--bg-secondary); --list-background: var(--bg-secondary);
--item-active-background: red;
--item-is-active-bg: grey; --item-is-active-bg: grey;
--item-hover-bg: grey; --item-hover-bg: grey;
--item-is-active-color: var(--text); --item-is-active-color: var(--text);
--list-max-height: 400px;
--padding: 0 0 0 10px; --padding: 0 0 0 10px;
--item-color: var(--text); --item-color: var(--text);
} }
@ -201,4 +201,8 @@
width: 26px; width: 26px;
color: var(--text); color: var(--text);
} }
:global(.svelte_select .disabled) {
opacity: 0.4;
}
</style> </style>