1
1
@layer theme, base, primevue, components, utilities;
2
2
3
- @import './fonts.css' ;
4
- @import 'tailwindcss/theme' layer(theme);
5
- @import 'tailwindcss/utilities' layer(utilities);
6
- @import 'tw-animate-css' ;
3
+ @import url ( './fonts.css' ) ;
4
+ @import url ( 'tailwindcss/theme' ) layer(theme);
5
+ @import url ( 'tailwindcss/utilities' ) layer(utilities);
6
+ @import url ( 'tw-animate-css' ) ;
7
7
8
8
@plugin 'tailwindcss-primeui' ;
9
9
33
33
--content-hover-fg : # 000 ;
34
34
35
35
/* Code styling colors for help menu*/
36
- --code-text-color : rgba ( 0 , 122 , 255 , 1 );
37
- --code-bg-color : rgba (96 , 165 , 250 , 0.2 );
38
- --code-block-bg-color : rgba (60 , 60 , 60 , 0.12 );
36
+ --code-text-color : rgb ( 0 122 255 / 1 );
37
+ --code-bg-color : rgb (96 165 250 / 0.2 );
38
+ --code-block-bg-color : rgb (60 60 60 / 0.12 );
39
39
}
40
40
41
41
@media (prefers-color-scheme : dark) {
@@ -418,7 +418,7 @@ body {
418
418
419
419
/* Strong and emphasis */
420
420
.comfy-markdown-content strong {
421
- font-weight : bold ;
421
+ font-weight : 700 ;
422
422
}
423
423
424
424
.comfy-markdown-content em {
@@ -429,7 +429,7 @@ body {
429
429
display : none; /* Hidden by default */
430
430
position : fixed; /* Stay in place */
431
431
z-index : 100 ; /* Sit on top */
432
- padding : 30px 30px 10px 30 px ;
432
+ padding : 30px 30px 10px ;
433
433
background-color : var (--comfy-menu-bg ); /* Modal background */
434
434
color : var (--error-text );
435
435
box-shadow : 0 0 20px # 888888 ;
@@ -477,8 +477,8 @@ body {
477
477
background-color : var (--comfy-menu-bg );
478
478
font-family : sans-serif;
479
479
padding : 10px ;
480
- border-radius : 0 8px 8px 8 px ;
481
- box-shadow : 3px 3px 8px rgba ( 0 , 0 , 0 , 0.4 );
480
+ border-radius : 0 8px 8px ;
481
+ box-shadow : 3px 3px 8px rgb ( 0 0 0 / 0.4 );
482
482
}
483
483
484
484
.comfy-menu-header {
@@ -496,7 +496,7 @@ body {
496
496
}
497
497
498
498
.comfy-menu .comfy-menu-actions button {
499
- background-color : rgba ( 0 , 0 , 0 , 0 );
499
+ background-color : rgb ( 0 0 0 / 0 );
500
500
padding : 0 ;
501
501
border : none;
502
502
cursor : pointer;
@@ -611,7 +611,7 @@ span.drag-handle::after {
611
611
min-width : 160px ;
612
612
margin : 0 ;
613
613
padding : 3px ;
614
- font-weight : normal ;
614
+ font-weight : 400 ;
615
615
}
616
616
617
617
.comfy-list-items button {
@@ -666,10 +666,7 @@ button.comfy-queue-btn {
666
666
667
667
@media only screen and (max-height : 850px ) {
668
668
.comfy-menu {
669
- top : 0 !important ;
670
- bottom : 0 !important ;
671
- left : auto !important ;
672
- right : 0 !important ;
669
+ inset : 0 0 0 auto !important ;
673
670
border-radius : 0 ;
674
671
}
675
672
@@ -728,14 +725,11 @@ dialog {
728
725
}
729
726
730
727
dialog ::backdrop {
731
- background : rgba ( 0 , 0 , 0 , 0.5 );
728
+ background : rgb ( 0 0 0 / 0.5 );
732
729
}
733
730
734
731
.comfy-dialog .comfyui-dialog .comfy-modal {
735
- top : 0 ;
736
- left : 0 ;
737
- right : 0 ;
738
- bottom : 0 ;
732
+ inset : 0 ;
739
733
transform : none;
740
734
}
741
735
@@ -747,8 +741,7 @@ dialog::backdrop {
747
741
}
748
742
749
743
.comfy-dialog .comfy-modal-content {
750
- flex-direction : row;
751
- flex-wrap : wrap;
744
+ flex-flow : row wrap;
752
745
gap : 10px ;
753
746
color : var (--fg-color );
754
747
}
@@ -820,8 +813,7 @@ dialog::backdrop {
820
813
overflow : hidden;
821
814
display : flex;
822
815
flex-wrap : wrap;
823
- align-content : flex-start;
824
- justify-content : center;
816
+ place-content : flex-start center;
825
817
}
826
818
827
819
.comfy-img-preview img {
@@ -934,9 +926,9 @@ audio.comfy-audio.empty-audio-widget {
934
926
.lg-node {
935
927
/* Disable text selection on all nodes */
936
928
user-select : none;
937
- -webkit- user-select: none;
938
- -moz- user-select: none;
939
- -ms- user-select: none;
929
+ user-select : none;
930
+ user-select : none;
931
+ user-select : none;
940
932
}
941
933
942
934
.lg-node .lg-slot ,
@@ -963,7 +955,7 @@ audio.comfy-audio.empty-audio-widget {
963
955
filter : none;
964
956
backdrop-filter : none;
965
957
text-shadow : none;
966
- -webkit- mask-image: none;
958
+ mask-image : none;
967
959
mask-image : none;
968
960
clip-path : none;
969
961
background-image : none;
0 commit comments