File tree Expand file tree Collapse file tree 1 file changed +43
-1
lines changed
Expand file tree Collapse file tree 1 file changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -337,9 +337,11 @@ div.ultra-chip img {
337337 cursor : pointer;
338338}
339339
340- .ultra-dropdown-content a : disabled {
340+ .ultra-dropdown . ultra-dropdown -content a : disabled {
341341 color : var (--dropdown-disabled-color , grey);
342342 cursor : not-allowed;
343+ pointer-events : none;
344+ background-color : # 333 ;
343345}
344346
345347.ultra-dropdown-content a : not (: disabled ): hover {
@@ -411,8 +413,48 @@ div.ultra-chip img {
411413 pointer-events : none;
412414}
413415
416+ .ultra-switch .ultra-switch-input : disabled + .ultra-switch-slider {
417+ pointer-events : none;
418+ opacity : 0.6 ;
419+ cursor : not-allowed;
420+ }
421+
414422.ultra-switch .ultra-disabled .ultra-switch-slider {
415423 background-color : # 333 ;
416424 cursor : not-allowed;
417425 opacity : 0.6 ;
418426}
427+
428+ .ultra-context-menu {
429+ position : absolute;
430+ color : # fff ;
431+ border-radius : 12px ;
432+ padding : 8px 0 ;
433+ width : 180px ;
434+ z-index : 9999 ;
435+ display : none;
436+ animation : pop 0.15s ease-out;
437+ }
438+
439+ .ultra-context-menu .item {
440+ padding : 12px 18px ;
441+ cursor : pointer;
442+ transition : background 0.2s ease-in-out;
443+ }
444+
445+ .item : hover {
446+ background : # fff ;
447+ filter : brightness (1.2 );
448+ color : black;
449+ }
450+
451+ @keyframes pop {
452+ 0% {
453+ opacity : 0 ;
454+ transform : scale (0.95 );
455+ }
456+ 100% {
457+ opacity : 1 ;
458+ transform : scale (1 );
459+ }
460+ }
You can’t perform that action at this time.
0 commit comments