File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/pages/options_src/Services Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 50
50
}),
51
51
]}
52
52
>
53
- <div class =" slot" slot =" item" let:item >
53
+ <div class ={ " slot " + ( ! _options [ item . value ]. enabled && " disabled " )} slot =" item" let:item >
54
54
<ServiceIcon details ={item } />
55
55
{item .label }
56
56
</div >
57
- <div class =" slot" slot =" selection" let:selection >
57
+ <div class ={ " slot " + ( ! _options [ selection . value ]. enabled && " disabled " )} slot =" selection" let:selection >
58
58
<ServiceIcon details ={selection } />
59
59
{selection .label }
60
60
</div >
181
181
--width : 210px ;
182
182
--background : var (--bg-secondary );
183
183
--list-background : var (--bg-secondary );
184
- --item-active-background : red ;
185
184
--item-is-active-bg : grey ;
186
185
--item-hover-bg : grey ;
187
186
--item-is-active-color : var (--text );
187
+ --list-max-height : 400px ;
188
188
--padding : 0 0 0 10px ;
189
189
--item-color : var (--text );
190
190
}
201
201
width : 26px ;
202
202
color : var (--text );
203
203
}
204
+
205
+ :global(.svelte_select .disabled ) {
206
+ opacity : 0.4 ;
207
+ }
204
208
</style >
You can’t perform that action at this time.
0 commit comments